{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-send-fax-request-schema.json",
  "title": "SendFaxRequest",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-faxes-api-openapi.yml#/components/schemas/SendFaxRequest",
  "type": "object",
  "required": [
    "to"
  ],
  "properties": {
    "to": {
      "type": "string",
      "description": "The recipient fax number in E.164 format"
    },
    "from": {
      "type": "string",
      "description": "The sender fax number"
    },
    "contentUrl": {
      "type": "string",
      "format": "uri",
      "description": "URL to the document to fax"
    },
    "serviceId": {
      "type": "string",
      "description": "The fax service to use"
    },
    "headerText": {
      "type": "string",
      "description": "Header text to include on the fax"
    },
    "headerPageNumbers": {
      "type": "boolean",
      "description": "Whether to include page numbers in the header"
    },
    "imageConversionMethod": {
      "type": "string",
      "enum": [
        "HALFTONE",
        "MONOCHROME"
      ],
      "description": "Image conversion method for the fax"
    }
  }
}