Image is a JSON Structure definition published by Toast, 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/toast/refs/heads/main/json-structure/restaurants-image-structure.json",
"name": "Image",
"description": "Information about an image.",
"type": "object",
"properties": {
"width": {
"type": "int32",
"description": "The width of the image, in pixels."
},
"height": {
"type": "int32",
"description": "The height of the image, in pixels."
},
"url": {
"type": "string"
},
"heightWidthRatio": {
"type": "float",
"description": "The ratio of height to width"
}
}
}
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.