Skip to content

AutocompleteAddressHighlights

Source code in docs_src/capo_geo_places/types/autocomplete_address_highlights.py
class AutocompleteAddressHighlights(TypedDict, closed=True):
    label: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>Indicates the starting and ending indexes for result items where they are identified to match the input query. This should be used to provide emphasis to output display to make selecting the correct result from a list easier for end users.</p>"""
    country: NotRequired["capo_geo_places.types.country_highlights.CountryHighlights"]
    """<p>The alpha-2 or alpha-3 character code for the country that the results will be present in.</p>"""
    region: NotRequired["capo_geo_places.types.region_highlights.RegionHighlights"]
    """<p>The region or state results should be to be present in. </p> <p>Example: <code>North Rhine-Westphalia</code>.</p>"""
    sub_region: NotRequired[
        "capo_geo_places.types.sub_region_highlights.SubRegionHighlights"
    ]
    """<p>The sub-region or county for which results should be present in. </p>"""
    locality: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>The city or locality results should be present in. </p> <p>Example: <code>Vancouver</code>.</p>"""
    district: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>The district or division of a city the results should be present in.</p>"""
    sub_district: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>Indicates the starting and ending index of the title in the text query that match the found title. </p>"""
    street: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>The name of the street results should be present in.</p>"""
    block: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>Name of the block. </p> <p>Example: <code>Sunny Mansion 203 block: 2 Chome</code> </p>"""
    sub_block: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>Name of sub-block. </p> <p>Example: <code>Sunny Mansion 203 sub-block: 4</code> </p>"""
    intersection: NotRequired[
        "capo_geo_places.types.intersection_highlights_list.IntersectionHighlightsList"
    ]
    """<p>Name of the streets in the intersection. For example: e.g. ["Friedrichstraße","Unter den Linden"]</p>"""
    postal_code: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should possess. </p>"""
    address_number: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>The house number or address results should have. </p>"""
    building: NotRequired["capo_geo_places.types.highlight_list.HighlightList"]
    """<p>The name of the building at the address.</p>"""

address_number instance-attribute

address_number: NotRequired[HighlightList]

The house number or address results should have.

block instance-attribute

block: NotRequired[HighlightList]

Name of the block.

Example: Sunny Mansion 203 block: 2 Chome

building instance-attribute

building: NotRequired[HighlightList]

The name of the building at the address.

country instance-attribute

country: NotRequired[CountryHighlights]

The alpha-2 or alpha-3 character code for the country that the results will be present in.

district instance-attribute

district: NotRequired[HighlightList]

The district or division of a city the results should be present in.

intersection instance-attribute

intersection: NotRequired[IntersectionHighlightsList]

Name of the streets in the intersection. For example: e.g. ["Friedrichstraße","Unter den Linden"]

label instance-attribute

label: NotRequired[HighlightList]

Indicates the starting and ending indexes for result items where they are identified to match the input query. This should be used to provide emphasis to output display to make selecting the correct result from a list easier for end users.

locality instance-attribute

locality: NotRequired[HighlightList]

The city or locality results should be present in.

Example: Vancouver.

postal_code instance-attribute

postal_code: NotRequired[HighlightList]

An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should possess.

region instance-attribute

region: NotRequired[RegionHighlights]

The region or state results should be to be present in.

Example: North Rhine-Westphalia.

street instance-attribute

street: NotRequired[HighlightList]

The name of the street results should be present in.

sub_block instance-attribute

sub_block: NotRequired[HighlightList]

Name of sub-block.

Example: Sunny Mansion 203 sub-block: 4

sub_district instance-attribute

sub_district: NotRequired[HighlightList]

Indicates the starting and ending index of the title in the text query that match the found title.

sub_region instance-attribute

sub_region: NotRequired[SubRegionHighlights]

The sub-region or county for which results should be present in.