title: Money
x-tags:
  - Foundation
type: object
description: The standardised representation of a monetary amount.
properties:
  amount:
    type: integer
    description: |-
      The amount/value in the lowest possible unit of the associated currency.

      For example, a value of `125` alongside a currency of `SGD` means $1.25.
    example: 123
  currency:
    type: string
    description: An ISO 4217 alpha-3 currency code.
    example: SGD
    minLength: 3
    maxLength: 3
required:
  - amount
  - currency
