{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/thomson-reuters/main/json-schema/thomson-reuters-create-or-update-job-request-schema.json",
  "title": "CreateOrUpdateJobRequest",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thomson-reuters-job-service-openapi.yml#/components/schemas/CreateOrUpdateJobRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "STAGED",
        "STARTED",
        "PROCESSING",
        "COMPLETED",
        "FAILED"
      ]
    },
    "year": {
      "type": "integer",
      "format": "int32"
    },
    "period": {
      "type": "integer",
      "format": "int32"
    },
    "template_id": {
      "maxLength": 24,
      "minLength": 24,
      "type": "string"
    },
    "ingest_id": {
      "maxLength": 24,
      "minLength": 24,
      "type": "string"
    }
  }
}