{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theothers-shop/json-schema/theothers-shop-checkout-session-schema.json",
  "title": "CheckoutSession",
  "description": "ACP checkout session initiation.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theothers-shop-openapi.json#/components/schemas/CheckoutSession",
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "product_id": {
      "type": "string",
      "title": "Product Id"
    },
    "size": {
      "type": "string",
      "title": "Size"
    },
    "color": {
      "type": "string",
      "title": "Color"
    },
    "quantity": {
      "type": "integer",
      "title": "Quantity",
      "default": 1
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "product_id",
    "size",
    "color"
  ]
}