{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/legaldatahunter-com/json-schema/legaldatahunter-com-checkout-request-schema.json",
  "title": "CheckoutRequest",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/legaldatahunter-com-openapi.json#/components/schemas/CheckoutRequest",
  "properties": {
    "plan": {
      "type": "string",
      "title": "Plan"
    },
    "interval": {
      "type": "string",
      "title": "Interval",
      "default": "monthly"
    },
    "quantity": {
      "type": "integer",
      "title": "Quantity",
      "default": 1
    },
    "workspace_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Workspace Name"
    },
    "promo_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Promo Code"
    },
    "audience": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Audience"
    },
    "legal_accepted": {
      "type": "boolean",
      "title": "Legal Accepted",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "plan"
  ]
}