doordash · JSON Structure

Doordash Menu Option Structure

MenuOption structure from DoorDash API

Type: object Properties: 4 Required: 3

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

Properties

id name price is_active

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-option-structure.json",
  "name": "MenuOption",
  "description": "MenuOption structure from DoorDash API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The unique identifier for this option.",
      "example": "D-12345"
    },
    "name": {
      "type": "string",
      "description": "The display name of the option.",
      "example": "Acme Pickup Store"
    },
    "price": {
      "type": "int32",
      "description": "The additional price for this option in cents.",
      "example": 42
    },
    "is_active": {
      "type": "boolean",
      "description": "Whether the option is currently available.",
      "example": true
    }
  },
  "required": [
    "id",
    "name",
    "price"
  ]
}