Flipdish · Schema

VoucherDataPoint

A single data point in timeline graphs related to Vouchers

RestaurantOnline OrderingMobile AppsPoint of SaleOrdersMenuPaymentsWebhooks

Properties

Name Type Description
PeriodStart string Date from which the data point starts
PeriodLengthInDays integer The length in days that this data point covers
Value integer The value of this data point
View JSON Schema on GitHub

JSON Schema

marketing-voucher-data-point-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/flipdish/refs/heads/main/json-schema/marketing-voucher-data-point-schema.json",
  "title": "VoucherDataPoint",
  "description": "A single data point in timeline graphs related to Vouchers",
  "type": "object",
  "properties": {
    "PeriodStart": {
      "format": "date-time",
      "description": "Date from which the data point starts",
      "type": "string",
      "example": "2026-06-02T12:00:00Z"
    },
    "PeriodLengthInDays": {
      "format": "int32",
      "description": "The length in days that this data point covers",
      "type": "integer",
      "example": 1
    },
    "Value": {
      "format": "int32",
      "description": "The value of this data point",
      "type": "integer",
      "example": 1
    }
  }
}