Toast · JSON Structure

Restaurants Image Structure

Information about an image.

Type: object Properties: 4
RestaurantsPoint Of SalePaymentsOnline OrderingDeliveryLoyaltyGift CardsMenusOrdersKitchenLaborSchedulingInventoryHospitalityPartner Integrations

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.

Properties

width height url heightWidthRatio

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/toast-tab/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.",
      "example": 1
    },
    "height": {
      "type": "int32",
      "description": "The height of the image, in pixels.",
      "example": 1
    },
    "url": {
      "type": "string",
      "example": "https://doc.toasttab.com/"
    },
    "heightWidthRatio": {
      "type": "float",
      "description": "The ratio of height to width",
      "example": 1.0
    }
  }
}