{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bellatorsi-com/json-schema/bellatorsi-com-job-submission-response-schema.json",
  "title": "JobSubmissionResponse",
  "description": "Response model for async job submission.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bellatorsi-com-forensics-api-openapi.yml#/components/schemas/JobSubmissionResponse",
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id",
      "description": "Unique job identifier"
    },
    "status": {
      "$ref": "#/$defs/JobStatus",
      "description": "Initial job status (queued)"
    },
    "estimated_completion_seconds": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Estimated Completion Seconds",
      "description": "Estimated time until completion"
    },
    "status_url": {
      "type": "string",
      "title": "Status Url",
      "description": "URL to poll job status"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At",
      "description": "Job creation timestamp"
    }
  },
  "type": "object",
  "required": [
    "job_id",
    "status",
    "estimated_completion_seconds",
    "status_url"
  ],
  "$defs": {
    "JobStatus": {
      "type": "string",
      "enum": [
        "queued",
        "processing",
        "completed",
        "failed",
        "cancelled"
      ],
      "title": "JobStatus",
      "description": "Status of an async job.\n\nJob lifecycle:\n1. QUEUED - Job submitted to queue, waiting for worker\n2. PROCESSING - Worker picked up job and is executing\n3. COMPLETED - Job finished successfully\n4. FAILED - Job encountered an error\n5. CANCELLED - Job was cancelled by user before completion"
    }
  }
}