{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docupanda/json-schema/docupanda-classify-batch-response-schema.json",
  "title": "ClassifyBatchResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docupanda-classification-api-openapi.yml#/components/schemas/ClassifyBatchResponse",
  "properties": {
    "jobId": {
      "type": "string",
      "title": "Job ID",
      "description": "ID of the batch classification job"
    },
    "documentCount": {
      "type": "integer",
      "title": "Document Count",
      "description": "Number of documents processed"
    },
    "pageCount": {
      "type": "integer",
      "title": "Page Count",
      "description": "Number of pages processed"
    },
    "classificationJobIds": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Classification Job IDs",
      "description": "List of individual job IDs for each document's classify job"
    },
    "status": {
      "$ref": "#/$defs/ProcessingStatus",
      "title": "Status",
      "description": "Status of the batch classification job"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time",
      "title": "Timestamp",
      "description": "Timestamp of the classification job"
    }
  },
  "type": "object",
  "required": [
    "jobId",
    "status"
  ],
  "$defs": {
    "ProcessingStatus": {
      "type": "string",
      "enum": [
        "processing",
        "completed",
        "error"
      ],
      "title": "ProcessingStatus"
    }
  }
}