{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Facilitor XML Schema - JSON Schema converteerd",
  "description": "Dit JSON Schema is semi-automatisch gegenereerd op basis van de PL/SQL code in FAC_PACX.SRC. Het beschrijft de structuur van alle XML-elementen die via xml_node kunnen worden aangemaakt.",
  "version": "1.0 $Revision$",
  "author": "Generated by ChatGPT",
  "notes": [
    "Alle XML-elementen en attributen zijn geconverteerd naar JSON Schema properties.",
    "Datumvelden zijn als complex type DatumType gemodelleerd.",
    "Herhalingen zijn gemodelleerd als arrays met maxOccurs = unbounded.",
    "Attributen uit XML zijn opgenomen als gewone properties, vanwege JSON Schema beperkingen.",
    "Gebruik draft-07 JSON Schema specificatie.",
    "Voor details raadpleeg de broncode FAC_PACX.SRC."
  ],
  "type": "object",
  "properties": {
    "facilitor": {
      "type": "object",
      "properties": {
        "header": {
          "type": "object",
          "properties": {
            "dateTime": { "type": "string" },
            "dateDay": { "type": "string" },
            "dateMonth": { "type": "string" },
            "dateYear": { "type": "string" },
            "user": { "type": "string" },
            "usernamefull": { "type": "string" },
            "usernamefriendly": { "type": "string" },
            "custId": { "type": "string" },
            "env": { "type": "string" },
            "language": { "type": "string" },
            "servertimezone": { "type": "string" },
            "usertimezone": { "type": "string" },
            "version": { "type": "string" },
            "fac_logo_file": { "type": "string" }
          },
          "additionalProperties": false,
          "required": ["dateTime", "dateDay", "dateMonth", "dateYear", "user"]
        },
        "afspraak": { "$ref": "#/definitions/AfspraakType" },
        "bezoeker": { "$ref": "#/definitions/BezoekerType" },
        "bestelling": { "$ref": "#/definitions/BestellingType" },
        "bestelopdr": { "$ref": "#/definitions/BestelopdrachtType" },
        "bedrijf": { "$ref": "#/definitions/BedrijfType" },
        "melding": { "$ref": "#/definitions/MeldingType" },
        "opdracht": { "$ref": "#/definitions/OpdrachtType" },
        "reservering": { "$ref": "#/definitions/ReserveringType" },
        "xreservering": { "$ref": "#/definitions/XReserveringType" },
        "scenario": { "$ref": "#/definitions/ScenarioType" },
        "message": { "$ref": "#/definitions/MessageType" },
        "perslid": { "$ref": "#/definitions/PerslidType" },
        "afdeling": { "$ref": "#/definitions/AfdelingType" },
        "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" },
        "deel": { "$ref": "#/definitions/InsDeelType" },
        "controle": { "$ref": "#/definitions/ControleType" },
        "taak": { "$ref": "#/definitions/TaakType" },
        "srtdeel": { "$ref": "#/definitions/SrtdeelType" },
        "rapport": { "$ref": "#/definitions/RapportType" },
        "sysrapport": { "$ref": "#/definitions/SysrapportType" },
        "contract": { "$ref": "#/definitions/ContractType" },
        "factuur": { "$ref": "#/definitions/FactuurType" },
        "verkoopfactuur": { "$ref": "#/definitions/VerkoopfactuurType" },
        "ruimte": { "$ref": "#/definitions/RuimteType" },
        "verdieping": { "$ref": "#/definitions/VerdiepingType" },
        "gebouw": { "$ref": "#/definitions/GebouwType" },
        "locatie": { "$ref": "#/definitions/LocatieType" },
        "budget": { "$ref": "#/definitions/BudgetType" },
        "discipline": { "$ref": "#/definitions/DisciplineType" },
        "project": { "$ref": "#/definitions/ProjectType" },
        "kostenrubriek": { "$ref": "#/definitions/KostenrubriekType" },
        "kostengroep": { "$ref": "#/definitions/KostengroepType" },
        "kostensoort": { "$ref": "#/definitions/KostensoortType" }
      },
      "additionalProperties": false
    }
  },
  "definitions": {
    "DatumType": {
      "type": "object",
      "properties": {
        "datum": { "type": "string" },
        "tijd": { "type": "string" },
        "localdatum": { "type": "string" },
        "localtijd": { "type": "string" },
        "localdatetime": { "type": "string" },
        "utcdatum": { "type": "string" },
        "utctijd": { "type": "string" },
        "dag": { "type": "string" },
        "maand": { "type": "string" },
        "jaar": { "type": "string" },
        "timestamp": { "type": "string" }
      },
      "additionalProperties": false
    },
    "AfspraakType": {
      "type": "object",
      "properties": {
        "key": { "type": "string" },
        "bezoeker": {
          "type": "array",
          "items": { "$ref": "#/definitions/BezoekerType" }
        },
        "host_user": { "$ref": "#/definitions/PerslidType" },
        "gastheer": { "type": "string" },
        "contact_user": { "$ref": "#/definitions/PerslidType" },
        "telefoonnr": { "type": "string" },
        "datum": { "$ref": "#/definitions/DatumType" },
        "eind": { "$ref": "#/definitions/DatumType" },
        "aanmaak": { "$ref": "#/definitions/DatumType" },
        "actiekey": { "type": "string" },
        "actie": { "type": "string" },
        "actiegroepkey": { "type": "string" },
        "actiegroep": { "type": "string" },
        "ruimte": { "type": "string" },
        "opmerking": { "type": "string" },
        "externnr": { "type": "string" },
        "syncdate": { "$ref": "#/definitions/DatumType" },
        "ingevoerd_user": { "$ref": "#/definitions/PerslidType" }
      },
      "required": ["key"],
      "additionalProperties": false
    },

  "PerslidType": {
    "type": "object",
    "properties": {
      "key": { "type": "string" },
      "telefoonnr": { "type": "string" },
      "mobiel": { "type": "string" },
      "email": { "type": "string" },
      "naam_full": { "type": "string" },
      "naam_friendly": { "type": "string" },
      "titel": { "type": "string" },
      "voorletters": { "type": "string" },
      "naam": { "type": "string" },
      "tussenvoegsel": { "type": "string" },
      "voornaam": { "type": "string" },
      "initialen": { "type": "string" },
      "nr": { "type": "string" },
      "geslacht": { "type": "string" },
      "externid": { "type": "string" },
      "externsyncdate": { "$ref": "#/definitions/DatumType" },
      "visibility": { "type": "string" },
      "oslogin": { "type": "string" },
      "oslogin2": { "type": "string" },
      "opp": { "type": "string" },
      "ingangsdatum": { "$ref": "#/definitions/DatumType" },
      "einddatum": { "$ref": "#/definitions/DatumType" },
      "uurloon": { "type": "string" },
      "srtnoti_mode": { "type": "string" },
      "afdeling": { "$ref": "#/definitions/AfdelingType" },
      "budgethouder": { "$ref": "#/definitions/PerslidType" },
      "werkplek": {
        "type": "array",
        "items": { "$ref": "#/definitions/WerkplekType" }
      },
      "mode": { "type": "string" }
    },
    "required": ["key"],
    "additionalProperties": false
  },

  "KenmerkType": {
    "type": "object",
    "properties": {
      "value": { "type": "string" },
      "kenmerkcode": { "type": "string" },
      "naam": { "type": "string" },
      "_type": { "type": "string" },
      "volgnummer": { "type": "string" },
      "key": { "type": "string" },
      "dimensie": { "type": "string" },
      "rolcode": { "type": "string" },
      "systeem": { "type": "string" },
      "wissen": { "type": "string" },
      "aanmaak": { "type": "string" },
      "wijzig": { "type": "string" },
      "xmlnode": { "type": "string" }
    },
    "additionalProperties": false
  },

  "BestellingType": {
    "type": "object",
    "properties": {
      "key": { "type": "string" },
      "module": { "type": "string" },
      "datum": { "$ref": "#/definitions/DatumType" },
      "leverdatum": { "$ref": "#/definitions/DatumType" },
      "status_key": { "type": "string" },
      "status": { "type": "string" },
      "aanvrager": { "$ref": "#/definitions/PerslidType" },
      "voor": { "$ref": "#/definitions/PerslidType" },
      "opmerking": { "type": "string" },
      "bestel_opm": { "type": "string" },
      "ordernr": { "type": "string" },
      "plaats": { "type": "string" },
      "fiatteur": { "$ref": "#/definitions/PerslidType" },
      "afleveradres": { "$ref": "#/definitions/AdresType" },
      "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" },
      "activiteit": { "$ref": "#/definitions/ActiviteitType" },
      "melding": { "$ref": "#/definitions/MeldingType" },
      "bestelitem": {
        "type": "array",
        "items": { "$ref": "#/definitions/BestelitemType" }
      },
      "bestelopdracht": {
        "type": "array",
        "items": { "$ref": "#/definitions/BestelopdrachtType" }
      },
      "retourvan": { "$ref": "#/definitions/BestellingType" },
      "ismutatie": { "type": "boolean" },
      "approved": { "type": "string" },
      "levkosten": { "type": "number" },
      "korting": { "type": "number" },
      "externnr": { "type": "string" },
      "externsyncdate": { "$ref": "#/definitions/DatumType" }
    },
    "required": ["key"],
    "additionalProperties": false
  },

  "BestelopdrachtType": {
    "type": "object",
    "properties": {
      "key": { "type": "string" },
      "id": { "type": "string" },
      "module": { "type": "string" },
      "datum": { "$ref": "#/definitions/DatumType" },
      "leverdatum": { "$ref": "#/definitions/DatumType" },
      "status_key": { "type": "string" },
      "status": { "type": "string" },
      "bedrijfs_key": { "type": "string" },
      "opmerking": { "type": "string" },
      "leveringopmerking": { "type": "string" },
      "besteller": { "$ref": "#/definitions/PerslidType" },
      "afleveradres": { "$ref": "#/definitions/AdresType" },
      "factuuradres": { "$ref": "#/definitions/AdresType" },
      "levkosten": { "type": "number" },
      "korting": { "type": "number" },
      "externnr": { "type": "string" },
      "externsyncdate": { "$ref": "#/definitions/DatumType" },
      "bestelopdrachtitem": {
        "type": "array",
        "items": { "$ref": "#/definitions/BestelopdrachtItemType" }
      },
      "bestellevering": {
        "type": "array",
        "items": { "$ref": "#/definitions/BestelleveringType" }
      }
    },
    "required": ["key"],
    "additionalProperties": false
  },

