{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/proxyai-app/json-schema/proxyai-app-update-checkout-schema.json",
  "title": "UpdateCheckout",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/proxyai-app-openapi.json#/components/schemas/UpdateCheckout",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "line_items": {
      "type": "array",
      "minItems": 1,
      "maxItems": 20,
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 120
          },
          "name": {
            "type": "string",
            "maxLength": 300
          },
          "unit_amount": {
            "type": "integer",
            "minimum": 0
          }
        },
        "required": [
          "id"
        ]
      }
    },
    "buyer": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "email": {
          "type": "string",
          "format": "email"
        },
        "first_name": {
          "type": "string",
          "maxLength": 100
        },
        "last_name": {
          "type": "string",
          "maxLength": 100
        },
        "full_name": {
          "type": "string",
          "maxLength": 200
        }
      },
      "required": [
        "email"
      ]
    }
  },
  "required": []
}