From efe49e5d6ed879cc9e0637225812276c512d1d54 Mon Sep 17 00:00:00 2001 From: konstantin Date: Tue, 2 Jan 2024 10:02:43 +0100 Subject: [PATCH] Fix Json Schema Generation; Re-generate all Schemas (#395) --- BO4ETestProject/TestJsonSchemaGeneration.cs | 12 +- json-schema-files/BO4E.BO.Anfrage.json | 123 +- json-schema-files/BO4E.BO.Angebot.json | 2140 ++++++++++++++--- .../BO4E.BO.Ansprechpartner.json | 328 ++- json-schema-files/BO4E.BO.Auftrag.json | 182 +- json-schema-files/BO4E.BO.AuftragsStorno.json | 56 +- json-schema-files/BO4E.BO.Avis.json | 224 +- .../BO4E.BO.Benachrichtigung.json | 181 +- .../BO4E.BO.Berechnungsformel.json | 113 +- json-schema-files/BO4E.BO.Bilanzierung.json | 267 +- json-schema-files/BO4E.BO.Energiemenge.json | 171 +- .../BO4E.BO.Entsperrauftrag.json | 193 +- 12 files changed, 3263 insertions(+), 727 deletions(-) diff --git a/BO4ETestProject/TestJsonSchemaGeneration.cs b/BO4ETestProject/TestJsonSchemaGeneration.cs index be673569..5b6df042 100644 --- a/BO4ETestProject/TestJsonSchemaGeneration.cs +++ b/BO4ETestProject/TestJsonSchemaGeneration.cs @@ -3,6 +3,7 @@ using System.Linq; using System.Text; using BO4E.BO; +using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.Json.Schema; @@ -32,20 +33,23 @@ public void NegativeTest() } - + private const int LastDataRowOffset = 40; + private const int MaxSchemasPerHour = 10; [TestMethod] [DataRow(0)] [DataRow(10)] [DataRow(20)] [DataRow(30)] - [DataRow(40)] // using these different data rows you to workaround the 10schema per hour limitation + [DataRow(LastDataRowOffset)] // using these different data rows you to workaround the 10schema per hour limitation (MaxSchemasPerHour) public void TestJSchemaFileGenerationBo(int offset) { + var relevantBusinessObjectTypes = typeof(BusinessObject).Assembly.GetTypes() + .Where(t => t.IsSubclassOf(typeof(BusinessObject))); + relevantBusinessObjectTypes.Count().Should().BeLessThan(LastDataRowOffset + MaxSchemasPerHour); // if this fails, add another data row to this test method try { - foreach (var type in typeof(BusinessObject).Assembly.GetTypes() - .Where(t => t.IsSubclassOf(typeof(BusinessObject))).Skip(offset).Take(10)) + foreach (var type in relevantBusinessObjectTypes.Skip(offset).Take(MaxSchemasPerHour)) { var schema = BusinessObject.GetJsonSchema(type); Assert.IsNotNull(schema); diff --git a/json-schema-files/BO4E.BO.Anfrage.json b/json-schema-files/BO4E.BO.Anfrage.json index 11a31e59..43d8fdf7 100644 --- a/json-schema-files/BO4E.BO.Anfrage.json +++ b/json-schema-files/BO4E.BO.Anfrage.json @@ -2,28 +2,49 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Zeitraum": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "einheit": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "SEKUNDE", @@ -39,65 +60,110 @@ ] }, "dauer": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "startdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "enddatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "startzeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "endzeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["startzeitpunkt", "endzeitpunkt"] + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] } }, "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "lokationsId": { "type": "string" }, "lokationsTyp": { "type": "string", - "enum": ["MALO", "MELO"] + "enum": [ + "MALO", + "MELO" + ] }, "obiskennzahl": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "ZeitraumMesswertanfrage": { "$ref": "#/definitions/Zeitraum" @@ -123,7 +189,10 @@ ] }, "anfragetyp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "START_ABO", @@ -142,5 +211,9 @@ ] } }, - "required": ["lokationsId", "lokationsTyp", "anfragekategorie"] -} + "required": [ + "lokationsId", + "lokationsTyp", + "anfragekategorie" + ] +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Angebot.json b/json-schema-files/BO4E.BO.Angebot.json index 21cb7f24..8b5d1bab 100644 --- a/json-schema-files/BO4E.BO.Angebot.json +++ b/json-schema-files/BO4E.BO.Angebot.json @@ -2,14 +2,23 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postleitzahl": { "type": "string" @@ -18,22 +27,40 @@ "type": "string" }, "strasse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "hausnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postfach": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "adresszusatz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "coErgaenzung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "landescode": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "AC", @@ -306,20 +333,35 @@ ] }, "ortsteil": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["postleitzahl", "ort"] + "required": [ + "postleitzahl", + "ort" + ] }, "Angebotsposition": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "positionsbezeichung": { "type": "string" @@ -334,10 +376,16 @@ "$ref": "#/definitions/Betrag" }, "preisschluesselstamm": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "bdewArtikelnummer": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "LEISTUNG", @@ -395,26 +443,46 @@ ] }, "artikelId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["positionsbezeichung"] + "required": [ + "positionsbezeichung" + ] }, "Angebotsteil": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "anfrageSubreferenz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "lieferstellenangebotsteil": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Marktlokation" } @@ -435,17 +503,28 @@ "$ref": "#/definitions/Zeitraum" } }, - "required": ["positionen"] + "required": [ + "positionen" + ] }, "Angebotsvariante": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "angebotsstatus": { "type": "string", @@ -462,14 +541,23 @@ ] }, "beschreibung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "erstelldatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "bindefrist": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "gesamtmenge": { @@ -485,32 +573,56 @@ } } }, - "required": ["angebotsstatus", "teile"] + "required": [ + "angebotsstatus", + "teile" + ] }, "Ansprechpartner": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "anrede": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "HERR", @@ -526,23 +638,46 @@ ] }, "inviduelleAnrede": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "titel": { - "type": ["string", "null"], - "enum": [null, "DR", "PROF", "PROF_DR"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] }, "vorname": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "nachname": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "eMailAdresse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "kommentar": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner-1" @@ -551,13 +686,19 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -565,7 +706,10 @@ } }, "Betrag": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "wert": { "type": "number" @@ -757,17 +901,29 @@ ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["wert", "waehrung"] + "required": [ + "wert", + "waehrung" + ] }, "Dienstleistung": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "dienstleistungstyp": { "type": "string", @@ -817,35 +973,62 @@ "type": "string" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["dienstleistungstyp", "bezeichnung"] + "required": [ + "dienstleistungstyp", + "bezeichnung" + ] }, "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Geokoordinaten": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "breitengrad": { "type": "number" @@ -854,33 +1037,57 @@ "type": "number" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["breitengrad", "laengengrad"] + "required": [ + "breitengrad", + "laengengrad" + ] }, "Geraet": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geraetenummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "WANDLER", @@ -895,14 +1102,23 @@ } }, "Geraeteeigenschaften": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geraetetyp": { "type": "string", @@ -953,7 +1169,10 @@ ] }, "geraetemerkmal": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "EINTARIF", @@ -1011,42 +1230,74 @@ "WASSER_VWZ05", "WASSER_VWZ06", "WASSER_VWZ07", - "WASSER_VWZ10" + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" ] }, "Parameter": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "additionalProperties": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, - "required": ["geraetetyp"] + "required": [ + "geraetetyp" + ] }, "Geschaeftspartner": { "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "anrede": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "HERR", @@ -1062,47 +1313,89 @@ ] }, "title": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name1": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name2": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name3": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "amtsgericht": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "kontaktweg": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", - "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] + "enum": [ + "ANSCHREIBEN", + "TELEFONAT", + "FAX", + "E_MAIL", + "SMS" + ] } }, "umsatzsteuerId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "glaeubigerId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "eMailAdresse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "website": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geschaeftspartnerrolle": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", "enum": [ @@ -1116,34 +1409,69 @@ }, "partneradresse": { "$ref": "#/definitions/Adresse" + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ] } }, - "required": ["gewerbekennzeichnung"] + "required": [ + "gewerbekennzeichnung" + ] }, "Geschaeftspartner-1": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "anrede": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "HERR", @@ -1159,47 +1487,89 @@ ] }, "title": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name1": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name2": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name3": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "amtsgericht": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "kontaktweg": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", - "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] + "enum": [ + "ANSCHREIBEN", + "TELEFONAT", + "FAX", + "E_MAIL", + "SMS" + ] } }, "umsatzsteuerId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "glaeubigerId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "eMailAdresse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "website": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geschaeftspartnerrolle": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", "enum": [ @@ -1213,12 +1583,29 @@ }, "partneradresse": { "$ref": "#/definitions/Adresse" + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ] } }, - "required": ["gewerbekennzeichnung"] + "required": [ + "gewerbekennzeichnung" + ] }, "Hardware": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "geraetetyp": { "type": "string", @@ -1275,23 +1662,41 @@ "$ref": "#/definitions/Geraeteeigenschaften" }, "geraetenummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geraetereferenz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["geraetetyp", "bezeichnung"] + "required": [ + "geraetetyp", + "bezeichnung" + ] }, "Katasteradresse": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "gemarkung_flur": { "type": "string" @@ -1300,59 +1705,155 @@ "type": "string" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["gemarkung_flur", "flurstueck"] + "required": [ + "gemarkung_flur", + "flurstueck" + ] + }, + "Konfigurationsprodukt": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "produktcode": { + "type": [ + "string", + "null" + ] + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "leistungskurvendefinition": { + "type": [ + "string", + "null" + ] + }, + "schaltzeitdefinition": { + "type": [ + "string", + "null" + ] + }, + "marktpartner": { + "$ref": "#/definitions/Marktteilnehmer" + } + } }, "Konzessionsabgabe": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "kosten": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "kategorie": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "satz": { "type": "string", - "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] + "enum": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ] } }, - "required": ["satz"] + "required": [ + "satz" + ] }, "Marktlokation": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "marktlokationsId": { "type": "string", @@ -1370,11 +1871,21 @@ ] }, "energierichtung": { - "type": ["string", "null"], - "enum": [null, "AUSSP", "EINSP"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] }, "bilanzierungsmethode": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "RLM", @@ -1386,14 +1897,30 @@ ] }, "verbrauchsart": { - "type": ["string", "null"], - "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] }, "unterbrechbar": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] }, "netzebene": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "NSP", @@ -1409,10 +1936,16 @@ ] }, "netzbetreiberCodeNr": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "gebietTyp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "REGELZONE", @@ -1427,17 +1960,36 @@ ] }, "netzgebietNr": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "bilanzierungsgebiet": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "grundversorgerCodeNr": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "gasqualitaet": { - "type": ["string", "null"], - "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "H_GAS", + "HGAS", + "L_GAS", + "LGAS" + ] }, "endkunde": { "$ref": "#/definitions/Geschaeftspartner-1" @@ -1452,19 +2004,31 @@ "$ref": "#/definitions/Katasteradresse" }, "marktrollen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "regelzone": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "marktgebiet": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "zeitreihentyp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "EGS", @@ -1479,69 +2043,129 @@ ] }, "zaehlwerke": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "zaehlwerkeBeteiligteMarktrolle": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "verbrauchsmenge": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Verbrauch" } }, "messlokationen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Messlokation" } }, "zugehoerigeMesslokationen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Messlokationszuordnung" } }, "messtechnischeEinordnung": { - "type": ["string", "null"], - "enum": [null, "IMS", "KME_MME", "KEINE_MESSUNG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "IMS", + "KME_MME", + "KEINE_MESSUNG" + ] }, "netznutzungsabrechnungsdaten": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Netznutzungsabrechnungsdaten" } }, "sperrstatus": { - "type": ["string", "null"], - "enum": [null, "ENTSPERRT", "GESPERRT"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ENTSPERRT", + "GESPERRT" + ] }, "messprodukte": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Messprodukt" } + }, + "konfigurationsprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } } }, - "required": ["marktlokationsId", "sparte"] + "required": [ + "marktlokationsId", + "sparte" + ] }, "MarktpartnerDetails": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "rollencodenummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "code": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "marktrolle": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "NB", @@ -1562,32 +2186,274 @@ ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "weiterverpflichtet": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] } } }, + "Marktteilnehmer": { + "type": [ + "object", + "null" + ], + "properties": { + "boTyp": { + "type": [ + "string", + "null" + ] + }, + "versionStruktur": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "externeReferenzen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "anrede": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ] + }, + "title": { + "type": [ + "string", + "null" + ] + }, + "name1": { + "type": [ + "string", + "null" + ] + }, + "name2": { + "type": [ + "string", + "null" + ] + }, + "name3": { + "type": [ + "string", + "null" + ] + }, + "gewerbekennzeichnung": { + "type": "boolean" + }, + "hrnummer": { + "type": [ + "string", + "null" + ] + }, + "amtsgericht": { + "type": [ + "string", + "null" + ] + }, + "kontaktweg": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "ANSCHREIBEN", + "TELEFONAT", + "FAX", + "E_MAIL", + "SMS" + ] + } + }, + "umsatzsteuerId": { + "type": [ + "string", + "null" + ] + }, + "glaeubigerId": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "website": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartnerrolle": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ] + } + }, + "partneradresse": { + "$ref": "#/definitions/Adresse" + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB" + ] + }, + "rollencodenummer": { + "type": "string" + }, + "rollencodetyp": { + "type": "string", + "enum": [ + "ZERO", + "GLN", + "BDEW", + "DVGW" + ] + }, + "makoadresse": { + "type": [ + "string", + "null" + ] + }, + "ansprechpartner": { + "$ref": "#/definitions/Ansprechpartner" + } + }, + "required": [ + "gewerbekennzeichnung", + "rollencodenummer", + "rollencodetyp" + ] + }, "Menge": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "wert": { "type": "number" }, "einheit": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ZERO", @@ -1610,29 +2476,49 @@ ] } }, - "required": ["wert"] + "required": [ + "wert" + ] }, "Messlokation": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "messlokationsId": { "type": "string", @@ -1650,7 +2536,10 @@ ] }, "netzebeneMessung": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "NSP", @@ -1666,16 +2555,28 @@ ] }, "messgebietNr": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "grundzustaendigerMSBCodeNr": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "grundzustaendigerMSBIMCodeNr": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "grundzustaendigerMDLCodeNr": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "messadresse": { "$ref": "#/definitions/Adresse" @@ -1687,25 +2588,37 @@ "$ref": "#/definitions/Katasteradresse" }, "geraete": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Hardware" } }, "messdienstleistung": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Dienstleistung" } }, "messlokationszaehler": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Zaehler" } }, "bilanzierungsmethode": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "RLM", @@ -1717,29 +2630,54 @@ ] }, "abrechnungmessstellenbetriebnna": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] }, "marktrollen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "gasqualitaet": { - "type": ["string", "null"], - "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "H_GAS", + "HGAS", + "L_GAS", + "LGAS" + ] }, "verlustfaktor": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "zaehlwerke": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "betriebszustand": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "GESPERRT_NICHT_ENTSPERREN", @@ -1748,22 +2686,34 @@ ] }, "messprodukte": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Messprodukt" } } }, - "required": ["messlokationsId", "sparte"] + "required": [ + "messlokationsId", + "sparte" + ] }, "Messlokationszuordnung": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "messlokationsId": { "type": "string" }, "arithmetik": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ADDITION", @@ -1775,93 +2725,184 @@ ] }, "gueltigSeit": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "gueltigBis": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["messlokationsId"] + "required": [ + "messlokationsId" + ] }, "Messprodukt": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "messproduktId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "verwendungszwecke": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": ["string", "null"], - "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] }, "unterbrechbarkeit": { - "type": ["string", "null"], - "enum": [null, "UV", "NUV"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] }, "waermenutzung": { - "type": ["string", "null"], - "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "zweiteMessung": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] }, "werteuebermittlungAnNB": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] } } }, "Netznutzungsabrechnungsdaten": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "artikelId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "artikelIdTyp": { - "type": ["string", "null"], - "enum": [null, "ARTIKELID", "GRUPPENARTIKELID"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARTIKELID", + "GRUPPENARTIKELID" + ] }, "anzahl": { - "type": ["integer", "null"] + "type": [ + "integer", + "null" + ] }, "gemeinderabatt": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "zuschlag": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "abschlag": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "singulaereBetriebsmittel": { "$ref": "#/definitions/Menge" @@ -1872,17 +2913,30 @@ } }, "Preis": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "wert": { "type": "number" }, "einheit": { - "type": ["string", "null"], - "enum": [null, "EUR", "CT"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] }, "bezugswert": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ZERO", @@ -1905,21 +2959,39 @@ ] }, "status": { - "type": ["string", "null"], - "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["wert"] + "required": [ + "wert" + ] }, "Rufnummer": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "nummerntyp": { "type": "string", @@ -1939,24 +3011,42 @@ "type": "string" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["nummerntyp", "rufnummer"] + "required": [ + "nummerntyp", + "rufnummer" + ] }, "StatusZusatzInformation": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "art": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "VERTRAG", @@ -1970,10 +3060,16 @@ ] }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "status": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "TARIF_1", @@ -2048,18 +3144,30 @@ } }, "Verbrauch": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "startdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "enddatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "type": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -2068,7 +3176,10 @@ ] }, "tarifstufe": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "TARIFSTUFE_0", @@ -2084,18 +3195,34 @@ ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "wertermittlungsverfahren": { - "type": ["string", "null"], - "enum": [null, "PROGNOSE", "MESSUNG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "PROGNOSE", + "MESSUNG" + ] }, "messwertstatus": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ABGELESEN", @@ -2110,7 +3237,10 @@ ] }, "statuszusatzinformationen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -2144,18 +3274,31 @@ ] }, "nutzungszeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" } }, - "required": ["obiskennzahl", "wert", "einheit"] + "required": [ + "obiskennzahl", + "wert", + "einheit" + ] }, "Verwendungszweck": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "marktrolle": { "type": "string", @@ -2178,7 +3321,10 @@ ] }, "zweck": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", "enum": [ @@ -2187,42 +3333,69 @@ "MEHRMINDERMENGENABRECHNUNG", "MEHRMINDERMBENGENABRECHNUNG", "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", "UEBERMITTLUNG_AN_DAS_HKNR", "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" ] } }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["marktrolle"] + "required": [ + "marktrolle" + ] }, "Zaehler": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "zaehlernummer": { "type": "string" @@ -2239,11 +3412,21 @@ ] }, "zaehlerauspraegung": { - "type": ["string", "null"], - "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINRICHTUNGSZAEHLER", + "ZWEIRICHTUNGSZAEHLER" + ] }, "zaehlertyp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "DREHSTROMZAEHLER", @@ -2265,7 +3448,10 @@ ] }, "tarifart": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "EINTARIF", @@ -2276,18 +3462,30 @@ ] }, "zaehlerkonstante": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "eichungBis": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "letzteEichung": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "zaehlwerke": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -2297,18 +3495,38 @@ "$ref": "#/definitions/Geschaeftspartner-1" }, "gateway": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "fernschaltung": { - "type": ["string", "null"], - "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORHANDEN", + "NICHT_VORHANDEN" + ] }, "messwerterfassung": { - "type": ["string", "null"], - "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "FERNAUSLESBAR", + "MANUELL_AUSGELESENE" + ] }, "zaehlertypspezifikation": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "EDL40", @@ -2319,7 +3537,10 @@ ] }, "befestigungsart": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "STECKTECHNIK", @@ -2330,7 +3551,10 @@ ] }, "zaehlergroesse": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "EINTARIF", @@ -2388,46 +3612,89 @@ "WASSER_VWZ05", "WASSER_VWZ06", "WASSER_VWZ07", - "WASSER_VWZ10" + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" ] }, "geraete": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": ["zaehlernummer", "sparte"] + "required": [ + "zaehlernummer", + "sparte" + ] }, "Zaehlwerk": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "zaehlwerkId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "bezeichnung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "richtung": { - "type": ["string", "null"], - "enum": [null, "AUSSP", "EINSP"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] }, "obisKennzahl": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "wandlerfaktor": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "einheit": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ZERO", @@ -2450,83 +3717,167 @@ ] }, "kennzahl": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "schwachlastfaehig": { - "type": ["string", "null"], - "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] }, "verwendungszwecke": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": ["string", "null"], - "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] }, "unterbrechbarkeit": { - "type": ["string", "null"], - "enum": [null, "UV", "NUV"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] }, "waermenutzung": { - "type": ["string", "null"], - "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] }, "vorkommastelle": { - "type": ["integer", "null"] + "type": [ + "integer", + "null" + ] }, "nachkommastelle": { - "type": ["integer", "null"] + "type": [ + "integer", + "null" + ] }, "abrechnungsrelevant": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] }, "anzahlAblesungen": { - "type": ["integer", "null"] + "type": [ + "integer", + "null" + ] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Zaehlzeitregister": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "zaehlzeitDefinition": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "register": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "schwachlastfaehig": { - "type": ["string", "null"], - "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] } } }, "Zeitraum": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "einheit": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "SEKUNDE", @@ -2542,52 +3893,94 @@ ] }, "dauer": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "startdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "enddatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "startzeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "endzeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["startzeitpunkt", "endzeitpunkt"] + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] }, "Zustaendigkeit": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "jobtitel": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abteilung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "themengebiet": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } } @@ -2595,29 +3988,47 @@ "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "angebotsnummer": { "type": "string" }, "anfragereferenz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "angebotsdatum": { "type": "string", @@ -2625,10 +4036,20 @@ }, "sparte": { "type": "string", - "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] }, "bindefrist": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "angebotgeber": { @@ -2644,7 +4065,10 @@ "$ref": "#/definitions/Ansprechpartner" }, "varianten": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Angebotsvariante" }, @@ -2658,4 +4082,4 @@ "angebotgeber", "angebotnehmer" ] -} +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Ansprechpartner.json b/json-schema-files/BO4E.BO.Ansprechpartner.json index 175fb7f8..5f0c23c3 100644 --- a/json-schema-files/BO4E.BO.Ansprechpartner.json +++ b/json-schema-files/BO4E.BO.Ansprechpartner.json @@ -2,14 +2,23 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postleitzahl": { "type": "string" @@ -18,22 +27,40 @@ "type": "string" }, "strasse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "hausnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postfach": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "adresszusatz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "coErgaenzung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "landescode": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "AC", @@ -306,53 +333,95 @@ ] }, "ortsteil": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["postleitzahl", "ort"] + "required": [ + "postleitzahl", + "ort" + ] }, "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Geschaeftspartner": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "anrede": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "HERR", @@ -368,47 +437,89 @@ ] }, "title": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name1": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name2": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "name3": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "amtsgericht": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "kontaktweg": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", - "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] + "enum": [ + "ANSCHREIBEN", + "TELEFONAT", + "FAX", + "E_MAIL", + "SMS" + ] } }, "umsatzsteuerId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "glaeubigerId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "eMailAdresse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "website": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geschaeftspartnerrolle": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", "enum": [ @@ -422,12 +533,29 @@ }, "partneradresse": { "$ref": "#/definitions/Adresse" + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ] } }, - "required": ["gewerbekennzeichnung"] + "required": [ + "gewerbekennzeichnung" + ] }, "Rufnummer": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "nummerntyp": { "type": "string", @@ -447,33 +575,60 @@ "type": "string" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["nummerntyp", "rufnummer"] + "required": [ + "nummerntyp", + "rufnummer" + ] }, "Zustaendigkeit": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "jobtitel": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abteilung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "themengebiet": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } } @@ -481,26 +636,44 @@ "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "anrede": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "HERR", @@ -516,23 +689,46 @@ ] }, "inviduelleAnrede": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "titel": { - "type": ["string", "null"], - "enum": [null, "DR", "PROF", "PROF_DR"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] }, "vorname": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "nachname": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "eMailAdresse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "kommentar": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -541,16 +737,22 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Zustaendigkeit" } } } -} +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Auftrag.json b/json-schema-files/BO4E.BO.Auftrag.json index 8f640481..0170104f 100644 --- a/json-schema-files/BO4E.BO.Auftrag.json +++ b/json-schema-files/BO4E.BO.Auftrag.json @@ -2,14 +2,23 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postleitzahl": { "type": "string" @@ -18,22 +27,40 @@ "type": "string" }, "strasse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "hausnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postfach": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "adresszusatz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "coErgaenzung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "landescode": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "AC", @@ -306,41 +333,75 @@ ] }, "ortsteil": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["postleitzahl", "ort"] + "required": [ + "postleitzahl", + "ort" + ] }, "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Preis": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "wert": { "type": "number" }, "einheit": { - "type": ["string", "null"], - "enum": [null, "EUR", "CT"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] }, "bezugswert": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ZERO", @@ -363,38 +424,68 @@ ] }, "status": { - "type": ["string", "null"], - "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["wert"] + "required": [ + "wert" + ] } }, "type": "object", "properties": { "ausfuehrungsdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "fertigstellungsdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "sparte": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "STROM", @@ -406,14 +497,20 @@ ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "lieferanschrift": { "$ref": "#/definitions/Adresse" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -422,12 +519,21 @@ "type": "string" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "bemerkungen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, "mindestpreis": { @@ -437,5 +543,7 @@ "$ref": "#/definitions/Preis" } }, - "required": ["marktlokationsId"] -} + "required": [ + "marktlokationsId" + ] +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.AuftragsStorno.json b/json-schema-files/BO4E.BO.AuftragsStorno.json index 53f0fbc7..665e022d 100644 --- a/json-schema-files/BO4E.BO.AuftragsStorno.json +++ b/json-schema-files/BO4E.BO.AuftragsStorno.json @@ -2,20 +2,35 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } } @@ -26,24 +41,41 @@ "type": "string" }, "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["auftragsId"] -} + "required": [ + "auftragsId" + ] +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Avis.json b/json-schema-files/BO4E.BO.Avis.json index d9406bbc..d27f9506 100644 --- a/json-schema-files/BO4E.BO.Avis.json +++ b/json-schema-files/BO4E.BO.Avis.json @@ -2,17 +2,29 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Abweichung": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abweichungsgrund": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "PREIS_RECHENREGEL_FALSCH", @@ -46,15 +58,27 @@ ] }, "abweichungsgrundBemerkung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "zugehoerigeRechnung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abschlagsrechnungen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, "abweichungsgrundCode": { @@ -64,47 +88,83 @@ "type": "string" } }, - "required": ["abweichungsgrundCode", "abweichungsgrundCodeliste"] + "required": [ + "abweichungsgrundCode", + "abweichungsgrundCodeliste" + ] }, "Abweichungsposition": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abweichungsgrundCodeliste": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abweichungsgrundBemerkung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "zugehoerigeRechnung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "zugehoerigeBestellung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abweichungsgrundCode": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Avisposition": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "rechnungsNummer": { "type": "string" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "rechnungsDatum": { "type": "string", @@ -114,7 +174,10 @@ "type": "boolean" }, "istSelbstausgestellt": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] }, "gesamtBrutto": { "$ref": "#/definitions/Betrag" @@ -123,16 +186,25 @@ "$ref": "#/definitions/Betrag" }, "referenz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abweichungen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Abweichung" } }, "positionen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Rueckmeldungsposition" } @@ -339,48 +411,87 @@ ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["wert", "waehrung"] + "required": [ + "wert", + "waehrung" + ] }, "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Rueckmeldungsposition": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "positionsnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "abweichungspositionen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Abweichungsposition" } @@ -395,7 +506,10 @@ }, "avisTyp": { "type": "string", - "enum": ["ABGELEHNTE_FORDERUNG", "ZAHLUNGSAVIS"] + "enum": [ + "ABGELEHNTE_FORDERUNG", + "ZAHLUNGSAVIS" + ] }, "positionen": { "type": "array", @@ -407,24 +521,44 @@ "$ref": "#/definitions/Betrag" }, "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["avisNummer", "avisTyp", "positionen", "zuZahlen"] -} + "required": [ + "avisNummer", + "avisTyp", + "positionen", + "zuZahlen" + ] +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Benachrichtigung.json b/json-schema-files/BO4E.BO.Benachrichtigung.json index 470f314a..04532a9b 100644 --- a/json-schema-files/BO4E.BO.Benachrichtigung.json +++ b/json-schema-files/BO4E.BO.Benachrichtigung.json @@ -2,84 +2,150 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Aufgabe": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "aufgabenId": { "type": "string" }, "beschreibung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "deadline": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "ausgefuehrt": { "type": "boolean" }, "ausfuehrungszeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "ausfuehrender": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["aufgabenId", "ausgefuehrt"] + "required": [ + "aufgabenId", + "ausgefuehrt" + ] }, "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "GenericStringStringInfo": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "keyColumn": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "value": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["keyColumn", "value"] + "required": [ + "keyColumn", + "value" + ] }, "Notiz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "inhalt": { "type": "string" @@ -92,26 +158,42 @@ "format": "date-time" } }, - "required": ["inhalt", "autor", "zeitpunkt"] + "required": [ + "inhalt", + "autor", + "zeitpunkt" + ] } }, "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "benachrichtigungsId": { "type": "string" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -119,10 +201,19 @@ "prioritaet": { "type": "string", "default": "NORMAL", - "enum": ["SEHR_NIEDRIG", "NIEDRIG", "NORMAL", "HOCH", "SEHR_HOCH"] + "enum": [ + "SEHR_NIEDRIG", + "NIEDRIG", + "NORMAL", + "HOCH", + "SEHR_HOCH" + ] }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "bearbeitungsstatus": { "type": "string", @@ -144,29 +235,47 @@ "format": "date-time" }, "kategorie": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "bearbeiter": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "notizen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Notiz" } }, "deadline": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "aufgaben": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Aufgabe" } }, "infos": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/GenericStringStringInfo" } @@ -179,4 +288,4 @@ "kurztext", "erstellungsZeitpunkt" ] -} +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Berechnungsformel.json b/json-schema-files/BO4E.BO.Berechnungsformel.json index 8db77c45..698cb43b 100644 --- a/json-schema-files/BO4E.BO.Berechnungsformel.json +++ b/json-schema-files/BO4E.BO.Berechnungsformel.json @@ -2,25 +2,43 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Rechenschritt": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "rechenschrittBestandteilId": { "type": "integer" @@ -29,11 +47,17 @@ "type": "integer" }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "operation": { "type": "string", @@ -47,13 +71,22 @@ ] }, "verlustfaktorTrafo": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "verlustfaktorLeitung": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "messlokationId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "weitererRechenschritt": { "$ref": "#/definitions/Rechenschritt" @@ -89,7 +122,10 @@ ] }, "zweck": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", "enum": [ @@ -98,36 +134,57 @@ "MEHRMINDERMENGENABRECHNUNG", "MEHRMINDERMBENGENABRECHNUNG", "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", "UEBERMITTLUNG_AN_DAS_HKNR", "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" ] } }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["marktrolle"] + "required": [ + "marktrolle" + ] } }, "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -137,7 +194,10 @@ "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "notwendigkeit": { "type": "string", @@ -149,7 +209,10 @@ ] }, "rechenschrittId": { - "type": ["integer", "null"] + "type": [ + "integer", + "null" + ] }, "verwendungszweck": { "$ref": "#/definitions/Verwendungszweck" @@ -158,5 +221,9 @@ "$ref": "#/definitions/Rechenschritt" } }, - "required": ["beginndatum", "notwendigkeit", "verwendungszweck"] -} + "required": [ + "beginndatum", + "notwendigkeit", + "verwendungszweck" + ] +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Bilanzierung.json b/json-schema-files/BO4E.BO.Bilanzierung.json index 74165b3e..79bc6ae1 100644 --- a/json-schema-files/BO4E.BO.Bilanzierung.json +++ b/json-schema-files/BO4E.BO.Bilanzierung.json @@ -2,44 +2,81 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Lastprofil": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "bezeichnung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "profilschar": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "verfahren": { - "type": ["string", "null"], - "enum": [null, "SYNTHETISCH", "ANALYTISCH"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SYNTHETISCH", + "ANALYTISCH" + ] }, "einspeisung": { - "type": ["boolean", "null"] + "type": [ + "boolean", + "null" + ] }, "tagesparameter": { "$ref": "#/definitions/Tagesparameter" }, "profilart": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ART_STANDARDLASTPROFIL", @@ -48,32 +85,53 @@ ] }, "herausgeber": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Menge": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "wert": { "type": "number" }, "einheit": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ZERO", @@ -96,29 +154,52 @@ ] } }, - "required": ["wert"] + "required": [ + "wert" + ] }, "Tagesparameter": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "klimazone": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "temperaturmessstelle": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "dienstanbieter": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "herausgeber": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } } @@ -126,43 +207,73 @@ "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "marktlokationsId": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "lastprofile": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Lastprofil" } }, "bilanzierungsbeginn": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "bilanzierungsende": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "bilanzkreis": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "jahresverbrauchsprognose": { "$ref": "#/definitions/Menge" @@ -174,10 +285,16 @@ "$ref": "#/definitions/Menge" }, "verbrauchsaufteilung": { - "type": ["number", "null"] + "type": [ + "number", + "null" + ] }, "zeitreihentyp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "EGS", @@ -192,22 +309,45 @@ ] }, "aggregationsverantwortung": { - "type": ["string", "null"], - "enum": [null, "UENB", "VNB"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UENB", + "VNB" + ] }, "prognosegrundlage": { - "type": ["string", "null"], - "enum": [null, "WERTE", "PROFILE"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WERTE", + "PROFILE" + ] }, "detailsPrognosegrundlage": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "type": "string", - "enum": ["SLP_SEP", "TLP_TEP"] + "enum": [ + "SLP_SEP", + "TLP_TEP" + ] } }, "wahlrechtPrognosegrundlage": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "DURCH_LF", @@ -219,14 +359,28 @@ ] }, "fallgruppenzuordnung": { - "type": ["string", "null"], - "enum": [null, "GABI_RLMmT", "GABI_RLMoT", "GABI_RLMNEV"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "GABI_RLMmT", + "GABI_RLMoT", + "GABI_RLMNEV" + ] }, "prioritaet": { - "type": ["integer", "null"] + "type": [ + "integer", + "null" + ] }, "grundWahlrechtPrognosegrundlage": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "DURCH_LF", @@ -236,6 +390,17 @@ "NICHT_WEGEN_TAGES_VERBRAUCH", "NICHT_WEGEN_ENWG" ] + }, + "abwicklungsmodell": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "MODELL_1", + "MODELL_2" + ] } } -} +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Energiemenge.json b/json-schema-files/BO4E.BO.Energiemenge.json index 271930fb..058643bb 100644 --- a/json-schema-files/BO4E.BO.Energiemenge.json +++ b/json-schema-files/BO4E.BO.Energiemenge.json @@ -2,32 +2,56 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "StatusZusatzInformation": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "art": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "VERTRAG", @@ -41,10 +65,16 @@ ] }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "status": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "TARIF_1", @@ -119,18 +149,30 @@ } }, "Verbrauch": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "startdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "enddatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "type": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -139,7 +181,10 @@ ] }, "tarifstufe": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "TARIFSTUFE_0", @@ -155,18 +200,34 @@ ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "wertermittlungsverfahren": { - "type": ["string", "null"], - "enum": [null, "PROGNOSE", "MESSUNG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "PROGNOSE", + "MESSUNG" + ] }, "messwertstatus": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ABGELESEN", @@ -181,7 +242,10 @@ ] }, "statuszusatzinformationen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -215,53 +279,92 @@ ] }, "nutzungszeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" } }, - "required": ["obiskennzahl", "wert", "einheit"] + "required": [ + "obiskennzahl", + "wert", + "einheit" + ] } }, "type": "object", "properties": { "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "lokationsId": { "type": "string", "default": "|null|" }, "lokationsTyp": { - "type": "string", - "enum": ["MALO", "MELO"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "MALO", + "MELO" + ] }, "energieverbrauch": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/Verbrauch" }, "minItems": 1 } }, - "required": ["lokationsId", "lokationsTyp", "energieverbrauch"] -} + "required": [ + "lokationsId", + "lokationsTyp", + "energieverbrauch" + ] +} \ No newline at end of file diff --git a/json-schema-files/BO4E.BO.Entsperrauftrag.json b/json-schema-files/BO4E.BO.Entsperrauftrag.json index 057a5d6f..ca150b7c 100644 --- a/json-schema-files/BO4E.BO.Entsperrauftrag.json +++ b/json-schema-files/BO4E.BO.Entsperrauftrag.json @@ -2,14 +2,23 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postleitzahl": { "type": "string" @@ -18,22 +27,40 @@ "type": "string" }, "strasse": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "hausnummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "postfach": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "adresszusatz": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "coErgaenzung": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "landescode": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "AC", @@ -306,41 +333,75 @@ ] }, "ortsteil": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["postleitzahl", "ort"] + "required": [ + "postleitzahl", + "ort" + ] }, "ExterneReferenz": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "exRefName": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "exRefWert": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } } }, "Preis": { - "type": ["object", "null"], + "type": [ + "object", + "null" + ], "properties": { "wert": { "type": "number" }, "einheit": { - "type": ["string", "null"], - "enum": [null, "EUR", "CT"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] }, "bezugswert": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "ZERO", @@ -363,28 +424,49 @@ ] }, "status": { - "type": ["string", "null"], - "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, - "required": ["wert"] + "required": [ + "wert" + ] } }, "type": "object", "properties": { "sperrauftragsart": { "type": "string", - "enum": ["SPERREN", "ENTSPERREN"] + "enum": [ + "SPERREN", + "ENTSPERREN" + ] }, "sperrauftragsstatus": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "GESCHEITERT", @@ -396,27 +478,45 @@ ] }, "zaehlernummer": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "istNurInnerhalbDerArbeitszeitZuEntsperren": { "type": "boolean" }, "ausfuehrungsdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "boTyp": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "fertigstellungsdatum": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "versionStruktur": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "sparte": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "enum": [ null, "STROM", @@ -428,14 +528,20 @@ ] }, "timestamp": { - "type": ["string", "null"], + "type": [ + "string", + "null" + ], "format": "date-time" }, "lieferanschrift": { "$ref": "#/definitions/Adresse" }, "externeReferenzen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -444,12 +550,21 @@ "type": "string" }, "guid": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] }, "bemerkungen": { - "type": ["array", "null"], + "type": [ + "array", + "null" + ], "items": { - "type": ["string", "null"] + "type": [ + "string", + "null" + ] } }, "mindestpreis": { @@ -464,4 +579,4 @@ "istNurInnerhalbDerArbeitszeitZuEntsperren", "marktlokationsId" ] -} +} \ No newline at end of file