{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/affirm/refs/heads/main/json-structure/checkout-item-object-structure.json", "name": "ItemObject", "description": "Represents a single line item in the checkout, including product details and pricing.", "type": "object", "properties": { "display_name": { "type": "string", "description": "Customer-facing product name.", "example": "Example Merchant" }, "sku": { "type": "string", "description": "Merchant's stock keeping unit identifier for the product.", "example": "example_value" }, "unit_price": { "type": "int32", "description": "Unit price of the item in cents.", "minimum": 0, "example": 1 }, "qty": { "type": "int32", "description": "Quantity of this item in the order.", "minimum": 1, "example": 1 }, "item_image_url": { "type": "uri", "description": "URL of the product image.", "example": "https://example.com/path" }, "item_url": { "type": "uri", "description": "URL of the product page on the merchant's website.", "example": "https://example.com/path" }, "categories": { "type": "array", "description": "Nested array of category strings representing the product taxonomy.", "items": { "type": "array", "items": { "type": "string" } }, "example": [ [ "example_value" ] ] } }, "required": [ "display_name", "sku", "unit_price", "qty" ] }