Otter · JSON Structure

Public Api Simple Finance Line Structure

simple finance line.

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

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

Properties

subType name value

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-simple-finance-line-structure.json",
  "name": "SimpleFinanceLine",
  "description": "simple finance line.",
  "type": "object",
  "properties": {
    "subType": {
      "type": "string",
      "nullable": false,
      "enum": [
        "VALUE",
        "TAX",
        "VALUE_WITH_TAX",
        "VAT"
      ],
      "description": "type of the finance line.",
      "example": "VALUE"
    },
    "name": {
      "type": "string",
      "nullable": false,
      "description": "name of the finance line.",
      "example": "sales tax."
    },
    "value": {
      "type": "double",
      "nullable": false,
      "description": "money amount.",
      "example": 3.4
    }
  },
  "required": [
    "subType",
    "name",
    "value"
  ]
}