{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deapi-ai/json-schema/deapi-ai-job-request-status-resource-schema.json",
  "title": "JobRequestStatusResource",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deapi-ai-openapi.json#/components/schemas/JobRequestStatusResource",
  "properties": {
    "data": {
      "description": "Status response data",
      "properties": {
        "status": {
          "description": "Current status of the job request",
          "type": "string",
          "enum": [
            "pending",
            "processing",
            "done",
            "error"
          ]
        },
        "preview": {
          "description": "Preview URL if available",
          "type": [
            "string",
            "null"
          ]
        },
        "result_url": {
          "description": "URL to the result file (e.g. generate image or audio). Only available when status is done",
          "type": [
            "string",
            "null"
          ]
        },
        "results_alt_formats": {
          "description": "Alternative format URLs for the result (jpg, webp). Only available for image-producing job types when status is done",
          "properties": {
            "jpg": {
              "type": [
                "string",
                "null"
              ]
            },
            "webp": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "result": {
          "description": "Generate text (e.g. transcription) Only available when status is done",
          "type": [
            "string",
            "null"
          ]
        },
        "progress": {
          "description": "Current progress of the job (0.0 to 100.0)",
          "type": "number",
          "format": "float",
          "maximum": 100,
          "minimum": 0
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}