{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nice/json-schema/nice-jobs-response-schema.json",
  "title": "jobsResponse",
  "description": "Displays statuses for all jobs.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nice-dataextraction-dataextraction-openapi.yml#/components/schemas/jobsResponse",
  "type": "object",
  "properties": {
    "jobs": {
      "type": "array",
      "description": "List of statuses for all jobs.",
      "items": {
        "$ref": "#/$defs/jobState"
      }
    }
  },
  "$defs": {
    "jobState": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the job.",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "description": "The status of the job.",
          "enum": [
            "RUNNING",
            "SUCCEEDED",
            "FAILED",
            "CANCELLED",
            "EXPIRED"
          ]
        }
      },
      "description": "Status and ID of the job."
    }
  }
}