{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/adobe/main/json-schema/adobe-html-to-pdf-job-status-schema.json", "title": "HtmlToPdfJobStatus", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/adobe-html-to-pdf-api-openapi.yml#/components/schemas/HtmlToPdfJobStatus", "oneOf": [ { "$ref": "#/$defs/inprogress" }, { "$ref": "#/$defs/done" }, { "$ref": "#/$defs/failed" } ], "$defs": { "done": { "title": "done", "oneOf": [ { "$ref": "#/$defs/internal" }, { "$ref": "#/$defs/externalstatus" } ] }, "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" ] } } }, "externaldonewithoutoutput": { "title": "External without an output URI in the request", "description": "Response in case of 'done' status", "type": "object", "properties": { "status": { "description": "Job Status", "type": "string", "enum": [ "done" ] }, "asset": { "$ref": "#/$defs/responseAsset" } } }, "externalstatus": { "title": "External", "oneOf": [ { "$ref": "#/$defs/externaldonewithoutoutput" }, { "$ref": "#/$defs/external" } ] }, "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. |