{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bigcommerce/json-schema/bigcommerce-job-response-schema.json",
  "title": "Job Response",
  "description": "Response for /GET Jobs by Id.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigcommerce-theme-jobs-api-openapi.yml#/components/schemas/JobResponse",
  "type": "object",
  "properties": {
    "data": {
      "description": "The job for theme upload or download",
      "type": "object",
      "title": "Job",
      "properties": {
        "errors": {
          "description": "The errors.",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "error": {
                "description": "The error.",
                "type": "string"
              },
              "message": {
                "description": "The message.",
                "type": "string"
              }
            }
          }
        },
        "id": {
          "description": "The identifier.",
          "type": "string"
        },
        "percent_complete": {
          "description": "The percent complete.",
          "type": "number"
        },
        "result": {
          "description": "The result.",
          "type": "object",
          "additionalProperties": true,
          "properties": {}
        },
        "status": {
          "type": "string",
          "description": "The status.",
          "enum": [
            "COMPLETED",
            "QUEUED",
            "WORKING",
            "FAILED"
          ]
        },
        "time": {
          "type": "string",
          "description": "The time.",
          "format": "date-time"
        },
        "warnings": {
          "description": "The warnings.",
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "message": {
                "description": "The message.",
                "type": "string"
              },
              "warning": {
                "description": "The warning.",
                "type": "string"
              }
            }
          }
        }
      }
    },
    "meta": {
      "$ref": "#/$defs/OpenMeta"
    }
  },
  "x-internal": false,
  "$defs": {
    "OpenMeta": {
      "title": "Response meta",
      "type": "object",
      "properties": {},
      "additionalProperties": true,
      "description": "Response metadata."
    }
  }
}