Otter · Schema

UnitPriceAndCount

Unit price and count for additional charges.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
unitPrice object
count integer The count for the additional charge.
View JSON Schema on GitHub

JSON Schema

public-api-unit-price-and-count-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "UnitPriceAndCount",
  "description": "Unit price and count for additional charges.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-unit-price-and-count-schema.json",
  "type": "object",
  "properties": {
    "unitPrice": {
      "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-money-schema.json"
    },
    "count": {
      "minimum": 1,
      "type": "integer",
      "description": "The count for the additional charge.",
      "example": 3
    }
  },
  "required": [
    "unitPrice",
    "count"
  ],
  "example": "3 x $25.21"
}