{
  "$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"
  ]
}
