{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adobe/main/json-schema/adobe-pdftoimage-job-status-schema.json", "title": "PDFTOImageJobStatus", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/adobe-pdf-to-images-api-openapi.yml#/components/schemas/PDFTOImageJobStatus", "oneOf": [ { "$ref": "#/$defs/inprogress" }, { "$ref": "#/$defs/PDFToImageDone" }, { "$ref": "#/$defs/failed" } ], "$defs": { "PDFTOImageDoneExternal": { "title": "External", "oneOf": [ { "$ref": "#/$defs/PDFTOImageDoneExternalWithoutOutput" }, { "$ref": "#/$defs/external" } ] }, "PDFTOImageDoneExternalWithoutOutput": { "title": "External without an output URI in the request", "description": "Response in case of 'done' status when ouput uri is not passed in the rquest", "type": "object", "properties": { "status": { "description": "Job Status", "type": "string", "enum": [ "done" ] }, "assetList": { "$ref": "#/$defs/responseAssetZip" } } }, "PDFTOImageDoneInternal": { "title": "Internal", "description": "Response in case of 'done' status", "type": "object", "properties": { "status": { "description": "Job Status", "type": "string", "enum": [ "done" ] }, "assetList": { "description": "List of assets. Details of output asset document. For more details click here .", "type": "array", "items": { "type": "object", "properties": { "metadata": { "type": "object", "description": "metadata details of output asset.", "properties": { "size": { "description": "The size of the Resource in bytes. This value helps in making range requests.", "type": "integer" }, "type": { "description": "The media type of the Resource.", "type": "string" } } }, "assetID": { "description": "An asset ID identifying an asset that is globally unique and never reused.", "type": "string" }, "downloadUri": { "description": "The URL used to download the Resource directly to the cloud provider.", "type": "string" } } } } } }, "PDFToImageDone": { "title": "done", "oneOf": [ { "$ref": "#/$defs/PDFTOImageDoneInternal" }, { "$ref": "#/$defs/PDFTOImageDoneExternal" } ] }, "external": { "title": "External with an output URI in the request", "description": "Response in case of 'done' status using signed urls", "type": "object", "properties": { "status": { "description": "Job Status", "type": "string", "enum": [ "done" ] } } }, "failed": { "description": "Response in case of 'failed' status", "type": "object", "properties": { "status": { "description": "Job Status", "type": "string", "enum": [ "failed" ] }, "error": { "type": "object", "properties": { "status": { "description": "Http status code returned by the service", "type": "integer" }, "code": { "description": "The string containing the code field. code is the Mnemonic returned by service in case of any failure. The below list is extendable and going forward the error codes can become more specific.", "type": "string" }, "message": { "description": "An English language string that contains more information about the error. \n\n
| status | code | message |
|---|---|---|
| 400 | CORRUPT_DOCUMENT | For $(format) mime-type The input file appears to be corrupted and cannot be processed. |
| 400 | PASSWORD_PROTECTED | Source file is protected and cannot be processed. |
| 500 | INTERNAL_SERVER_ERROR | There was an error processing your request. |