{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-sizedprice-schema.json",
  "title": "SizedPrice",
  "x-generated": "2026-09-17",
  "x-method": "derived",
  "x-source": "openapi/grubhub-menu-openapi.yml#/components/schemas/SizedPrice",
  "required": [
    "price",
    "size"
  ],
  "type": "object",
  "properties": {
    "size": {
      "type": "string",
      "description": "The `external_id` reference to a PosNormalizedSize."
    },
    "price": {
      "type": "number",
      "description": "Price for the referenced size."
    },
    "calorie_content": {
      "type": "string",
      "description": "Number of calories for the size."
    },
    "display_name": {
      "type": "string",
      "description": "Optional. If present, overrides the name of the referenced size, for display to diners."
    },
    "fulfillment_type_settings": {
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/NormalizedSizedPriceFulfillmentTypeSettings"
      },
      "description": "OrderServiceType-specific configurations for this SizedPrice. All keys should be strings representing order-service types (valid options include \"STANDARD_DELIVERY\", \"STANDARD_PICKUP\", \"CATERING_DELIVERY\", and \"GROUP_DELIVERY\". All values should be of type NormalizedSizedPriceFulfillmentTypeSettings."
    }
  },
  "description": "Additional price information about size within a normalized menu. For use in Size Prompts for the item pricing model.",
  "$defs": {
    "NormalizedSizedPriceFulfillmentTypeSettings": {
      "type": "object",
      "properties": {
        "price": {
          "type": "number",
          "description": "The price for the referenced Size for a given OrderServiceType."
        }
      },
      "description": "SizedPriceFulfillmentTypeSettings include configurations to be used for a SizedPrice onlyfor one OrderServiceType."
    }
  }
}