{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/qodex/main/json-schema/qodex-post-checkout-response-schema.json",
  "title": "PostCheckoutResponse",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/qodex-openapi-generated.yml#/components/schemas/PostCheckoutResponse",
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Calculated total after applying promo"
    },
    "error": {
      "type": "string",
      "description": "Error message if calculation fails (e.g., TypeError: total is undefined)"
    }
  }
}