{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/knossot-org/json-schema/knossot-org-checkout-started-schema.json",
  "title": "CheckoutStarted",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/knossot-org-openapi.json#/components/schemas/CheckoutStarted",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id",
    "status",
    "packs",
    "amount_usd",
    "runs",
    "checkout_url"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "open"
      ]
    },
    "packs": {
      "type": "integer"
    },
    "amount_usd": {
      "type": "number"
    },
    "runs": {
      "type": "integer",
      "description": "Credit runs the packs buy at the current price."
    },
    "checkout_url": {
      "type": "string",
      "format": "uri",
      "description": "Hosted Stripe Checkout for your person."
    }
  }
}