{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Money", "description": "Representation of money. Money amounts are always provided in the smallest currency unit (e.g,. 100 where `currency=USD` represents 100 \"cents\" or 1 USD).\n", "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant-brands/refs/heads/main/json-schema/channel-money-schema.json", "type": "object", "properties": { "currency": { "$ref": "#/components/schemas/Currency" }, "amount": { "title": "Amount", "description": "Amount in the specified currency", "type": "number", "example": 100, "format": "integer" } }, "required": [ "currency", "amount" ] }