Microsoft Graph · Schema

microsoft.graph.countryNamedLocation

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Tasks
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphcountrynamedlocation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.countryNamedLocation",
  "title": "microsoft.graph.countryNamedLocation",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.namedLocation"
    },
    {
      "title": "countryNamedLocation",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "countriesAndRegions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of countries and/or regions in two-letter format specified by ISO 3166-2. Required."
        },
        "countryLookupMethod": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.countryLookupMethodType"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Determines what method is used to decide which country the user is located in. Possible values are clientIpAddress(default) and authenticatorAppGps. Note: authenticatorAppGps is not yet supported in the Microsoft Cloud for US Government."
        },
        "includeUnknownCountriesAndRegions": {
          "type": "boolean",
          "description": "true if IP addresses that don't map to a country or region should be included in the named location. Optional. Default value is false."
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.countryNamedLocation"
}