"BestelleveringType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" },
    "opmerking": { "type": "string" },
    "bestelopdrachtitem": {
      "type": "array",
      "items": { "$ref": "#/definitions/BestelopdrachtItemType" }
    }
  },
  "required": ["key"],
  "additionalProperties": false
},

"MeldingType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "extra_key": { "type": "string" },
    "meldbron_nr": { "type": "string" },
    "meldbron": { "$ref": "#/definitions/MeldbronType" },
    "gemeld": { "$ref": "#/definitions/DatumType" },
    "begindatum": { "$ref": "#/definitions/DatumType" },
    "onderwerp": { "type": "string" },
    "actiecode": { "type": "string" },
    "publiek": { "type": "string" },
    "omschrijving": { "type": "string" },
    "behandelwijze": { "type": "string" },
    "opmerking": { "type": "string" },
    "geprint": { "type": "string" },
    "afdeling": { "$ref": "#/definitions/AfdelingType" },
    "kosten_klant": { "type": "string" },
    "ordernr": { "type": "string" },
    "status_key": { "type": "string" },
    "status": { "type": "string" },
    "conceptstatus": { "type": "string" },
    "spoed": { "type": "string" },
    "impact": { "type": "string" },
    "urgentie": { "type": "string" },
    "uitvoertijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "respijt": { "$ref": "#/definitions/TimeWithUnitType" },
    "indult": { "type": "string" },
    "afgerond": { "type": "string" },
    "uitvoertijdactual": { "$ref": "#/definitions/TimeWithUnitType" },
    "accepttijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "flag": { "type": "string" },
    "datum_gepland": { "$ref": "#/definitions/DatumType" },
    "einddatum": { "$ref": "#/definitions/DatumType" },
    "actiedatum": { "$ref": "#/definitions/DatumType" },
    "tag_naam": { "type": "string" },
    "tag_omschrijving": { "type": "string" },
    "tag_begindatum": { "$ref": "#/definitions/DatumType" },
    "tag_accdatum": { "$ref": "#/definitions/DatumType" },
    "tag_einddatum": { "$ref": "#/definitions/DatumType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" },
    "stdmelding": { "$ref": "#/definitions/StdmeldingType" },
    "discipline": { "$ref": "#/definitions/DisciplineType" },
    "aflever_adres": { "$ref": "#/definitions/AdresType" },
    "plaats": { "$ref": "#/definitions/PlaatsType" },
    "dwgx": { "type": "string" },
    "dwgy": { "type": "string" },
    "dwgz": { "type": "string" },
    "x": { "type": "string" },
    "y": { "type": "string" },
    "z": { "type": "string" },
    "deel": {
      "type": "array",
      "items": { "$ref": "#/definitions/DeelType" }
    },
    "melder": { "$ref": "#/definitions/PerslidType" },
    "voor": { "$ref": "#/definitions/PerslidType" },
    "behandelaar": { "$ref": "#/definitions/PerslidType" },
    "behandelgroep": { "$ref": "#/definitions/DisciplineType" },
    "actieve_behandelaar": { "$ref": "#/definitions/PerslidType" },
    "activiteit": { "$ref": "#/definitions/ActiviteitType" },
    "workflowsteps": { "$ref": "#/definitions/WorkflowstepsType" },
    "bestelling": {
      "type": "array",
      "items": { "$ref": "#/definitions/BestellingType" }
    },
    "opdracht": {
      "type": "array",
      "items": { "$ref": "#/definitions/OpdrachtType" }
    },
    "reservering": {
      "type": "array",
      "items": { "$ref": "#/definitions/ReserveringType" }
    },
    "rsv_ruimte": {
      "type": "array",
      "items": { "$ref": "#/definitions/RsvRuimteType" }
    },
    "afspraak": {
      "type": "array",
      "items": { "$ref": "#/definitions/AfspraakType" }
    },
    "tracking": { "$ref": "#/definitions/TrackingType" },
    "naam_ext": { "type": "string" },
    "email_ext": { "type": "string" },
    "tel_ext": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"TrackingType": {
  "type": "object",
  "properties": {
    "track": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "key": { "type": "string" },
          "datum": { "$ref": "#/definitions/DatumType" },
          "user": { "$ref": "#/definitions/PerslidType" },
          "code": { "type": "string" },
          "omschrijving": { "type": "string" },
          "subject": { "type": "string" }
        },
        "required": ["key"],
        "additionalProperties": false,
        "additionalAttributes": {
          "code": { "type": "string" }
        }
      },
      "minItems": 0
    }
  },
  "additionalProperties": false
},

