Mews · Schema

Currency

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Code string ISO-4217 three-letter code, e.g. USD or GBP.
Precision integer Precision of the currency (count of decimal places).
View JSON Schema on GitHub

JSON Schema

mews-currency-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Currency",
  "title": "Currency",
  "required": [
    "Code",
    "Precision"
  ],
  "type": "object",
  "properties": {
    "Code": {
      "minLength": 1,
      "type": "string",
      "description": "ISO-4217 three-letter code, e.g. USD or GBP."
    },
    "Precision": {
      "type": "integer",
      "description": "Precision of the currency (count of decimal places).",
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "Currency"
}