{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/theothers-shop/json-schema/theothers-shop-stripe-checkout-request-schema.json",
  "title": "StripeCheckoutRequest",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/theothers-shop-openapi.json#/components/schemas/StripeCheckoutRequest",
  "properties": {
    "product_id": {
      "type": "string",
      "title": "Product Id"
    },
    "size": {
      "type": "string",
      "title": "Size"
    },
    "color": {
      "type": "string",
      "title": "Color"
    },
    "quantity": {
      "type": "integer",
      "title": "Quantity",
      "default": 1
    },
    "buyer_name": {
      "type": "string",
      "title": "Buyer Name",
      "default": ""
    },
    "buyer_email": {
      "type": "string",
      "title": "Buyer Email",
      "default": ""
    },
    "buyer_address": {
      "type": "string",
      "title": "Buyer Address",
      "default": ""
    },
    "success_url": {
      "type": "string",
      "title": "Success Url",
      "default": "https://theothers.shop/order-success"
    },
    "cancel_url": {
      "type": "string",
      "title": "Cancel Url",
      "default": "https://theothers.shop"
    }
  },
  "type": "object",
  "required": [
    "product_id",
    "size",
    "color"
  ]
}