Dokumentation / Schema-Referenz
party.json
Personen und Organisationen: Rollen, Kontakt, Einwilligungen.
- Status: Entwurf
- Klasse: party – Personendaten, verlassen die Organisation nie
- Ablage:
Daten/parties/<id>.json - $id:
https://bauzertifikate.de/schema/bzf/1/party.json - Schema laden: /schema/bzf/1/party.json (JSON Schema 2020-12)
#Beschreibung
A person or an organisation the project deals with, parties/<id>.json: the owner, the client, tenants, the Energieberater, a trade, with their roles, contact and the consents they gave. A party document never leaves the organisation that holds it; building documents name no person, and a share names the consent it relies on by this document's id and the consent's (versand.json). This schema describes documents of schema version 1.x; a document of another major version is only required to say which.
#Das Dokument
Ein Dokument der Hauptversion 1 ("schema": "1.x") hat die folgenden Felder, die des Typs party. Eine andere Hauptversion muss nur sagen, welche sie ist.
| Feld | Typ | Beschreibung |
|---|---|---|
schema Pflicht |
schemaVersion |
A document's schema version, major.minor. |
id Pflicht |
id |
An item's identity for life. |
kind |
string, offen |
Bekannte Werte: person, organisation; ein neuerer Wert ist gültig. |
name |
string |
– |
roles |
Liste von string, offen |
Its roles in the project. The owner is the principal owner of the building's data (the CEN logbook request's Part A). |
address |
address |
A postal address. |
email |
string |
– |
phone |
string |
– |
identifiers |
Liste von identifier |
Its ids elsewhere: an Energieberater's number on the Energieeffizienz-Expertenliste, a company register entry. |
consents |
Liste von consent |
– |
#Typen
Die Typen dieses Schemas, auf die seine Felder verweisen.
#party
| Feld | Typ | Beschreibung |
|---|---|---|
schema Pflicht |
schemaVersion |
A document's schema version, major.minor. |
id Pflicht |
id |
An item's identity for life. |
kind |
string, offen |
Bekannte Werte: person, organisation; ein neuerer Wert ist gültig. |
name |
string |
– |
roles |
Liste von string, offen |
Its roles in the project. The owner is the principal owner of the building's data (the CEN logbook request's Part A). |
address |
address |
A postal address. |
email |
string |
– |
phone |
string |
– |
identifiers |
Liste von identifier |
Its ids elsewhere: an Energieberater's number on the Energieeffizienz-Expertenliste, a company register entry. |
consents |
Liste von consent |
A consent the party gave. |
#consent
A consent the party gave: to whom, for what, covering which documents, when, and when it was withdrawn. A withdrawn consent stays, with its withdrawal, as the record of what was allowed when.
| Feld | Typ | Beschreibung |
|---|---|---|
id Pflicht |
id |
An item's identity for life. |
to |
string |
To whom: another party's id, or a name where it has no party document. |
purpose |
string |
What for: "Angebot Dachsanierung", "Energieausweis für den Verkauf". |
documents |
Liste von string |
The documents it covers, by path or path prefix ("buildings/", "roadmaps/0193….json"); all building documents where absent. |
given Pflicht |
time |
A time in RFC 3339, local time with its offset. |
until |
date |
Until when it holds, where limited. |
withdrawn |
time |
A time in RFC 3339, local time with its offset. |
source |
source |
Where it is recorded: a signed form among the received files. |
#Lesen und prüfen
Die Beschreibungen stammen unverändert aus dem Schema und sind wie die Spezifikation englisch. Jedes Objekt lässt weitere Felder zu (additionalProperties: true): Programme bewahren Felder und Werte, die sie nicht kennen. Wie ein Dokument geprüft wird, steht im Schnellstart.
Grundlage: BZF 0.3.0 von Bauzertifikate contributors. Spezifikation und Dokumentation: CC BY 4.0, Schemas und Beispiele: CC0 1.0. Maßgeblich ist der englische Text der Spezifikation.