Money

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).

Fortune 500FranchisingHospitalityNYSE QSRQuick Service RestaurantsRestaurants

Properties

Name Type Description
currency object
amount number Amount in the specified currency
View JSON Schema on GitHub

JSON Schema

channel-money-schema.json Raw ↑
{
  "$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"
  ]
}