{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/aloha-pos/refs/heads/main/json-schema/ncr-voyix-platform-item-price-schema.json", "title": "ItemPrice", "description": "A price for a catalog item, tied to the item by its item code.", "type": "object", "properties": { "version": { "type": "integer", "description": "Optimistic-concurrency version; must increase on each update." }, "price": { "type": "number", "format": "double", "description": "The price amount." }, "currency": { "type": "string", "description": "Currency of the price.", "default": "US Dollar" }, "effectiveDate": { "type": "string", "format": "date-time", "description": "When the price becomes effective." }, "status": { "type": "string", "description": "Price lifecycle status.", "enum": ["ACTIVE", "INACTIVE"] }, "priceId": { "type": "object", "description": "Identifier tying the price to its item.", "properties": { "itemCode": { "type": "string" } } } }, "required": ["version", "price"] }