doordash · Schema

MenuOption

MenuOption schema from DoorDash API

Properties

Name Type Description
id string The unique identifier for this option.
name string The display name of the option.
price integer The additional price for this option in cents.
is_active boolean Whether the option is currently available.
View JSON Schema on GitHub

JSON Schema

doordash-menu-option-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/doordash/refs/heads/main/json-schema/doordash-menu-option-schema.json",
  "title": "MenuOption",
  "description": "MenuOption schema 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": "integer",
      "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"
  ]
}