{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-maps/json-schema/microsoft-azure-maps-autocomplete-response-schema.json",
  "title": "AutocompleteResponse",
  "description": "The successful response body returned by `Get Autocomplete`. Encoded as a\n[`GeoJSON FeatureCollection`](https://www.rfc-editor.org/rfc/rfc7946) whose `features`\narray contains one `Feature` per autocomplete suggestion, ranked from most to least\nlikely.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-maps-geocode-autocomplete-api-openapi.yml#/components/schemas/AutocompleteResponse",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/$defs/FeatureCollectionEnum",
      "description": "The `GeoJSON` object type of a successful `Get Autocomplete` response body. Always\n`FeatureCollection`, as defined in [RFC 7946](https://www.rfc-editor.org/rfc/rfc7946)."
    },
    "features": {
      "type": "array",
      "description": "The array of `GeoJSON Feature` objects returned by the query. Each `Feature` represents a\nsingle autocomplete suggestion: its classification (`type`, `typeGroup`), parsed address,\nand optional place name are exposed via `properties`, and its primary coordinate via\n`geometry`.",
      "items": {
        "$ref": "#/$defs/AutocompleteFeature"
      }
    },
    "nextLink": {
      "type": "string",
      "description": "Contains the URL to fetch the next page of results if the response is paginated. This is\nuseful when the response is too large to be returned in a single call, allowing users to\nnavigate through multiple pages of results."
    }
  },
  "$defs": {
    "Address": {
      "type": "object",
      "description": "The address of a geocoded or autocomplete-suggested location, parsed into structured fields.\nSparseness is normal: only the fields that the resolved entity supplies are populated. For\nexample, `streetName` and `streetNumber` appear only for street-level addresses, and\n`intersection` appears only for road-intersection results.",
      "properties": {
        "addressLine": {
          "type": "string",
          "description": "The first line of the address, typically the street name and number. For example,\n`\"15127 NE 24th St\"`."
        },
        "locality": {
          "type": "string",
          "description": "The locality the address falls within: usually a city, town, or village. For example:\n`\"Redmond\"`."
        },
        "neighborhood": {
          "type": "string",
          "description": "The named neighborhood within the locality, when one is identified."
        },
        "adminDistricts": {
          "type": "array",
          "description": "The administrative subdivisions that contain the address, ordered from coarsest to finest.\nThe first entry is typically the first-order subdivision (such as a U.S. state or a\nCanadian province); subsequent entries cover finer divisions where the country, dependency,\nor region defines them (such as a county at index 1).",
          "items": {
            "$ref": "#/$defs/AddressAdminDistrictsItem"
          }
        },
        "postalCode": {
          "type": "string",
          "description": "The postal code for the address, when one is defined. Example: `\"98052\"`."
        },
        "countryRegion": {
          "$ref": "#/$defs/AddressCountryRegion",
          "description": "The country or region that contains the address, with its display name and ISO 3166-1\nAlpha-2 country code."
        },
        "formattedAddress": {
          "type": "string",
          "description": "The full address rendered as a single human-readable string, with the components joined\naccording to the conventions of the address's country or region. Example:\n`\"15127 NE 24th St, Redmond, WA 98052\"`."
        },
        "streetName": {
          "type": "string",
          "description": "The street name component of the address, when the resolved entity is a street-level\naddress. Example: `\"NE 24th St\"`."
        },
        "streetNumber": {
          "type": "string",
          "description": "The house or building number on the street, when the resolved entity is a street-level\naddress. Example: `\"15127\"`."
        },
        "intersection": {
          "$ref": "#/$defs/Intersection",
          "description": "The intersecting-street details for the address, populated when the resolved entity is a\n`RoadIntersection` (such as the corner of two named streets)."
        }
      }
    },
    "AddressAdminDistrictsItem": {
      "type": "object",
      "description": "An administrative subdivision that contains an address. For example, a state, province, or\ncounty. Returned as one entry in the parent `Address.adminDistricts` array, where entries are\nordered from coarsest to finest.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The full name of the subdivision. For example, `\"Washington\"` for a U.S. state, or\n`\"King County\"` for a county."
        },
        "shortName": {
          "type": "string",
          "description": "The short or abbreviated form of the subdivision name, when one is defined. For example,\n`\"WA\"` for a U.S. state. Finer subdivisions often have no distinct short form, in which case\n`shortName` repeats `name` (such as `\"King County\"`)."
        }
      }
    },
    "AddressCountryRegion": {
      "type": "object",
      "description": "The country or region that contains the address, identified by its display name and ISO 3166-1\nAlpha-2 country code. Either field may be omitted in a given response.",
      "properties": {
        "ISO": {
          "type": "string",
          "description": "The ISO 3166-1 Alpha-2 country code for the country or region. For example, `\"US\"` for the\nUnited States, or `\"GB\"` for the United Kingdom."
        },
        "name": {
          "type": "string",
          "description": "The display name of the country or region. For example, `\"United States\"`."
        }
      }
    },
    "AutocompleteFeature": {
      "type": "object",
      "description": "A single entry in the `features` array of an `AutocompleteResponse`, conforming to the\n[`GeoJSON Feature`](https://www.rfc-editor.org/rfc/rfc7946#section-3.2) object shape.\nRepresents one autocomplete suggestion: classification (`type`, `typeGroup`), parsed\naddress, and optional place name are exposed via `properties`, with a representative\ncoordinate on `geometry` when one is available.",
      "properties": {
        "type": {
          "$ref": "#/$defs/FeatureTypeEnum",
          "description": "The `GeoJSON` object type. Always `Feature`, as defined in\n[RFC 7946](https://www.rfc-editor.org/rfc/rfc7946)."
        },
        "geometry": {
          "$ref": "#/$defs/GeoJsonPoint",
          "description": "The coordinate of the autocomplete suggestion as a\n[`GeoJSON Point`](https://tools.ietf.org/html/rfc7946#section-3.1.2), with values in WGS 84\nlongitude/latitude order. May be omitted when the suggestion does not resolve to a single\nrepresentative coordinate, for example, broad regional or place-name suggestions."
        },
        "properties": {
          "$ref": "#/$defs/AutocompleteProperties",
          "description": "Structured data about the autocomplete suggestion, including its classification, parsed\naddress, and (for `Place`-typed suggestions) the place name. See `AutocompleteProperties`\nfor the per-property shape."
        }
      },
      "required": [
        "type",
        "properties"
      ]
    },
    "AutocompleteProperties": {
      "type": "object",
      "description": "The `properties` payload of an `AutocompleteFeature`. Carries the result's classification\n(`typeGroup`, `type`), its parsed address, and (for many `Place`-typed results) a separate\ndisplay name.",
      "properties": {
        "typeGroup": {
          "$ref": "#/$defs/AutocompleteResultTypeGroupsEnum",
          "description": "The broad classification of the result as either an address or a named place. See\n`AutocompleteResultTypeGroupsEnum` for the value list."
        },
        "type": {
          "$ref": "#/$defs/AutocompleteResultTypeEnum",
          "description": "The specific entity kind that the result resolves to. For example, an address, a populated\nplace, a park, or a landmark. See `AutocompleteResultTypeEnum` for the full value list,\npartitioned into the `Address` and `Place` groups by `AutocompleteResultTypeGroupsEnum`."
        },
        "address": {
          "$ref": "#/$defs/Address",
          "description": "The address of the autocomplete result, parsed into structured fields. `Address`-typed\nresults typically include street-level detail; `Place`-typed results carry locality,\nadministrative districts, and country/region (street-level fields are usually omitted)."
        },
        "name": {
          "type": "string",
          "description": "The display name of the suggested place. Populated for `Place`-typed results when the name\nis not already represented in the structured `address` (for example, parks, landmarks, or\nother named features). Omitted for `Address`-typed results and for `Place`-typed results\nwhose name is already included in `address` (such as a populated place whose name appears in\n`address.locality`)."
        }
      }
    },
    "AutocompleteResultTypeEnum": {
      "type": "string",
      "description": "A classification of autocomplete suggestions used by `Get Autocomplete` both as an input\nfilter (via the `resultTypes` query parameter) and as an output label (via the `type`\nfield on each `AutocompleteProperties`). The members define a gazetteer-style taxonomy\nspanning addresses, road segments, administrative regions, populated places, natural\nfeatures, and points of interest. This taxonomy is partitioned into two broader groups\nby `AutocompleteResultTypeGroupsEnum`: `Address`, which covers addresses and road\nsegments; and `Place`, which covers all other result types.",
      "enum": [
        "Address",
        "AdminDivision1",
        "AdminDivision2",
        "AdminDivision3",
        "AdministrativeBuilding",
        "Airport",
        "AirportTerminal",
        "AmusementPark",
        "AncientSite",
        "Aquarium",
        "Archipelago",
        "Basin",
        "Battlefield",
        "Bay",
        "Beach",
        "Bridge",
        "BusinessStructure",
        "Camp",
        "Canal",
        "Casino",
        "Castle",
        "Cave",
        "Cemetery",
        "Channel",
        "Church",
        "Cliff",
        "Coast",
        "CommunityCenter",
        "Continent",
        "CountryRegion",
        "Crater",
        "CulturalRegion",
        "Dam",
        "Delta",
        "Desert",
        "DrainageBasin",
        "Dune",
        "FacilityStructure",
        "FerryTerminal",
        "FinancialStructure",
        "FireStation",
        "Forest",
        "Fort",
        "Garden",
        "Geyser",
        "Glacier",
        "GolfCourse",
        "GreaterPopulatedPlace",
        "HigherEducationFacility",
        "HistoricalSite",
        "Hospital",
        "HotSpring",
        "Ice",
        "IndigenousPeoplesReserve",
        "IndustrialStructure",
        "Island",
        "Isthmus",
        "Lake",
        "LandArea",
        "Landform",
        "LandmarkBuilding",
        "Library",
        "Lighthouse",
        "Marina",
        "Market",
        "MedicalStructure",
        "MetroStation",
        "MilitaryBase",
        "Mission",
        "Monument",
        "Mosque",
        "Mountain",
        "MountainRange",
        "MultiModalStation",
        "Museum",
        "NauticalStructure",
        "Neighborhood",
        "Oasis",
        "ObservationPoint",
        "Ocean",
        "OfficeBuilding",
        "Other",
        "Park",
        "ParkingStructure",
        "Pass",
        "Peninsula",
        "Plain",
        "Planet",
        "Plateau",
        "Playground",
        "PlayingField",
        "Pole",
        "PoliticalUnit",
        "PopulatedPlace",
        "Port",
        "Postcode1",
        "Promontory",
        "RaceTrack",
        "RailwayStation",
        "Reef",
        "ReligiousStructure",
        "Reserve",
        "ResidentialStructure",
        "River",
        "RoadBlock",
        "Ruin",
        "ScientificResearchBase",
        "Sea",
        "SeaplaneLandingArea",
        "Shrine",
        "SkiArea",
        "Spring",
        "Stadium",
        "StatisticalDistrict",
        "Temple",
        "Theater",
        "TouristRailway",
        "TouristStructure",
        "Trailhead",
        "TransportationStructure",
        "Tunnel",
        "Valley",
        "Volcano",
        "Walkway",
        "Wall",
        "Waterfall",
        "WaterFeature",
        "Wetland",
        "Winery",
        "Zoo"
      ],
      "x-ms-enum": {
        "name": "AutocompleteResultTypeEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "Address",
            "value": "Address",
            "description": "A specific street address."
          },
          {
            "name": "AdminDivision1",
            "value": "AdminDivision1",
            "description": "First administrative level within the country/region, such as a state or a province."
          },
          {
            "name": "AdminDivision2",
            "value": "AdminDivision2",
            "description": "Second administrative level within the country/region, such as a county."
          },
          {
            "name": "AdminDivision3",
            "value": "AdminDivision3",
            "description": "Third administrative level within the country/region, such as a district, parish, or\nmunicipality. Retained for API compatibility. This type is not currently returned by the\nAutocomplete service; requests filtered exclusively to this type return an empty result\nset."
          },
          {
            "name": "AdministrativeBuilding",
            "value": "AdministrativeBuilding",
            "description": "A building that houses government offices or public administrative functions."
          },
          {
            "name": "Airport",
            "value": "Airport",
            "description": "A facility where aircraft regularly take off and land, with facilities for passengers\nand cargo."
          },
          {
            "name": "AirportTerminal",
            "value": "AirportTerminal",
            "description": "A passenger terminal building within an airport. Availability varies by geography and\nmight change as Azure Maps search data is updated. Matching suggestions aren't\nguaranteed for every query."
          },
          {
            "name": "AmusementPark",
            "value": "AmusementPark",
            "description": "An entertainment facility featuring rides, games, and themed attractions."
          },
          {
            "name": "AncientSite",
            "value": "AncientSite",
            "description": "A place where archaeological remains or cultural artifacts of an ancient civilization are\npreserved."
          },
          {
            "name": "Aquarium",
            "value": "Aquarium",
            "description": "A public facility where aquatic plants and animals are exhibited and studied."
          },
          {
            "name": "Archipelago",
            "value": "Archipelago",
            "description": "A group or chain of islands."
          },
          {
            "name": "Basin",
            "value": "Basin",
            "description": "A natural depression in the land surface, often surrounded by higher terrain."
          },
          {
            "name": "Battlefield",
            "value": "Battlefield",
            "description": "A site of a historically significant land battle."
          },
          {
            "name": "Bay",
            "value": "Bay",
            "description": "A body of water partially enclosed by land, smaller than a gulf and larger than a cove."
          },
          {
            "name": "Beach",
            "value": "Beach",
            "description": "A shore of sand, pebble, or other unconsolidated sediment along a body of water."
          },
          {
            "name": "Bridge",
            "value": "Bridge",
            "description": "A structure carrying a road, railway, or path across an obstacle such as a river,\nvalley, or another road."
          },
          {
            "name": "BusinessStructure",
            "value": "BusinessStructure",
            "description": "A building used for general business or commercial activities that doesn't fit a more\nspecific category."
          },
          {
            "name": "Camp",
            "value": "Camp",
            "description": "A site with shelters or facilities for temporary occupation, such as a campground or\nseasonal settlement."
          },
          {
            "name": "Canal",
            "value": "Canal",
            "description": "An artificial watercourse used for transportation, irrigation, or drainage."
          },
          {
            "name": "Casino",
            "value": "Casino",
            "description": "A facility used for gambling and games of chance."
          },
          {
            "name": "Castle",
            "value": "Castle",
            "description": "A historically fortified building or complex of buildings, typically associated with noble\nor royal residence."
          },
          {
            "name": "Cave",
            "value": "Cave",
            "description": "A natural underground chamber or passage formed in rock."
          },
          {
            "name": "Cemetery",
            "value": "Cemetery",
            "description": "A burial place or graveyard."
          },
          {
            "name": "Channel",
            "value": "Channel",
            "description": "A navigable waterway between two land bodies or the main flow path of a larger water\nbody."
          },
          {
            "name": "Church",
            "value": "Church",
            "description": "A building used for public Christian worship."
          },
          {
            "name": "Cliff",
            "value": "Cliff",
            "description": "A high, steep face of rock or earth, often overlooking a coast or valley."
          },
          {
            "name": "Coast",
            "value": "Coast",
            "description": "A named stretch of land bordering the sea."
          },
          {
            "name": "CommunityCenter",
            "value": "CommunityCenter",
            "description": "A facility hosting community activities, meetings, and social services."
          },
          {
            "name": "Continent",
            "value": "Continent",
            "description": "One of the Earth's major landmasses."
          },
          {
            "name": "CountryRegion",
            "value": "CountryRegion",
            "description": "A country or region."
          },
          {
            "name": "Crater",
            "value": "Crater",
            "description": "A circular depression formed by volcanic activity or meteorite impact."
          },
          {
            "name": "CulturalRegion",
            "value": "CulturalRegion",
            "description": "An area distinguished by shared cultural characteristics, such as language, ethnicity, or\nheritage."
          },
          {
            "name": "Dam",
            "value": "Dam",
            "description": "A barrier constructed across a stream or river to impound water."
          },
          {
            "name": "Delta",
            "value": "Delta",
            "description": "A landform of alluvial deposits formed where a river meets a larger body of water."
          },
          {
            "name": "Desert",
            "value": "Desert",
            "description": "A large arid region with sparse vegetation due to limited precipitation."
          },
          {
            "name": "DrainageBasin",
            "value": "DrainageBasin",
            "description": "An area of land drained by a river system and its tributaries."
          },
          {
            "name": "Dune",
            "value": "Dune",
            "description": "A mound or ridge of wind-blown sand."
          },
          {
            "name": "FacilityStructure",
            "value": "FacilityStructure",
            "description": "A structure that houses a specialized facility, such as a utility plant or service\ninstallation."
          },
          {
            "name": "FerryTerminal",
            "value": "FerryTerminal",
            "description": "A facility where passengers and vehicles board and disembark ferries."
          },
          {
            "name": "FinancialStructure",
            "value": "FinancialStructure",
            "description": "A building that houses a bank, credit union, or other financial services institution.\nAvailability varies by geography and might change as Azure Maps search data is updated.\nMatching suggestions aren't guaranteed for every query."
          },
          {
            "name": "FireStation",
            "value": "FireStation",
            "description": "A building that houses firefighters, equipment, and emergency response vehicles."
          },
          {
            "name": "Forest",
            "value": "Forest",
            "description": "A large area of land dominated by trees."
          },
          {
            "name": "Fort",
            "value": "Fort",
            "description": "A defensive military structure or earthworks."
          },
          {
            "name": "Garden",
            "value": "Garden",
            "description": "A cultivated area for displaying ornamental or scientifically curated plants."
          },
          {
            "name": "Geyser",
            "value": "Geyser",
            "description": "A hot spring that periodically erupts jets of water and steam."
          },
          {
            "name": "Glacier",
            "value": "Glacier",
            "description": "A persistent mass of ice that moves slowly under its own weight."
          },
          {
            "name": "GolfCourse",
            "value": "GolfCourse",
            "description": "A field laid out for playing golf."
          },
          {
            "name": "GreaterPopulatedPlace",
            "value": "GreaterPopulatedPlace",
            "description": "A metropolitan area or conurbation that contains and extends beyond a populated place.\nRetained for API compatibility. This type is not currently returned by the Autocomplete\nservice; requests filtered exclusively to this type return an empty result set."
          },
          {
            "name": "HigherEducationFacility",
            "value": "HigherEducationFacility",
            "description": "A college, university, or similar institution of post-secondary education."
          },
          {
            "name": "HistoricalSite",
            "value": "HistoricalSite",
            "description": "A site of historical significance, often preserved as a cultural heritage location."
          },
          {
            "name": "Hospital",
            "value": "Hospital",
            "description": "A medical facility providing inpatient and outpatient care."
          },
          {
            "name": "HotSpring",
            "value": "HotSpring",
            "description": "A natural spring where geothermally heated groundwater emerges at the surface."
          },
          {
            "name": "Ice",
            "value": "Ice",
            "description": "A natural mass or surface layer of frozen water covering land or water."
          },
          {
            "name": "IndigenousPeoplesReserve",
            "value": "IndigenousPeoplesReserve",
            "description": "A territory recognized as the homeland of an indigenous people or community."
          },
          {
            "name": "IndustrialStructure",
            "value": "IndustrialStructure",
            "description": "A building or installation used for manufacturing, production, or other industrial\noperations."
          },
          {
            "name": "Island",
            "value": "Island",
            "description": "A landmass surrounded by water, smaller than a continent."
          },
          {
            "name": "Isthmus",
            "value": "Isthmus",
            "description": "A narrow strip of land connecting two larger landmasses and separating two bodies of\nwater."
          },
          {
            "name": "Lake",
            "value": "Lake",
            "description": "An inland body of standing water surrounded by land."
          },
          {
            "name": "LandArea",
            "value": "LandArea",
            "description": "A named land region that doesn't fit a more specific geographic category."
          },
          {
            "name": "Landform",
            "value": "Landform",
            "description": "A natural land feature that doesn't fit a more specific category, such as a `Mountain`,\n`Valley`, or `Plateau`."
          },
          {
            "name": "LandmarkBuilding",
            "value": "LandmarkBuilding",
            "description": "A notable building of architectural, cultural, or historical significance that serves as\na recognizable landmark."
          },
          {
            "name": "Library",
            "value": "Library",
            "description": "A building that houses a collection of books and other media available for public use."
          },
          {
            "name": "Lighthouse",
            "value": "Lighthouse",
            "description": "A coastal or harbor structure displaying a navigation light to guide ships."
          },
          {
            "name": "Marina",
            "value": "Marina",
            "description": "A harbor facility providing moorings and services for small boats and yachts."
          },
          {
            "name": "Market",
            "value": "Market",
            "description": "A place where goods are bought and sold, typically at retail."
          },
          {
            "name": "MedicalStructure",
            "value": "MedicalStructure",
            "description": "A building used for medical or health-related services other than a `Hospital`, such as\na clinic or medical office."
          },
          {
            "name": "MetroStation",
            "value": "MetroStation",
            "description": "A station on a subway, underground, or other urban rapid-transit rail system."
          },
          {
            "name": "MilitaryBase",
            "value": "MilitaryBase",
            "description": "An installation operated by armed forces for training, supply, or operations."
          },
          {
            "name": "Mission",
            "value": "Mission",
            "description": "A complex operated by a religious group to provide community services and propagate faith."
          },
          {
            "name": "Monument",
            "value": "Monument",
            "description": "A commemorative structure or statue erected to honor a person, event, or idea."
          },
          {
            "name": "Mosque",
            "value": "Mosque",
            "description": "A building used for public Islamic worship."
          },
          {
            "name": "Mountain",
            "value": "Mountain",
            "description": "A landform that rises significantly above its surroundings, typically with steep slopes\nand a defined summit."
          },
          {
            "name": "MountainRange",
            "value": "MountainRange",
            "description": "A connected series of mountains forming a continuous range."
          },
          {
            "name": "MultiModalStation",
            "value": "MultiModalStation",
            "description": "A station that serves multiple transportation modes, such as combined rail, bus, or\nmetro services."
          },
          {
            "name": "Museum",
            "value": "Museum",
            "description": "A facility where objects of artistic, scientific, or historical interest are preserved\nand exhibited."
          },
          {
            "name": "NauticalStructure",
            "value": "NauticalStructure",
            "description": "A structure related to maritime or nautical activity, such as a pier, dock, or buoy."
          },
          {
            "name": "Neighborhood",
            "value": "Neighborhood",
            "description": "A locally recognized area within a populated place, often with informal or culturally\ndefined boundaries."
          },
          {
            "name": "Oasis",
            "value": "Oasis",
            "description": "A fertile area in a desert sustained by a natural water source."
          },
          {
            "name": "ObservationPoint",
            "value": "ObservationPoint",
            "description": "A vantage point or lookout providing scenic views of the surrounding area."
          },
          {
            "name": "Ocean",
            "value": "Ocean",
            "description": "One of the major divisions of Earth's global ocean."
          },
          {
            "name": "OfficeBuilding",
            "value": "OfficeBuilding",
            "description": "A building used primarily for professional or administrative office space."
          },
          {
            "name": "Other",
            "value": "Other",
            "description": "A suggestion that doesn't fit any other defined type."
          },
          {
            "name": "Park",
            "value": "Park",
            "description": "An area maintained for public recreation or scenic enjoyment."
          },
          {
            "name": "ParkingStructure",
            "value": "ParkingStructure",
            "description": "A multi-level structure dedicated to vehicle parking."
          },
          {
            "name": "Pass",
            "value": "Pass",
            "description": "A navigable route through or over a mountain range or similar obstruction."
          },
          {
            "name": "Peninsula",
            "value": "Peninsula",
            "description": "A landmass projecting into a body of water and nearly surrounded by it."
          },
          {
            "name": "Plain",
            "value": "Plain",
            "description": "An extensive area of relatively flat or gently undulating land."
          },
          {
            "name": "Planet",
            "value": "Planet",
            "description": "A celestial body orbiting a star, typically used to represent the Earth as the root of\nthe geographic hierarchy. Availability varies by geography and might change as Azure\nMaps search data is updated. Matching suggestions aren't guaranteed for every query."
          },
          {
            "name": "Plateau",
            "value": "Plateau",
            "description": "An elevated area of relatively level land with steep slopes on one or more sides."
          },
          {
            "name": "Playground",
            "value": "Playground",
            "description": "A recreational area equipped for children's play."
          },
          {
            "name": "PlayingField",
            "value": "PlayingField",
            "description": "An open area used for playing organized sports."
          },
          {
            "name": "Pole",
            "value": "Pole",
            "description": "A geographic pole, such as the North or South Pole. Availability varies by geography\nand might change as Azure Maps search data is updated. Matching suggestions aren't\nguaranteed for every query."
          },
          {
            "name": "PoliticalUnit",
            "value": "PoliticalUnit",
            "description": "A self-governing political entity, such as an independent or dependent state or territory.\nRetained for API compatibility. This type is not currently returned by the Autocomplete\nservice; requests filtered exclusively to this type return an empty result set."
          },
          {
            "name": "PopulatedPlace",
            "value": "PopulatedPlace",
            "description": "A concentrated area of human settlement, such as a city, town or village."
          },
          {
            "name": "Port",
            "value": "Port",
            "description": "A maritime facility with terminals for loading and unloading waterborne cargo or\npassengers."
          },
          {
            "name": "Postcode1",
            "value": "Postcode1",
            "description": "The smallest postal code category, such as a zip code."
          },
          {
            "name": "Promontory",
            "value": "Promontory",
            "description": "A prominent elevated landform projecting into a lowland or body of water."
          },
          {
            "name": "RaceTrack",
            "value": "RaceTrack",
            "description": "A track or course laid out for racing vehicles, animals, or athletes."
          },
          {
            "name": "RailwayStation",
            "value": "RailwayStation",
            "description": "A facility where passengers board and disembark trains."
          },
          {
            "name": "Reef",
            "value": "Reef",
            "description": "A submerged or partially submerged ridge of rock, sand, or coral near the water surface."
          },
          {
            "name": "ReligiousStructure",
            "value": "ReligiousStructure",
            "description": "A building used for religious worship or practice that doesn't fit a more specific\ncategory, such as `Church`, `Mosque`, or `Temple`."
          },
          {
            "name": "Reserve",
            "value": "Reserve",
            "description": "A protected tract of land set aside for conservation, wildlife, or other restricted use."
          },
          {
            "name": "ResidentialStructure",
            "value": "ResidentialStructure",
            "description": "A building used primarily for human residence, such as an apartment or housing complex."
          },
          {
            "name": "River",
            "value": "River",
            "description": "A natural watercourse flowing to a lower elevation, typically toward a sea, lake, or\nanother river."
          },
          {
            "name": "RoadBlock",
            "value": "RoadBlock",
            "description": "A street segment without a specific house number, returned when the geocoding service\ncannot locate an exact house number for the query. Despite its name, this value does not\nindicate a physical road closure."
          },
          {
            "name": "Ruin",
            "value": "Ruin",
            "description": "A destroyed or decayed structure that no longer serves its original function."
          },
          {
            "name": "ScientificResearchBase",
            "value": "ScientificResearchBase",
            "description": "A facility used as a base for scientific research, often in remote or extreme\nenvironments."
          },
          {
            "name": "Sea",
            "value": "Sea",
            "description": "A large body of salt water partially enclosed by land, smaller than an ocean."
          },
          {
            "name": "SeaplaneLandingArea",
            "value": "SeaplaneLandingArea",
            "description": "An area of water designated for seaplanes to take off and land."
          },
          {
            "name": "Shrine",
            "value": "Shrine",
            "description": "A structure or site that memorializes a person or commemorates a sacred event or concept."
          },
          {
            "name": "SkiArea",
            "value": "SkiArea",
            "description": "A recreational area developed for skiing and other winter sports."
          },
          {
            "name": "Spring",
            "value": "Spring",
            "description": "A natural source where groundwater flows from the earth's surface."
          },
          {
            "name": "Stadium",
            "value": "Stadium",
            "description": "A large venue with tiered seating for spectator sports or events."
          },
          {
            "name": "StatisticalDistrict",
            "value": "StatisticalDistrict",
            "description": "A region defined for statistical or census purposes, such as a metropolitan statistical\narea or census tract."
          },
          {
            "name": "Temple",
            "value": "Temple",
            "description": "A building dedicated to religious worship."
          },
          {
            "name": "Theater",
            "value": "Theater",
            "description": "A venue for presenting plays, films, or other live or recorded performances."
          },
          {
            "name": "TouristRailway",
            "value": "TouristRailway",
            "description": "A scenic or heritage railway operated primarily for tourism rather than regular transit.\nAvailability varies by geography and might change as Azure Maps search data is updated.\nMatching suggestions aren't guaranteed for every query."
          },
          {
            "name": "TouristStructure",
            "value": "TouristStructure",
            "description": "A building that serves tourists, such as a visitor center or tourist information office."
          },
          {
            "name": "Trailhead",
            "value": "Trailhead",
            "description": "The starting point of a hiking, biking, or recreational trail."
          },
          {
            "name": "TransportationStructure",
            "value": "TransportationStructure",
            "description": "A structure that supports transportation infrastructure, such as a toll plaza, weigh\nstation, or transit shelter."
          },
          {
            "name": "Tunnel",
            "value": "Tunnel",
            "description": "An underground or underwater passage for road, rail, or pedestrian transit."
          },
          {
            "name": "Valley",
            "value": "Valley",
            "description": "An elongated low-lying area between hills or mountains, often containing a watercourse."
          },
          {
            "name": "Volcano",
            "value": "Volcano",
            "description": "A mountain or hill formed by volcanic activity, typically with a crater at its summit."
          },
          {
            "name": "Walkway",
            "value": "Walkway",
            "description": "A path or paved surface designated for pedestrian use."
          },
          {
            "name": "Wall",
            "value": "Wall",
            "description": "A constructed barrier forming a continuous vertical boundary, often used for defense,\nseparation, or commemoration. Availability varies by geography and might change as\nAzure Maps search data is updated. Matching suggestions aren't guaranteed for every\nquery."
          },
          {
            "name": "Waterfall",
            "value": "Waterfall",
            "description": "A point where a stream or river drops vertically or steeply."
          },
          {
            "name": "WaterFeature",
            "value": "WaterFeature",
            "description": "A body of water that doesn't fit a more specific category, such as a `Lake`, `River`,\nor `Sea`."
          },
          {
            "name": "Wetland",
            "value": "Wetland",
            "description": "An area of land saturated with water and supporting aquatic vegetation, such as a marsh\nor swamp."
          },
          {
            "name": "Winery",
            "value": "Winery",
            "description": "A facility where wine is produced and often offered for tasting or sale."
          },
          {
            "name": "Zoo",
            "value": "Zoo",
            "description": "A facility where wild animals are kept for public exhibition and study."
          }
        ]
      }
    },
    "AutocompleteResultTypeGroupsEnum": {
      "type": "string",
      "description": "A coarse classification of an autocomplete suggestion into one of two groups. Used by\n`Get Autocomplete` both as an input filter via the `resultTypeGroups` query parameter\n(restricting which kinds of suggestions are returned) and as an output classifier via\nthe `typeGroup` field on each `AutocompleteProperties` (identifying which group a\nreturned suggestion belongs to). The `Address` group covers individual addresses and\nstreet segments; the `Place` group covers all other entity types (administrative\nregions, populated places, natural features, and points of interest).",
      "enum": [
        "Address",
        "Place"
      ],
      "x-ms-enum": {
        "name": "AutocompleteResultTypeGroupsEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "Address",
            "value": "Address",
            "description": "Suggestions that resolve to a specific address or a road segment."
          },
          {
            "name": "Place",
            "value": "Place",
            "description": "Suggestions that resolve to named places, including administrative regions, populated\nplaces, neighborhoods, natural features, and points of interest. Examples include\n`AdminDivision1`, `Neighborhood`, and `PopulatedPlace`."
          }
        ]
      }
    },
    "FeatureCollectionEnum": {
      "type": "string",
      "description": "The `GeoJSON` object type used at the root of successful responses from the forward\ngeocoding, reverse geocoding, and autocomplete operations (including their batch\nvariants). The only value is `FeatureCollection`, as defined in\n[RFC 7946](https://www.rfc-editor.org/rfc/rfc7946). `Get Polygon` is the one exception:\nits response root is a `GeoJSON Feature`, see `FeatureTypeEnum`.",
      "enum": [
        "FeatureCollection"
      ],
      "x-ms-enum": {
        "name": "FeatureCollectionEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "FeatureCollection",
            "value": "FeatureCollection",
            "description": "The `GeoJSON FeatureCollection` object type. Appears as the root of every successful\ngeocoding, reverse geocoding, and autocomplete response body. `Get Polygon` uses a\n`Feature` root instead."
          }
        ]
      }
    },
    "FeatureTypeEnum": {
      "type": "string",
      "description": "The `GeoJSON` object type for `Feature` objects. Tags each entry inside the `features`\narray of a `FeatureCollection` response (geocoding, reverse geocoding, autocomplete) and\nappears at the root of the `Get Polygon` response. The only value is `Feature`, as\ndefined in [RFC 7946](https://www.rfc-editor.org/rfc/rfc7946).",
      "enum": [
        "Feature"
      ],
      "x-ms-enum": {
        "name": "FeatureTypeEnum",
        "modelAsString": true,
        "values": [
          {
            "name": "Feature",
            "value": "Feature",
            "description": "The `GeoJSON Feature` object type. Appears on every Feature inside a `FeatureCollection`\nresponse, and at the root of the `Get Polygon` response."
          }
        ]
      }
    },
    "GeoJsonGeometry": {
      "type": "object",
      "description": "A valid `GeoJSON` geometry object. The type must be one of the seven valid\nGeoJSON geometry types - Point, MultiPoint, LineString, MultiLineString,\nPolygon, MultiPolygon and GeometryCollection. Please refer to [RFC\n7946](https://tools.ietf.org/html/rfc7946#section-3.1) for details.",
      "properties": {
        "type": {
          "$ref": "#/$defs/GeoJsonObjectType",
          "description": "Specifies the `GeoJSON` type. Must be one of the nine valid GeoJSON object\ntypes - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon,\nGeometryCollection, Feature and FeatureCollection."
        },
        "bbox": {
          "type": "array",
          "description": "Bounding box. Projection used - EPSG:3857. Please refer to [RFC 7946](https://datatracker.ietf.org/doc/html/rfc7946#section-5) for details.",
          "minItems": 4,
          "maxItems": 4,
          "items": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "required": [
        "type"
      ]
    },
    "GeoJsonObjectType": {
      "type": "string",
      "description": "Specifies the `GeoJSON` type. Must be one of the nine valid GeoJSON object\ntypes - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon,\nGeometryCollection, Feature and FeatureCollection.",
      "enum": [
        "Point",
        "MultiPoint",
        "LineString",
        "MultiLineString",
        "Polygon",
        "MultiPolygon",
        "GeometryCollection",
        "Feature",
        "FeatureCollection"
      ],
      "x-ms-enum": {
        "name": "GeoJsonObjectType",
        "modelAsString": false,
        "values": [
          {
            "name": "GeoJsonPoint",
            "value": "Point",
            "description": "`GeoJSON Point` geometry."
          },
          {
            "name": "GeoJsonMultiPoint",
            "value": "MultiPoint",
            "description": "`GeoJSON MultiPoint` geometry."
          },
          {
            "name": "GeoJsonLineString",
            "value": "LineString",
            "description": "`GeoJSON LineString` geometry."
          },
          {
            "name": "GeoJsonMultiLineString",
            "value": "MultiLineString",
            "description": "`GeoJSON MultiLineString` geometry."
          },
          {
            "name": "GeoJsonPolygon",
            "value": "Polygon",
            "description": "`GeoJSON Polygon` geometry."
          },
          {
            "name": "GeoJsonMultiPolygon",
            "value": "MultiPolygon",
            "description": "`GeoJSON MultiPolygon` geometry."
          },
          {
            "name": "GeoJsonGeometryCollection",
            "value": "GeometryCollection",
            "description": "`GeoJSON GeometryCollection` geometry."
          },
          {
            "name": "GeoJsonFeature",
            "value": "Feature",
            "description": "`GeoJSON Feature` object."
          },
          {
            "name": "GeoJsonFeatureCollection",
            "value": "FeatureCollection",
            "description": "`GeoJSON FeatureCollection` object."
          }
        ]
      }
    },
    "GeoJsonPoint": {
      "type": "object",
      "description": "A valid `GeoJSON Point` geometry type. Please refer to [RFC\n7946](https://tools.ietf.org/html/rfc7946#section-3.1.2) for details.",
      "properties": {
        "coordinates": {
          "type": "array",
          "description": "A `Position` is an array of numbers with two or more elements. The first two\nelements are _longitude_ and _latitude_, precisely in that order.\n_Altitude/Elevation_ is an optional third element. Please refer to [RFC\n7946](https://tools.ietf.org/html/rfc7946#section-3.1.1) for details.",
          "items": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "required": [
        "coordinates"
      ],
      "allOf": [
        {
          "$ref": "#/$defs/GeoJsonGeometry"
        }
      ],
      "x-ms-discriminator-value": "Point"
    },
    "Intersection": {
      "type": "object",
      "description": "Intersection details for an address resolved as a road intersection — the corner where two or\nmore named streets meet. Populated only when the resolved entity is a `RoadIntersection`; the\nparent `Address.intersection` is otherwise omitted.",
      "properties": {
        "baseStreet": {
          "type": "string",
          "description": "The primary street of the intersection — typically the street the address number references."
        },
        "secondaryStreet1": {
          "type": "string",
          "description": "The first cross street that meets `baseStreet` at the intersection."
        },
        "secondaryStreet2": {
          "type": "string",
          "description": "The second cross street at the intersection, when one is present. Populated only for\nintersections of three or more streets."
        },
        "intersectionType": {
          "type": "string",
          "description": "A short label describing the form of the intersection. For example, distinguishing an\nat-grade crossroads from a grade-separated crossing such as a bridge or overpass."
        },
        "displayName": {
          "type": "string",
          "description": "A human-readable name for the intersection that combines the cross streets, such as\n`\"5th Avenue & Main Street\"`."
        }
      }
    }
  }
}