{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/localize-io/json-schema/localize-io-job-status-response-schema.json",
  "title": "JobStatusResponse",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/localize-io-openapi.json#/components/schemas/JobStatusResponse",
  "properties": {
    "job_id": {
      "type": "string",
      "title": "Job Id"
    },
    "status": {
      "$ref": "#/$defs/JobStatus"
    },
    "type": {
      "type": "string",
      "title": "Type",
      "default": "translate"
    },
    "target_lang": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Target Lang"
    },
    "linguist": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Linguist"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "updated_at": {
      "type": "string",
      "title": "Updated At"
    },
    "attempts": {
      "type": "integer",
      "title": "Attempts"
    },
    "models": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Models"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "withdrawn": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Withdrawn"
    },
    "replaces": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Replaces"
    },
    "price_usd": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Price Usd"
    },
    "billing": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Billing"
    }
  },
  "type": "object",
  "required": [
    "job_id",
    "status",
    "created_at",
    "updated_at",
    "attempts"
  ],
  "$defs": {
    "JobStatus": {
      "type": "string",
      "enum": [
        "queued",
        "processing",
        "done",
        "partial",
        "failed",
        "withdrawn"
      ],
      "title": "JobStatus"
    }
  }
}