{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xipfax-com/json-schema/xipfax-com-send-draft-schema.json",
  "title": "SendDraft",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/xipfax-com-openapi.json#/components/schemas/SendDraft",
  "type": "object",
  "properties": {
    "fax_number": {
      "description": "The fax number, with its country code, such as `+44 20 7946 0958`; a number in the US, its territories or Canada needs none.",
      "type": "string"
    },
    "office_id": {
      "description": "Or the office to send it to, by its id on XipFax’s list (`GET /offices`), which gives its number.",
      "type": "string",
      "maxLength": 80,
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "document_ids": {
      "maxItems": 250,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The draft’s documents, as `GET /draft` names them, in its order: a draft whose documents aren’t these, in this order, is refused `draft_changed`, so that nothing you didn’t name is sent."
    }
  },
  "required": [
    "document_ids"
  ],
  "additionalProperties": false
}