Skip to main content

Apple override and contest details object definitions and links to validations

Properties

ParentNameTypeInput
$.overrideDetailsobject
REQUIRED
overrideDetailscodestring
REQUIRED
overrideDetailsmessagestring
REQUIRED
overrideDetailsfields[]array
REQUIRED
$.contestDetailsobject
OPTIONAL

Contest Details

When provided by a partner, contestDetails has the following properties:

ParentNameTypeInput
contestDetailsvalueobject
REQUIRED
contestDetailsimageIdstring
OPTIONAL
contestDetailsreasonstring
OPTIONAL

Image ID

imageId references the Apple-generated identifier for the uploaded image or document. imageId is an Apple-generated image ID obtained from the media API.

Reason

reason captures free-text input.

Fields

fields[] has the following properties:

ParentNameTypeInput
fields[]fieldstring
REQUIRED
fields[]valueobject
REQUIRED

Field

field defines the JSONPath expression identifying the target value within the resource.

Value

value is a container for data. The value of this field is context-dependent and MUST adhere to the rules that define the property within the relevant resource type.

Resource TypeProperty
LocationDisplay Names
LocationLocation Status
LocationOpening Hours
LocationService Hours
LocationSpecial Hours

JSON Data Samples

Uncontested Apple Override
{
"overrideDetails": {
"code": "APPLE_OVERRIDE__LOCATION_STATUS",
"message": "Place card will display different location status",
"fields": [
{
"field": "$.locationDetails.locationStatus",
"value": {
"locationStatus": [
{
"status": "OPEN"
}
]
}
}
]
},
"overrideStatus": "PENDING_USER_ACTION"
}
Contested Apple Override
{
"overrideDetails": {
"code": "APPLE_OVERRIDE__LOCATION_NAME",
"message": "Place card will display different name for your location",
"fields": [
{
"field": "$.locationDetails.displayNames",
"value": {
"displayNames": [
{
"name": "Ben Hill Griffin Stadium",
"locale": "en",
"primary": true
}
]
}
}
]
},
"contestDetails": {
"value": {
"displayNames": [
{
"name": "Florida Field",
"locale": "en",
"primary": true
},
{
"name": "The Swamp",
"locale": "en",
"primary": false
}
]
},
"reason": "'Florida Field' is our preferred name for the venue. This is what should be shown on Apple Maps"
},
"overrideStatus": "SUBMITTED"
}
NameReference
APILink