{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "Invoice",
  "type": "object",
  "properties": {
    "DocEntry": {
      "type": "integer"
    },
    "DocNum": {
      "type": "integer"
    },
    "CardCode": {
      "type": "string"
    },
    "DocDate": {
      "type": "string"
    },
    "DocDueDate": {
      "type": "string"
    },
    "DocTotal": {
      "type": "number"
    },
    "DocumentLines": {
      "type": "array"
    }
  }
}