{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/payments-ai/json-schema/payments-ai-mor-pricing-schema.json",
  "title": "MorPricing",
  "description": "Itemized Merchant of Record pricing.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/payments-ai-website-openapi.json#/components/schemas/MorPricing",
  "type": "object",
  "required": [
    "currency",
    "headline",
    "categories"
  ],
  "properties": {
    "currency": {
      "type": "string"
    },
    "headline": {
      "type": "object",
      "description": "The headline card rate, e.g. 2.7% + $0.30 per successful card transaction.",
      "properties": {
        "rate": {
          "type": "string"
        },
        "fixed": {
          "type": "string"
        },
        "basis": {
          "type": "string"
        }
      }
    },
    "terms": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "signup_url": {
      "type": "string",
      "format": "uri"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "title",
          "line_items"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "subtitle": {
            "type": "string"
          },
          "highlights": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "price"
              ],
              "properties": {
                "name": {
                  "type": "string"
                },
                "price": {
                  "type": "string",
                  "description": "Rate as published, e.g. `2.7% + $0.30`."
                },
                "description": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "human_url": {
      "type": "string",
      "format": "uri"
    },
    "markdown_url": {
      "type": "string",
      "format": "uri"
    }
  }
}