{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/benchling/json-schema/RequestFulfillment.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",
  "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",
      "example": "etr_IKwdYx31",
      "type": "string"
    },
    "id": {
      "description": "ID of the Legacy Request Fulfillment",
      "example": "reqffm_8Hm71Usw",
      "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",
      "example": "req_pu9caSiv",
      "type": "string"
    },
    "sampleGroup": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SampleGroup"
        }
      ],
      "description": "The Legacy Request Sample Group this fulfillment was executed upon, if any.",
      "nullable": true
    },
    "status": {
      "$ref": "#/components/schemas/SampleGroupStatus"
    }
  },
  "type": "object"
}