RestaurantGeolocationGoogleLocationsMapsPlacesPoints of Interest
Photo is a JSON Structure definition published by Google Places, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/google-places/refs/heads/main/json-structure/photo-structure.json",
"name": "Photo",
"description": "A photo associated with a place.",
"type": "object",
"properties": {
"name": {
"description": "The resource name of the photo, used to fetch the media.",
"example": "places/ChIJN1t_tDeuEmsRUsoyG83frY4",
"type": "string"
},
"widthPx": {
"description": "The maximum available width of the photo in pixels.",
"example": 1080,
"type": "int32"
},
"heightPx": {
"description": "The maximum available height of the photo in pixels.",
"example": 1080,
"type": "int32"
},
"authorAttributions": {
"description": "Attribution information for the authors of this photo.",
"items": {
"$ref": "#/components/schemas/AuthorAttribution"
},
"type": "array"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.