grubhub · Schema

SizeOption

An individual size option within a size prompt.

Properties

Name Type Description
external_id string A unique external identifier for this size option.
name string The display name of the size option.
price number The price adjustment for selecting this size.
View JSON Schema on GitHub

JSON Schema

grubhub-sizeoption-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SizeOption",
  "title": "SizeOption",
  "type": "object",
  "description": "An individual size option within a size prompt.",
  "properties": {
    "external_id": {
      "type": "string",
      "description": "A unique external identifier for this size option."
    },
    "name": {
      "type": "string",
      "description": "The display name of the size option."
    },
    "price": {
      "type": "number",
      "format": "double",
      "description": "The price adjustment for selecting this size."
    }
  }
}