{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asoskill-com/json-schema/asoskill-com-checkout-response-schema.json",
  "title": "CheckoutResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asoskill-com-billing-api-openapi.yml#/components/schemas/CheckoutResponse",
  "type": "object",
  "required": [
    "status",
    "action",
    "requestId"
  ],
  "properties": {
    "status": {
      "type": "string",
      "const": "action_required"
    },
    "action": {
      "type": "object",
      "required": [
        "type",
        "url",
        "expiresAt",
        "message"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "open_url"
        },
        "url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "expiresAt": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        }
      }
    },
    "requestId": {
      "type": "string"
    }
  }
}