Otter · JSON Structure

Public Api Percentage Value Structure

Percentage value in decimal format.

Type: object Properties: 1 Required: 1
RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

PercentageValue is a JSON Structure definition published by Otter, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

decimalValue

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-percentage-value-structure.json",
  "name": "PercentageValue",
  "description": "Percentage value in decimal format.",
  "type": "object",
  "properties": {
    "decimalValue": {
      "minimum": 0,
      "type": "double",
      "description": "Percentage value in decimal format.",
      "example": 0.513
    }
  },
  "required": [
    "decimalValue"
  ],
  "example": "A decimalValue of 0.513 will equate to 51.3%"
}