{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.location",
  "title": "location",
  "required": [
    "@odata.type"
  ],
  "type": "object",
  "properties": {
    "address": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.physicalAddress"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The street address of the location."
    },
    "coordinates": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.outlookGeoCoordinates"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The geographic coordinates and elevation of the location."
    },
    "displayName": {
      "type": "string",
      "description": "The name associated with the location.",
      "nullable": true
    },
    "locationEmailAddress": {
      "type": "string",
      "description": "Optional email address of the location.",
      "nullable": true
    },
    "locationType": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.locationType"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "The type of location. The possible values are: default, conferenceRoom, homeAddress, businessAddress,geoCoordinates, streetAddress, hotel, restaurant, localBusiness, postalAddress. Read-only."
    },
    "locationUri": {
      "type": "string",
      "description": "Optional URI representing the location.",
      "nullable": true
    },
    "uniqueId": {
      "type": "string",
      "description": "For internal use only.",
      "nullable": true
    },
    "uniqueIdType": {
      "anyOf": [
        {
          "$ref": "#/components/schemas/microsoft.graph.locationUniqueIdType"
        },
        {
          "type": "object",
          "nullable": true
        }
      ],
      "description": "For internal use only."
    },
    "@odata.type": {
      "type": "string"
    }
  },
  "discriminator": {
    "propertyName": "@odata.type",
    "mapping": {
      "#microsoft.graph.locationConstraintItem": "#/components/schemas/microsoft.graph.locationConstraintItem"
    }
  }
}