Otter · JSON Structure

Public Api Servings Structure

The number of people an item serves. If only one serving value is known, set both min and max to that value.

Type: object Properties: 2
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Servings is a JSON Structure definition published by Otter, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

min max

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-structure/public-api-servings-structure.json",
  "name": "Servings",
  "description": "The number of people an item serves. If only one serving value is known, set both min and max to that value.",
  "type": "object",
  "properties": {
    "min": {
      "type": "int32",
      "description": "The minimum value of servings.",
      "example": 1
    },
    "max": {
      "type": "int32",
      "description": "The maximum value of servings.",
      "example": 2
    }
  }
}