{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-request-fulfillment-schema.json", "title": "RequestFulfillment", "description": "A Legacy Request fulfillment represents work that is done which changes the status of a request or a sample group within that request.\nFulfillments are created when state changes between IN_PROGRESS, COMPLETED, or FAILED statuses. Fulfillments do not capture a PENDING state because all Legacy Requests or Legacy Request Sample Groups are considered PENDING until the first corresponding fulfillment is created.\n", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/benchling-legacy-requests-api-openapi.yml#/components/schemas/RequestFulfillment", "properties": { "createdAt": { "description": "Date and time the Legacy Request Fulfillment was created", "format": "date-time", "type": "string" }, "entryId": { "description": "ID of the entry this Legacy Request Fulfillment was executed in, if any", "type": "string" }, "id": { "description": "ID of the Legacy Request Fulfillment", "type": "string" }, "modifiedAt": { "description": "DateTime the Legacy Request Fulfillment was last modified", "format": "date-time", "readOnly": true, "type": "string" }, "requestId": { "description": "ID of the Legacy Request this fulfillment fulfills", "type": "string" }, "sampleGroup": { "allOf": [ { "$ref": "#/$defs/SampleGroup" } ], "description": "The Legacy Request Sample Group this fulfillment was executed upon, if any." }, "status": { "$ref": "#/$defs/SampleGroupStatus" } }, "type": "object", "$defs": { "SampleGroup": { "description": "Represents a sample group that is an input to a request. A sample group is a set of samples upon which work in the request should be done.", "properties": { "id": { "type": "string" }, "samples": { "type": "object" } }, "type": "object" }, "SampleGroupStatus": { "description": "Status of a sample group", "enum": [ "IN_PROGRESS", "COMPLETED", "FAILED" ], "type": "string" } } }