schemas/maps library

Apple's maps App Schemas, as typed annotations.

Annotate a class with an entity annotation, such as @MapsCurrentLocation(...), and its fields with @MapsCurrentLocationField.<member>.

Turn on intents that belong to no entity with @MapsIntents(...) on the class implementing the generated MapsAssistantHandler.

Not adoptable: addNoteToPlace (no public definition in the SDK), addPlaces (no public definition in the SDK), calculateETA (no public definition in the SDK), currentHeading (no public definition in the SDK), deleteParkingLocations (no public definition in the SDK), eta (no public definition in the SDK), getElevation (no public definition in the SDK), parkingLocationData (no public definition in the SDK), parkingLocationDataTransferable (no public definition in the SDK), placeAttribute (no public definition in the SDK), placeList (no public definition in the SDK), placeType (no public definition in the SDK), removePlaces (no public definition in the SDK), saveParkingLocation (no public definition in the SDK), showParkingLocation (no public definition in the SDK), showPlacesInApp (no public definition in the SDK), trafficLevel (no public definition in the SDK), updateParkingLocation (no public definition in the SDK).

Classes

FixedMapsCurrentLocation
A fixed maps.currentLocation instance, for schemas that require one.
FixedMapsOperatingHours
A fixed maps.operatingHours instance, for schemas that require one.
MapsAmenity
maps.amenity ("Amenity"), whose cases the app defines: put @MapsAmenity() on a Dart enum, and each of its values becomes a case Siri can use.
MapsCurrentLocation
Adopts Apple's maps.currentLocation schema ("Current Location", iOS 27+, macOS 27+).
MapsCurrentLocationField
Members of maps.currentLocation, used as field annotations: @MapsCurrentLocationField.member ….
MapsCurrentLocationSchema
Marks members of maps.currentLocation.
MapsIncident
maps.incident ("Traffic Incident"), whose cases the app defines: put @MapsIncident() on a Dart enum, and each of its values becomes a case Siri can use.
MapsIntents
Turns on Apple's maps intents that belong to no entity. Put it on the class that implements the generated MapsAssistantHandler.
MapsNavigationPreferences
maps.navigationPreferences ("Navigation Preference"), whose cases the app defines: put @MapsNavigationPreferences() on a Dart enum, and each of its values becomes a case Siri can use.
MapsNavigationSession
Adopts Apple's maps.navigationSession schema ("Current Route", iOS 27+, macOS 27+).
MapsNavigationSessionField
Members of maps.navigationSession, used as field annotations: @MapsNavigationSessionField.estimatedArrivalDate ….
MapsNavigationSessionSchema
Marks members of maps.navigationSession.
MapsOperatingHours
Adopts Apple's maps.operatingHours schema ("Operating Hours", iOS 27+, macOS 27+).
MapsOperatingHoursField
Members of maps.operatingHours, used as field annotations: @MapsOperatingHoursField.monday ….
MapsOperatingHoursSchema
Marks members of maps.operatingHours.
MapsOperatingStatus
maps.operatingStatus ("Operating Status"), whose cases the app defines: put @MapsOperatingStatus() on a Dart enum, and each of its values becomes a case Siri can use.
MapsOperatingTimeRange
Adopts Apple's maps.operatingTimeRange schema ("Business Operating Time Range", iOS 27+, macOS 27+).
MapsOperatingTimeRangeField
Members of maps.operatingTimeRange, used as field annotations: @MapsOperatingTimeRangeField.startTime ….
MapsOperatingTimeRangeSchema
Marks members of maps.operatingTimeRange.
MapsPlace
Adopts Apple's maps.place schema ("Place", iOS 27+, macOS 27+).
MapsPlaceField
Members of maps.place, used as field annotations: @MapsPlaceField.name ….
MapsPlaceSchema
Marks members of maps.place.
MapsPriceRange
maps.priceRange ("Price Range"), whose cases the app defines: put @MapsPriceRange() on a Dart enum, and each of its values becomes a case Siri can use.
MapsRating
Adopts Apple's maps.rating schema ("Rating", iOS 27+, macOS 27+).
MapsRatingField
Members of maps.rating, used as field annotations: @MapsRatingField.provider ….
MapsRatingSchema
Marks members of maps.rating.
MapsTransportType
maps.transportType ("Transport Type"), whose cases the app defines: put @MapsTransportType() on a Dart enum, and each of its values becomes a case Siri can use.

Enums

MapsRatingDescriptor
maps.ratingDescriptor ("Rating Descriptor").