{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hellohakuna-com/main/json-schema/hellohakuna-com-post-sandbox-events-request-schema.json",
  "title": "PostSandboxEventsRequest",
  "x-generated": "2026-10-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hellohakuna-com-openapi-generated.yml#/components/schemas/PostSandboxEventsRequest",
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "payload": {
      "type": "object",
      "properties": {
        "order_id": {
          "type": "string"
        },
        "placed_at": {
          "type": "string",
          "format": "date-time"
        },
        "order_currency": {
          "type": "string"
        },
        "customer": {
          "type": "object",
          "properties": {
            "first_name": {
              "type": "string"
            },
            "last_name": {
              "type": "string"
            },
            "email": {
              "type": "string"
            }
          }
        },
        "customer_billing_address": {
          "type": "object",
          "properties": {
            "address_line_1": {
              "type": "string"
            },
            "address_line_2": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "zip": {
              "type": "string"
            }
          }
        },
        "line_items": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "quantity": {
                "type": "integer"
              },
              "price_amount": {
                "type": "integer"
              },
              "product_id": {
                "type": "string"
              },
              "product_title": {
                "type": "string"
              },
              "product_brand": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}