doordash · JSON Structure

Doordash Menu Category Structure

MenuCategory structure from DoorDash API

Type: object Properties: 5 Required: 3

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

Properties

id name description sort_id items

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-category-structure.json",
  "name": "MenuCategory",
  "description": "MenuCategory structure from DoorDash API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for this category.",
      "example": "D-12345"
    },
    "name": {
      "type": "string",
      "description": "The display name of the category.",
      "example": "Acme Pickup Store"
    },
    "description": {
      "type": "string",
      "description": "A description of the category.",
      "example": "Leave at the front desk."
    },
    "sort_id": {
      "type": "int32",
      "description": "The sort order for this category.",
      "example": 42
    },
    "items": {
      "type": "array",
      "description": "The items in this category.",
      "items": {
        "$ref": "#/components/schemas/MenuItem"
      }
    }
  },
  "required": [
    "id",
    "name",
    "items"
  ]
}