{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreatePDFRequest",
  "title": "CreatePDFRequest",
  "type": "object",
  "required": [
    "assetID"
  ],
  "properties": {
    "assetID": {
      "type": "string",
      "description": "The asset ID of the source file to convert to PDF.",
      "example": "500123"
    },
    "documentLanguage": {
      "type": "string",
      "description": "The language of the source document for OCR processing.",
      "enum": [
        "en-US",
        "de-DE",
        "fr-FR",
        "ja-JP",
        "da-DK",
        "fi-FI",
        "it-IT",
        "ko-KR",
        "nb-NO",
        "nl-NL",
        "pt-BR",
        "es-ES",
        "sv-SE",
        "zh-CN",
        "zh-TW"
      ],
      "default": "en-US",
      "example": "en-US"
    },
    "createPDFFromDOCXOptions": {
      "type": "object",
      "description": "Options specific to DOCX to PDF conversion.",
      "properties": {},
      "example": "example_value"
    },
    "createPDFFromPPTXOptions": {
      "type": "object",
      "description": "Options specific to PPTX to PDF conversion.",
      "properties": {},
      "example": "example_value"
    },
    "createPDFFromXLSXOptions": {
      "type": "object",
      "description": "Options specific to XLSX to PDF conversion.",
      "properties": {},
      "example": "example_value"
    },
    "createPDFFromHTMLOptions": {
      "type": "object",
      "description": "Options specific to HTML to PDF conversion.",
      "properties": {
        "includeHeaderFooter": {
          "type": "boolean",
          "description": "Whether to include header and footer in the output.",
          "default": true
        },
        "pageLayout": {
          "type": "object",
          "properties": {
            "pageWidth": {
              "type": "number",
              "description": "Page width in inches.",
              "default": 8.5
            },
            "pageHeight": {
              "type": "number",
              "description": "Page height in inches.",
              "default": 11
            }
          }
        }
      },
      "example": "example_value"
    }
  }
}