{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/quandoo/refs/heads/main/json-structure/quandoo-public-partner-api-merchant-availability-dto-structure.json",
  "name": "MerchantAvailabilityDto",
  "description": "MerchantAvailabilityDto schema from Quandoo Public Partner API",
  "type": "object",
  "required": [
    "occupancy"
  ],
  "properties": {
    "dateTime": {
      "type": "datetime",
      "description": "The date the review created on. Format: yyyy-MM-ddTHH:mm:ssZ"
    },
    "occupancy": {
      "type": "int32",
      "description": "The occupancy of this availability option across the restaurant. This is an integer number between 0 and 100.",
      "readOnly": true
    },
    "areaIds": {
      "type": "array",
      "description": "The ids of the areas this availability option can be reserved for.",
      "items": {
        "type": "int32"
      }
    },
    "vaultSettingsId": {
      "type": "uuid",
      "description": "The id of the Vault Settings applicable on this availability option."
    }
  }
}