{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniffy-com/json-schema/geniffy-com-checkout-in-schema.json",
  "title": "CheckoutIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geniffy-com-payments-api-openapi.yml#/components/schemas/CheckoutIn",
  "properties": {
    "plan": {
      "type": "string",
      "enum": [
        "pro",
        "max"
      ],
      "title": "Plan"
    },
    "period": {
      "type": "string",
      "enum": [
        "monthly",
        "yearly"
      ],
      "title": "Period",
      "default": "monthly"
    },
    "currency": {
      "type": "string",
      "enum": [
        "INR",
        "USD"
      ],
      "title": "Currency",
      "default": "INR"
    },
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "country": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 60
        },
        {
          "type": "null"
        }
      ],
      "title": "Country"
    },
    "company": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Company"
    },
    "tax_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 30
        },
        {
          "type": "null"
        }
      ],
      "title": "Tax Id"
    }
  },
  "type": "object",
  "required": [
    "plan"
  ]
}