{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/faxforagents/json-schema/faxforagents-one-time-config-schema.json",
  "title": "OneTimeConfig",
  "description": "What the public send page and an agent read before an order: whether the product is open here, the\ncard the order will be priced from (present only while open), the document limits and the policy the\nsender accepts. Prices are integer micro-USD; the dollar figure is the client's to format.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/faxforagents-one-time-sends-api-openapi.yml#/components/schemas/OneTimeConfig",
  "properties": {
    "enabled": {
      "type": "boolean",
      "title": "Enabled"
    },
    "reason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reason"
    },
    "price_version": {
      "type": "string",
      "title": "Price Version"
    },
    "effective_from": {
      "type": "string",
      "title": "Effective From"
    },
    "currency": {
      "type": "string",
      "title": "Currency"
    },
    "routes": {
      "additionalProperties": {
        "$ref": "#/$defs/OneTimeRoute"
      },
      "type": "object",
      "title": "Routes"
    },
    "max_document_pages": {
      "type": "integer",
      "title": "Max Document Pages"
    },
    "max_upload_bytes": {
      "type": "integer",
      "title": "Max Upload Bytes"
    },
    "max_text_chars": {
      "type": "integer",
      "title": "Max Text Chars"
    },
    "formats": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Formats"
    },
    "aup_version": {
      "type": "string",
      "title": "Aup Version"
    },
    "aup_url": {
      "type": "string",
      "title": "Aup Url"
    },
    "terms_url": {
      "type": "string",
      "title": "Terms Url"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "enabled",
    "price_version",
    "effective_from",
    "currency",
    "routes",
    "max_document_pages",
    "max_upload_bytes",
    "max_text_chars",
    "formats",
    "aup_version",
    "aup_url",
    "terms_url"
  ],
  "$defs": {
    "OneTimeRoute": {
      "properties": {
        "label": {
          "type": "string",
          "title": "Label"
        },
        "flat_micro": {
          "type": "integer",
          "title": "Flat Micro"
        },
        "included_pages": {
          "type": "integer",
          "title": "Included Pages"
        },
        "extra_page_micro": {
          "type": "integer",
          "title": "Extra Page Micro"
        },
        "cover_included": {
          "type": "boolean",
          "title": "Cover Included"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "required": [
        "label",
        "flat_micro",
        "included_pages",
        "extra_page_micro",
        "cover_included"
      ],
      "title": "OneTimeRoute"
    }
  }
}