{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/exchangerate-dev/json-schema/exchangerate-dev-checkout-request-schema.json",
  "title": "CheckoutRequest",
  "description": "Selected paid plan; account identity comes from verified server-side auth.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/exchangerate-dev-account-api-openapi.yml#/components/schemas/CheckoutRequest",
  "properties": {
    "plan": {
      "type": "string",
      "enum": [
        "basic_2026",
        "plus_2026",
        "pro_2026"
      ],
      "title": "Plan"
    },
    "interval": {
      "type": "string",
      "pattern": "^(monthly|yearly)$",
      "title": "Interval",
      "default": "monthly"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "plan"
  ]
}