A line item within an order
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/3m/refs/heads/main/json-schema/3m-partner-supplier-api-order-item-schema.json", "title": "OrderItem", "description": "A line item within an order", "type": "object", "properties": { "productId": { "type": "string", "description": "Product identifier", "example": "PROD-12345" }, "quantity": { "type": "integer", "description": "Quantity ordered", "example": 20 }, "unitPrice": { "type": "number", "description": "Unit price at time of order", "example": 24.99 } } }