Otter · Schema

SimpleFinanceLine

simple finance line.

RestaurantOrder ManagementDeliveryOnline OrderingMenu ManagementAnalytics

Properties

Name Type Description
subType string type of the finance line.
name string name of the finance line.
value number money amount.
View JSON Schema on GitHub

JSON Schema

public-api-simple-finance-line-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "SimpleFinanceLine",
  "description": "simple finance line.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-simple-finance-line-schema.json",
  "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": "number",
      "nullable": false,
      "description": "money amount.",
      "example": 3.4
    }
  },
  "required": [
    "subType",
    "name",
    "value"
  ]
}