doordash · JSON Structure

Doordash Menu Item Structure

MenuItem structure from DoorDash API

Type: object Properties: 8 Required: 3

MenuItem is a JSON Structure definition published by doordash, describing 8 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name description price image_url is_active sort_id option_groups

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/doordash/refs/heads/main/json-structure/doordash-menu-item-structure.json",
  "name": "MenuItem",
  "description": "MenuItem structure from DoorDash API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The merchant-supplied item identifier.",
      "example": "D-12345"
    },
    "name": {
      "type": "string",
      "description": "The display name of the item.",
      "example": "Acme Pickup Store"
    },
    "description": {
      "type": "string",
      "description": "A description of the item.",
      "example": "Leave at the front desk."
    },
    "price": {
      "type": "int32",
      "description": "The item price in cents.",
      "example": 42
    },
    "image_url": {
      "type": "uri",
      "description": "A URL to an image of the item.",
      "example": "https://example.com/path/abc123"
    },
    "is_active": {
      "type": "boolean",
      "description": "Whether the item is currently available for ordering.",
      "example": true
    },
    "sort_id": {
      "type": "int32",
      "description": "The sort order for this item within its category.",
      "example": 42
    },
    "option_groups": {
      "type": "array",
      "description": "Option groups (modifiers) for this item.",
      "items": {
        "$ref": "#/components/schemas/OptionGroup"
      }
    }
  },
  "required": [
    "id",
    "name",
    "price"
  ]
}