"WorkflowstepType": {
  "type": "object",
  "properties": {
    "melding": { "$ref": "#/definitions/MeldingType" }
  },
  "required": ["melding"],
  "additionalProperties": false,
  "additionalAttributes": {
    "stepkey": { "type": "string" },
    "root": { "type": "boolean" }
  }
},

"WorkflowstepsType": {
  "type": "object",
  "properties": {
    "workflowstep": {
      "type": "array",
      "items": { "$ref": "#/definitions/WorkflowstepType" }
    }
  },
  "additionalProperties": false
},

"OpdrNoteType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "notitie": { "type": "string" },
    "aanmaak": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"DienstType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "prijs": { "type": "number" },
    "eenheid": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"FactuuradresType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "adres": { "type": "string" },
    "postcode": { "type": "string" },
    "plaats": { "type": "string" },
    "land": { "type": "string" },
    "telefoon": { "type": "string" },
    "email": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"BedrijfadresType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "type": { "type": "string" },
    "omschrijving": { "type": "string" },
    "soapversion": { "type": "string" },
    "soapaction": { "type": "string" },
    "authmethod": { "type": "string" },
    "token_url": { "type": "string" },
    "scope": { "type": "string" },
    "resource": { "type": "string" },
    "district_key": { "type": "string" },
    "locatie_key": { "type": "string" },
    "discipline_key": { "type": "string" },
    "client": { "$ref": "#/definitions/BedrijfType" },
    "mailsender": { "type": "string" },
    "mailreply": { "type": "string" },
    "flexfiles": { "type": "string" },
    "encoding": { "type": "string" },
    "charset": { "type": "string" },
    "plugin": { "type": "string" },
    "plugindata": { "type": "string" },
    "error_handler": { "type": "string" },
    "username": { "type": "string" },
    "password": { "type": "string" },
    "lockeduser": { "$ref": "#/definitions/PerslidType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"RelatietypeType": {
  "type": ["object", "null"],
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"AttachmentsType": {
  "type": "object",
  "properties": {
    "attachment": {
      "type": "array",
      "items": { "$ref": "#/definitions/AttachmentType" }
    }
  },
  "additionalProperties": false
},

"AttachmentType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "filename": { "type": "string" },
    "filedate": { "$ref": "#/definitions/DatumType" },
    "filesize": { "type": "string" }
  },
  "required": ["filename"],
  "additionalProperties": false
}
,

"FacNoteGroupType": {
  "type": "object",
  "properties": {
    "note_group": {
      "type": "array",
      "items": { "$ref": "#/definitions/NoteGroupType" }
    }
  },
  "additionalProperties": false
},

"NoteGroupType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "xmlnode": { "type": "string" },
    "naam": { "type": "string" },
    "omschrijving": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"BookmarksType": {
  "type": "object",
  "properties": {
    "bookmarks": {
        "type": "string"
      }
  },
  "additionalProperties": false
},
"LocalisationType": {
  "type": "object",
  "properties": {
    "lcl": {
        "type": "string"
    }
  },
  "additionalProperties": false
},

