{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/benchling/main/json-schema/benchling-legacy-workflow-stage-run-list-schema.json",
  "title": "LegacyWorkflowStageRunList",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/benchling-legacy-workflows-api-openapi.yml#/components/schemas/LegacyWorkflowStageRunList",
  "properties": {
    "workflowStageRuns": {
      "items": {
        "$ref": "#/$defs/LegacyWorkflowStageRun"
      },
      "type": "array"
    }
  },
  "type": "object",
  "$defs": {
    "LegacyWorkflowStageRun": {
      "properties": {
        "createdAt": {
          "description": "DateTime at which the the legacy workflow stage run was created",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "id": {
          "description": "ID of the legacy workflow stage run",
          "readOnly": true,
          "type": "string"
        },
        "name": {
          "description": "Name of the legacy workflow stage run",
          "type": "string"
        },
        "status": {
          "description": "Status of the legacy workflow stage run",
          "enum": [
            "COMPLETED",
            "DISCARDED",
            "INITIALIZED"
          ],
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}