{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/artificialwit-com/json-schema/artificialwit-com-create-stripe-checkout-schema.json",
  "title": "CreateStripeCheckout",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/artificialwit-com-payment-api-openapi.yml#/components/schemas/CreateStripeCheckout",
  "properties": {
    "plan_id": {
      "type": "integer",
      "title": "Plan Id"
    },
    "billing_interval": {
      "type": "string",
      "pattern": "^(monthly|annual)$",
      "title": "Billing Interval",
      "default": "monthly"
    },
    "success_url": {
      "type": "string",
      "title": "Success Url"
    },
    "cancel_url": {
      "type": "string",
      "title": "Cancel Url"
    }
  },
  "type": "object",
  "required": [
    "plan_id",
    "success_url",
    "cancel_url"
  ]
}