{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/zamp/main/json-schema/zamp-post-transactions-request-schema.json", "title": "PostTransactionsRequest", "x-generated": "2026-10-15", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/_ae-authored/zamp-openapi-generated.yml#/components/schemas/PostTransactionsRequest", "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "transactedAt": { "type": "string", "format": "date-time" }, "isResale": { "type": "boolean" }, "currency": { "type": "string" }, "discount": { "type": "integer" }, "subtotal": { "type": "integer" }, "shippingHandling": { "type": "integer" }, "taxCollected": { "type": "number" }, "total": { "type": "number" }, "shipToAddress": { "type": "object", "properties": { "line1": { "type": "string" }, "state": { "type": "string" }, "city": { "type": "string" }, "zip": { "type": "string" }, "coordinates": { "type": [ "string", "null" ] } } }, "lineItems": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "amount": { "type": "integer" }, "quantity": { "type": "integer" }, "productName": { "type": "string" }, "productSku": { "type": "string" }, "productTaxCode": { "type": "string" } } } }, "metadata": { "type": "object", "properties": { "version": { "type": "string" } } } } }