{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/semantic-visions-s-r-o/json-schema/semantic-visions-s-r-o-screening-result-status-schema.json",
  "title": "ScreeningResultStatus",
  "description": "Represents the status of a screening job.",
  "x-generated": "2026-11-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/semantic-visions-s-r-o-openapi.yml#/components/schemas/ScreeningResultStatus",
  "properties": {
    "screening_id": {
      "type": "string",
      "title": "Screening Id",
      "description": "The unique ID for the screening request."
    },
    "status": {
      "type": "string",
      "enum": [
        "processing",
        "ready",
        "not_ready"
      ],
      "title": "Status",
      "description": "The current status of the job."
    },
    "message": {
      "type": "string",
      "title": "Message",
      "description": "A human-readable message."
    },
    "entities_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entities Count",
      "description": "The total number of entities in the job."
    },
    "processing_start_time": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Processing Start Time",
      "description": "ISO 8601 timestamp."
    },
    "screening_period_start": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Screening Period Start",
      "description": "ISO 8601 date."
    },
    "screening_period_end": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Screening Period End",
      "description": "ISO 8601 date."
    }
  },
  "type": "object",
  "required": [
    "screening_id",
    "status",
    "message"
  ]
}