Mews · Schema

Amount parameters

Price of the product that overrides the price defined in Mews.

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Currency string
TaxCodes array
NetValue number
GrossValue number
View JSON Schema on GitHub

JSON Schema

mews-amountparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AmountParameters",
  "title": "Amount parameters",
  "required": [
    "Currency",
    "TaxCodes"
  ],
  "type": "object",
  "properties": {
    "Currency": {
      "minLength": 1,
      "type": "string",
      "format": "currency"
    },
    "TaxCodes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "NetValue": {
      "type": "number",
      "format": "double",
      "nullable": true
    },
    "GrossValue": {
      "type": "number",
      "format": "double",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "Price of the product that overrides the price defined in Mews.",
  "x-schema-id": "AmountParameters"
}