{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "OrderTax",
  "description": "A tax applied to an order line, modifier, or surcharge.",
  "$id": "https://raw.githubusercontent.com/api-evangelist/spoton/refs/heads/main/json-schema/restaurant-pos-export-order-tax-schema.json",
  "type": "object",
  "properties": {
    "taxId": {
      "type": "string",
      "description": "Tax identifier. Empty for splick.it orders."
    },
    "taxName": {
      "type": "string",
      "description": "Tax name at the time of application."
    },
    "percentage": {
      "type": "string",
      "description": "Tax percentage as a decimal string, for example \"6.5\"."
    },
    "amount": {
      "type": "string",
      "description": "Tax amount in US dollars, as a decimal string."
    }
  }
}