"OpdrachtType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "extra_key": { "type": "string" },
    "melding_key": { "type": "string" },
    "uitvoerende_keys": { "type": "string" },
    "statusopdr_key": { "type": "string" },
    "actiecode": { "type": "string" },
    "status": { "type": "string" },
    "standaardopdr_key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "datumbegin": { "$ref": "#/definitions/DatumType" },
    "dagen": { "type": "string" },
    "einddatum": { "$ref": "#/definitions/DatumType" },
    "datumgereed": { "$ref": "#/definitions/DatumType" },
    "plandatum": { "$ref": "#/definitions/DatumType" },
    "plandatum2": { "$ref": "#/definitions/DatumType" },
    "discipline": { "$ref": "#/definitions/DisciplineType" },
    "werkzaamheden": { "type": "string" },
    "opmerking": { "type": "string" },
    "uren": { "type": "string" },
    "_materiaal": { "type": "string" },
    "kosten": { "type": "string" },
    "geprint": { "type": "string" },
    "teverzenden": { "type": "string" },
    "verzonden": { "$ref": "#/definitions/DatumType" },
    "bedrijfopdr_volgnr": { "type": "string" },
    "uurloon": { "type": "string" },
    "opmerking_fiat": { "type": "string" },
    "flag": { "type": "string" },
    "approved": { "type": "string" },
    "uren_refiat": { "type": "string" },
    "uurloon_refiat": { "type": "string" },
    "materiaal_refiat": { "type": "string" },
    "kosten_refiat": { "type": "string" },
    "statusopdr_key_refiat": { "type": "string" },
    "approved_refiat": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" },
    "kostensoort": { "$ref": "#/definitions/KostensoortType" },
    "ordernr": { "type": "string" },
    "opdrachttype": { "$ref": "#/definitions/OpdrachttypeType" },
    "offerte": { "$ref": "#/definitions/OpdrachtType" },
    "factuur": {
      "type": "array",
      "items": { "$ref": "#/definitions/FactuurType" }
    },
    "dienst": { "$ref": "#/definitions/DienstType" },
    "backoffice_contact": { "$ref": "#/definitions/PerslidType" },
    "uitvoerende": {
      "type": "array",
      "items": { "$ref": "#/definitions/UitvoerendeType" }
    },
    "contract": { "$ref": "#/definitions/ContractType" },
    "contactpersoon": { "$ref": "#/definitions/ContactpersoonType" },
    "opdr_id": { "type": "string" },
    "materiaal": {
      "type": "array",
      "items": { "$ref": "#/definitions/MateriaalType" }
    },
    "afspraak": {
      "type": "array",
      "items": { "$ref": "#/definitions/AfspraakType" }
    },
    "melding": { "$ref": "#/definitions/MeldingType" },
    "activiteit": { "$ref": "#/definitions/ActiviteitType" },
    "opdr_note": { "$ref": "#/definitions/OpdrNoteType" },
    "tracking": { "$ref": "#/definitions/TrackingType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"XReserveringType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" },
    "omschrijving": { "type": "string" },
    "status": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"ControleType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "status_key": { "type": "string" },
    "status": { "type": "string" },
    "controle_omschrijving": { "type": "string" },
    "controle_opmerking": { "type": "string" },
    "controle_succes": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" },
    "orgdatum": { "$ref": "#/definitions/DatumType" },
    "plandatum": { "$ref": "#/definitions/DatumType" },
    "opmerking": { "type": "string" },
    "plan_opm": { "type": "string" },
    "inspector": { "$ref": "#/definitions/PerslidType" },
    "tracking": { "$ref": "#/definitions/TrackingType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"RapportType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "titel": { "type": "string" },
    "omschrijving": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"SysrapportType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "titel": { "type": "string" },
    "omschrijving": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"SrtdeelType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "afkorting": { "type": "string" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"SrtperslidType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "opp": { "type": "string" },
    "uurloon": { "type": "string" },
    "bedrijf": { "$ref": "#/definitions/BedrijfType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"SrtgebouwType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "passief": { "type": "string" },
    "verwijder": { "$ref": "#/definitions/DatumType" },
    "uitvoertijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr1": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr2": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr4": { "$ref": "#/definitions/TimeWithUnitType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"SrtruimteType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "code": { "type": "string" },
    "omschrijving": { "type": "string" },
    "prijs": { "type": "string" },
    "verwijder": { "$ref": "#/definitions/DatumType" },
    "verhuurbaar": { "type": "string" },
    "bevat_werkplek": { "type": "string" },
    "uitvoertijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr1": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr2": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr4": { "$ref": "#/definitions/TimeWithUnitType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"ScenarioType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "omschrijving": { "type": "string" },
    "actief": { "type": "boolean" },
    "aanmaak": { "$ref": "#/definitions/DatumType" },
    "wijzig": { "$ref": "#/definitions/DatumType" },
    "versie": { "type": "string" },
    "creator": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"MessageType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" },
    "soort": { "type": "string" },
    "tekst": { "type": "string" },
    "aanmaak": { "$ref": "#/definitions/DatumType" },
    "wijzig": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"BestelopdrachtItemType": {
"type": "object",
"properties": {
    "key": { "type": "string" },
    "posnr": { "type": "string" },
    "statuskey": { "type": "string" },
    "status": { "type": "string" },
    "aantal": { "type": "number" },
    "aantalontv": { "type": "number" },
    "aantalexp": { "type": "number" },
    "omschrijving": { "type": "string" },
    "prijs": { "type": "number" },
    "totaal": { "type": "number" },
    "inktotaal": { "type": "number" },
    "ontvangen": { "$ref": "#/definitions/DatumType" },
    "verwerkt": { "$ref": "#/definitions/DatumType" },
    "brutoprijs": { "type": "number" },
    "inkprijs": { "type": "number" },
    "opmerking": { "type": "string" },
    "bestelitem": {
    "type": "array",
    "items": { "$ref": "#/definitions/BestelitemType" }
    }
},
"required": ["key"],
"additionalProperties": false
},

"BestelitemType": {
"type": "object",
"properties": {
    "key": { "type": "string" },
    "aantal": { "type": "number" },
    "opdrachtitem_key": { "type": "string" },
    "aantalontv": { "type": "number" },
    "status_key": { "type": "string" },
    "status": { "type": "string" },
    "prijs": { "type": "number" },
    "inkprijs": { "type": "number" },
    "brutoprijs": { "type": "number" },
    "totaal": { "type": "number" },
    "inktotaal": { "type": "number" },
    "kenmerk": {
    "type": "array",
    "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "srtdeel": { "$ref": "#/definitions/SrtdeelType" }
},
"required": ["key"],
"additionalProperties": false
},

"ReserveringType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" },
    "verwijder": { "$ref": "#/definitions/DatumType" },
    "ispool": { "type": "string" },
    "melding": { "$ref": "#/definitions/MeldingType" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "rsv_ruimte": {
      "type": "array",
      "items": { "$ref": "#/definitions/RsvRuimteType" }
    }
  },
  "required": ["key"],
  "additionalProperties": false,
  "attributes": {
    "content": { "type": "string" },
    "total": { "type": "integer" }
  }
},

"RsvRuimteType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "volgnr": { "type": "string" },
    "id": { "type": "string" },
    "van": { "$ref": "#/definitions/DatumType" },
    "tot": { "$ref": "#/definitions/DatumType" },
    "van_actual": { "$ref": "#/definitions/DatumType" },
    "ruimte": { "$ref": "#/definitions/RuimteType" },
    "activiteit": { "$ref": "#/definitions/ActiviteitType" },
    "omschrijving": { "type": "string" },
    "opmerking": { "type": "string" },
    "bezoekers": { "type": "string" },
    "ruimteprijs": { "type": "string" },
    "prijs": { "type": "string" },
    "korting": { "type": "string" },
    "afgesprokentotaal": { "type": "string" },
    "status_bokey": { "type": "string" },
    "status_bo": { "type": "string" },
    "status_fokey": { "type": "string" },
    "status_fo": { "type": "string" },
    "noshow": { "type": "string" },
    "bezoekers_shown": { "type": "string" },
    "teverzenden": { "type": "string" },
    "verzonden": { "$ref": "#/definitions/DatumType" },
    "aangemaakt": { "$ref": "#/definitions/DatumType" },
    "verwijder": { "$ref": "#/definitions/DatumType" },
    "ordernr": { "type": "string" },
    "kosten_klant": { "type": "string" },
    "host_user": { "$ref": "#/definitions/PerslidType" },
    "contact_user": { "$ref": "#/definitions/PerslidType" },
    "telefoon": { "type": "string" },
    "plaats": { "$ref": "#/definitions/PlaatsType" },
    "cvab_mode": { "type": "string" },
    "afgerond": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "cat_appr": { "type": "string" },
    "dirtlevel": { "type": "string" },
    "mld_opdr": { "$ref": "#/definitions/OpdrachtType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "tracking": { "$ref": "#/definitions/TrackingType" },
    "rsv_artikel": {
      "type": "array",
      "items": { "$ref": "#/definitions/RsvArtikelType" }
    },
    "rsv_deel": {
      "type": "array",
      "items": { "$ref": "#/definitions/RsvDeelType" }
    },
    "bez_afspraak": {
      "type": "array",
      "items": { "$ref": "#/definitions/AfspraakType" }
    },
    "mld_melding": {
      "type": "array",
      "items": { "$ref": "#/definitions/MeldingType" }
    },
    "masterreservering": { "$ref": "#/definitions/RsvRuimteType" },
    "subreservering": { "$ref": "#/definitions/RsvRuimteType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"InsDeelType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "extra_key": { "type": "string" },
    "binding": { "type": "string" },
    "plaats": { "$ref": "#/definitions/PlaatsType" },
    "persoon": { "$ref": "#/definitions/PerslidType" },
    "afdeling": { "$ref": "#/definitions/AfdelingType" },
    "werkplek": { "$ref": "#/definitions/WerkplekType" },
    "terreinsector": { "$ref": "#/definitions/TerreinsectorType" },
    "omschrijving": { "type": "string" },
    "opmerking": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "flag": { "type": "string" },
    "ins_deelsrtcontr": { "$ref": "#/definitions/InsDeelsrtcontrType" },
    "beheerder": { "$ref": "#/definitions/PerslidType" },
    "aantal": { "type": "string" },
    "uitgeleend": { "type": "string" },
    "omtrek": { "type": "string" },
    "oppervlak": { "type": "string" },
    "dwgx": { "type": "string" },
    "dwgy": { "type": "string" },
    "dwgz": { "type": "string" },
    "dwgrotatie": { "type": "string" },
    "dwgschaal": { "type": "string" },
    "x": { "type": "string" },
    "y": { "type": "string" },
    "mjb_score1": { "type": "string" },
    "mjb_score2": { "type": "string" },
    "vervaldatum": { "$ref": "#/definitions/DatumType" },
    "uitvoertijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "srtdeel": { "$ref": "#/definitions/SrtdeelType" },
    "deel": {
      "type": "array",
      "items": { "$ref": "#/definitions/InsDeelType" }
    },
    "deel_note": { "$ref": "#/definitions/InsDeelNoteType" },
    "tracking": { "$ref": "#/definitions/TrackingType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"InsDeelNoteType": {
  "type": "object",
  "properties": {
    "notes": {
      "type": "object",
      "properties": {
        "note": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "key": { "type": "string" },
              "aanmaak": { "$ref": "#/definitions/DatumType" },
              "omschrijving": { "type": "string" },
              "attachments": { "$ref": "#/definitions/AttachmentsType" },
              "noteur": { "$ref": "#/definitions/PerslidType" }
            },
            "required": ["key"],
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
},

"InsDeelsrtcontrType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "status_key": { "type": "string" },
    "status": { "type": "string" },
    "srtcontrole": { "$ref": "#/definitions/InsSrtcontroleType" },
    "controle_omschrijving": { "type": "string" },
    "controle_opmerking": { "type": "string" },
    "controle_succes": { "type": "string" },
    "datum": { "$ref": "#/definitions/DatumType" },
    "orgdatum": { "$ref": "#/definitions/DatumType" },
    "plandatum": { "$ref": "#/definitions/DatumType" },
    "opmerking": { "type": "string" },
    "plan_opm": { "type": "string" },
    "deel": { "$ref": "#/definitions/InsDeelType" },
    "inspector": { "$ref": "#/definitions/PerslidType" },
    "controle_kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/ControleKenmerkType" }
    },
    "tracking": { "$ref": "#/definitions/TrackingType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"InsSrtcontroleType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "isexception": { "type": "boolean" },
    "periode": { "type": "string" },
    "eenheid": { "type": "string" },
    "bits": { "type": "string" },
    "mode": { "type": "string" },
    "groep": { "type": "string" },
    "level": { "type": "string" },
    "kosten": { "type": "string" },
    "kosten2": { "type": "string" },
    "kosten3": { "type": "string" },
    "uren": { "type": "string" },
    "materiaal": { "type": "string" },
    "opmerking": { "type": "string" },
    "einddatum": { "$ref": "#/definitions/DatumType" },
    "type": { "type": "string" },
    "type_code": { "type": "string" },
    "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"ControleKenmerkType": {
  "type": "object",
  "properties": {
    "value": { "type": "string" },
    "kenmerkcode": { "type": "string" },
    "srtkenmerkcode": { "type": "string" },
    "naam": { "type": "string" },
    "_type": { "type": "string" },
    "volgnummer": { "type": "string" },
    "key": { "type": "string" },
    "aanmaak": { "type": "string" },
    "rolcode": { "type": "string" },
    "fac_kenmerkdomein_key": { "type": "string" }
  }
},

"UitvoerendeType": {
  "type": "object",
  "properties": {
    "persoon": { "$ref": "#/definitions/PerslidType" },
    "bedrijf": { "$ref": "#/definitions/BedrijfType" }
  },
  "required": [],
  "additionalProperties": false,
  "attributes": {
    "niveau": { "type": "string", "enum": ["P", "B"] }
  }
},

"AdresType": {
  "type": ["object", "null"],
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "bezoek_adres": { "type": "string" },
    "bezoek_postcode": { "type": "string" },
    "bezoek_plaats": { "type": "string" },
    "bezoek_land": { "type": "string" },
    "post_adres": { "type": "string" },
    "post_postcode": { "type": "string" },
    "post_plaats": { "type": "string" },
    "post_land": { "type": "string" },
    "gebouw_ruimte": { "type": "string" },
    "contactpersoon": { "type": "string" },
    "contactpers_telefoon": { "type": "string" },
    "contactpers_email": { "type": "string" },
    "contactpers_bureau": { "type": "string" },
    "telefoon": { "type": "string" },
    "email": { "type": "string" },
    "factuuradres": { "type": "string" },
    "opdrachtadres": { "type": "string" },
    "afleveradres": { "type": "string" },
    "locatie_key": { "type": "string" },
    "concise": { "type": "boolean" },
    "locatie": { "$ref": "#/definitions/LocatieType" }
  },
  "required": ["key"],
  "additionalProperties": false
},
"AfdelingType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "naam1": { "type": "string" },
    "naam2": { "type": "string" },
    "naam3": { "type": "string" },
    "naam4": { "type": "string" },
    "naam5": { "type": "string" },
    "naam6": { "type": "string" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "omschrijving": { "type": "string" },
    "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" },
    "afleveradres": { "$ref": "#/definitions/AdresType" },
    "verantwoordelijke": { "$ref": "#/definitions/PerslidType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "parent": { "$ref": "#/definitions/AfdelingType" },
    "bedrijf": { "$ref": "#/definitions/BedrijfType" }
  },
  "required": ["key"],
  "additionalProperties": false
},
"ActiviteitType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"BedrijfType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "post_adres": { "type": "string" },
    "post_postcode": { "type": "string" },
    "post_plaats": { "type": "string" },
    "post_land": { "type": "string" },
    "bezoek_adres": { "type": "string" },
    "bezoek_postcode": { "type": "string" },
    "bezoek_plaats": { "type": "string" },
    "bezoek_land": { "type": "string" },
    "telefoon": { "type": "string" },
    "telefoon2": { "type": "string" },
    "fax": { "type": "string" },
    "url": { "type": "string" },
    "contact_persoon": { "type": "string" },
    "contact_telefoon": { "type": "string" },
    "contact_fax": { "type": "string" },
    "opmerking": { "type": "string" },
    "opmerking2": { "type": "string" },
    "uurloon": { "type": "number" },
    "leverancier_nr": { "type": "string" },
    "overeenkomst_nr": { "type": "string" },
    "overeenkomst_datum": { "$ref": "#/definitions/DatumType" },
    "isleverancier": { "type": "boolean" },
    "isuitvoerende": { "type": "boolean" },
    "iscontract": { "type": "boolean" },
    "ishuurder": { "type": "boolean" },
    "isintern": { "type": "boolean" },
    "email": { "type": "string" },
    "xmldetails_loc": { "type": "string" },
    "image_loc": { "type": "string" },
    "details_loc": { "type": "string" },
    "afleveradres": { "$ref": "#/definitions/AdresType" },
    "factuuradres": { "$ref": "#/definitions/AdresType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "beslimiet": { "type": "string" },
    "beskosten": { "type": "string" },
    "mldlimiet": { "type": "string" },
    "x": { "type": "string" },
    "y": { "type": "string" },
    "contactpersoon": {
      "type": "array",
      "items": { "$ref": "#/definitions/ContactpersoonType" }
    },
    "bedrijfadres": {
      "type": "array",
      "items": { "$ref": "#/definitions/BedrijfadresType" }
    },
    "relatietype": { "$ref": "#/definitions/RelatietypeType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"ContactpersoonType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "email": { "type": "string" },
    "telefoon": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"ContractType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "contractnr": { "type": "string" },
    "status": { "type": "string" },
    "datum_van": { "$ref": "#/definitions/DatumType" },
    "datum_tot": { "$ref": "#/definitions/DatumType" },
    "bedrag": { "type": "number" },
    "opmerking": { "type": "string" },
    "factuuradres": { "$ref": "#/definitions/AdresType" },
    "bedrijf": { "$ref": "#/definitions/BedrijfType" }
  },
  "required": ["key"],
  "additionalProperties": false
},
"DeelType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "extra_key": { "type": "string" },
    "binding": { "type": "string" },
    "plaats": { "$ref": "#/definitions/PlaatsType" },
    "persoon": { "$ref": "#/definitions/PerslidType" },
    "afdeling": { "$ref": "#/definitions/AfdelingType" },
    "werkplek": { "$ref": "#/definitions/WerkplekType" },
    "terreinsector": { "$ref": "#/definitions/TerreinsectorType" },
    "omschrijving": { "type": "string" },
    "opmerking": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "flag": { "type": "string" },
    "ins_deelsrtcontr": { "$ref": "#/definitions/InsDeelsrtcontrType" },
    "beheerder": { "$ref": "#/definitions/PerslidType" },
    "aantal": { "type": "string" },
    "uitgeleend": { "type": "string" },
    "omtrek": { "type": "string" },
    "oppervlak": { "type": "string" },
    "dwgx": { "type": "string" },
    "dwgy": { "type": "string" },
    "dwgz": { "type": "string" },
    "dwgrotatie": { "type": "string" },
    "dwgschaal": { "type": "string" },
    "x": { "type": "string" },
    "y": { "type": "string" },
    "mjb_score1": { "type": "string" },
    "mjb_score2": { "type": "string" },
    "vervaldatum": { "$ref": "#/definitions/DatumType" },
    "uitvoertijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "srtdeel": { "$ref": "#/definitions/SrtdeelType" },
    "deel": {
      "type": "array",
      "items": { "$ref": "#/definitions/DeelType" }
    },
    "deel_note": { "$ref": "#/definitions/InsDeelNoteType" },
    "tracking": { "$ref": "#/definitions/TrackingType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"DisciplineType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "module": { "type": "string" },
    "omschrijving": { "type": "string" },
    "afkorting": { "type": "string" },
    "soort": { "type": "string" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "srtdiscipline": { "$ref": "#/definitions/SrtdisciplineType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"FactuurType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "factuurnr": { "type": "string" },
    "factuurdatum": { "$ref": "#/definitions/DatumType" },
    "bedrag": { "type": "number" },
    "klant": { "$ref": "#/definitions/BedrijfType" },
    "opmerking": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"KostensoortType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "omschrijving_alt": { "type": "string" },
    "groep": { "type": "string" },
    "groep_alt": { "type": "string" },
    "opmerking": { "type": "string" },
    "refcode": { "type": "string" },
    "doorbelasten": { "type": "string" },
    "btw": { "type": "string" },
    "einddatum": { "$ref": "#/definitions/DatumType" },
    "verwijder": { "$ref": "#/definitions/DatumType" },
    "opdracht": {
      "type": "array",
      "items": { "$ref": "#/definitions/OpdrachtType" }
    },
    "budget": {
      "type": "array",
      "items": { "$ref": "#/definitions/BudgetType" }
    }
  },
  "required": ["key"],
  "additionalProperties": false
},

"KostenplaatsType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "nr": { "type": "string" },
    "omschrijving": { "type": "string" },
    "begin": { "type": "string" },
    "eind": { "type": "string" },
    "module": { "type": "string" },
    "limiet": { "type": "string" },
    "limietperiode": { "type": "string" },
    "extern": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "kostenplaatsgroep": { "$ref": "#/definitions/KostenplaatsgroepType" },
    "budgethouder": { "$ref": "#/definitions/PerslidType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"KostengroepType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "afkorting": { "type": "string" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"KostenrubriekType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "afkorting": { "type": "string" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"LocatieType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "code": { "type": "string" },
    "omschrijving": { "type": "string" },
    "adres": { "type": "string" },
    "postcode": { "type": "string" },
    "plaats": { "type": "string" },
    "land": { "type": "string" },
    "post_adres": { "type": "string" },
    "post_postcode": { "type": "string" },
    "post_plaats": { "type": "string" },
    "post_land": { "type": "string" },
    "tekening": { "type": "string" },
    "verantw": { "type": "string" },
    "verantw_tel": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "volgnr": { "type": "string" },
    "gebouw": {
      "type": "array",
      "items": { "$ref": "#/definitions/GebouwType" }
    },
    "terreinsector": {
      "type": "array",
      "items": { "$ref": "#/definitions/TerreinsectorType" }
    }
  },
  "required": ["key"],
  "additionalProperties": false
},
"MateriaalType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "aantal": { "type": "string" },
    "prijs": { "type": "string" },
    "totaal": { "type": "string" },
    "opmerking": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"MeldbronType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "omschrijving": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"OpdrachttypeType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "decentraal": { "type": "string" },
    "kosten": { "type": "string" },
    "sluitmelding": { "type": "string" },
    "uren": { "type": "string" },
    "materiaal": { "type": "string" },
    "totaal": { "type": "string" },
    "factuur": { "type": "string" },
    "afmeldmarge": { "type": "string" },
    "zichtbaarfe": { "type": "string" },
    "afmelden_extern": { "type": "string" },
    "isofferte": { "type": "string" },
    "gvs": { "type": "string" },
    "bez": { "type": "string" },
    "image": { "type": "string" },
    "code": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"PlaatsType": {
  "type": "object",
  "properties": {
    "plaatsaanduiding": { "type": "string" },
    "key": { "type": "string" },
    "regio": { "$ref": "#/definitions/RegioType" },
    "district": { "$ref": "#/definitions/DistrictType" },
    "locatie": { "$ref": "#/definitions/LocatieType" },
    "gebouw": { "$ref": "#/definitions/GebouwType" },
    "verdieping": { "$ref": "#/definitions/VerdiepingType" },
    "ruimte": { "$ref": "#/definitions/RuimteType" },
    "terreinsector": { "$ref": "#/definitions/TerreinsectorType" }
  },
  "required": ["key", "plaatsaanduiding"],
  "additionalProperties": false,
  "attributes": {
    "type": { "type": "string" },
    "mode": { "type": "string" }
  }
},
"ProjectType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "begindatum": { "$ref": "#/definitions/DatumType" },
    "einddatum": { "$ref": "#/definitions/DatumType" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"RsvArtikelType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "aantal": { "type": "string" },
    "prijs": { "type": "string" },
    "korting": { "type": "string" },
    "totaal": { "type": "string" },
    "opmerking": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"RsvDeelType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "deel": { "$ref": "#/definitions/DeelType" },
    "aantal": { "type": "number" },
    "prijs": { "type": "number" },
    "status_bokey": { "type": "string" },
    "status_bo": { "type": "string" },
    "dirtlevel": { "type": "string" },
    "res_ruimte": { "type": "string" },
    "van": { "$ref": "#/definitions/DatumType" },
    "tot": { "$ref": "#/definitions/DatumType" },
    "aanmaak": { "$ref": "#/definitions/DatumType" },
    "verwijder": { "$ref": "#/definitions/DatumType" },
    "geleverd": { "$ref": "#/definitions/DatumType" },
    "bezoeker": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"RuimteType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "nr": { "type": "string" },
    "omschrijving": { "type": "string" },
    "virtueel": { "type": "string" },
    "kenmerk": { "type": "array", "items": { "$ref": "#/definitions/KenmerkType" } }
  },
  "required": ["key"],
  "additionalProperties": false
},

"StdmeldingType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "discipline": { "$ref": "#/definitions/DisciplineType" },
    "disc_params": { "$ref": "#/definitions/MldDiscParamsType" },
    "urgentie": { "type": "string" },
    "accepttijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "accepttijd_pr1": { "$ref": "#/definitions/TimeWithUnitType" },
    "accepttijd_pr2": { "$ref": "#/definitions/TimeWithUnitType" },
    "accepttijd_pr4": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr1": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr2": { "$ref": "#/definitions/TimeWithUnitType" },
    "uitvoertijd_pr4": { "$ref": "#/definitions/TimeWithUnitType" },
    "priomatrix": { "type": "string" },
    "groep": { "type": "string" },
    "groepomschrijving": { "type": "string" },
    "notfrontend": { "type": "string" },
    "notes_deelnemers": { "type": "string" },
    "slabewaken": { "type": "string" },
    "regime": { "type": "string" },
    "autoorder": { "type": "string" },
    "opdrachttype": { "$ref": "#/definitions/OpdrachttypeType" },
    "image": { "type": "string" },
    "color": { "type": "string" },
    "code": { "type": "string" },
    "cad_thema": { "type": "string" },
    "thirdparty": { "type": "string" },
    "externnr": { "type": "string" },
    "dienst": { "$ref": "#/definitions/DienstType" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "kostensoort": { "$ref": "#/definitions/KostensoortType" },
    "malus": { "type": "string" },
    "malusbasis": { "type": "string" },
    "malusmax": { "type": "string" },
    "conceptstatus": { "type": "string" },
    "verwijder": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"TaakType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "begindatum": { "$ref": "#/definitions/DatumType" },
    "einddatum": { "$ref": "#/definitions/DatumType" },
    "status": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},
"TerreinsectorType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "code": { "type": "string" },
    "naam": { "type": "string" },
    "oppervlak": { "type": "string" },
    "omtrek": { "type": "string" },
    "ordernr": { "type": "string" },
    "image": { "type": "string" },
    "vervaldatum": { "$ref": "#/definitions/DatumType" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "srtdiscipline": { "$ref": "#/definitions/SrtdisciplineType" },
    "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" },
    "verantwoordelijke": { "$ref": "#/definitions/PerslidType" },
    "verantwoordelijke2": { "$ref": "#/definitions/PerslidType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"TimeWithUnitType": {
  "type": "object",
  "properties": {
    "value": { "type": "string" },
    "eenheid": { "type": "string" }
  },
  "required": ["value"]
},
"VerdiepingType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "volgnr": { "type": "string" },
    "tekening": { "type": "string" },
    "oppervlak": { "type": "string" },
    "in_bewerking": { "type": "string" },
    "code": { "type": "string" },
    "dwgz": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "virtueel": { "type": "string" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "ruimte": {
      "type": "array",
      "items": { "$ref": "#/definitions/RuimteType" }
    }
  },
  "required": ["key"],
  "additionalProperties": false
},

"VerkoopfactuurType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "factuurnr": { "type": "string" },
    "factuurdatum": { "$ref": "#/definitions/DatumType" },
    "bedrag": { "type": "number" },
    "klant": { "$ref": "#/definitions/BedrijfType" },
    "opmerking": { "type": "string" },
    "verkoopdatum": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"WerkplekType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "bezetting": { "type": "string" },
    "volgnr": { "type": "string" },
    "omschrijving": { "type": "string" },
    "vastopp": { "type": "string" },
    "opp": { "type": "string" },
    "virtueel": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "dwgx": { "type": "string" },
    "dwgy": { "type": "string" },
    "dwgz": { "type": "string" },
    "myvolgnr": { "type": "string" },
    "pwpexternnr": { "type": "string" },
    "pwpexternsyncdate": { "$ref": "#/definitions/DatumType" },
    "plaats": { "$ref": "#/definitions/PlaatsType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"SrtdisciplineType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "module": { "type": "string" },
    "omschrijving": { "type": "string" },
    "prefix": { "type": "string" },
    "alg": { "type": "string" },
    "ins": { "type": "string" },
    "mld": { "type": "string" },
    "bes": { "type": "string" },
    "prs": { "type": "string" },
    "res": { "type": "string" },
    "cnt": { "type": "string" },
    "kostenklant": { "type": "string" },
    "mldgroup": { "type": "string" },
    "image": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"BudgetType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "begindatum": { "$ref": "#/definitions/DatumType" },
    "einddatum": { "$ref": "#/definitions/DatumType" },
    "bedrag": { "type": "number" },
    "status": { "type": "string" },
    "externid": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"GebouwType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "code": { "type": "string" },
    "adres": { "type": "string" },
    "postcode": { "type": "string" },
    "omschrijving": { "type": "string" },
    "bruto_vloeropp": { "type": "string" },
    "omtrek": { "type": "string" },
    "inhoud": { "type": "string" },
    "opmerking": { "type": "string" },
    "ordernr": { "type": "string" },
    "verantwoordelijke": { "$ref": "#/definitions/PerslidType" },
    "verantwoordelijke2": { "$ref": "#/definitions/PerslidType" },
    "kostenplaats": { "$ref": "#/definitions/KostenplaatsType" },
    "afleveradres": { "$ref": "#/definitions/AdresType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "srtgebouw": { "$ref": "#/definitions/SrtgebouwType" },
    "vervaldatum": { "$ref": "#/definitions/DatumType" },
    "beginuur": { "type": "string" },
    "einduur": { "type": "string" },
    "werkdagen": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "virtueel": { "type": "string" },
    "dwgx": { "type": "string" },
    "dwgy": { "type": "string" },
    "x": { "type": "string" },
    "y": { "type": "string" },
    "image": { "type": "string" },
    "mjb_score1": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"KostenplaatsgroepType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "budgethouder": { "$ref": "#/definitions/PerslidType" },
    "nr": { "type": "string" },
    "limiet": { "type": "string" },
    "limietperiode": { "type": "string" },
    "kostenplaatslimiet1": { "type": "string" },
    "kostenplaatslimiet2": { "type": "string" }
  },
  "required": ["key"],
  "additionalProperties": false
},

"RegioType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "district": {
      "type": "array",
      "items": { "$ref": "#/definitions/DistrictType" }
    }
  },
  "required": ["key"],
  "additionalProperties": false
},

"DistrictType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "omschrijving": { "type": "string" },
    "externnr": { "type": "string" },
    "externsyncdate": { "$ref": "#/definitions/DatumType" },
    "kenmerk": {
      "type": "array",
      "items": { "$ref": "#/definitions/KenmerkType" }
    },
    "locatie": {
      "type": "array",
      "items": { "$ref": "#/definitions/LocatieType" }
    }
  },
  "required": ["key"],
  "additionalProperties": false
},
"MldDiscParamsType": {
  "type": "object",
  "properties": {
    "reminderdays": { "type": "string" }
  },
  "additionalProperties": false
},

"BezoekerType": {
  "type": "object",
  "properties": {
    "key": { "type": "string" },
    "naam": { "type": "string" },
    "adres": { "type": "string" },
    "telefoon": { "type": "string" },
    "email": { "type": "string" },
    "mobiel": { "type": "string" },
    "bedrijf": { "$ref": "#/definitions/BedrijfType" }
  },
  "required": ["key"],
  "additionalProperties": false
}

  }
}
