{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-item-2-structure.json", "name": "Item-2", "description": "Item-2 schema from Public API (Otter Public API).", "type": "object", "properties": { "id": { "type": "string", "description": "The id of the item in the partner's system.", "example": "someidstring" }, "displayName": { "type": "string", "description": "Name of the item.", "example": "Cheese Burger" }, "quantity": { "type": "double", "description": "Quantity of item ordered.", "example": 1 }, "price": { "type": "double", "description": "Price of item.", "example": 19.07 }, "modifiers": { "oneOf": [ { "type": "array", "description": "The modifiers of an item, such as size(small, medium, large), modifier share the same model as item, just in case we have nested modifiers.", "items": { "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-item-2-schema.json" } }, { "type": "null" } ] } } }