bauzertifikate.de

Dokumentation / Schema-Referenz

consumption.json

Gemessener Verbrauch: Zähler und Mengen je Zeitraum.

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

#Beschreibung

Measured consumption of a building, consumption/<id>.json: its meters and the amounts read or billed per period, each with where it came from (a bill among the received files). It is what a consumption-based Energieausweis takes, what the EPBD's Annex V may show as metered consumption and its databases hold (Art. 22), and the logbook's operation and use. Consumption of a home tells about the people in it, so it is shared only with the owner's consent like every building document. 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 consumption. 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.
building Pflicht id The building it is of.
meters Liste von meter –
periods Liste von period Amounts read or billed, oldest first.
vacancy Liste von object Periods the building or part of it stood empty, as a share of its area, which a consumption-based method corrects for.
vacancy[].from Pflicht date A calendar date, ISO 8601.
vacancy[].to Pflicht date A calendar date, ISO 8601.
vacancy[].share Pflicht number The share of the area that stood empty, as a fraction. (≥ 0, ≤ 1)

#Typen

Die Typen dieses Schemas, auf die seine Felder verweisen.

#consumption

Feld Typ Beschreibung
schema Pflicht schemaVersion A document's schema version, major.minor.
id Pflicht id An item's identity for life.
building Pflicht id The building it is of.
meters Liste von meter A meter, or a supply billed without one (oil by delivery, wood by the stere).
periods Liste von period Amounts read or billed, oldest first.
vacancy Liste von object Periods the building or part of it stood empty, as a share of its area, which a consumption-based method corrects for.
vacancy[].from Pflicht date A calendar date, ISO 8601.
vacancy[].to Pflicht date A calendar date, ISO 8601.
vacancy[].share Pflicht number The share of the area that stood empty, as a fraction. (≥ 0, ≤ 1)

#meter

A meter, or a supply billed without one (oil by delivery, wood by the stere).

Feld Typ Beschreibung
id Pflicht id An item's identity for life.
label string Its number or name: "Gaszähler 7 GMT 123456".
carrier carrier An energy carrier a system takes in or a meter measures.
services Liste von service What its carrier is used for, where known.
system id The meter in the building's systems, where it is one.
serves Liste von id The parts or spaces it measures; all of the building where absent.

#period

An amount over a period: as read from the meter, as billed, or estimated.

Feld Typ Beschreibung
meter id An item's identity for life.
carrier carrier Where it has no meter, its carrier.
from Pflicht date A calendar date, ISO 8601.
to Pflicht date A calendar date, ISO 8601.
amount Pflicht number (≥ 0)
unit Pflicht eins von oder string The unit the amount is in, as read or billed: kWh, MWh, m³, l, kg, t, rm (stacked cubic metres), srm (loose cubic metres).
kind string, offen Bekannte Werte: reading, bill, estimate; ein neuerer Wert ist gültig. Standard: "bill"
source source Where it came from: the bill 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.