{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/doordash/refs/heads/main/json-schema/doordash-catalog-item-schema.json",
"title": "CatalogItem",
"description": "CatalogItem schema from DoorDash API",
"type": "object",
"properties": {
"merchant_supplied_id": {
"type": "string",
"description": "The unique merchant-supplied item identifier (MSID).",
"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."
},
"image_url": {
"type": "string",
"format": "uri",
"description": "A URL to an image of the item.",
"example": "https://example.com/path/abc123"
},
"brand": {
"type": "string",
"description": "The brand name of the item.",
"example": "example"
},
"upc": {
"type": "string",
"description": "The Universal Product Code for the item.",
"example": "example"
},
"category": {
"type": "string",
"description": "The category the item belongs to.",
"example": "example"
},
"subcategory": {
"type": "string",
"description": "The subcategory the item belongs to.",
"example": "example"
},
"weight": {
"type": "number",
"description": "The weight of the item.",
"example": 12.5
},
"weight_unit": {
"type": "string",
"description": "The unit of weight measurement.",
"enum": [
"oz",
"lb",
"g",
"kg"
],
"example": "oz"
},
"is_alcohol": {
"type": "boolean",
"description": "Whether the item contains alcohol.",
"example": true
}
},
"required": [
"merchant_supplied_id",
"name"
]
}