Mews · Schema

Accepted currency

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Currency string ISO-4217 code of the `Currency`.
IsDefault boolean Whether the currency is a default accounting currency.
IsEnabled boolean Whether the currency is enabled for usage.
View JSON Schema on GitHub

JSON Schema

mews-currencyacceptance-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CurrencyAcceptance",
  "title": "Accepted currency",
  "required": [
    "Currency",
    "IsDefault",
    "IsEnabled"
  ],
  "type": "object",
  "properties": {
    "Currency": {
      "minLength": 1,
      "type": "string",
      "description": "ISO-4217 code of the `Currency`.",
      "format": "currency"
    },
    "IsDefault": {
      "type": "boolean",
      "description": "Whether the currency is a default accounting currency."
    },
    "IsEnabled": {
      "type": "boolean",
      "description": "Whether the currency is enabled for usage."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "CurrencyAcceptance"
}