bauzertifikate.de

Dokumentation / Schema-Referenz

received.json

Eingegangene Pläne, Fotos und Dokumente, über ihren Hash.

BZF 0.3.0Stabil/schema/bzf/1/received.jsonStand: .md
  • Status: Stabil
  • Klasse: building – Gebäudedaten, Weitergabe nur mit Einwilligung des Eigentümers
  • Ablage: Daten/received.json
  • $id: https://bauzertifikate.de/schema/bzf/1/received.json
  • Schema laden: /schema/bzf/1/received.json (JSON Schema 2020-12)

#Beschreibung

The store's own document received.json: the files received into the project's folders (plans, photos, documents), each by its hash, oldest first. The bytes are kept as an object by the hash, so a file replaced or deleted in its folder is noticed and can be restored. A name received again in place has a newer entry after the older.

#Das Dokument

Feld Typ Beschreibung
files Pflicht Liste von file –

#Typen

Die Typen dieses Schemas, auf die seine Felder verweisen.

#file

A received file.

Feld Typ Beschreibung
id Pflicht id An item's identity for life.
name Pflicht string Its name in its folder, NFC-normalised, unique in the folder regardless of case.
folder Pflicht eins von oder string The folder it was received into: Zeichnungen (plans: DWG, DXF, PDF, IFC), Fotos, Dokumente (everything else).
role eins von oder string What its folder is for, the same in every language: plans (Zeichnungen), photos (Fotos), documents (Dokumente). The folder names are fixed identifiers of the format and are not translated (README, "How the documents are written"); a reader derives role from folder where it is absent.
sha256 Pflicht hash The hash of its bytes, its identity.
size integer Bytes. (≥ 0)
received time When it was received.
device string The device that received it.
app string The app that received it.
type string, offen What kind of document it is, so a logbook can find it (the CEN template's documentation category): a plan, a photo, a scene (LoD2) or orthophoto, a bill, a data sheet, an EPD, a manual, a certificate (an earlier Energieausweis), an inspection report, a permit, a contract. Bekannte Werte: plan, photo, scene, orthophoto, bill, datasheet, epd, manual, certificate, inspection, permit, contract, other; ein neuerer Wert ist gültig.
from string From whom it came: an architect's office, the owner, a data service.
licence object The licence it came under, where it has one (LoD2 and orthophotos: per Land, dl-de/zero-2.0, dl-de/by-2.0, CC BY 4.0). A writer keeps it, and an issue or export that contains the file or anything derived from it carries its attribution.
licence.id Pflicht string The licence's id: an SPDX id or the licence's own short name.
licence.url string –
attribution string The attribution its licence asks for: "© GeoBasis-DE / LGLN 2026".
mayPassOn boolean False where it may not be passed to others (an architect's plans under copyright, a photo of people): an issue asks before including it. Standard: true
about Liste von id The items it shows or documents: the photo of a boiler, the data sheet of a window.

#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.