Mews · Schema

Resource feature

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of `ResourceFeature`.
ServiceId string Unique identifier of `Service` the resource feature belongs to.
IsActive boolean Whether the `ResourceFeature` is active.
Classification object
Names object All translations of the name.
ShortNames object All translations of the short name.
Descriptions object All translations of the description.
CreatedUtc string Creation date and time of the resource feature in UTC timezone in ISO 8601 format.
UpdatedUtc string Last update date and time of the resource feature in UTC timezone in ISO 8601 format.
View JSON Schema on GitHub

JSON Schema

mews-resourcefeature-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResourceFeature",
  "title": "Resource feature",
  "required": [
    "Classification",
    "CreatedUtc",
    "Descriptions",
    "Id",
    "IsActive",
    "Names",
    "ServiceId",
    "ShortNames",
    "UpdatedUtc"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of `ResourceFeature`.",
      "format": "uuid"
    },
    "ServiceId": {
      "type": "string",
      "description": "Unique identifier of `Service` the resource feature belongs to.",
      "format": "uuid"
    },
    "IsActive": {
      "type": "boolean",
      "description": "Whether the `ResourceFeature` is active."
    },
    "Classification": {
      "$ref": "#/components/schemas/ResourceFeatureClassification"
    },
    "Names": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the name.",
      "x-schema-id": "LocalizedStrings"
    },
    "ShortNames": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the short name.",
      "x-schema-id": "LocalizedStrings"
    },
    "Descriptions": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the description.",
      "x-schema-id": "LocalizedStrings"
    },
    "CreatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Creation date and time of the resource feature in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "UpdatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Last update date and time of the resource feature in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "ResourceFeature"
}