{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restaurant365/main/json-schema/odata-connector-sales-employee-schema.json",
  "title": "SalesEmployee",
  "description": "A sales ticket header record exposed by the Restaurant365 OData connector SalesEmployee view.",
  "type": "object",
  "properties": {
    "salesId": { "type": "string", "format": "uuid" },
    "receiptNumber": { "type": "string" },
    "checkNumber": { "type": "string" },
    "comment": { "type": "string" },
    "date": { "type": "string", "format": "date-time" },
    "dayOfWeek": { "type": "string" },
    "dayPart": { "type": "string" },
    "netSales": { "type": "number" },
    "grossSales": { "type": "number" },
    "numberofGuests": { "type": "integer" },
    "orderHour": { "type": "integer" },
    "salesAmount": { "type": "number" },
    "taxAmount": { "type": "number" },
    "tipAmount": { "type": "number" },
    "totalAmount": { "type": "number" },
    "totalPayment": { "type": "number" },
    "void": { "type": "boolean" },
    "server": { "type": "string" },
    "location": { "type": "string", "format": "uuid" },
    "serviceType": { "type": "string" },
    "dailySalesSummaryId": { "type": "string", "format": "uuid" },
    "createdOn": { "type": "string", "format": "date-time" },
    "modifiedOn": { "type": "string", "format": "date-time" },
    "createdBy": { "type": "string" },
    "modifiedBy": { "type": "string" }
  }
}
