{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dropto-run/json-schema/dropto-run-checkout-request-body-schema.json",
  "title": "CheckoutRequestBody",
  "description": "Request body of `POST /api/billing/checkout`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dropto-run-billing-api-openapi.yml#/components/schemas/CheckoutRequestBody",
  "properties": {
    "interval": {
      "description": "Billing interval, `month` or `year`.",
      "maxLength": 8,
      "type": "string"
    },
    "planId": {
      "description": "Id of the plan to buy.",
      "maxLength": 32,
      "type": "string"
    }
  },
  "required": [
    "planId",
    "interval"
  ],
  "type": "object"
}