{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-exchange/json-schema/microsoft-exchange-location-constraint-schema.json",
  "title": "LocationConstraint",
  "description": "Conditions for a meeting location",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-exchange-scheduling-api-openapi.yml#/components/schemas/LocationConstraint",
  "type": "object",
  "properties": {
    "isRequired": {
      "type": "boolean"
    },
    "suggestLocation": {
      "type": "boolean"
    },
    "locations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LocationConstraintItem"
      }
    }
  },
  "$defs": {
    "LocationConstraintItem": {
      "type": "object",
      "description": "A location constraint item",
      "properties": {
        "displayName": {
          "type": "string"
        },
        "locationEmailAddress": {
          "type": "string"
        },
        "resolveAvailability": {
          "type": "boolean"
        }
      }
    }
  }
}