diff --git a/BO4E-dotnet.sln b/BO4E-dotnet.sln index 9769d308..a4cd0ac5 100644 --- a/BO4E-dotnet.sln +++ b/BO4E-dotnet.sln @@ -18,6 +18,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestBO4E.Reporting", "TestB EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestBO4E.Extensions", "TestBO4E.Extensions\TestBO4E.Extensions.csproj", "{BDA5224F-3C83-44F7-B96F-B873247E3245}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SchemaGenerator", "SchemaGenerator\SchemaGenerator.csproj", "{A178CA52-4DF3-4A12-8B84-FFF1EB3152F7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -48,6 +50,10 @@ Global {BDA5224F-3C83-44F7-B96F-B873247E3245}.Debug|Any CPU.Build.0 = Debug|Any CPU {BDA5224F-3C83-44F7-B96F-B873247E3245}.Release|Any CPU.ActiveCfg = Release|Any CPU {BDA5224F-3C83-44F7-B96F-B873247E3245}.Release|Any CPU.Build.0 = Release|Any CPU + {A178CA52-4DF3-4A12-8B84-FFF1EB3152F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A178CA52-4DF3-4A12-8B84-FFF1EB3152F7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A178CA52-4DF3-4A12-8B84-FFF1EB3152F7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A178CA52-4DF3-4A12-8B84-FFF1EB3152F7}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/BO4ETestProject/TestJsonSchemaGeneration.cs b/BO4ETestProject/TestJsonSchemaGeneration.cs index 07ca69ca..eacbb50a 100644 --- a/BO4ETestProject/TestJsonSchemaGeneration.cs +++ b/BO4ETestProject/TestJsonSchemaGeneration.cs @@ -1,7 +1,5 @@ using System; -using System.IO; using System.Linq; -using System.Text; using BO4E.BO; using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; @@ -48,20 +46,13 @@ 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 + try // generate plain json schemas { foreach (var type in relevantBusinessObjectTypes.Skip(offset).Take(MaxSchemasPerHour)) { var schema = BusinessObject.GetJsonSchema(type); Assert.IsNotNull(schema); - var path = $"../../../../json-schema-files/{type}.json"; // not elegant but ok ;) - if (!File.Exists(path)) - { - var stream = File.Create(path); - stream.Close(); - } - var utf8WithoutByteOrderMark = new UTF8Encoding(false); - File.WriteAllText(path, schema.ToString(SchemaVersion.Draft7), utf8WithoutByteOrderMark); + // writing the schemas has moved to the SchemaGenerator project/generate-json-schemas.sh } } catch (JSchemaException jse) diff --git a/SchemaGenerator/Program.cs b/SchemaGenerator/Program.cs new file mode 100644 index 00000000..9612f7a6 --- /dev/null +++ b/SchemaGenerator/Program.cs @@ -0,0 +1,95 @@ +using System.Text; +using Newtonsoft.Json.Schema; +using BO4E.BO; + +Console.WriteLine("Starting schema generation process..."); + +int offset; +string outputDirectory; + +// Validate arguments +if (args.Length < 2) +{ + Console.Error.WriteLine("Error: You must provide both an offset and an output directory."); + Console.Error.WriteLine("Usage: dotnet run -- "); + Environment.Exit(1); // Exit with a specific error code for missing arguments +} + +if (!int.TryParse(args[0], out offset)) +{ + Console.Error.WriteLine($"Error: Invalid argument '{args[0]}'. Please provide a valid integer offset."); + Environment.Exit(2); // Exit with a specific error code for invalid offset +} + +// Get the output directory from the arguments +outputDirectory = args[1]; + +Console.WriteLine($"Offset provided: {offset}"); +Console.WriteLine($"Output directory: {outputDirectory}"); + +// Generate schemas +try +{ + JsonSchemaGenerator.GenerateSchemas(offset, outputDirectory); + Console.WriteLine("Schema generation completed successfully."); +} +catch (Exception ex) +{ + Console.Error.WriteLine($"An unexpected error occurred: {ex.Message}"); + Environment.Exit(4); // Exit with a specific error code for unexpected errors +} + +Environment.Exit(0); // Success + +/// +/// Generates plain JSON schemas from business object model classes. +/// +public class JsonSchemaGenerator +{ + private const int LastDataRowOffset = 50; + private const int MaxSchemasPerHour = 10; + + public static void GenerateSchemas(int offset, string outputDirectory) + { + var relevantBusinessObjectTypes = typeof(BusinessObject).Assembly + .GetTypes() + .Where(t => t.IsSubclassOf(typeof(BusinessObject))); + + if (relevantBusinessObjectTypes.Count() > LastDataRowOffset + MaxSchemasPerHour) + { + throw new InvalidOperationException("Too many BusinessObject types. Increase the LastDataRowOffset or adjust the MaxSchemasPerHour."); + } + + try + { + // Ensure the output directory exists + if (!Directory.Exists(outputDirectory)) + { + Directory.CreateDirectory(outputDirectory); + } + + foreach (var type in relevantBusinessObjectTypes.Skip(offset).Take(MaxSchemasPerHour)) + { + var schema = BusinessObject.GetJsonSchema(type); + var path = Path.Combine(outputDirectory, $"{type.Name}.json"); + + Console.WriteLine($"Generating schema for {type.Name} at {path}."); + + if (!File.Exists(path)) + { + using (File.Create(path)) + { + } + } + + var utf8WithoutByteOrderMark = new UTF8Encoding(false); + File.WriteAllText(path, schema.ToString(SchemaVersion.Draft7), utf8WithoutByteOrderMark); + } + } + catch (JSchemaException jse) + { + Console.Error.WriteLine($"Schema generation failed with error: {jse.Message}"); + Environment.Exit(3); // Exit with a specific error code for schema generation failure + } + } +} diff --git a/SchemaGenerator/SchemaGenerator.csproj b/SchemaGenerator/SchemaGenerator.csproj new file mode 100644 index 00000000..71eab0c8 --- /dev/null +++ b/SchemaGenerator/SchemaGenerator.csproj @@ -0,0 +1,14 @@ + + + + Exe + net8.0 + enable + enable + + + + + + + diff --git a/SchemaGenerator/generate-json-schemas.sh b/SchemaGenerator/generate-json-schemas.sh new file mode 100644 index 00000000..c09ff091 --- /dev/null +++ b/SchemaGenerator/generate-json-schemas.sh @@ -0,0 +1,23 @@ +# Cross-platform script to run the .NET console application with different offsets and an optional output directory +# Invoke it like this: powershell.exe C:/github/BO4E-dotnet2/SchemaGenerator/generate-json-schemas.sh + +# Define the offsets +offsets=(10 20 30 40 50) + +# Define the default output directory +default_output_directory="../json-schema-files" # json-schema-files in repo root + +# Check if an output directory argument is provided +if [ $# -eq 1 ]; then + output_directory=$1 +else + output_directory=$default_output_directory +fi + +# Loop through the offsets and call the .NET application +for offset in "${offsets[@]}" +do + echo "Running schema generation with offset: $offset in directory: $output_directory" + # Run the .NET application + dotnet run -- $offset $output_directory +done diff --git a/json-schema-files/BO4E.BO.Angebot.json b/json-schema-files/BO4E.BO.Angebot.json index 8bf34b49..a7966464 100644 --- a/json-schema-files/BO4E.BO.Angebot.json +++ b/json-schema-files/BO4E.BO.Angebot.json @@ -1644,8 +1644,12 @@ ], "properties": { "geraetetyp": { - "type": "string", + "type": [ + "string", + "null" + ], "enum": [ + null, "WECHSELSTROMZAEHLER", "DREHSTROMZAEHLER", "ZWEIRICHTUNGSZAEHLER", @@ -1724,7 +1728,6 @@ } }, "required": [ - "geraetetyp", "bezeichnung" ] }, @@ -1851,114 +1854,6 @@ "satz" ] }, - "Lokationszuordnung": { - "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" - ] - }, - "marktlokationen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Marktlokation" - } - }, - "messlokationen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Messlokation" - } - }, - "netzlokationen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Netzlokation" - } - }, - "technischeRessourcen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/TechnischeRessource" - } - }, - "steuerbareRessourcen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/SteuerbareRessource" - } - }, - "gueltigkeit": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Zeitraum" - } - }, - "zuordnungstyp": { - "type": [ - "string", - "null" - ] - }, - "lokationsbuendelcode": { - "type": [ - "string", - "null" - ] - } - } - }, "Marktlokation": { "type": [ "object", @@ -2284,15 +2179,6 @@ "$ref": "#/definitions/Konfigurationsprodukt" } }, - "lokationszuordnungen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Lokationszuordnung" - } - }, "lokationsbuendelObjektcode": { "type": [ "string", @@ -2875,15 +2761,6 @@ "$ref": "#/definitions/Messprodukt" } }, - "lokationszuordnungen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Lokationszuordnung" - } - }, "lokationsbuendelObjektcode": { "type": [ "string", @@ -3052,140 +2929,6 @@ } } }, - "Netzlokation": { - "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" - ] - }, - "netzlokationsId": { - "type": "string", - "default": "|null|" - }, - "sparte": { - "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] - }, - "netzanschlussleistung": { - "$ref": "#/definitions/Menge" - }, - "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] - }, - "steuerkanal": { - "type": [ - "boolean", - "null" - ] - }, - "obisKennzahl": { - "type": [ - "string", - "null" - ] - }, - "verwendungszweck": { - "$ref": "#/definitions/Verwendungszweck" - }, - "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Konfigurationsprodukt" - } - }, - "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NB", - "LF", - "MSB", - "MDL", - "DL", - "BKV", - "BIKO", - "UENB", - "KUNDE_SELBST_NN", - "MGV", - "EIV", - "RB", - "KUNDE", - "INTERESSENT", - "GMSB", - "AMSB" - ] - }, - "lokationszuordnungen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Lokationszuordnung" - } - }, - "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "netzlokationsId", - "sparte" - ] - }, "Netznutzungsabrechnungsdaten": { "type": [ "object", @@ -3488,294 +3231,6 @@ } } }, - "SteuerbareRessource": { - "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" - ] - }, - "steuerbareRessourceId": { - "type": "string", - "default": "|null|" - }, - "steuerkanalsLeistungsbeschreibung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AN_AUS", - "GESTUFT" - ] - }, - "zugeordnetMSBCodeNr": { - "type": [ - "string", - "null" - ] - }, - "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Konfigurationsprodukt" - } - }, - "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NB", - "LF", - "MSB", - "MDL", - "DL", - "BKV", - "BIKO", - "UENB", - "KUNDE_SELBST_NN", - "MGV", - "EIV", - "RB", - "KUNDE", - "INTERESSENT", - "GMSB", - "AMSB" - ] - }, - "lokationszuordnungen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Lokationszuordnung" - } - }, - "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] - } - }, - "required": [ - "steuerbareRessourceId" - ] - }, - "TechnischeRessource": { - "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" - ] - }, - "technischeRessourceId": { - "type": [ - "string", - "null" - ], - "default": "|null|" - }, - "vorgelagerteMesslokationsId": { - "type": [ - "string", - "null" - ] - }, - "zugeordneteMarktlokationsId": { - "type": [ - "string", - "null" - ] - }, - "zugeordneteSteuerbareRessourceId": { - "type": [ - "string", - "null" - ] - }, - "nennleistungAufnahme": { - "$ref": "#/definitions/Menge" - }, - "nennleistungAbgabe": { - "$ref": "#/definitions/Menge" - }, - "speicherkapazitaet": { - "$ref": "#/definitions/Menge" - }, - "technischeRessourceNutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "STROMVERBRAUCHSART", - "STROMERZEUGUNGSART", - "SPEICHER" - ] - }, - "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KRAFT_LICHT", - "WAERME", - "E_MOBILITAET", - "STRASSENBELEUCHTUNG" - ] - }, - "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] - }, - "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] - }, - "erzeugungsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KWK", - "WIND", - "SOLAR", - "KERNKRAFT", - "WASSER", - "GEOTHERMIE", - "BIOMASSE", - "KOHLE", - "GAS", - "SONSTIGE", - "SONSTIGE_EEG" - ] - }, - "speicherart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WASSERSTOFFSPEICHER", - "PUMPSPEICHER", - "BATTERIESPEICHER", - "SONSTIGE_SPEICHERART" - ] - }, - "lokationszuordnungen": { - "type": [ - "array", - "null" - ], - "items": { - "$ref": "#/definitions/Lokationszuordnung" - } - }, - "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] - } - } - }, "Verbrauch": { "type": [ "object", diff --git a/json-schema-files/BO4E.BO.Bilanzierung.json b/json-schema-files/BO4E.BO.Bilanzierung.json index 79bc6ae1..790d7ca0 100644 --- a/json-schema-files/BO4E.BO.Bilanzierung.json +++ b/json-schema-files/BO4E.BO.Bilanzierung.json @@ -81,7 +81,9 @@ null, "ART_STANDARDLASTPROFIL", "ART_TAGESPARAMETERABHAENGIGES_LASTPROFIL", - "ART_LASTPROFIL" + "ART_LASTPROFIL", + "ART_STANDARDEINSPEISEPROFIL", + "ART_TAGESPARAMETERABHAENGIGES_EINSPEISEPROFIL" ] }, "herausgeber": { diff --git a/json-schema-files/BO4E.BO.Einspeisung.json b/json-schema-files/BO4E.BO.Einspeisung.json new file mode 100644 index 00000000..9189edab --- /dev/null +++ b/json-schema-files/BO4E.BO.Einspeisung.json @@ -0,0 +1,402 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "marktlokationsId": { + "type": [ + "string", + "null" + ] + }, + "verguetungsempfaenger": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ] + }, + "eegVermarktungsform": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSFALLVERGUETUNG", + "MARKTPRAEMIE", + "SONSTIGE", + "KWKG_VERGUETUNG" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "fernsteuerbarkeitStatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_FERNSTEUERBAR", + "TECHNISCH_FERNSTEUERBAR", + "LIEFERANT_FERNSTEUERBAR" + ] + }, + "trancheId": { + "type": [ + "string", + "null" + ] + } + } +} \ No newline at end of file diff --git a/json-schema-files/Energiemenge.json b/json-schema-files/Energiemenge.json new file mode 100644 index 00000000..83891ebc --- /dev/null +++ b/json-schema-files/Energiemenge.json @@ -0,0 +1,371 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "StatusZusatzInformation": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "art": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ] + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIF_1", + "TARIF_2", + "TARIF_3", + "TARIF_4", + "TARIF_5", + "TARIF_6", + "TARIF_7", + "TARIF_8", + "TARIF_9", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "KEIN_ZUGANG", + "KOMMUNIKATIONSSTOERUNG", + "NETZAUSFALL", + "SPANNUNGSAUSFALL", + "STATUS_GERAETEWECHSEL", + "KALIBRIERUNG", + "GERAET_ARBEITET_AUSSERHALB_DER_BETRIEBSBEDINGUNGEN", + "MESSEINRICHTUNG_GESTOERT_DEFEKT", + "UNSICHERHEIT_MESSUNG", + "KUNDENSELBSTABLESUNG", + "LEERSTAND", + "REALER_ZAEHLERUEBERLAUF_GEPRUEFT", + "PLAUSIBEL_WG_KONTROLLABLESUNG", + "PLAUSIBEL_WG_KUNDENHINWEIS", + "VERGLEICHSMESSUNG_GEEICHT", + "VERGLEICHSMESSUNG_NICHT_GEEICHT", + "MESSWERTNACHBILDUNG_AUS_GEEICHTEN_WERTEN", + "MESSWERTNACHBILDUNG_AUS_NICHT_GEEICHTEN_WERTEN", + "INTERPOLATION", + "HALTEWERT", + "BILANZIERUNG_NETZABSCHNITT", + "HISTORISCHE_MESSWERTE", + "BERUECKSICHTIGUNG_STOERMENGENZAEHLWERK", + "MENGENUMWERTUNG_VOLLSTAENDIG", + "UHRZEIT_GESTELLT_SYNCHRONISATION", + "MESSWERT_UNPLAUSIBEL", + "FALSCHER_WANDLERFAKTOR", + "FEHLERHAFTE_ABLESUNG", + "AENDERUNG_DER_BERECHNUNG", + "UMBAU_DER_MESSLOKATION", + "DATENBEARBEITUNGSFEHLER", + "BRENNWERTKORREKTUR", + "Z_ZAHL_KORREKTUR", + "STOERUNG_DEFEKT_MESSEINRICHTUNG", + "AENDERUNG_TARIFSCHALTZEITEN", + "TARIFSCHALTGERAET_DEFEKT", + "AUSTAUSCH_DES_ERSATZWERTES", + "IMPULSWERTIGKEIT_NICHT_AUSREICHEND", + "UMSTELLUNG_GASQUALITAET", + "STATISTISCHE_METHODE", + "ENERGIEMENGE_IN_UNGEMESSENEM_ZEITINTERVALL", + "ENERGIEMENGE_AUS_DEM_UNGEPAIRTEN_ZEITINTERVALL", + "AUFTEILUNG", + "VERWENDUNG_VON_WERTEN_DES_STOERMENGENZAEHLWERKS", + "UMGANGS_UND_KORREKTURMENGEN", + "WARTUNGSARBEITEN_AN_GEEICHTEM_MESSGERAET", + "GESTOERTE_WERTE", + "WARTUNGSARBEITEN_AN_EICHRECHTSKONFORMEN_MESSGERAETEN", + "KONSISTENZ_UND_SYNCHRONPRUEFUNG", + "RECHENWERT", + "ANGABEN_MESSLOKATION", + "BASIS_MME", + "GRUND_ANGABEN_MESSLOKATION", + "ANFORDERUNG_IN_DIE_VERGANGENHEIT_ZUM_ANGEFORDERTEN_ZEITPUNKT_LIEGT_KEIN_WERT_VOR" + ] + } + } + }, + "Verbrauch": { + "type": [ + "object", + "null" + ], + "properties": { + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "type": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ] + }, + "tarifstufe": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wertermittlungsverfahren": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "PROGNOSE", + "MESSUNG" + ] + }, + "messwertstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ] + }, + "statuszusatzinformationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string" + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": "string", + "enum": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "nutzungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "ausfuehrungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "obiskennzahl", + "wert", + "einheit" + ] + } + }, + "type": "object", + "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" + ] + }, + "lokationsId": { + "type": "string", + "default": "|null|" + }, + "lokationsTyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "MALO", + "MELO" + ] + }, + "energieverbrauch": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verbrauch" + }, + "minItems": 1 + } + }, + "required": [ + "lokationsId", + "lokationsTyp", + "energieverbrauch" + ] +} \ No newline at end of file diff --git a/json-schema-files/Entsperrauftrag.json b/json-schema-files/Entsperrauftrag.json new file mode 100644 index 00000000..ca150b7c --- /dev/null +++ b/json-schema-files/Entsperrauftrag.json @@ -0,0 +1,582 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Preis": { + "type": [ + "object", + "null" + ], + "properties": { + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] + }, + "bezugswert": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert" + ] + } + }, + "type": "object", + "properties": { + "sperrauftragsart": { + "type": "string", + "enum": [ + "SPERREN", + "ENTSPERREN" + ] + }, + "sperrauftragsstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "GESCHEITERT", + "ERFOLGREICH", + "GEPLANT", + "ZUGESTIMMT", + "WIDERSPROCHEN", + "ABGELEHNT" + ] + }, + "zaehlernummer": { + "type": [ + "string", + "null" + ] + }, + "istNurInnerhalbDerArbeitszeitZuEntsperren": { + "type": "boolean" + }, + "ausfuehrungsdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "boTyp": { + "type": [ + "string", + "null" + ] + }, + "fertigstellungsdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "versionStruktur": { + "type": [ + "string", + "null" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "lieferanschrift": { + "$ref": "#/definitions/Adresse" + }, + "externeReferenzen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "marktlokationsId": { + "type": "string" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "bemerkungen": { + "type": [ + "array", + "null" + ], + "items": { + "type": [ + "string", + "null" + ] + } + }, + "mindestpreis": { + "$ref": "#/definitions/Preis" + }, + "hoechstpreis": { + "$ref": "#/definitions/Preis" + } + }, + "required": [ + "sperrauftragsart", + "istNurInnerhalbDerArbeitszeitZuEntsperren", + "marktlokationsId" + ] +} \ No newline at end of file diff --git a/json-schema-files/Geschaeftspartner.json b/json-schema-files/Geschaeftspartner.json new file mode 100644 index 00000000..dd775c05 --- /dev/null +++ b/json-schema-files/Geschaeftspartner.json @@ -0,0 +1,568 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] +} \ No newline at end of file diff --git a/json-schema-files/Handelsunstimmigkeit.json b/json-schema-files/Handelsunstimmigkeit.json new file mode 100644 index 00000000..b9f3ea63 --- /dev/null +++ b/json-schema-files/Handelsunstimmigkeit.json @@ -0,0 +1,365 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Betrag": { + "type": [ + "object", + "null" + ], + "properties": { + "wert": { + "type": "number" + }, + "waehrung": { + "type": "string", + "enum": [ + "AFN", + "ALL", + "AMD", + "ANG", + "AOA", + "ARS", + "AUD", + "AWG", + "AZN", + "BAM", + "BBD", + "BDT", + "BGN", + "BHD", + "BIF", + "BMD", + "BND", + "BOB", + "BOV", + "BRL", + "BSD", + "BTN", + "BWP", + "BYN", + "BYR", + "BZD", + "CAD", + "CDF", + "CHE", + "CHF", + "CHW", + "CLF", + "CLP", + "CNY", + "COP", + "COU", + "CRC", + "CUC", + "CUP", + "CVE", + "CZK", + "DJF", + "DKK", + "DOP", + "DZD", + "EGP", + "ERN", + "ETB", + "EUR", + "FJD", + "FKP", + "GBP", + "GEL", + "GHS", + "GIP", + "GMD", + "GNF", + "GTQ", + "GYD", + "HKD", + "HNL", + "HRK", + "HTG", + "HUF", + "IDR", + "ILS", + "INR", + "IQD", + "IRR", + "ISK", + "JMD", + "JOD", + "JPY", + "KES", + "KGS", + "KHR", + "KMF", + "KPW", + "KRW", + "KWD", + "KYD", + "KZT", + "LAK", + "LBP", + "LKR", + "LRD", + "LSL", + "LTL", + "LYD", + "MAD", + "MDL", + "MGA", + "MKD", + "MMK", + "MNT", + "MOP", + "MRO", + "MUR", + "MVR", + "MWK", + "MXN", + "MXV", + "MYR", + "MZN", + "NAD", + "NGN", + "NIO", + "NOK", + "NPR", + "NZD", + "OMR", + "PAB", + "PEN", + "PGK", + "PHP", + "PKR", + "PLN", + "PYG", + "QAR", + "RON", + "RSD", + "RUB", + "RUR", + "RWF", + "SAR", + "SBD", + "SCR", + "SDG", + "SEK", + "SGD", + "SHP", + "SLL", + "SOS", + "SRD", + "SSP", + "STD", + "SVC", + "SYP", + "SZL", + "THB", + "TJS", + "TMT", + "TND", + "TOP", + "TRY", + "TTD", + "TWD", + "TZS", + "UAH", + "UGX", + "USD", + "USN", + "USS", + "UYI", + "UYU", + "UZS", + "VEF", + "VND", + "VUV", + "WST", + "XAF", + "XAG", + "XAU", + "XBA", + "XBB", + "XBC", + "XBD", + "XCD", + "XDR", + "XOF", + "XPD", + "XPF", + "XPT", + "XSU", + "XTS", + "XUA", + "XXX", + "YER", + "ZAR", + "ZMW", + "ZWL" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert", + "waehrung" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Handelsunstimmigkeitsbegruendung": { + "type": "object", + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "referenzen": { + "type": [ + "array", + "null" + ], + "items": { + "type": [ + "string", + "null" + ] + } + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "grund": { + "type": "string", + "enum": [ + "ANMELDUNG_BESTAETIGT", + "ABRECHNUNGSBEGINN_GLEICH_BESTAETIGTEM_VERTRAGSBEGINN", + "ABRECHNUNGSENDE_GLEICH_BESTAETIGTEM_VERTRAGSENDE", + "NN_MSCONS_UEBERSENDET", + "RICHTIGE_MESSWERTE_ENERGIEMENGEN_UEBERSENDET", + "SONSTIGES_SIEHE_BEGRUENDUNG", + "GUELTIGES_PREISBLATT_VERSENDET", + "GUELTIGER_SPERRAUFTRAG_VORHANDEN", + "KORREKTE_ARTIKEL_ID_IN_RECHNUNG", + "KORREKTER_PREIS_ZU_GUELTIGEM_PREISBLATT_IN_RECHNUNG", + "GUELTIGES_PREISBLATT_FRISTGERECHT_VERSENDET", + "GUELTIGE_RECHNUNG_VORHANDEN", + "KORREKTER_PREIS_IN_RECHNUNG_ABGERECHNET", + "GUELTIGES_PREISBLATT_BLINDARBEIT_VERSENDET", + "KORREKTE_ARTIKEL_ID_FUER_ABRECHNUNG_STORNIERTER_SPERRAUFTRAG_ANGEGEBEN" + ] + } + }, + "required": [ + "grund" + ] + } + }, + "type": "object", + "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" + ] + }, + "nummer": { + "type": "string" + }, + "typ": { + "type": "string", + "enum": [ + "HANDELSRECHNUNG", + "LIEFERSCHEIN_HANDELSUNSTIMMIGKEITSTYP", + "LIEFERSCHEIN_GRUND_ARBEITSPREIS", + "LIEFERSCHEIN_ARBEITS_LEISTUNGSPREIS" + ] + }, + "begruendung": { + "$ref": "#/definitions/Handelsunstimmigkeitsbegruendung" + }, + "zuZahlen": { + "$ref": "#/definitions/Betrag" + } + }, + "required": [ + "nummer", + "typ", + "begruendung" + ] +} \ No newline at end of file diff --git a/json-schema-files/Kosten.json b/json-schema-files/Kosten.json new file mode 100644 index 00000000..7064b5e7 --- /dev/null +++ b/json-schema-files/Kosten.json @@ -0,0 +1,843 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Betrag": { + "type": [ + "object", + "null" + ], + "properties": { + "wert": { + "type": "number" + }, + "waehrung": { + "type": "string", + "enum": [ + "AFN", + "ALL", + "AMD", + "ANG", + "AOA", + "ARS", + "AUD", + "AWG", + "AZN", + "BAM", + "BBD", + "BDT", + "BGN", + "BHD", + "BIF", + "BMD", + "BND", + "BOB", + "BOV", + "BRL", + "BSD", + "BTN", + "BWP", + "BYN", + "BYR", + "BZD", + "CAD", + "CDF", + "CHE", + "CHF", + "CHW", + "CLF", + "CLP", + "CNY", + "COP", + "COU", + "CRC", + "CUC", + "CUP", + "CVE", + "CZK", + "DJF", + "DKK", + "DOP", + "DZD", + "EGP", + "ERN", + "ETB", + "EUR", + "FJD", + "FKP", + "GBP", + "GEL", + "GHS", + "GIP", + "GMD", + "GNF", + "GTQ", + "GYD", + "HKD", + "HNL", + "HRK", + "HTG", + "HUF", + "IDR", + "ILS", + "INR", + "IQD", + "IRR", + "ISK", + "JMD", + "JOD", + "JPY", + "KES", + "KGS", + "KHR", + "KMF", + "KPW", + "KRW", + "KWD", + "KYD", + "KZT", + "LAK", + "LBP", + "LKR", + "LRD", + "LSL", + "LTL", + "LYD", + "MAD", + "MDL", + "MGA", + "MKD", + "MMK", + "MNT", + "MOP", + "MRO", + "MUR", + "MVR", + "MWK", + "MXN", + "MXV", + "MYR", + "MZN", + "NAD", + "NGN", + "NIO", + "NOK", + "NPR", + "NZD", + "OMR", + "PAB", + "PEN", + "PGK", + "PHP", + "PKR", + "PLN", + "PYG", + "QAR", + "RON", + "RSD", + "RUB", + "RUR", + "RWF", + "SAR", + "SBD", + "SCR", + "SDG", + "SEK", + "SGD", + "SHP", + "SLL", + "SOS", + "SRD", + "SSP", + "STD", + "SVC", + "SYP", + "SZL", + "THB", + "TJS", + "TMT", + "TND", + "TOP", + "TRY", + "TTD", + "TWD", + "TZS", + "UAH", + "UGX", + "USD", + "USN", + "USS", + "UYI", + "UYU", + "UZS", + "VEF", + "VND", + "VUV", + "WST", + "XAF", + "XAG", + "XAU", + "XBA", + "XBB", + "XBC", + "XBD", + "XCD", + "XDR", + "XOF", + "XPD", + "XPF", + "XPT", + "XSU", + "XTS", + "XUA", + "XXX", + "YER", + "ZAR", + "ZMW", + "ZWL" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert", + "waehrung" + ] + }, + "Betrag-1": { + "type": "object", + "properties": { + "wert": { + "type": "number" + }, + "waehrung": { + "type": "string", + "enum": [ + "AFN", + "ALL", + "AMD", + "ANG", + "AOA", + "ARS", + "AUD", + "AWG", + "AZN", + "BAM", + "BBD", + "BDT", + "BGN", + "BHD", + "BIF", + "BMD", + "BND", + "BOB", + "BOV", + "BRL", + "BSD", + "BTN", + "BWP", + "BYN", + "BYR", + "BZD", + "CAD", + "CDF", + "CHE", + "CHF", + "CHW", + "CLF", + "CLP", + "CNY", + "COP", + "COU", + "CRC", + "CUC", + "CUP", + "CVE", + "CZK", + "DJF", + "DKK", + "DOP", + "DZD", + "EGP", + "ERN", + "ETB", + "EUR", + "FJD", + "FKP", + "GBP", + "GEL", + "GHS", + "GIP", + "GMD", + "GNF", + "GTQ", + "GYD", + "HKD", + "HNL", + "HRK", + "HTG", + "HUF", + "IDR", + "ILS", + "INR", + "IQD", + "IRR", + "ISK", + "JMD", + "JOD", + "JPY", + "KES", + "KGS", + "KHR", + "KMF", + "KPW", + "KRW", + "KWD", + "KYD", + "KZT", + "LAK", + "LBP", + "LKR", + "LRD", + "LSL", + "LTL", + "LYD", + "MAD", + "MDL", + "MGA", + "MKD", + "MMK", + "MNT", + "MOP", + "MRO", + "MUR", + "MVR", + "MWK", + "MXN", + "MXV", + "MYR", + "MZN", + "NAD", + "NGN", + "NIO", + "NOK", + "NPR", + "NZD", + "OMR", + "PAB", + "PEN", + "PGK", + "PHP", + "PKR", + "PLN", + "PYG", + "QAR", + "RON", + "RSD", + "RUB", + "RUR", + "RWF", + "SAR", + "SBD", + "SCR", + "SDG", + "SEK", + "SGD", + "SHP", + "SLL", + "SOS", + "SRD", + "SSP", + "STD", + "SVC", + "SYP", + "SZL", + "THB", + "TJS", + "TMT", + "TND", + "TOP", + "TRY", + "TTD", + "TWD", + "TZS", + "UAH", + "UGX", + "USD", + "USN", + "USS", + "UYI", + "UYU", + "UZS", + "VEF", + "VND", + "VUV", + "WST", + "XAF", + "XAG", + "XAU", + "XBA", + "XBB", + "XBC", + "XBD", + "XCD", + "XDR", + "XOF", + "XPD", + "XPF", + "XPT", + "XSU", + "XTS", + "XUA", + "XXX", + "YER", + "ZAR", + "ZMW", + "ZWL" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert", + "waehrung" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Kostenblock": { + "type": [ + "object", + "null" + ], + "properties": { + "kostenblockbezeichnung": { + "type": "string" + }, + "summeKostenblock": { + "$ref": "#/definitions/Betrag" + }, + "kostenpositionen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Kostenposition" + } + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "kostenblockbezeichnung" + ] + }, + "Kostenposition": { + "type": [ + "object", + "null" + ], + "properties": { + "positionstitel": { + "type": "string" + }, + "von": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "bis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "artikelbezeichnung": { + "type": "string" + }, + "artikeldetail": { + "type": [ + "string", + "null" + ] + }, + "menge": { + "$ref": "#/definitions/Menge" + }, + "zeitmenge": { + "$ref": "#/definitions/Menge" + }, + "einzelpreis": { + "$ref": "#/definitions/Preis" + }, + "betragKostenposition": { + "$ref": "#/definitions/Betrag-1" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "positionstitel", + "artikelbezeichnung", + "einzelpreis", + "betragKostenposition" + ] + }, + "Menge": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + } + }, + "required": [ + "wert" + ] + }, + "Preis": { + "type": "object", + "properties": { + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] + }, + "bezugswert": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + } + }, + "type": "object", + "properties": { + "boTyp": { + "type": [ + "string", + "null" + ] + }, + "versionStruktur": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "kostenklasse": { + "type": "string", + "enum": [ + "ZERO" + ] + }, + "externeReferenzen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "gueltigkeit": { + "$ref": "#/definitions/Zeitraum" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "summeKosten": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Betrag" + } + }, + "kostenbloecke": { + "type": "array", + "items": { + "$ref": "#/definitions/Kostenblock" + }, + "minItems": 1 + }, + "kostenpositionen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Kostenposition" + } + } + }, + "required": [ + "kostenklasse", + "gueltigkeit", + "kostenbloecke" + ] +} \ No newline at end of file diff --git a/json-schema-files/Lokationszuordnung.json b/json-schema-files/Lokationszuordnung.json new file mode 100644 index 00000000..3b393f58 --- /dev/null +++ b/json-schema-files/Lokationszuordnung.json @@ -0,0 +1,3951 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "Dienstleistung": { + "type": [ + "object", + "null" + ], + "properties": { + "dienstleistungstyp": { + "type": "string", + "enum": [ + "DATENBEREITSTELLUNG_TAEGLICH", + "DATENBEREITSTELLUNG_WOECHENTLICH", + "DATENBEREITSTELLUNG_MONATLICH", + "DATENBEREITSTELLUNG_JAEHRLICH", + "DATENBEREITSTELLUNG_HISTORISCHE_LG", + "DATENBEREITSTELLUNG_STUENDLICH", + "DATENBEREITSTELLUNG_VIERTELJAEHRLICH", + "DATENBEREITSTELLUNG_HALBJAEHRLICH", + "DATENBEREITSTELLUNG_MONATLICH_ZUSAETZLICH", + "DATENBEREITSTELLUNG_EINMALIG", + "AUSLESUNG_2X_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_LGK_MANUELL_MSB", + "AUSLESUNG_MONATLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_JAEHRLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_MDE_SLP", + "ABLESUNG_MONATLICH_SLP", + "ABLESUNG_VIERTELJAEHRLICH_SLP", + "ABLESUNG_HALBJAEHRLICH_SLP", + "ABLESUNG_JAEHRLICH_SLP", + "AUSLESUNG_SLP_FERNAUSLESUNG", + "ABLESUNG_SLP_ZUSAETZLICH_MSB", + "ABLESUNG_SLP_ZUSAETZLICH_KUNDE", + "AUSLESUNG_LGK_FERNAUSLESUNG_ZUSAETZLICH_MSB", + "AUSLESUNG_MOATLICH_FERNAUSLESUNG", + "AUSLESUNG_STUENDLICH_FERNAUSLESUNG", + "ABLESUNG_MONATLICH_LGK", + "AUSLESUNG_TEMERATURMENGENUMWERTER", + "AUSLESUNG_ZUSTANDSMENGENUMWERTER", + "AUSLESUNG_SYSTEMMENGENUMWERTER", + "AUSLESUNG_VORGANG_SLP", + "AUSLESUUNG_KOMPAKTMENGENUMWERTER", + "AUSLESUNG_MDE_LGK", + "SPERRUNG_SLP", + "ENTSPERRUNG_SLP", + "SPERRUNG_RLM", + "ENTSPERRUNG_RLM", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "bezeichnung": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "dienstleistungstyp", + "bezeichnung" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geokoordinaten": { + "type": [ + "object", + "null" + ], + "properties": { + "breitengrad": { + "type": "number" + }, + "laengengrad": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "breitengrad", + "laengengrad" + ] + }, + "Geraet": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraeteart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ] + } + } + }, + "Geraeteeigenschaften": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetetyp": { + "type": "string", + "enum": [ + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "geraetemerkmal": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "Parameter": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": [ + "string", + "null" + ] + } + } + }, + "required": [ + "geraetetyp" + ] + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Hardware": { + "type": [ + "object", + "null" + ], + "properties": { + "geraetetyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "bezeichnung": { + "type": "string" + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraetereferenz": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung" + ] + }, + "Katasteradresse": { + "type": [ + "object", + "null" + ], + "properties": { + "gemarkung_flur": { + "type": "string" + }, + "flurstueck": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "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" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "kosten": { + "type": [ + "number", + "null" + ] + }, + "kategorie": { + "type": [ + "string", + "null" + ] + }, + "satz": { + "type": "string", + "enum": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ] + } + }, + "required": [ + "satz" + ] + }, + "Marktlokation": { + "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" + ] + }, + "marktlokationsId": { + "type": [ + "string", + "null" + ], + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "energierichtung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] + }, + "bilanzierungsmethode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbar": { + "type": [ + "boolean", + "null" + ] + }, + "netzebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "netzbetreiberCodeNr": { + "type": [ + "string", + "null" + ] + }, + "gebietTyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "REGELZONE", + "MARKTGEBIET", + "BILANZIERUNGSGEBIET", + "VERTEILNETZ", + "TRANSPORTNETZ", + "REGIONALNETZ", + "AREALNETZ", + "GRUNDVERSORGUNGSGEBIET", + "VERSORGUNGSGEBIET" + ] + }, + "netzgebietNr": { + "type": [ + "string", + "null" + ] + }, + "bilanzierungsgebiet": { + "type": [ + "string", + "null" + ] + }, + "grundversorgerCodeNr": { + "type": [ + "string", + "null" + ] + }, + "gasqualitaet": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "H_GAS", + "HGAS", + "L_GAS", + "LGAS" + ] + }, + "endkunde": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "lokationsadresse": { + "$ref": "#/definitions/Adresse" + }, + "geoadresse": { + "$ref": "#/definitions/Geokoordinaten" + }, + "katasterinformation": { + "$ref": "#/definitions/Katasteradresse" + }, + "marktrollen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "regelzone": { + "type": [ + "string", + "null" + ] + }, + "marktgebiet": { + "type": [ + "string", + "null" + ] + }, + "zeitreihentyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EGS", + "LGS", + "NZR", + "SES", + "SLS", + "TES", + "TLS", + "SLS_TLS", + "SES_TES" + ] + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlwerkeBeteiligteMarktrolle": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "verbrauchsmenge": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verbrauch" + } + }, + "messlokationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messlokation" + } + }, + "zugehoerigeMesslokationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messlokationszuordnung" + } + }, + "messtechnischeEinordnung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "IMS", + "KME_MME", + "KEINE_MESSUNG" + ] + }, + "netznutzungsabrechnungsdaten": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Netznutzungsabrechnungsdaten" + } + }, + "sperrstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ENTSPERRT", + "GESPERRT" + ] + }, + "messprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "konfigurationsprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "sparte" + ] + }, + "MarktpartnerDetails": { + "type": [ + "object", + "null" + ], + "properties": { + "rollencodenummer": { + "type": [ + "string", + "null" + ] + }, + "code": { + "type": [ + "string", + "null" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "weiterverpflichtet": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "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" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + } + }, + "required": [ + "wert" + ] + }, + "Messlokation": { + "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" + ] + }, + "messlokationsId": { + "type": "string", + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "netzebeneMessung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "messgebietNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMSBCodeNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMSBIMCodeNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMDLCodeNr": { + "type": [ + "string", + "null" + ] + }, + "messadresse": { + "$ref": "#/definitions/Adresse" + }, + "geoadresse": { + "$ref": "#/definitions/Geokoordinaten" + }, + "katasterinformation": { + "$ref": "#/definitions/Katasteradresse" + }, + "geraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Hardware" + } + }, + "messdienstleistung": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Dienstleistung" + } + }, + "messlokationszaehler": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehler" + } + }, + "bilanzierungsmethode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "abrechnungmessstellenbetriebnna": { + "type": [ + "boolean", + "null" + ] + }, + "marktrollen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "gasqualitaet": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "H_GAS", + "HGAS", + "L_GAS", + "LGAS" + ] + }, + "verlustfaktor": { + "type": [ + "number", + "null" + ] + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "betriebszustand": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "GESPERRT_NICHT_ENTSPERREN", + "GESPERRT", + "REGELBETRIEB" + ] + }, + "messprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "messlokationsId", + "sparte" + ] + }, + "Messlokationszuordnung": { + "type": [ + "object", + "null" + ], + "properties": { + "messlokationsId": { + "type": "string" + }, + "arithmetik": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ADDITION", + "SUBTRAKTION", + "MULTIPLIKATION", + "DIVISION", + "DIVIDEND", + "POSITIVWERT" + ] + }, + "gueltigSeit": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "gueltigBis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "messlokationsId" + ] + }, + "Messprodukt": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "messproduktId": { + "type": [ + "string", + "null" + ] + }, + "verwendungszwecke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "zaehlzeiten": { + "$ref": "#/definitions/Zaehlzeitregister" + }, + "zweiteMessung": { + "type": [ + "boolean", + "null" + ] + }, + "werteuebermittlungAnNB": { + "type": [ + "boolean", + "null" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + } + } + }, + "Netzlokation": { + "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" + ] + }, + "netzlokationsId": { + "type": "string", + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "netzanschlussleistung": { + "$ref": "#/definitions/Menge" + }, + "grundzustaendigerMSBCodeNr": { + "type": [ + "string", + "null" + ] + }, + "steuerkanal": { + "type": [ + "boolean", + "null" + ] + }, + "obisKennzahl": { + "type": [ + "string", + "null" + ] + }, + "verwendungszweck": { + "$ref": "#/definitions/Verwendungszweck" + }, + "konfigurationsprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "netzlokationsId", + "sparte" + ] + }, + "Netznutzungsabrechnungsdaten": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "artikelId": { + "type": [ + "string", + "null" + ] + }, + "artikelIdTyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARTIKELID", + "GRUPPENARTIKELID" + ] + }, + "anzahl": { + "type": [ + "integer", + "null" + ] + }, + "gemeinderabatt": { + "type": [ + "number", + "null" + ] + }, + "zuschlag": { + "type": [ + "number", + "null" + ] + }, + "abschlag": { + "type": [ + "number", + "null" + ] + }, + "singulaereBetriebsmittel": { + "$ref": "#/definitions/Menge" + }, + "preisSingulaereBetriebsmittel": { + "$ref": "#/definitions/Preis" + }, + "zaehlzeit": { + "$ref": "#/definitions/Zaehlzeitregister" + } + } + }, + "Preis": { + "type": [ + "object", + "null" + ], + "properties": { + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] + }, + "bezugswert": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "StatusZusatzInformation": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "art": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ] + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIF_1", + "TARIF_2", + "TARIF_3", + "TARIF_4", + "TARIF_5", + "TARIF_6", + "TARIF_7", + "TARIF_8", + "TARIF_9", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "KEIN_ZUGANG", + "KOMMUNIKATIONSSTOERUNG", + "NETZAUSFALL", + "SPANNUNGSAUSFALL", + "STATUS_GERAETEWECHSEL", + "KALIBRIERUNG", + "GERAET_ARBEITET_AUSSERHALB_DER_BETRIEBSBEDINGUNGEN", + "MESSEINRICHTUNG_GESTOERT_DEFEKT", + "UNSICHERHEIT_MESSUNG", + "KUNDENSELBSTABLESUNG", + "LEERSTAND", + "REALER_ZAEHLERUEBERLAUF_GEPRUEFT", + "PLAUSIBEL_WG_KONTROLLABLESUNG", + "PLAUSIBEL_WG_KUNDENHINWEIS", + "VERGLEICHSMESSUNG_GEEICHT", + "VERGLEICHSMESSUNG_NICHT_GEEICHT", + "MESSWERTNACHBILDUNG_AUS_GEEICHTEN_WERTEN", + "MESSWERTNACHBILDUNG_AUS_NICHT_GEEICHTEN_WERTEN", + "INTERPOLATION", + "HALTEWERT", + "BILANZIERUNG_NETZABSCHNITT", + "HISTORISCHE_MESSWERTE", + "BERUECKSICHTIGUNG_STOERMENGENZAEHLWERK", + "MENGENUMWERTUNG_VOLLSTAENDIG", + "UHRZEIT_GESTELLT_SYNCHRONISATION", + "MESSWERT_UNPLAUSIBEL", + "FALSCHER_WANDLERFAKTOR", + "FEHLERHAFTE_ABLESUNG", + "AENDERUNG_DER_BERECHNUNG", + "UMBAU_DER_MESSLOKATION", + "DATENBEARBEITUNGSFEHLER", + "BRENNWERTKORREKTUR", + "Z_ZAHL_KORREKTUR", + "STOERUNG_DEFEKT_MESSEINRICHTUNG", + "AENDERUNG_TARIFSCHALTZEITEN", + "TARIFSCHALTGERAET_DEFEKT", + "AUSTAUSCH_DES_ERSATZWERTES", + "IMPULSWERTIGKEIT_NICHT_AUSREICHEND", + "UMSTELLUNG_GASQUALITAET", + "STATISTISCHE_METHODE", + "ENERGIEMENGE_IN_UNGEMESSENEM_ZEITINTERVALL", + "ENERGIEMENGE_AUS_DEM_UNGEPAIRTEN_ZEITINTERVALL", + "AUFTEILUNG", + "VERWENDUNG_VON_WERTEN_DES_STOERMENGENZAEHLWERKS", + "UMGANGS_UND_KORREKTURMENGEN", + "WARTUNGSARBEITEN_AN_GEEICHTEM_MESSGERAET", + "GESTOERTE_WERTE", + "WARTUNGSARBEITEN_AN_EICHRECHTSKONFORMEN_MESSGERAETEN", + "KONSISTENZ_UND_SYNCHRONPRUEFUNG", + "RECHENWERT", + "ANGABEN_MESSLOKATION", + "BASIS_MME", + "GRUND_ANGABEN_MESSLOKATION", + "ANFORDERUNG_IN_DIE_VERGANGENHEIT_ZUM_ANGEFORDERTEN_ZEITPUNKT_LIEGT_KEIN_WERT_VOR" + ] + } + } + }, + "SteuerbareRessource": { + "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" + ] + }, + "steuerbareRessourceId": { + "type": "string", + "default": "|null|" + }, + "steuerkanalsLeistungsbeschreibung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AN_AUS", + "GESTUFT" + ] + }, + "zugeordnetMSBCodeNr": { + "type": [ + "string", + "null" + ] + }, + "konfigurationsprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "steuerbareRessourceId" + ] + }, + "TechnischeRessource": { + "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" + ] + }, + "technischeRessourceId": { + "type": [ + "string", + "null" + ], + "default": "|null|" + }, + "vorgelagerteMesslokationsId": { + "type": [ + "string", + "null" + ] + }, + "zugeordneteMarktlokationsId": { + "type": [ + "string", + "null" + ] + }, + "zugeordneteSteuerbareRessourceId": { + "type": [ + "string", + "null" + ] + }, + "nennleistungAufnahme": { + "$ref": "#/definitions/Menge" + }, + "nennleistungAbgabe": { + "$ref": "#/definitions/Menge" + }, + "speicherkapazitaet": { + "$ref": "#/definitions/Menge" + }, + "technischeRessourceNutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMVERBRAUCHSART", + "STROMERZEUGUNGSART", + "SPEICHER" + ] + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KRAFT_LICHT", + "WAERME", + "E_MOBILITAET", + "STRASSENBELEUCHTUNG" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + }, + "erzeugungsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KWK", + "WIND", + "SOLAR", + "KERNKRAFT", + "WASSER", + "GEOTHERMIE", + "BIOMASSE", + "KOHLE", + "GAS", + "SONSTIGE", + "SONSTIGE_EEG" + ] + }, + "speicherart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WASSERSTOFFSPEICHER", + "PUMPSPEICHER", + "BATTERIESPEICHER", + "SONSTIGE_SPEICHERART" + ] + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + } + }, + "Verbrauch": { + "type": [ + "object", + "null" + ], + "properties": { + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "type": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ] + }, + "tarifstufe": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wertermittlungsverfahren": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "PROGNOSE", + "MESSUNG" + ] + }, + "messwertstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ] + }, + "statuszusatzinformationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string" + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": "string", + "enum": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "nutzungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "ausfuehrungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "obiskennzahl", + "wert", + "einheit" + ] + }, + "Verwendungszweck": { + "type": [ + "object", + "null" + ], + "properties": { + "marktrolle": { + "type": "string", + "enum": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "zweck": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ] + } + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "marktrolle" + ] + }, + "Zaehler": { + "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" + ] + }, + "zaehlernummer": { + "type": "string" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "zaehlerauspraegung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINRICHTUNGSZAEHLER", + "ZWEIRICHTUNGSZAEHLER" + ] + }, + "zaehlertyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ] + }, + "tarifart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ] + }, + "zaehlerkonstante": { + "type": [ + "number", + "null" + ] + }, + "eichungBis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "letzteEichung": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + }, + "minItems": 1 + }, + "zaehlerhersteller": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "gateway": { + "type": [ + "string", + "null" + ] + }, + "fernschaltung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORHANDEN", + "NICHT_VORHANDEN" + ] + }, + "messwerterfassung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "FERNAUSLESBAR", + "MANUELL_AUSGELESENE" + ] + }, + "zaehlertypspezifikation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ] + }, + "befestigungsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ] + }, + "zaehlergroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "geraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Geraet" + } + } + }, + "required": [ + "zaehlernummer", + "sparte" + ] + }, + "Zaehlwerk": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlwerkId": { + "type": [ + "string", + "null" + ] + }, + "bezeichnung": { + "type": [ + "string", + "null" + ] + }, + "richtung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] + }, + "obisKennzahl": { + "type": [ + "string", + "null" + ] + }, + "wandlerfaktor": { + "type": [ + "number", + "null" + ] + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "kennzahl": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + }, + "verwendungszwecke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "konzessionsabgabe": { + "$ref": "#/definitions/Konzessionsabgabe" + }, + "steuerbefreit": { + "type": [ + "boolean", + "null" + ] + }, + "vorkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "nachkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "abrechnungsrelevant": { + "type": [ + "boolean", + "null" + ] + }, + "anzahlAblesungen": { + "type": [ + "integer", + "null" + ] + }, + "zaehlzeiten": { + "$ref": "#/definitions/Zaehlzeitregister" + }, + "konfiguration": { + "type": [ + "string", + "null" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + } + } + }, + "Zaehlzeitregister": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlzeitDefinition": { + "type": [ + "string", + "null" + ] + }, + "register": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + } + } + }, + "Zeitraum": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "marktlokationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Marktlokation" + } + }, + "messlokationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messlokation" + } + }, + "netzlokationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Netzlokation" + } + }, + "technischeRessourcen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/TechnischeRessource" + } + }, + "steuerbareRessourcen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/SteuerbareRessource" + } + }, + "gueltigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zeitraum" + } + }, + "zuordnungstyp": { + "type": [ + "string", + "null" + ] + }, + "lokationsbuendelcode": { + "type": [ + "string", + "null" + ] + } + } +} \ No newline at end of file diff --git a/json-schema-files/MabisZaehlpunkt.json b/json-schema-files/MabisZaehlpunkt.json new file mode 100644 index 00000000..09505c6a --- /dev/null +++ b/json-schema-files/MabisZaehlpunkt.json @@ -0,0 +1,82 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "Id": { + "type": "string", + "default": "|null|" + } + }, + "required": [ + "Id" + ] +} \ No newline at end of file diff --git a/json-schema-files/Marktlokation.json b/json-schema-files/Marktlokation.json new file mode 100644 index 00000000..fcb07bc7 --- /dev/null +++ b/json-schema-files/Marktlokation.json @@ -0,0 +1,3370 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "Dienstleistung": { + "type": [ + "object", + "null" + ], + "properties": { + "dienstleistungstyp": { + "type": "string", + "enum": [ + "DATENBEREITSTELLUNG_TAEGLICH", + "DATENBEREITSTELLUNG_WOECHENTLICH", + "DATENBEREITSTELLUNG_MONATLICH", + "DATENBEREITSTELLUNG_JAEHRLICH", + "DATENBEREITSTELLUNG_HISTORISCHE_LG", + "DATENBEREITSTELLUNG_STUENDLICH", + "DATENBEREITSTELLUNG_VIERTELJAEHRLICH", + "DATENBEREITSTELLUNG_HALBJAEHRLICH", + "DATENBEREITSTELLUNG_MONATLICH_ZUSAETZLICH", + "DATENBEREITSTELLUNG_EINMALIG", + "AUSLESUNG_2X_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_LGK_MANUELL_MSB", + "AUSLESUNG_MONATLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_JAEHRLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_MDE_SLP", + "ABLESUNG_MONATLICH_SLP", + "ABLESUNG_VIERTELJAEHRLICH_SLP", + "ABLESUNG_HALBJAEHRLICH_SLP", + "ABLESUNG_JAEHRLICH_SLP", + "AUSLESUNG_SLP_FERNAUSLESUNG", + "ABLESUNG_SLP_ZUSAETZLICH_MSB", + "ABLESUNG_SLP_ZUSAETZLICH_KUNDE", + "AUSLESUNG_LGK_FERNAUSLESUNG_ZUSAETZLICH_MSB", + "AUSLESUNG_MOATLICH_FERNAUSLESUNG", + "AUSLESUNG_STUENDLICH_FERNAUSLESUNG", + "ABLESUNG_MONATLICH_LGK", + "AUSLESUNG_TEMERATURMENGENUMWERTER", + "AUSLESUNG_ZUSTANDSMENGENUMWERTER", + "AUSLESUNG_SYSTEMMENGENUMWERTER", + "AUSLESUNG_VORGANG_SLP", + "AUSLESUUNG_KOMPAKTMENGENUMWERTER", + "AUSLESUNG_MDE_LGK", + "SPERRUNG_SLP", + "ENTSPERRUNG_SLP", + "SPERRUNG_RLM", + "ENTSPERRUNG_RLM", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "bezeichnung": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "dienstleistungstyp", + "bezeichnung" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geokoordinaten": { + "type": [ + "object", + "null" + ], + "properties": { + "breitengrad": { + "type": "number" + }, + "laengengrad": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "breitengrad", + "laengengrad" + ] + }, + "Geraet": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraeteart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ] + } + } + }, + "Geraeteeigenschaften": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetetyp": { + "type": "string", + "enum": [ + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "geraetemerkmal": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "Parameter": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": [ + "string", + "null" + ] + } + } + }, + "required": [ + "geraetetyp" + ] + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Hardware": { + "type": [ + "object", + "null" + ], + "properties": { + "geraetetyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "bezeichnung": { + "type": "string" + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraetereferenz": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung" + ] + }, + "Katasteradresse": { + "type": [ + "object", + "null" + ], + "properties": { + "gemarkung_flur": { + "type": "string" + }, + "flurstueck": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "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" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "kosten": { + "type": [ + "number", + "null" + ] + }, + "kategorie": { + "type": [ + "string", + "null" + ] + }, + "satz": { + "type": "string", + "enum": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ] + } + }, + "required": [ + "satz" + ] + }, + "MarktpartnerDetails": { + "type": [ + "object", + "null" + ], + "properties": { + "rollencodenummer": { + "type": [ + "string", + "null" + ] + }, + "code": { + "type": [ + "string", + "null" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "weiterverpflichtet": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "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" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + } + }, + "required": [ + "wert" + ] + }, + "Messlokation": { + "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" + ] + }, + "messlokationsId": { + "type": "string", + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "netzebeneMessung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "messgebietNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMSBCodeNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMSBIMCodeNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMDLCodeNr": { + "type": [ + "string", + "null" + ] + }, + "messadresse": { + "$ref": "#/definitions/Adresse" + }, + "geoadresse": { + "$ref": "#/definitions/Geokoordinaten" + }, + "katasterinformation": { + "$ref": "#/definitions/Katasteradresse" + }, + "geraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Hardware" + } + }, + "messdienstleistung": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Dienstleistung" + } + }, + "messlokationszaehler": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehler" + } + }, + "bilanzierungsmethode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "abrechnungmessstellenbetriebnna": { + "type": [ + "boolean", + "null" + ] + }, + "marktrollen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "gasqualitaet": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "H_GAS", + "HGAS", + "L_GAS", + "LGAS" + ] + }, + "verlustfaktor": { + "type": [ + "number", + "null" + ] + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "betriebszustand": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "GESPERRT_NICHT_ENTSPERREN", + "GESPERRT", + "REGELBETRIEB" + ] + }, + "messprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "messlokationsId", + "sparte" + ] + }, + "Messlokationszuordnung": { + "type": [ + "object", + "null" + ], + "properties": { + "messlokationsId": { + "type": "string" + }, + "arithmetik": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ADDITION", + "SUBTRAKTION", + "MULTIPLIKATION", + "DIVISION", + "DIVIDEND", + "POSITIVWERT" + ] + }, + "gueltigSeit": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "gueltigBis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "messlokationsId" + ] + }, + "Messprodukt": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "messproduktId": { + "type": [ + "string", + "null" + ] + }, + "verwendungszwecke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "zaehlzeiten": { + "$ref": "#/definitions/Zaehlzeitregister" + }, + "zweiteMessung": { + "type": [ + "boolean", + "null" + ] + }, + "werteuebermittlungAnNB": { + "type": [ + "boolean", + "null" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + } + } + }, + "Netznutzungsabrechnungsdaten": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "artikelId": { + "type": [ + "string", + "null" + ] + }, + "artikelIdTyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARTIKELID", + "GRUPPENARTIKELID" + ] + }, + "anzahl": { + "type": [ + "integer", + "null" + ] + }, + "gemeinderabatt": { + "type": [ + "number", + "null" + ] + }, + "zuschlag": { + "type": [ + "number", + "null" + ] + }, + "abschlag": { + "type": [ + "number", + "null" + ] + }, + "singulaereBetriebsmittel": { + "$ref": "#/definitions/Menge" + }, + "preisSingulaereBetriebsmittel": { + "$ref": "#/definitions/Preis" + }, + "zaehlzeit": { + "$ref": "#/definitions/Zaehlzeitregister" + } + } + }, + "Preis": { + "type": [ + "object", + "null" + ], + "properties": { + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] + }, + "bezugswert": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "StatusZusatzInformation": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "art": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ] + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIF_1", + "TARIF_2", + "TARIF_3", + "TARIF_4", + "TARIF_5", + "TARIF_6", + "TARIF_7", + "TARIF_8", + "TARIF_9", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "KEIN_ZUGANG", + "KOMMUNIKATIONSSTOERUNG", + "NETZAUSFALL", + "SPANNUNGSAUSFALL", + "STATUS_GERAETEWECHSEL", + "KALIBRIERUNG", + "GERAET_ARBEITET_AUSSERHALB_DER_BETRIEBSBEDINGUNGEN", + "MESSEINRICHTUNG_GESTOERT_DEFEKT", + "UNSICHERHEIT_MESSUNG", + "KUNDENSELBSTABLESUNG", + "LEERSTAND", + "REALER_ZAEHLERUEBERLAUF_GEPRUEFT", + "PLAUSIBEL_WG_KONTROLLABLESUNG", + "PLAUSIBEL_WG_KUNDENHINWEIS", + "VERGLEICHSMESSUNG_GEEICHT", + "VERGLEICHSMESSUNG_NICHT_GEEICHT", + "MESSWERTNACHBILDUNG_AUS_GEEICHTEN_WERTEN", + "MESSWERTNACHBILDUNG_AUS_NICHT_GEEICHTEN_WERTEN", + "INTERPOLATION", + "HALTEWERT", + "BILANZIERUNG_NETZABSCHNITT", + "HISTORISCHE_MESSWERTE", + "BERUECKSICHTIGUNG_STOERMENGENZAEHLWERK", + "MENGENUMWERTUNG_VOLLSTAENDIG", + "UHRZEIT_GESTELLT_SYNCHRONISATION", + "MESSWERT_UNPLAUSIBEL", + "FALSCHER_WANDLERFAKTOR", + "FEHLERHAFTE_ABLESUNG", + "AENDERUNG_DER_BERECHNUNG", + "UMBAU_DER_MESSLOKATION", + "DATENBEARBEITUNGSFEHLER", + "BRENNWERTKORREKTUR", + "Z_ZAHL_KORREKTUR", + "STOERUNG_DEFEKT_MESSEINRICHTUNG", + "AENDERUNG_TARIFSCHALTZEITEN", + "TARIFSCHALTGERAET_DEFEKT", + "AUSTAUSCH_DES_ERSATZWERTES", + "IMPULSWERTIGKEIT_NICHT_AUSREICHEND", + "UMSTELLUNG_GASQUALITAET", + "STATISTISCHE_METHODE", + "ENERGIEMENGE_IN_UNGEMESSENEM_ZEITINTERVALL", + "ENERGIEMENGE_AUS_DEM_UNGEPAIRTEN_ZEITINTERVALL", + "AUFTEILUNG", + "VERWENDUNG_VON_WERTEN_DES_STOERMENGENZAEHLWERKS", + "UMGANGS_UND_KORREKTURMENGEN", + "WARTUNGSARBEITEN_AN_GEEICHTEM_MESSGERAET", + "GESTOERTE_WERTE", + "WARTUNGSARBEITEN_AN_EICHRECHTSKONFORMEN_MESSGERAETEN", + "KONSISTENZ_UND_SYNCHRONPRUEFUNG", + "RECHENWERT", + "ANGABEN_MESSLOKATION", + "BASIS_MME", + "GRUND_ANGABEN_MESSLOKATION", + "ANFORDERUNG_IN_DIE_VERGANGENHEIT_ZUM_ANGEFORDERTEN_ZEITPUNKT_LIEGT_KEIN_WERT_VOR" + ] + } + } + }, + "Verbrauch": { + "type": [ + "object", + "null" + ], + "properties": { + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "type": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ] + }, + "tarifstufe": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wertermittlungsverfahren": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "PROGNOSE", + "MESSUNG" + ] + }, + "messwertstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ] + }, + "statuszusatzinformationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string" + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": "string", + "enum": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "nutzungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "ausfuehrungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "obiskennzahl", + "wert", + "einheit" + ] + }, + "Verwendungszweck": { + "type": [ + "object", + "null" + ], + "properties": { + "marktrolle": { + "type": "string", + "enum": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "zweck": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ] + } + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "marktrolle" + ] + }, + "Zaehler": { + "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" + ] + }, + "zaehlernummer": { + "type": "string" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "zaehlerauspraegung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINRICHTUNGSZAEHLER", + "ZWEIRICHTUNGSZAEHLER" + ] + }, + "zaehlertyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ] + }, + "tarifart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ] + }, + "zaehlerkonstante": { + "type": [ + "number", + "null" + ] + }, + "eichungBis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "letzteEichung": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + }, + "minItems": 1 + }, + "zaehlerhersteller": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "gateway": { + "type": [ + "string", + "null" + ] + }, + "fernschaltung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORHANDEN", + "NICHT_VORHANDEN" + ] + }, + "messwerterfassung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "FERNAUSLESBAR", + "MANUELL_AUSGELESENE" + ] + }, + "zaehlertypspezifikation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ] + }, + "befestigungsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ] + }, + "zaehlergroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "geraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Geraet" + } + } + }, + "required": [ + "zaehlernummer", + "sparte" + ] + }, + "Zaehlwerk": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlwerkId": { + "type": [ + "string", + "null" + ] + }, + "bezeichnung": { + "type": [ + "string", + "null" + ] + }, + "richtung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] + }, + "obisKennzahl": { + "type": [ + "string", + "null" + ] + }, + "wandlerfaktor": { + "type": [ + "number", + "null" + ] + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "kennzahl": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + }, + "verwendungszwecke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "konzessionsabgabe": { + "$ref": "#/definitions/Konzessionsabgabe" + }, + "steuerbefreit": { + "type": [ + "boolean", + "null" + ] + }, + "vorkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "nachkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "abrechnungsrelevant": { + "type": [ + "boolean", + "null" + ] + }, + "anzahlAblesungen": { + "type": [ + "integer", + "null" + ] + }, + "zaehlzeiten": { + "$ref": "#/definitions/Zaehlzeitregister" + }, + "konfiguration": { + "type": [ + "string", + "null" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + } + } + }, + "Zaehlzeitregister": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlzeitDefinition": { + "type": [ + "string", + "null" + ] + }, + "register": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + } + } + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "marktlokationsId": { + "type": [ + "string", + "null" + ], + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "energierichtung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] + }, + "bilanzierungsmethode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbar": { + "type": [ + "boolean", + "null" + ] + }, + "netzebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "netzbetreiberCodeNr": { + "type": [ + "string", + "null" + ] + }, + "gebietTyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "REGELZONE", + "MARKTGEBIET", + "BILANZIERUNGSGEBIET", + "VERTEILNETZ", + "TRANSPORTNETZ", + "REGIONALNETZ", + "AREALNETZ", + "GRUNDVERSORGUNGSGEBIET", + "VERSORGUNGSGEBIET" + ] + }, + "netzgebietNr": { + "type": [ + "string", + "null" + ] + }, + "bilanzierungsgebiet": { + "type": [ + "string", + "null" + ] + }, + "grundversorgerCodeNr": { + "type": [ + "string", + "null" + ] + }, + "gasqualitaet": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "H_GAS", + "HGAS", + "L_GAS", + "LGAS" + ] + }, + "endkunde": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "lokationsadresse": { + "$ref": "#/definitions/Adresse" + }, + "geoadresse": { + "$ref": "#/definitions/Geokoordinaten" + }, + "katasterinformation": { + "$ref": "#/definitions/Katasteradresse" + }, + "marktrollen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "regelzone": { + "type": [ + "string", + "null" + ] + }, + "marktgebiet": { + "type": [ + "string", + "null" + ] + }, + "zeitreihentyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EGS", + "LGS", + "NZR", + "SES", + "SLS", + "TES", + "TLS", + "SLS_TLS", + "SES_TES" + ] + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlwerkeBeteiligteMarktrolle": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "verbrauchsmenge": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verbrauch" + } + }, + "messlokationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messlokation" + } + }, + "zugehoerigeMesslokationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messlokationszuordnung" + } + }, + "messtechnischeEinordnung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "IMS", + "KME_MME", + "KEINE_MESSUNG" + ] + }, + "netznutzungsabrechnungsdaten": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Netznutzungsabrechnungsdaten" + } + }, + "sperrstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ENTSPERRT", + "GESPERRT" + ] + }, + "messprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "konfigurationsprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "sparte" + ] +} \ No newline at end of file diff --git a/json-schema-files/Marktteilnehmer.json b/json-schema-files/Marktteilnehmer.json new file mode 100644 index 00000000..495c68d5 --- /dev/null +++ b/json-schema-files/Marktteilnehmer.json @@ -0,0 +1,1016 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "rollencodenummer": { + "type": "string" + }, + "rollencodetyp": { + "type": "string", + "enum": [ + "ZERO", + "GLN", + "BDEW", + "DVGW" + ] + }, + "makoadresse": { + "type": [ + "string", + "null" + ] + }, + "ansprechpartner": { + "$ref": "#/definitions/Ansprechpartner" + } + }, + "required": [ + "gewerbekennzeichnung", + "rollencodenummer", + "rollencodetyp" + ] +} \ No newline at end of file diff --git a/json-schema-files/Messlokation.json b/json-schema-files/Messlokation.json new file mode 100644 index 00000000..5177353f --- /dev/null +++ b/json-schema-files/Messlokation.json @@ -0,0 +1,2023 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Dienstleistung": { + "type": [ + "object", + "null" + ], + "properties": { + "dienstleistungstyp": { + "type": "string", + "enum": [ + "DATENBEREITSTELLUNG_TAEGLICH", + "DATENBEREITSTELLUNG_WOECHENTLICH", + "DATENBEREITSTELLUNG_MONATLICH", + "DATENBEREITSTELLUNG_JAEHRLICH", + "DATENBEREITSTELLUNG_HISTORISCHE_LG", + "DATENBEREITSTELLUNG_STUENDLICH", + "DATENBEREITSTELLUNG_VIERTELJAEHRLICH", + "DATENBEREITSTELLUNG_HALBJAEHRLICH", + "DATENBEREITSTELLUNG_MONATLICH_ZUSAETZLICH", + "DATENBEREITSTELLUNG_EINMALIG", + "AUSLESUNG_2X_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_LGK_MANUELL_MSB", + "AUSLESUNG_MONATLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_JAEHRLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_MDE_SLP", + "ABLESUNG_MONATLICH_SLP", + "ABLESUNG_VIERTELJAEHRLICH_SLP", + "ABLESUNG_HALBJAEHRLICH_SLP", + "ABLESUNG_JAEHRLICH_SLP", + "AUSLESUNG_SLP_FERNAUSLESUNG", + "ABLESUNG_SLP_ZUSAETZLICH_MSB", + "ABLESUNG_SLP_ZUSAETZLICH_KUNDE", + "AUSLESUNG_LGK_FERNAUSLESUNG_ZUSAETZLICH_MSB", + "AUSLESUNG_MOATLICH_FERNAUSLESUNG", + "AUSLESUNG_STUENDLICH_FERNAUSLESUNG", + "ABLESUNG_MONATLICH_LGK", + "AUSLESUNG_TEMERATURMENGENUMWERTER", + "AUSLESUNG_ZUSTANDSMENGENUMWERTER", + "AUSLESUNG_SYSTEMMENGENUMWERTER", + "AUSLESUNG_VORGANG_SLP", + "AUSLESUUNG_KOMPAKTMENGENUMWERTER", + "AUSLESUNG_MDE_LGK", + "SPERRUNG_SLP", + "ENTSPERRUNG_SLP", + "SPERRUNG_RLM", + "ENTSPERRUNG_RLM", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "bezeichnung": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "dienstleistungstyp", + "bezeichnung" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geokoordinaten": { + "type": [ + "object", + "null" + ], + "properties": { + "breitengrad": { + "type": "number" + }, + "laengengrad": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "breitengrad", + "laengengrad" + ] + }, + "Geraet": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraeteart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ] + } + } + }, + "Geraeteeigenschaften": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetetyp": { + "type": "string", + "enum": [ + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "geraetemerkmal": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "Parameter": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": [ + "string", + "null" + ] + } + } + }, + "required": [ + "geraetetyp" + ] + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Hardware": { + "type": [ + "object", + "null" + ], + "properties": { + "geraetetyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "bezeichnung": { + "type": "string" + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraetereferenz": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung" + ] + }, + "Katasteradresse": { + "type": [ + "object", + "null" + ], + "properties": { + "gemarkung_flur": { + "type": "string" + }, + "flurstueck": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "gemarkung_flur", + "flurstueck" + ] + }, + "Konzessionsabgabe": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "kosten": { + "type": [ + "number", + "null" + ] + }, + "kategorie": { + "type": [ + "string", + "null" + ] + }, + "satz": { + "type": "string", + "enum": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ] + } + }, + "required": [ + "satz" + ] + }, + "MarktpartnerDetails": { + "type": [ + "object", + "null" + ], + "properties": { + "rollencodenummer": { + "type": [ + "string", + "null" + ] + }, + "code": { + "type": [ + "string", + "null" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "weiterverpflichtet": { + "type": [ + "boolean", + "null" + ] + } + } + }, + "Messprodukt": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "messproduktId": { + "type": [ + "string", + "null" + ] + }, + "verwendungszwecke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "zaehlzeiten": { + "$ref": "#/definitions/Zaehlzeitregister" + }, + "zweiteMessung": { + "type": [ + "boolean", + "null" + ] + }, + "werteuebermittlungAnNB": { + "type": [ + "boolean", + "null" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + } + } + }, + "Verwendungszweck": { + "type": [ + "object", + "null" + ], + "properties": { + "marktrolle": { + "type": "string", + "enum": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "zweck": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ] + } + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "marktrolle" + ] + }, + "Zaehler": { + "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" + ] + }, + "zaehlernummer": { + "type": "string" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "zaehlerauspraegung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINRICHTUNGSZAEHLER", + "ZWEIRICHTUNGSZAEHLER" + ] + }, + "zaehlertyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ] + }, + "tarifart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ] + }, + "zaehlerkonstante": { + "type": [ + "number", + "null" + ] + }, + "eichungBis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "letzteEichung": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + }, + "minItems": 1 + }, + "zaehlerhersteller": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "gateway": { + "type": [ + "string", + "null" + ] + }, + "fernschaltung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORHANDEN", + "NICHT_VORHANDEN" + ] + }, + "messwerterfassung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "FERNAUSLESBAR", + "MANUELL_AUSGELESENE" + ] + }, + "zaehlertypspezifikation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ] + }, + "befestigungsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ] + }, + "zaehlergroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "geraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Geraet" + } + } + }, + "required": [ + "zaehlernummer", + "sparte" + ] + }, + "Zaehlwerk": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlwerkId": { + "type": [ + "string", + "null" + ] + }, + "bezeichnung": { + "type": [ + "string", + "null" + ] + }, + "richtung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] + }, + "obisKennzahl": { + "type": [ + "string", + "null" + ] + }, + "wandlerfaktor": { + "type": [ + "number", + "null" + ] + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "kennzahl": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + }, + "verwendungszwecke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "konzessionsabgabe": { + "$ref": "#/definitions/Konzessionsabgabe" + }, + "steuerbefreit": { + "type": [ + "boolean", + "null" + ] + }, + "vorkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "nachkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "abrechnungsrelevant": { + "type": [ + "boolean", + "null" + ] + }, + "anzahlAblesungen": { + "type": [ + "integer", + "null" + ] + }, + "zaehlzeiten": { + "$ref": "#/definitions/Zaehlzeitregister" + }, + "konfiguration": { + "type": [ + "string", + "null" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + } + } + }, + "Zaehlzeitregister": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlzeitDefinition": { + "type": [ + "string", + "null" + ] + }, + "register": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "messlokationsId": { + "type": "string", + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "netzebeneMessung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "messgebietNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMSBCodeNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMSBIMCodeNr": { + "type": [ + "string", + "null" + ] + }, + "grundzustaendigerMDLCodeNr": { + "type": [ + "string", + "null" + ] + }, + "messadresse": { + "$ref": "#/definitions/Adresse" + }, + "geoadresse": { + "$ref": "#/definitions/Geokoordinaten" + }, + "katasterinformation": { + "$ref": "#/definitions/Katasteradresse" + }, + "geraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Hardware" + } + }, + "messdienstleistung": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Dienstleistung" + } + }, + "messlokationszaehler": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehler" + } + }, + "bilanzierungsmethode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "abrechnungmessstellenbetriebnna": { + "type": [ + "boolean", + "null" + ] + }, + "marktrollen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "gasqualitaet": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "H_GAS", + "HGAS", + "L_GAS", + "LGAS" + ] + }, + "verlustfaktor": { + "type": [ + "number", + "null" + ] + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "betriebszustand": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "GESPERRT_NICHT_ENTSPERREN", + "GESPERRT", + "REGELBETRIEB" + ] + }, + "messprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "messlokationsId", + "sparte" + ] +} \ No newline at end of file diff --git a/json-schema-files/Netzlokation.json b/json-schema-files/Netzlokation.json new file mode 100644 index 00000000..beb88d96 --- /dev/null +++ b/json-schema-files/Netzlokation.json @@ -0,0 +1,1300 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "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" + } + } + }, + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "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" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + } + }, + "required": [ + "wert" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "Verwendungszweck": { + "type": [ + "object", + "null" + ], + "properties": { + "marktrolle": { + "type": "string", + "enum": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "zweck": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ] + } + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "marktrolle" + ] + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "netzlokationsId": { + "type": "string", + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "netzanschlussleistung": { + "$ref": "#/definitions/Menge" + }, + "grundzustaendigerMSBCodeNr": { + "type": [ + "string", + "null" + ] + }, + "steuerkanal": { + "type": [ + "boolean", + "null" + ] + }, + "obisKennzahl": { + "type": [ + "string", + "null" + ] + }, + "verwendungszweck": { + "$ref": "#/definitions/Verwendungszweck" + }, + "konfigurationsprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "netzlokationsId", + "sparte" + ] +} \ No newline at end of file diff --git a/json-schema-files/Preisblatt.json b/json-schema-files/Preisblatt.json new file mode 100644 index 00000000..7fd1a504 --- /dev/null +++ b/json-schema-files/Preisblatt.json @@ -0,0 +1,680 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "PositionsAufAbschlag": { + "type": [ + "object", + "null" + ], + "properties": { + "bezeichnung": { + "type": "string" + }, + "beschreibung": { + "type": "string" + }, + "aufAbschlagstyp": { + "type": "string", + "enum": [ + "RELATIV", + "ABSOLUT" + ] + }, + "aufAbschlagswert": { + "type": "number" + }, + "aufAbschlagswaehrung": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung", + "beschreibung", + "aufAbschlagstyp", + "aufAbschlagswert", + "aufAbschlagswaehrung" + ] + }, + "Preisposition": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "berechnungsmethode": { + "type": "string", + "enum": [ + "KEINE", + "STAFFELN", + "ZONEN", + "VORZONEN_GP", + "SIGMOID", + "BLINDARBEIT_GT_50_PROZENT", + "BLINDARBEIT_GT_40_PROZENT", + "AP_GP_ZONEN", + "LP_INSTALL_LEISTUNG", + "AP_TRANSPORT_ODER_VERTEILNETZ", + "AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "LP_JAHRESVERBRAUCH", + "LP_TRANSPORT_ODER_VERTEILNETZ", + "LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "FUNKTIONEN", + "VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK" + ] + }, + "leistungstyp": { + "type": "string", + "enum": [ + "ARBEITSPREIS_WIRKARBEIT", + "LEISTUNGSPREIS_WIRKLEISTUNG", + "ARBEITSPREIS_BLINDARBEIT_IND", + "ARBEITSPREIS_BLINDARBEIT_KAP", + "GRUNDPREIS", + "MEHRMINDERMENGE", + "MESSSTELLENBETRIEB", + "MESSDIENSTLEISTUNG", + "MESSDIENSTLEISTUNG_INKL_MESSUNG", + "ABRECHNUNG", + "KONZESSIONS_ABGABE", + "KWK_UMLAGE", + "OFFSHORE_UMLAGE", + "ABLAV_UMLAGE", + "REGELENERGIE_UMLAGE", + "BILANZIERUNG_UMLAGE", + "AUSLESUNG_ZUSAETZLICH", + "ABLESUNG_ZUSAETZLICH", + "ABRECHNUNG_ZUSAETZLICH", + "SPERRUNG", + "ENTSPERRUNG", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "leistungsbezeichnung": { + "type": "string" + }, + "preiseinheit": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "bezugsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "zeitbasis": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "tarifzeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TZ_STANDARD", + "TZ_HT", + "TZ_NT" + ] + }, + "bdewArtikelnummer": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LEISTUNG", + "LEISTUNG_PAUSCHAL", + "GRUNDPREIS", + "REGELENERGIE_ARBEIT", + "REGELENERGIE_LEISTUNG", + "NOTSTROMLIEFERUNG_ARBEIT", + "NOTSTROMLIEFERUNG_LEISTUNG", + "RESERVENETZKAPAZITAET", + "RESERVELEISTUNG", + "ZUSAETZLICHE_ABLESUNG", + "PRUEFGEBUEHREN_AUSSERPLANMAESSIG", + "WIRKARBEIT", + "SINGULAER_GENUTZTE_BETRIEBSMITTEL", + "ABGABE_KWKG", + "ABSCHLAG", + "KONZESSIONSABGABE", + "ENTGELT_FERNAUSLESUNG", + "UNTERMESSUNG", + "BLINDMEHRARBEIT", + "ENTGELT_ABRECHNUNG", + "SPERRKOSTEN", + "ENTSPERRKOSTEN", + "MAHNKOSTEN", + "MEHR_MINDERMENGEN", + "INKASSOKOSTEN", + "BLINDMEHRLEISTUNG", + "ENTGELT_MESSUNG_ABLESUNG", + "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK", + "AUSGLEICHSENERGIE", + "AUSGLEICHSENERGIE_UNTERDECKUNG", + "ZAEHLEINRICHTUNG", + "WANDLER_MENGENUMWERTER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "PARAGRAF_19_STROM_NEV_UMLAGE", + "BEFESTIGUNGSEINRICHTUNG", + "OFFSHORE_HAFTUNGSUMLAGE", + "FIXE_ARBEITSENTGELTKOMPONENTE", + "FIXE_LEISTUNGSENTGELTKOMPONENTE", + "UMLAGE_ABSCHALTBARE_LASTEN", + "MEHRMENGE", + "MINDERMENGE", + "ENERGIESTEUER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "MSB_INKL_MESSUNG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_1_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_2_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_3_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_4_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_5_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_3_MSBG" + ] + }, + "zonungsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ] + }, + "zu_abschlaege": { + "$ref": "#/definitions/PositionsAufAbschlag" + }, + "preisstaffeln": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": [ + "string", + "null" + ] + }, + "positionsnummer": { + "type": [ + "integer", + "null" + ] + }, + "messebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "verarbeitungszeitraum": { + "$ref": "#/definitions/Zeitraum-1" + }, + "artikelId": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "berechnungsmethode", + "leistungstyp", + "leistungsbezeichnung", + "preiseinheit", + "preisstaffeln" + ] + }, + "Preisstaffel": { + "type": [ + "object", + "null" + ], + "properties": { + "einheitspreis": { + "type": "number" + }, + "staffelgrenzeVon": { + "type": "number" + }, + "staffelgrenzeBis": { + "type": "number" + }, + "sigmoidparameter": { + "$ref": "#/definitions/Sigmoidparameter" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "einheitspreis", + "staffelgrenzeVon", + "staffelgrenzeBis" + ] + }, + "Sigmoidparameter": { + "type": [ + "object", + "null" + ], + "properties": { + "A": { + "type": "number" + }, + "B": { + "type": "number" + }, + "C": { + "type": "number" + }, + "D": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "A", + "B", + "C", + "D" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zeitraum-1": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + } + }, + "type": "object", + "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" + ] + }, + "bezeichnung": { + "type": "string" + }, + "gueltigkeit": { + "$ref": "#/definitions/Zeitraum" + }, + "preispositionen": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + } + }, + "required": [ + "bezeichnung", + "gueltigkeit", + "preispositionen" + ] +} \ No newline at end of file diff --git a/json-schema-files/PreisblattDienstleistung.json b/json-schema-files/PreisblattDienstleistung.json new file mode 100644 index 00000000..2b805649 --- /dev/null +++ b/json-schema-files/PreisblattDienstleistung.json @@ -0,0 +1,1724 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Marktteilnehmer": { + "type": "object", + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "rollencodenummer": { + "type": "string" + }, + "rollencodetyp": { + "type": "string", + "enum": [ + "ZERO", + "GLN", + "BDEW", + "DVGW" + ] + }, + "makoadresse": { + "type": [ + "string", + "null" + ] + }, + "ansprechpartner": { + "$ref": "#/definitions/Ansprechpartner" + } + }, + "required": [ + "gewerbekennzeichnung", + "rollencodenummer", + "rollencodetyp" + ] + }, + "PositionsAufAbschlag": { + "type": [ + "object", + "null" + ], + "properties": { + "bezeichnung": { + "type": "string" + }, + "beschreibung": { + "type": "string" + }, + "aufAbschlagstyp": { + "type": "string", + "enum": [ + "RELATIV", + "ABSOLUT" + ] + }, + "aufAbschlagswert": { + "type": "number" + }, + "aufAbschlagswaehrung": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung", + "beschreibung", + "aufAbschlagstyp", + "aufAbschlagswert", + "aufAbschlagswaehrung" + ] + }, + "Preisposition": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "berechnungsmethode": { + "type": "string", + "enum": [ + "KEINE", + "STAFFELN", + "ZONEN", + "VORZONEN_GP", + "SIGMOID", + "BLINDARBEIT_GT_50_PROZENT", + "BLINDARBEIT_GT_40_PROZENT", + "AP_GP_ZONEN", + "LP_INSTALL_LEISTUNG", + "AP_TRANSPORT_ODER_VERTEILNETZ", + "AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "LP_JAHRESVERBRAUCH", + "LP_TRANSPORT_ODER_VERTEILNETZ", + "LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "FUNKTIONEN", + "VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK" + ] + }, + "leistungstyp": { + "type": "string", + "enum": [ + "ARBEITSPREIS_WIRKARBEIT", + "LEISTUNGSPREIS_WIRKLEISTUNG", + "ARBEITSPREIS_BLINDARBEIT_IND", + "ARBEITSPREIS_BLINDARBEIT_KAP", + "GRUNDPREIS", + "MEHRMINDERMENGE", + "MESSSTELLENBETRIEB", + "MESSDIENSTLEISTUNG", + "MESSDIENSTLEISTUNG_INKL_MESSUNG", + "ABRECHNUNG", + "KONZESSIONS_ABGABE", + "KWK_UMLAGE", + "OFFSHORE_UMLAGE", + "ABLAV_UMLAGE", + "REGELENERGIE_UMLAGE", + "BILANZIERUNG_UMLAGE", + "AUSLESUNG_ZUSAETZLICH", + "ABLESUNG_ZUSAETZLICH", + "ABRECHNUNG_ZUSAETZLICH", + "SPERRUNG", + "ENTSPERRUNG", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "leistungsbezeichnung": { + "type": "string" + }, + "preiseinheit": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "bezugsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "zeitbasis": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "tarifzeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TZ_STANDARD", + "TZ_HT", + "TZ_NT" + ] + }, + "bdewArtikelnummer": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LEISTUNG", + "LEISTUNG_PAUSCHAL", + "GRUNDPREIS", + "REGELENERGIE_ARBEIT", + "REGELENERGIE_LEISTUNG", + "NOTSTROMLIEFERUNG_ARBEIT", + "NOTSTROMLIEFERUNG_LEISTUNG", + "RESERVENETZKAPAZITAET", + "RESERVELEISTUNG", + "ZUSAETZLICHE_ABLESUNG", + "PRUEFGEBUEHREN_AUSSERPLANMAESSIG", + "WIRKARBEIT", + "SINGULAER_GENUTZTE_BETRIEBSMITTEL", + "ABGABE_KWKG", + "ABSCHLAG", + "KONZESSIONSABGABE", + "ENTGELT_FERNAUSLESUNG", + "UNTERMESSUNG", + "BLINDMEHRARBEIT", + "ENTGELT_ABRECHNUNG", + "SPERRKOSTEN", + "ENTSPERRKOSTEN", + "MAHNKOSTEN", + "MEHR_MINDERMENGEN", + "INKASSOKOSTEN", + "BLINDMEHRLEISTUNG", + "ENTGELT_MESSUNG_ABLESUNG", + "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK", + "AUSGLEICHSENERGIE", + "AUSGLEICHSENERGIE_UNTERDECKUNG", + "ZAEHLEINRICHTUNG", + "WANDLER_MENGENUMWERTER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "PARAGRAF_19_STROM_NEV_UMLAGE", + "BEFESTIGUNGSEINRICHTUNG", + "OFFSHORE_HAFTUNGSUMLAGE", + "FIXE_ARBEITSENTGELTKOMPONENTE", + "FIXE_LEISTUNGSENTGELTKOMPONENTE", + "UMLAGE_ABSCHALTBARE_LASTEN", + "MEHRMENGE", + "MINDERMENGE", + "ENERGIESTEUER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "MSB_INKL_MESSUNG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_1_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_2_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_3_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_4_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_5_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_3_MSBG" + ] + }, + "zonungsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ] + }, + "zu_abschlaege": { + "$ref": "#/definitions/PositionsAufAbschlag" + }, + "preisstaffeln": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": [ + "string", + "null" + ] + }, + "positionsnummer": { + "type": [ + "integer", + "null" + ] + }, + "messebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "verarbeitungszeitraum": { + "$ref": "#/definitions/Zeitraum-1" + }, + "artikelId": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "berechnungsmethode", + "leistungstyp", + "leistungsbezeichnung", + "preiseinheit", + "preisstaffeln" + ] + }, + "Preisstaffel": { + "type": [ + "object", + "null" + ], + "properties": { + "einheitspreis": { + "type": "number" + }, + "staffelgrenzeVon": { + "type": "number" + }, + "staffelgrenzeBis": { + "type": "number" + }, + "sigmoidparameter": { + "$ref": "#/definitions/Sigmoidparameter" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "einheitspreis", + "staffelgrenzeVon", + "staffelgrenzeBis" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "Sigmoidparameter": { + "type": [ + "object", + "null" + ], + "properties": { + "A": { + "type": "number" + }, + "B": { + "type": "number" + }, + "C": { + "type": "number" + }, + "D": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "A", + "B", + "C", + "D" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zeitraum-1": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "dienstleistungsdetails": { + "type": "string", + "enum": [ + "DATENBEREITSTELLUNG_TAEGLICH", + "DATENBEREITSTELLUNG_WOECHENTLICH", + "DATENBEREITSTELLUNG_MONATLICH", + "DATENBEREITSTELLUNG_JAEHRLICH", + "DATENBEREITSTELLUNG_HISTORISCHE_LG", + "DATENBEREITSTELLUNG_STUENDLICH", + "DATENBEREITSTELLUNG_VIERTELJAEHRLICH", + "DATENBEREITSTELLUNG_HALBJAEHRLICH", + "DATENBEREITSTELLUNG_MONATLICH_ZUSAETZLICH", + "DATENBEREITSTELLUNG_EINMALIG", + "AUSLESUNG_2X_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_LGK_MANUELL_MSB", + "AUSLESUNG_MONATLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_JAEHRLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_MDE_SLP", + "ABLESUNG_MONATLICH_SLP", + "ABLESUNG_VIERTELJAEHRLICH_SLP", + "ABLESUNG_HALBJAEHRLICH_SLP", + "ABLESUNG_JAEHRLICH_SLP", + "AUSLESUNG_SLP_FERNAUSLESUNG", + "ABLESUNG_SLP_ZUSAETZLICH_MSB", + "ABLESUNG_SLP_ZUSAETZLICH_KUNDE", + "AUSLESUNG_LGK_FERNAUSLESUNG_ZUSAETZLICH_MSB", + "AUSLESUNG_MOATLICH_FERNAUSLESUNG", + "AUSLESUNG_STUENDLICH_FERNAUSLESUNG", + "ABLESUNG_MONATLICH_LGK", + "AUSLESUNG_TEMERATURMENGENUMWERTER", + "AUSLESUNG_ZUSTANDSMENGENUMWERTER", + "AUSLESUNG_SYSTEMMENGENUMWERTER", + "AUSLESUNG_VORGANG_SLP", + "AUSLESUUNG_KOMPAKTMENGENUMWERTER", + "AUSLESUNG_MDE_LGK", + "SPERRUNG_SLP", + "ENTSPERRUNG_SLP", + "SPERRUNG_RLM", + "ENTSPERRUNG_RLM", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "geraetedetails": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "herausgeber": { + "$ref": "#/definitions/Marktteilnehmer" + }, + "bezeichnung": { + "type": "string" + }, + "gueltigkeit": { + "$ref": "#/definitions/Zeitraum" + }, + "preispositionen": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + } + }, + "required": [ + "dienstleistungsdetails", + "herausgeber", + "bezeichnung", + "gueltigkeit", + "preispositionen" + ] +} \ No newline at end of file diff --git a/json-schema-files/PreisblattKonzessionsabgabe.json b/json-schema-files/PreisblattKonzessionsabgabe.json new file mode 100644 index 00000000..d19ee623 --- /dev/null +++ b/json-schema-files/PreisblattKonzessionsabgabe.json @@ -0,0 +1,705 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "PositionsAufAbschlag": { + "type": [ + "object", + "null" + ], + "properties": { + "bezeichnung": { + "type": "string" + }, + "beschreibung": { + "type": "string" + }, + "aufAbschlagstyp": { + "type": "string", + "enum": [ + "RELATIV", + "ABSOLUT" + ] + }, + "aufAbschlagswert": { + "type": "number" + }, + "aufAbschlagswaehrung": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung", + "beschreibung", + "aufAbschlagstyp", + "aufAbschlagswert", + "aufAbschlagswaehrung" + ] + }, + "Preisposition": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "berechnungsmethode": { + "type": "string", + "enum": [ + "KEINE", + "STAFFELN", + "ZONEN", + "VORZONEN_GP", + "SIGMOID", + "BLINDARBEIT_GT_50_PROZENT", + "BLINDARBEIT_GT_40_PROZENT", + "AP_GP_ZONEN", + "LP_INSTALL_LEISTUNG", + "AP_TRANSPORT_ODER_VERTEILNETZ", + "AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "LP_JAHRESVERBRAUCH", + "LP_TRANSPORT_ODER_VERTEILNETZ", + "LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "FUNKTIONEN", + "VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK" + ] + }, + "leistungstyp": { + "type": "string", + "enum": [ + "ARBEITSPREIS_WIRKARBEIT", + "LEISTUNGSPREIS_WIRKLEISTUNG", + "ARBEITSPREIS_BLINDARBEIT_IND", + "ARBEITSPREIS_BLINDARBEIT_KAP", + "GRUNDPREIS", + "MEHRMINDERMENGE", + "MESSSTELLENBETRIEB", + "MESSDIENSTLEISTUNG", + "MESSDIENSTLEISTUNG_INKL_MESSUNG", + "ABRECHNUNG", + "KONZESSIONS_ABGABE", + "KWK_UMLAGE", + "OFFSHORE_UMLAGE", + "ABLAV_UMLAGE", + "REGELENERGIE_UMLAGE", + "BILANZIERUNG_UMLAGE", + "AUSLESUNG_ZUSAETZLICH", + "ABLESUNG_ZUSAETZLICH", + "ABRECHNUNG_ZUSAETZLICH", + "SPERRUNG", + "ENTSPERRUNG", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "leistungsbezeichnung": { + "type": "string" + }, + "preiseinheit": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "bezugsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "zeitbasis": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "tarifzeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TZ_STANDARD", + "TZ_HT", + "TZ_NT" + ] + }, + "bdewArtikelnummer": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LEISTUNG", + "LEISTUNG_PAUSCHAL", + "GRUNDPREIS", + "REGELENERGIE_ARBEIT", + "REGELENERGIE_LEISTUNG", + "NOTSTROMLIEFERUNG_ARBEIT", + "NOTSTROMLIEFERUNG_LEISTUNG", + "RESERVENETZKAPAZITAET", + "RESERVELEISTUNG", + "ZUSAETZLICHE_ABLESUNG", + "PRUEFGEBUEHREN_AUSSERPLANMAESSIG", + "WIRKARBEIT", + "SINGULAER_GENUTZTE_BETRIEBSMITTEL", + "ABGABE_KWKG", + "ABSCHLAG", + "KONZESSIONSABGABE", + "ENTGELT_FERNAUSLESUNG", + "UNTERMESSUNG", + "BLINDMEHRARBEIT", + "ENTGELT_ABRECHNUNG", + "SPERRKOSTEN", + "ENTSPERRKOSTEN", + "MAHNKOSTEN", + "MEHR_MINDERMENGEN", + "INKASSOKOSTEN", + "BLINDMEHRLEISTUNG", + "ENTGELT_MESSUNG_ABLESUNG", + "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK", + "AUSGLEICHSENERGIE", + "AUSGLEICHSENERGIE_UNTERDECKUNG", + "ZAEHLEINRICHTUNG", + "WANDLER_MENGENUMWERTER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "PARAGRAF_19_STROM_NEV_UMLAGE", + "BEFESTIGUNGSEINRICHTUNG", + "OFFSHORE_HAFTUNGSUMLAGE", + "FIXE_ARBEITSENTGELTKOMPONENTE", + "FIXE_LEISTUNGSENTGELTKOMPONENTE", + "UMLAGE_ABSCHALTBARE_LASTEN", + "MEHRMENGE", + "MINDERMENGE", + "ENERGIESTEUER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "MSB_INKL_MESSUNG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_1_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_2_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_3_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_4_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_5_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_3_MSBG" + ] + }, + "zonungsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ] + }, + "zu_abschlaege": { + "$ref": "#/definitions/PositionsAufAbschlag" + }, + "preisstaffeln": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": [ + "string", + "null" + ] + }, + "positionsnummer": { + "type": [ + "integer", + "null" + ] + }, + "messebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "verarbeitungszeitraum": { + "$ref": "#/definitions/Zeitraum-1" + }, + "artikelId": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "berechnungsmethode", + "leistungstyp", + "leistungsbezeichnung", + "preiseinheit", + "preisstaffeln" + ] + }, + "Preisstaffel": { + "type": [ + "object", + "null" + ], + "properties": { + "einheitspreis": { + "type": "number" + }, + "staffelgrenzeVon": { + "type": "number" + }, + "staffelgrenzeBis": { + "type": "number" + }, + "sigmoidparameter": { + "$ref": "#/definitions/Sigmoidparameter" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "einheitspreis", + "staffelgrenzeVon", + "staffelgrenzeBis" + ] + }, + "Sigmoidparameter": { + "type": [ + "object", + "null" + ], + "properties": { + "A": { + "type": "number" + }, + "B": { + "type": "number" + }, + "C": { + "type": "number" + }, + "D": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "A", + "B", + "C", + "D" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zeitraum-1": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + } + }, + "type": "object", + "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" + ] + }, + "kundengruppeKA": { + "type": "string", + "enum": [ + "S_TARIF_25000", + "S_TARIF_100000", + "S_TARIF_500000", + "S_TARIF_G_500000", + "S_SONDERKUNDE", + "G_KOWA_25000", + "G_KOWA_100000", + "G_KOWA_500000", + "G_KOWA_G_500000", + "G_TARIF_25000", + "G_TARIF_100000", + "G_TARIF_500000", + "G_TARIF_G_500000", + "G_SONDERKUNDE", + "SONDER_KAS", + "SONDER_SAS", + "SONDER_TAS", + "SONDER_TKS", + "SONDER_TSS" + ] + }, + "bezeichnung": { + "type": "string" + }, + "gueltigkeit": { + "$ref": "#/definitions/Zeitraum" + }, + "preispositionen": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + } + }, + "required": [ + "kundengruppeKA", + "bezeichnung", + "gueltigkeit", + "preispositionen" + ] +} \ No newline at end of file diff --git a/json-schema-files/PreisblattMessung.json b/json-schema-files/PreisblattMessung.json new file mode 100644 index 00000000..d5aaa1a9 --- /dev/null +++ b/json-schema-files/PreisblattMessung.json @@ -0,0 +1,2062 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geraeteeigenschaften": { + "type": "object", + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetetyp": { + "type": "string", + "enum": [ + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "geraetemerkmal": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "Parameter": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": [ + "string", + "null" + ] + } + } + }, + "required": [ + "geraetetyp" + ] + }, + "Geraeteeigenschaften-1": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetetyp": { + "type": "string", + "enum": [ + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "geraetemerkmal": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "Parameter": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": [ + "string", + "null" + ] + } + } + }, + "required": [ + "geraetetyp" + ] + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Marktteilnehmer": { + "type": "object", + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "rollencodenummer": { + "type": "string" + }, + "rollencodetyp": { + "type": "string", + "enum": [ + "ZERO", + "GLN", + "BDEW", + "DVGW" + ] + }, + "makoadresse": { + "type": [ + "string", + "null" + ] + }, + "ansprechpartner": { + "$ref": "#/definitions/Ansprechpartner" + } + }, + "required": [ + "gewerbekennzeichnung", + "rollencodenummer", + "rollencodetyp" + ] + }, + "PositionsAufAbschlag": { + "type": [ + "object", + "null" + ], + "properties": { + "bezeichnung": { + "type": "string" + }, + "beschreibung": { + "type": "string" + }, + "aufAbschlagstyp": { + "type": "string", + "enum": [ + "RELATIV", + "ABSOLUT" + ] + }, + "aufAbschlagswert": { + "type": "number" + }, + "aufAbschlagswaehrung": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung", + "beschreibung", + "aufAbschlagstyp", + "aufAbschlagswert", + "aufAbschlagswaehrung" + ] + }, + "Preisposition": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "berechnungsmethode": { + "type": "string", + "enum": [ + "KEINE", + "STAFFELN", + "ZONEN", + "VORZONEN_GP", + "SIGMOID", + "BLINDARBEIT_GT_50_PROZENT", + "BLINDARBEIT_GT_40_PROZENT", + "AP_GP_ZONEN", + "LP_INSTALL_LEISTUNG", + "AP_TRANSPORT_ODER_VERTEILNETZ", + "AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "LP_JAHRESVERBRAUCH", + "LP_TRANSPORT_ODER_VERTEILNETZ", + "LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "FUNKTIONEN", + "VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK" + ] + }, + "leistungstyp": { + "type": "string", + "enum": [ + "ARBEITSPREIS_WIRKARBEIT", + "LEISTUNGSPREIS_WIRKLEISTUNG", + "ARBEITSPREIS_BLINDARBEIT_IND", + "ARBEITSPREIS_BLINDARBEIT_KAP", + "GRUNDPREIS", + "MEHRMINDERMENGE", + "MESSSTELLENBETRIEB", + "MESSDIENSTLEISTUNG", + "MESSDIENSTLEISTUNG_INKL_MESSUNG", + "ABRECHNUNG", + "KONZESSIONS_ABGABE", + "KWK_UMLAGE", + "OFFSHORE_UMLAGE", + "ABLAV_UMLAGE", + "REGELENERGIE_UMLAGE", + "BILANZIERUNG_UMLAGE", + "AUSLESUNG_ZUSAETZLICH", + "ABLESUNG_ZUSAETZLICH", + "ABRECHNUNG_ZUSAETZLICH", + "SPERRUNG", + "ENTSPERRUNG", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "leistungsbezeichnung": { + "type": "string" + }, + "preiseinheit": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "bezugsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "zeitbasis": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "tarifzeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TZ_STANDARD", + "TZ_HT", + "TZ_NT" + ] + }, + "bdewArtikelnummer": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LEISTUNG", + "LEISTUNG_PAUSCHAL", + "GRUNDPREIS", + "REGELENERGIE_ARBEIT", + "REGELENERGIE_LEISTUNG", + "NOTSTROMLIEFERUNG_ARBEIT", + "NOTSTROMLIEFERUNG_LEISTUNG", + "RESERVENETZKAPAZITAET", + "RESERVELEISTUNG", + "ZUSAETZLICHE_ABLESUNG", + "PRUEFGEBUEHREN_AUSSERPLANMAESSIG", + "WIRKARBEIT", + "SINGULAER_GENUTZTE_BETRIEBSMITTEL", + "ABGABE_KWKG", + "ABSCHLAG", + "KONZESSIONSABGABE", + "ENTGELT_FERNAUSLESUNG", + "UNTERMESSUNG", + "BLINDMEHRARBEIT", + "ENTGELT_ABRECHNUNG", + "SPERRKOSTEN", + "ENTSPERRKOSTEN", + "MAHNKOSTEN", + "MEHR_MINDERMENGEN", + "INKASSOKOSTEN", + "BLINDMEHRLEISTUNG", + "ENTGELT_MESSUNG_ABLESUNG", + "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK", + "AUSGLEICHSENERGIE", + "AUSGLEICHSENERGIE_UNTERDECKUNG", + "ZAEHLEINRICHTUNG", + "WANDLER_MENGENUMWERTER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "PARAGRAF_19_STROM_NEV_UMLAGE", + "BEFESTIGUNGSEINRICHTUNG", + "OFFSHORE_HAFTUNGSUMLAGE", + "FIXE_ARBEITSENTGELTKOMPONENTE", + "FIXE_LEISTUNGSENTGELTKOMPONENTE", + "UMLAGE_ABSCHALTBARE_LASTEN", + "MEHRMENGE", + "MINDERMENGE", + "ENERGIESTEUER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "MSB_INKL_MESSUNG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_1_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_2_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_3_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_4_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_5_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_3_MSBG" + ] + }, + "zonungsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ] + }, + "zu_abschlaege": { + "$ref": "#/definitions/PositionsAufAbschlag" + }, + "preisstaffeln": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": [ + "string", + "null" + ] + }, + "positionsnummer": { + "type": [ + "integer", + "null" + ] + }, + "messebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "verarbeitungszeitraum": { + "$ref": "#/definitions/Zeitraum-1" + }, + "artikelId": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "berechnungsmethode", + "leistungstyp", + "leistungsbezeichnung", + "preiseinheit", + "preisstaffeln" + ] + }, + "Preisstaffel": { + "type": [ + "object", + "null" + ], + "properties": { + "einheitspreis": { + "type": "number" + }, + "staffelgrenzeVon": { + "type": "number" + }, + "staffelgrenzeBis": { + "type": "number" + }, + "sigmoidparameter": { + "$ref": "#/definitions/Sigmoidparameter" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "einheitspreis", + "staffelgrenzeVon", + "staffelgrenzeBis" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "Sigmoidparameter": { + "type": [ + "object", + "null" + ], + "properties": { + "A": { + "type": "number" + }, + "B": { + "type": "number" + }, + "C": { + "type": "number" + }, + "D": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "A", + "B", + "C", + "D" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zeitraum-1": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "bilanzierungsmethode": { + "type": "string", + "enum": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "messebene": { + "type": "string", + "enum": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "inklusiveDienstleistung": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "DATENBEREITSTELLUNG_TAEGLICH", + "DATENBEREITSTELLUNG_WOECHENTLICH", + "DATENBEREITSTELLUNG_MONATLICH", + "DATENBEREITSTELLUNG_JAEHRLICH", + "DATENBEREITSTELLUNG_HISTORISCHE_LG", + "DATENBEREITSTELLUNG_STUENDLICH", + "DATENBEREITSTELLUNG_VIERTELJAEHRLICH", + "DATENBEREITSTELLUNG_HALBJAEHRLICH", + "DATENBEREITSTELLUNG_MONATLICH_ZUSAETZLICH", + "DATENBEREITSTELLUNG_EINMALIG", + "AUSLESUNG_2X_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_TAEGLICH_FERNAUSLESUNG", + "AUSLESUNG_LGK_MANUELL_MSB", + "AUSLESUNG_MONATLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_JAEHRLICH_SLP_FERNAUSLESUNG", + "AUSLESUNG_MDE_SLP", + "ABLESUNG_MONATLICH_SLP", + "ABLESUNG_VIERTELJAEHRLICH_SLP", + "ABLESUNG_HALBJAEHRLICH_SLP", + "ABLESUNG_JAEHRLICH_SLP", + "AUSLESUNG_SLP_FERNAUSLESUNG", + "ABLESUNG_SLP_ZUSAETZLICH_MSB", + "ABLESUNG_SLP_ZUSAETZLICH_KUNDE", + "AUSLESUNG_LGK_FERNAUSLESUNG_ZUSAETZLICH_MSB", + "AUSLESUNG_MOATLICH_FERNAUSLESUNG", + "AUSLESUNG_STUENDLICH_FERNAUSLESUNG", + "ABLESUNG_MONATLICH_LGK", + "AUSLESUNG_TEMERATURMENGENUMWERTER", + "AUSLESUNG_ZUSTANDSMENGENUMWERTER", + "AUSLESUNG_SYSTEMMENGENUMWERTER", + "AUSLESUNG_VORGANG_SLP", + "AUSLESUUNG_KOMPAKTMENGENUMWERTER", + "AUSLESUNG_MDE_LGK", + "SPERRUNG_SLP", + "ENTSPERRUNG_SLP", + "SPERRUNG_RLM", + "ENTSPERRUNG_RLM", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + } + }, + "bezeichnung": { + "type": "string" + }, + "basisgeraet": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "gueltigkeit": { + "$ref": "#/definitions/Zeitraum" + }, + "inklusiveGeraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Geraeteeigenschaften-1" + } + }, + "herausgeber": { + "$ref": "#/definitions/Marktteilnehmer" + }, + "preispositionen": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + } + }, + "required": [ + "bilanzierungsmethode", + "messebene", + "bezeichnung", + "basisgeraet", + "gueltigkeit", + "herausgeber", + "preispositionen" + ] +} \ No newline at end of file diff --git a/json-schema-files/PreisblattNetznutzung.json b/json-schema-files/PreisblattNetznutzung.json new file mode 100644 index 00000000..c13e177b --- /dev/null +++ b/json-schema-files/PreisblattNetznutzung.json @@ -0,0 +1,1728 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Marktteilnehmer": { + "type": "object", + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "rollencodenummer": { + "type": "string" + }, + "rollencodetyp": { + "type": "string", + "enum": [ + "ZERO", + "GLN", + "BDEW", + "DVGW" + ] + }, + "makoadresse": { + "type": [ + "string", + "null" + ] + }, + "ansprechpartner": { + "$ref": "#/definitions/Ansprechpartner" + } + }, + "required": [ + "gewerbekennzeichnung", + "rollencodenummer", + "rollencodetyp" + ] + }, + "PositionsAufAbschlag": { + "type": [ + "object", + "null" + ], + "properties": { + "bezeichnung": { + "type": "string" + }, + "beschreibung": { + "type": "string" + }, + "aufAbschlagstyp": { + "type": "string", + "enum": [ + "RELATIV", + "ABSOLUT" + ] + }, + "aufAbschlagswert": { + "type": "number" + }, + "aufAbschlagswaehrung": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung", + "beschreibung", + "aufAbschlagstyp", + "aufAbschlagswert", + "aufAbschlagswaehrung" + ] + }, + "Preisposition": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "berechnungsmethode": { + "type": "string", + "enum": [ + "KEINE", + "STAFFELN", + "ZONEN", + "VORZONEN_GP", + "SIGMOID", + "BLINDARBEIT_GT_50_PROZENT", + "BLINDARBEIT_GT_40_PROZENT", + "AP_GP_ZONEN", + "LP_INSTALL_LEISTUNG", + "AP_TRANSPORT_ODER_VERTEILNETZ", + "AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "LP_JAHRESVERBRAUCH", + "LP_TRANSPORT_ODER_VERTEILNETZ", + "LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "FUNKTIONEN", + "VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK" + ] + }, + "leistungstyp": { + "type": "string", + "enum": [ + "ARBEITSPREIS_WIRKARBEIT", + "LEISTUNGSPREIS_WIRKLEISTUNG", + "ARBEITSPREIS_BLINDARBEIT_IND", + "ARBEITSPREIS_BLINDARBEIT_KAP", + "GRUNDPREIS", + "MEHRMINDERMENGE", + "MESSSTELLENBETRIEB", + "MESSDIENSTLEISTUNG", + "MESSDIENSTLEISTUNG_INKL_MESSUNG", + "ABRECHNUNG", + "KONZESSIONS_ABGABE", + "KWK_UMLAGE", + "OFFSHORE_UMLAGE", + "ABLAV_UMLAGE", + "REGELENERGIE_UMLAGE", + "BILANZIERUNG_UMLAGE", + "AUSLESUNG_ZUSAETZLICH", + "ABLESUNG_ZUSAETZLICH", + "ABRECHNUNG_ZUSAETZLICH", + "SPERRUNG", + "ENTSPERRUNG", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "leistungsbezeichnung": { + "type": "string" + }, + "preiseinheit": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "bezugsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "zeitbasis": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "tarifzeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TZ_STANDARD", + "TZ_HT", + "TZ_NT" + ] + }, + "bdewArtikelnummer": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LEISTUNG", + "LEISTUNG_PAUSCHAL", + "GRUNDPREIS", + "REGELENERGIE_ARBEIT", + "REGELENERGIE_LEISTUNG", + "NOTSTROMLIEFERUNG_ARBEIT", + "NOTSTROMLIEFERUNG_LEISTUNG", + "RESERVENETZKAPAZITAET", + "RESERVELEISTUNG", + "ZUSAETZLICHE_ABLESUNG", + "PRUEFGEBUEHREN_AUSSERPLANMAESSIG", + "WIRKARBEIT", + "SINGULAER_GENUTZTE_BETRIEBSMITTEL", + "ABGABE_KWKG", + "ABSCHLAG", + "KONZESSIONSABGABE", + "ENTGELT_FERNAUSLESUNG", + "UNTERMESSUNG", + "BLINDMEHRARBEIT", + "ENTGELT_ABRECHNUNG", + "SPERRKOSTEN", + "ENTSPERRKOSTEN", + "MAHNKOSTEN", + "MEHR_MINDERMENGEN", + "INKASSOKOSTEN", + "BLINDMEHRLEISTUNG", + "ENTGELT_MESSUNG_ABLESUNG", + "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK", + "AUSGLEICHSENERGIE", + "AUSGLEICHSENERGIE_UNTERDECKUNG", + "ZAEHLEINRICHTUNG", + "WANDLER_MENGENUMWERTER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "PARAGRAF_19_STROM_NEV_UMLAGE", + "BEFESTIGUNGSEINRICHTUNG", + "OFFSHORE_HAFTUNGSUMLAGE", + "FIXE_ARBEITSENTGELTKOMPONENTE", + "FIXE_LEISTUNGSENTGELTKOMPONENTE", + "UMLAGE_ABSCHALTBARE_LASTEN", + "MEHRMENGE", + "MINDERMENGE", + "ENERGIESTEUER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "MSB_INKL_MESSUNG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_1_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_2_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_3_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_4_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_5_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_3_MSBG" + ] + }, + "zonungsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ] + }, + "zu_abschlaege": { + "$ref": "#/definitions/PositionsAufAbschlag" + }, + "preisstaffeln": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": [ + "string", + "null" + ] + }, + "positionsnummer": { + "type": [ + "integer", + "null" + ] + }, + "messebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "verarbeitungszeitraum": { + "$ref": "#/definitions/Zeitraum-1" + }, + "artikelId": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "berechnungsmethode", + "leistungstyp", + "leistungsbezeichnung", + "preiseinheit", + "preisstaffeln" + ] + }, + "Preisstaffel": { + "type": [ + "object", + "null" + ], + "properties": { + "einheitspreis": { + "type": "number" + }, + "staffelgrenzeVon": { + "type": "number" + }, + "staffelgrenzeBis": { + "type": "number" + }, + "sigmoidparameter": { + "$ref": "#/definitions/Sigmoidparameter" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "einheitspreis", + "staffelgrenzeVon", + "staffelgrenzeBis" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "Sigmoidparameter": { + "type": [ + "object", + "null" + ], + "properties": { + "A": { + "type": "number" + }, + "B": { + "type": "number" + }, + "C": { + "type": "number" + }, + "D": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "A", + "B", + "C", + "D" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zeitraum-1": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "bilanzierungsmethode": { + "type": "string", + "enum": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ] + }, + "netzebene": { + "type": "string", + "enum": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "kundengruppe": { + "type": "string", + "enum": [ + "RLM", + "SLP_S_G0", + "SLP_S_G1", + "SLP_S_G2", + "SLP_S_G3", + "SLP_S_G4", + "SLP_S_G5", + "SLP_S_G6", + "SLP_S_G7", + "SLP_S_L0", + "SLP_S_L1", + "SLP_S_L2", + "SLP_S_H0", + "SLP_S_SB", + "SLP_S_HZ", + "SLP_S_WP", + "SLP_G_GKO", + "SLP_G_GHA", + "SLP_G_GMK", + "SLP_G_GBD", + "SLP_G_GGA", + "SLP_G_GBH", + "SLP_G_GBA", + "SLP_G_GWA", + "SLP_G_GGB", + "SLP_G_GPD", + "SLP_G_GMF", + "SLP_G_HEF", + "SLP_G_HMF", + "SLP_G_HKO" + ] + }, + "bezeichnung": { + "type": "string" + }, + "herausgeber": { + "$ref": "#/definitions/Marktteilnehmer" + }, + "gueltigkeit": { + "$ref": "#/definitions/Zeitraum" + }, + "preispositionen": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + } + }, + "required": [ + "bilanzierungsmethode", + "netzebene", + "kundengruppe", + "bezeichnung", + "herausgeber", + "gueltigkeit", + "preispositionen" + ] +} \ No newline at end of file diff --git a/json-schema-files/PreisblattUmlagen.json b/json-schema-files/PreisblattUmlagen.json new file mode 100644 index 00000000..7fd1a504 --- /dev/null +++ b/json-schema-files/PreisblattUmlagen.json @@ -0,0 +1,680 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "PositionsAufAbschlag": { + "type": [ + "object", + "null" + ], + "properties": { + "bezeichnung": { + "type": "string" + }, + "beschreibung": { + "type": "string" + }, + "aufAbschlagstyp": { + "type": "string", + "enum": [ + "RELATIV", + "ABSOLUT" + ] + }, + "aufAbschlagswert": { + "type": "number" + }, + "aufAbschlagswaehrung": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "bezeichnung", + "beschreibung", + "aufAbschlagstyp", + "aufAbschlagswert", + "aufAbschlagswaehrung" + ] + }, + "Preisposition": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "berechnungsmethode": { + "type": "string", + "enum": [ + "KEINE", + "STAFFELN", + "ZONEN", + "VORZONEN_GP", + "SIGMOID", + "BLINDARBEIT_GT_50_PROZENT", + "BLINDARBEIT_GT_40_PROZENT", + "AP_GP_ZONEN", + "LP_INSTALL_LEISTUNG", + "AP_TRANSPORT_ODER_VERTEILNETZ", + "AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "LP_JAHRESVERBRAUCH", + "LP_TRANSPORT_ODER_VERTEILNETZ", + "LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID", + "FUNKTIONEN", + "VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK" + ] + }, + "leistungstyp": { + "type": "string", + "enum": [ + "ARBEITSPREIS_WIRKARBEIT", + "LEISTUNGSPREIS_WIRKLEISTUNG", + "ARBEITSPREIS_BLINDARBEIT_IND", + "ARBEITSPREIS_BLINDARBEIT_KAP", + "GRUNDPREIS", + "MEHRMINDERMENGE", + "MESSSTELLENBETRIEB", + "MESSDIENSTLEISTUNG", + "MESSDIENSTLEISTUNG_INKL_MESSUNG", + "ABRECHNUNG", + "KONZESSIONS_ABGABE", + "KWK_UMLAGE", + "OFFSHORE_UMLAGE", + "ABLAV_UMLAGE", + "REGELENERGIE_UMLAGE", + "BILANZIERUNG_UMLAGE", + "AUSLESUNG_ZUSAETZLICH", + "ABLESUNG_ZUSAETZLICH", + "ABRECHNUNG_ZUSAETZLICH", + "SPERRUNG", + "ENTSPERRUNG", + "MAHNKOSTEN", + "INKASSOKOSTEN" + ] + }, + "leistungsbezeichnung": { + "type": "string" + }, + "preiseinheit": { + "type": "string", + "enum": [ + "EUR", + "CT" + ] + }, + "bezugsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "zeitbasis": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "tarifzeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TZ_STANDARD", + "TZ_HT", + "TZ_NT" + ] + }, + "bdewArtikelnummer": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LEISTUNG", + "LEISTUNG_PAUSCHAL", + "GRUNDPREIS", + "REGELENERGIE_ARBEIT", + "REGELENERGIE_LEISTUNG", + "NOTSTROMLIEFERUNG_ARBEIT", + "NOTSTROMLIEFERUNG_LEISTUNG", + "RESERVENETZKAPAZITAET", + "RESERVELEISTUNG", + "ZUSAETZLICHE_ABLESUNG", + "PRUEFGEBUEHREN_AUSSERPLANMAESSIG", + "WIRKARBEIT", + "SINGULAER_GENUTZTE_BETRIEBSMITTEL", + "ABGABE_KWKG", + "ABSCHLAG", + "KONZESSIONSABGABE", + "ENTGELT_FERNAUSLESUNG", + "UNTERMESSUNG", + "BLINDMEHRARBEIT", + "ENTGELT_ABRECHNUNG", + "SPERRKOSTEN", + "ENTSPERRKOSTEN", + "MAHNKOSTEN", + "MEHR_MINDERMENGEN", + "INKASSOKOSTEN", + "BLINDMEHRLEISTUNG", + "ENTGELT_MESSUNG_ABLESUNG", + "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK", + "AUSGLEICHSENERGIE", + "AUSGLEICHSENERGIE_UNTERDECKUNG", + "ZAEHLEINRICHTUNG", + "WANDLER_MENGENUMWERTER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "PARAGRAF_19_STROM_NEV_UMLAGE", + "BEFESTIGUNGSEINRICHTUNG", + "OFFSHORE_HAFTUNGSUMLAGE", + "FIXE_ARBEITSENTGELTKOMPONENTE", + "FIXE_LEISTUNGSENTGELTKOMPONENTE", + "UMLAGE_ABSCHALTBARE_LASTEN", + "MEHRMENGE", + "MINDERMENGE", + "ENERGIESTEUER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "MSB_INKL_MESSUNG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_1_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_2_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_3_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_4_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_5_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_3_MSBG" + ] + }, + "zonungsgroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ] + }, + "zu_abschlaege": { + "$ref": "#/definitions/PositionsAufAbschlag" + }, + "preisstaffeln": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": [ + "string", + "null" + ] + }, + "positionsnummer": { + "type": [ + "integer", + "null" + ] + }, + "messebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "verarbeitungszeitraum": { + "$ref": "#/definitions/Zeitraum-1" + }, + "artikelId": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "berechnungsmethode", + "leistungstyp", + "leistungsbezeichnung", + "preiseinheit", + "preisstaffeln" + ] + }, + "Preisstaffel": { + "type": [ + "object", + "null" + ], + "properties": { + "einheitspreis": { + "type": "number" + }, + "staffelgrenzeVon": { + "type": "number" + }, + "staffelgrenzeBis": { + "type": "number" + }, + "sigmoidparameter": { + "$ref": "#/definitions/Sigmoidparameter" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "einheitspreis", + "staffelgrenzeVon", + "staffelgrenzeBis" + ] + }, + "Sigmoidparameter": { + "type": [ + "object", + "null" + ], + "properties": { + "A": { + "type": "number" + }, + "B": { + "type": "number" + }, + "C": { + "type": "number" + }, + "D": { + "type": "number" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "A", + "B", + "C", + "D" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + }, + "Zeitraum-1": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + } + }, + "type": "object", + "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" + ] + }, + "bezeichnung": { + "type": "string" + }, + "gueltigkeit": { + "$ref": "#/definitions/Zeitraum" + }, + "preispositionen": { + "type": "array", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + } + }, + "required": [ + "bezeichnung", + "gueltigkeit", + "preispositionen" + ] +} \ No newline at end of file diff --git a/json-schema-files/Rechnung.json b/json-schema-files/Rechnung.json new file mode 100644 index 00000000..0b991257 --- /dev/null +++ b/json-schema-files/Rechnung.json @@ -0,0 +1,1888 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Betrag": { + "type": "object", + "properties": { + "wert": { + "type": "number" + }, + "waehrung": { + "type": "string", + "enum": [ + "AFN", + "ALL", + "AMD", + "ANG", + "AOA", + "ARS", + "AUD", + "AWG", + "AZN", + "BAM", + "BBD", + "BDT", + "BGN", + "BHD", + "BIF", + "BMD", + "BND", + "BOB", + "BOV", + "BRL", + "BSD", + "BTN", + "BWP", + "BYN", + "BYR", + "BZD", + "CAD", + "CDF", + "CHE", + "CHF", + "CHW", + "CLF", + "CLP", + "CNY", + "COP", + "COU", + "CRC", + "CUC", + "CUP", + "CVE", + "CZK", + "DJF", + "DKK", + "DOP", + "DZD", + "EGP", + "ERN", + "ETB", + "EUR", + "FJD", + "FKP", + "GBP", + "GEL", + "GHS", + "GIP", + "GMD", + "GNF", + "GTQ", + "GYD", + "HKD", + "HNL", + "HRK", + "HTG", + "HUF", + "IDR", + "ILS", + "INR", + "IQD", + "IRR", + "ISK", + "JMD", + "JOD", + "JPY", + "KES", + "KGS", + "KHR", + "KMF", + "KPW", + "KRW", + "KWD", + "KYD", + "KZT", + "LAK", + "LBP", + "LKR", + "LRD", + "LSL", + "LTL", + "LYD", + "MAD", + "MDL", + "MGA", + "MKD", + "MMK", + "MNT", + "MOP", + "MRO", + "MUR", + "MVR", + "MWK", + "MXN", + "MXV", + "MYR", + "MZN", + "NAD", + "NGN", + "NIO", + "NOK", + "NPR", + "NZD", + "OMR", + "PAB", + "PEN", + "PGK", + "PHP", + "PKR", + "PLN", + "PYG", + "QAR", + "RON", + "RSD", + "RUB", + "RUR", + "RWF", + "SAR", + "SBD", + "SCR", + "SDG", + "SEK", + "SGD", + "SHP", + "SLL", + "SOS", + "SRD", + "SSP", + "STD", + "SVC", + "SYP", + "SZL", + "THB", + "TJS", + "TMT", + "TND", + "TOP", + "TRY", + "TTD", + "TWD", + "TZS", + "UAH", + "UGX", + "USD", + "USN", + "USS", + "UYI", + "UYU", + "UZS", + "VEF", + "VND", + "VUV", + "WST", + "XAF", + "XAG", + "XAU", + "XBA", + "XBB", + "XBC", + "XBD", + "XCD", + "XDR", + "XOF", + "XPD", + "XPF", + "XPT", + "XSU", + "XTS", + "XUA", + "XXX", + "YER", + "ZAR", + "ZMW", + "ZWL" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert", + "waehrung" + ] + }, + "Betrag-1": { + "type": [ + "object", + "null" + ], + "properties": { + "wert": { + "type": "number" + }, + "waehrung": { + "type": "string", + "enum": [ + "AFN", + "ALL", + "AMD", + "ANG", + "AOA", + "ARS", + "AUD", + "AWG", + "AZN", + "BAM", + "BBD", + "BDT", + "BGN", + "BHD", + "BIF", + "BMD", + "BND", + "BOB", + "BOV", + "BRL", + "BSD", + "BTN", + "BWP", + "BYN", + "BYR", + "BZD", + "CAD", + "CDF", + "CHE", + "CHF", + "CHW", + "CLF", + "CLP", + "CNY", + "COP", + "COU", + "CRC", + "CUC", + "CUP", + "CVE", + "CZK", + "DJF", + "DKK", + "DOP", + "DZD", + "EGP", + "ERN", + "ETB", + "EUR", + "FJD", + "FKP", + "GBP", + "GEL", + "GHS", + "GIP", + "GMD", + "GNF", + "GTQ", + "GYD", + "HKD", + "HNL", + "HRK", + "HTG", + "HUF", + "IDR", + "ILS", + "INR", + "IQD", + "IRR", + "ISK", + "JMD", + "JOD", + "JPY", + "KES", + "KGS", + "KHR", + "KMF", + "KPW", + "KRW", + "KWD", + "KYD", + "KZT", + "LAK", + "LBP", + "LKR", + "LRD", + "LSL", + "LTL", + "LYD", + "MAD", + "MDL", + "MGA", + "MKD", + "MMK", + "MNT", + "MOP", + "MRO", + "MUR", + "MVR", + "MWK", + "MXN", + "MXV", + "MYR", + "MZN", + "NAD", + "NGN", + "NIO", + "NOK", + "NPR", + "NZD", + "OMR", + "PAB", + "PEN", + "PGK", + "PHP", + "PKR", + "PLN", + "PYG", + "QAR", + "RON", + "RSD", + "RUB", + "RUR", + "RWF", + "SAR", + "SBD", + "SCR", + "SDG", + "SEK", + "SGD", + "SHP", + "SLL", + "SOS", + "SRD", + "SSP", + "STD", + "SVC", + "SYP", + "SZL", + "THB", + "TJS", + "TMT", + "TND", + "TOP", + "TRY", + "TTD", + "TWD", + "TZS", + "UAH", + "UGX", + "USD", + "USN", + "USS", + "UYI", + "UYU", + "UZS", + "VEF", + "VND", + "VUV", + "WST", + "XAF", + "XAG", + "XAU", + "XBA", + "XBB", + "XBC", + "XBD", + "XCD", + "XDR", + "XOF", + "XPD", + "XPF", + "XPT", + "XSU", + "XTS", + "XUA", + "XXX", + "YER", + "ZAR", + "ZMW", + "ZWL" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert", + "waehrung" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geschaeftspartner": { + "type": "object", + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Menge": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + } + }, + "required": [ + "wert" + ] + }, + "Preis": { + "type": "object", + "properties": { + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] + }, + "bezugswert": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert" + ] + }, + "Rechnungsposition": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "positionsnummer": { + "type": "integer" + }, + "lieferungVon": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "lieferungBis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "positionstext": { + "type": "string" + }, + "zeiteinheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "artikelnummer": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LEISTUNG", + "LEISTUNG_PAUSCHAL", + "GRUNDPREIS", + "REGELENERGIE_ARBEIT", + "REGELENERGIE_LEISTUNG", + "NOTSTROMLIEFERUNG_ARBEIT", + "NOTSTROMLIEFERUNG_LEISTUNG", + "RESERVENETZKAPAZITAET", + "RESERVELEISTUNG", + "ZUSAETZLICHE_ABLESUNG", + "PRUEFGEBUEHREN_AUSSERPLANMAESSIG", + "WIRKARBEIT", + "SINGULAER_GENUTZTE_BETRIEBSMITTEL", + "ABGABE_KWKG", + "ABSCHLAG", + "KONZESSIONSABGABE", + "ENTGELT_FERNAUSLESUNG", + "UNTERMESSUNG", + "BLINDMEHRARBEIT", + "ENTGELT_ABRECHNUNG", + "SPERRKOSTEN", + "ENTSPERRKOSTEN", + "MAHNKOSTEN", + "MEHR_MINDERMENGEN", + "INKASSOKOSTEN", + "BLINDMEHRLEISTUNG", + "ENTGELT_MESSUNG_ABLESUNG", + "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK", + "AUSGLEICHSENERGIE", + "AUSGLEICHSENERGIE_UNTERDECKUNG", + "ZAEHLEINRICHTUNG", + "WANDLER_MENGENUMWERTER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "PARAGRAF_19_STROM_NEV_UMLAGE", + "BEFESTIGUNGSEINRICHTUNG", + "OFFSHORE_HAFTUNGSUMLAGE", + "FIXE_ARBEITSENTGELTKOMPONENTE", + "FIXE_LEISTUNGSENTGELTKOMPONENTE", + "UMLAGE_ABSCHALTBARE_LASTEN", + "MEHRMENGE", + "MINDERMENGE", + "ENERGIESTEUER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "MSB_INKL_MESSUNG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_1_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_2_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_3_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_4_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_2_5_MSBG", + "ZUSATZDIENSTLEISTUNG_PARAGRAPH_35_3_MSBG" + ] + }, + "lokationsId": { + "type": [ + "string", + "null" + ] + }, + "positionsMenge": { + "$ref": "#/definitions/Menge" + }, + "zeitbezogeneMenge": { + "$ref": "#/definitions/Menge" + }, + "korrekturfaktor": { + "type": [ + "number", + "null" + ] + }, + "einzelpreis": { + "$ref": "#/definitions/Preis" + }, + "teilsummeNetto": { + "$ref": "#/definitions/Betrag-1" + }, + "teilrabattNetto": { + "$ref": "#/definitions/Betrag-1" + }, + "teilsummeSteuer": { + "$ref": "#/definitions/Steuerbetrag" + }, + "vertragskontoId": { + "type": [ + "string", + "null" + ] + }, + "vertragsId": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ROH", + "ROH_AUSGENOMMEN", + "ABRECHENBAR", + "ABRECHENBAR_AUSGENOMMEN", + "ABGERECHNET" + ] + }, + "artikelId": { + "type": [ + "string", + "null" + ] + }, + "ausfuehrungsdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "positionsnummer", + "positionstext", + "einzelpreis" + ] + }, + "Steuerbetrag": { + "type": [ + "object", + "null" + ], + "properties": { + "steuerkennzeichen": { + "type": "string", + "enum": [ + "UST_SONDER", + "UST_19", + "UST_16", + "UST_7", + "VST_0", + "VST_19", + "VST_16", + "VST_7", + "RCV" + ] + }, + "sondersteuersatz": { + "type": [ + "number", + "null" + ] + }, + "basiswert": { + "type": "number" + }, + "steuerwert": { + "type": "number" + }, + "waehrung": { + "type": "string", + "enum": [ + "AFN", + "ALL", + "AMD", + "ANG", + "AOA", + "ARS", + "AUD", + "AWG", + "AZN", + "BAM", + "BBD", + "BDT", + "BGN", + "BHD", + "BIF", + "BMD", + "BND", + "BOB", + "BOV", + "BRL", + "BSD", + "BTN", + "BWP", + "BYN", + "BYR", + "BZD", + "CAD", + "CDF", + "CHE", + "CHF", + "CHW", + "CLF", + "CLP", + "CNY", + "COP", + "COU", + "CRC", + "CUC", + "CUP", + "CVE", + "CZK", + "DJF", + "DKK", + "DOP", + "DZD", + "EGP", + "ERN", + "ETB", + "EUR", + "FJD", + "FKP", + "GBP", + "GEL", + "GHS", + "GIP", + "GMD", + "GNF", + "GTQ", + "GYD", + "HKD", + "HNL", + "HRK", + "HTG", + "HUF", + "IDR", + "ILS", + "INR", + "IQD", + "IRR", + "ISK", + "JMD", + "JOD", + "JPY", + "KES", + "KGS", + "KHR", + "KMF", + "KPW", + "KRW", + "KWD", + "KYD", + "KZT", + "LAK", + "LBP", + "LKR", + "LRD", + "LSL", + "LTL", + "LYD", + "MAD", + "MDL", + "MGA", + "MKD", + "MMK", + "MNT", + "MOP", + "MRO", + "MUR", + "MVR", + "MWK", + "MXN", + "MXV", + "MYR", + "MZN", + "NAD", + "NGN", + "NIO", + "NOK", + "NPR", + "NZD", + "OMR", + "PAB", + "PEN", + "PGK", + "PHP", + "PKR", + "PLN", + "PYG", + "QAR", + "RON", + "RSD", + "RUB", + "RUR", + "RWF", + "SAR", + "SBD", + "SCR", + "SDG", + "SEK", + "SGD", + "SHP", + "SLL", + "SOS", + "SRD", + "SSP", + "STD", + "SVC", + "SYP", + "SZL", + "THB", + "TJS", + "TMT", + "TND", + "TOP", + "TRY", + "TTD", + "TWD", + "TZS", + "UAH", + "UGX", + "USD", + "USN", + "USS", + "UYI", + "UYU", + "UZS", + "VEF", + "VND", + "VUV", + "WST", + "XAF", + "XAG", + "XAU", + "XBA", + "XBB", + "XBC", + "XBD", + "XCD", + "XDR", + "XOF", + "XPD", + "XPF", + "XPT", + "XSU", + "XTS", + "XUA", + "XXX", + "YER", + "ZAR", + "ZMW", + "ZWL" + ] + }, + "basiswertVorausgezahlt": { + "type": [ + "number", + "null" + ] + }, + "steuerwertVorausgezahlt": { + "type": [ + "number", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "steuerkennzeichen", + "basiswert", + "steuerwert", + "waehrung" + ] + }, + "Vorauszahlung": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "betrag": { + "$ref": "#/definitions/Betrag" + }, + "referenz": { + "type": [ + "string", + "null" + ] + }, + "referenzDatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "betrag" + ] + }, + "Zeitraum": { + "type": "object", + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + } + }, + "type": "object", + "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" + ] + }, + "rechnungstitel": { + "type": [ + "string", + "null" + ] + }, + "rechnungsstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "GEPRUEFT_OK", + "GEPRUEFT_FEHLERHAFT", + "GEBUCHT", + "BEZAHLT" + ] + }, + "storno": { + "type": "boolean" + }, + "rechnungsnummer": { + "type": "string" + }, + "rechnungsdatum": { + "type": "string", + "format": "date-time" + }, + "faelligkeitsdatum": { + "type": "string", + "format": "date-time" + }, + "rechnungstyp": { + "type": "string", + "enum": [ + "ABSCHLAGSRECHNUNG", + "TURNUSRECHNUNG", + "MONATSRECHNUNG", + "WIMRECHNUNG", + "ZWISCHENRECHNUNG", + "INTEGRIERTE_13TE_RECHNUNG", + "ZUSAETZLICHE_13TE_RECHNUNG", + "MEHRMINDERMENGENRECHNUNG", + "ABSCHLUSSRECHNUNG", + "MSBRECHNUNG", + "KAPAZITAETSRECHNUNG", + "SPERRUNG_INBETRIEBNAHME", + "VERZUGSKOSTEN", + "BLINDARBEIT", + "SONDERRECHNUNG", + "ABRECHNUNG_VON_KONFIGURATIONEN_UNIVERSALBESTELLPROZESS" + ] + }, + "originalRechnungsnummer": { + "type": [ + "string", + "null" + ] + }, + "rechnungsperiode": { + "$ref": "#/definitions/Zeitraum" + }, + "rechnungsersteller": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "rechnungsempfaenger": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "gesamtnetto": { + "$ref": "#/definitions/Betrag" + }, + "gesamtsteuer": { + "$ref": "#/definitions/Betrag" + }, + "gesamtbrutto": { + "$ref": "#/definitions/Betrag" + }, + "vorausgezahlt": { + "$ref": "#/definitions/Betrag-1" + }, + "rabattBrutto": { + "$ref": "#/definitions/Betrag-1" + }, + "zuzahlen": { + "$ref": "#/definitions/Betrag" + }, + "steuerbetraege": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Steuerbetrag" + } + }, + "rechnungspositionen": { + "type": "array", + "items": { + "$ref": "#/definitions/Rechnungsposition" + } + }, + "istSelbstausgestellt": { + "type": [ + "boolean", + "null" + ] + }, + "istReverseCharge": { + "type": [ + "boolean", + "null" + ] + }, + "vorauszahlungen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Vorauszahlung" + } + }, + "sonderrechnungsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KONZESSIONSABGABE_TESTAT", + "INDIVIDUELL_ATYPISCH", + "INDIVIDUELL_SINGULAER", + "KWKG_UMLAGE", + "OFFSHORE_UMLAGE", + "P19_STROM_NEV_UMLAGE", + "P18_ABLAV", + "KONZESSIONSABGABE_WECHSEL_RLM", + "PRIVILEGIERUNG_NACH_ENFG" + ] + }, + "buchungsdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "storno", + "rechnungsnummer", + "rechnungsdatum", + "faelligkeitsdatum", + "rechnungstyp", + "rechnungsperiode", + "rechnungsersteller", + "rechnungsempfaenger", + "gesamtnetto", + "gesamtsteuer", + "gesamtbrutto", + "zuzahlen", + "rechnungspositionen" + ] +} \ No newline at end of file diff --git a/json-schema-files/Region.json b/json-schema-files/Region.json new file mode 100644 index 00000000..716c2a7f --- /dev/null +++ b/json-schema-files/Region.json @@ -0,0 +1,186 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Regionskriterium": { + "type": [ + "object", + "null" + ], + "properties": { + "gueltigkeitstyp": { + "type": "string", + "enum": [ + "NICHT_IN" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "mengenoperator": { + "type": "string", + "enum": [ + "KLEINER_ALS", + "GROESSER_ALS", + "GLEICH" + ] + }, + "regionskriteriumtyp": { + "type": "string", + "enum": [ + "BUNDESLANDKENNZIFFER", + "BUNDESLAND_NAME", + "MARKTGEBIET_NUMMER", + "MARKTGEBIET_NAME", + "REGELGEBIET_NUMMER", + "REGELGEBIET_NAME", + "NETZBETREIBER_NUMMER", + "NETZBETREIBER_NAME", + "BILANZIERUNGS_GEBIET_NUMMER", + "MSB_NUMMER", + "MSB_NAME", + "VERSORGER_NUMMER", + "VERSORGER_NAME", + "GRUNDVERSORGER_NUMMER", + "GRUNDVERSORGER_NAME", + "KREIS_NAME", + "KREISKENNZIFFER", + "GEMEINDE_NAME", + "GEMEINDEKENNZIFFER", + "POSTLEITZAHL", + "ORT", + "EINWOHNERZAHL_GEMEINDE", + "EINWOHNERZAHL_ORT", + "KM_UMKREIS", + "BUNDESWEIT" + ] + }, + "wert": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "gueltigkeitstyp", + "mengenoperator", + "regionskriteriumtyp", + "wert" + ] + } + }, + "type": "object", + "properties": { + "boTyp": { + "type": [ + "string", + "null" + ] + }, + "versionStruktur": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "bezeichnung": { + "type": "string" + }, + "externeReferenzen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "positivListe": { + "type": "array", + "items": { + "$ref": "#/definitions/Regionskriterium" + } + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "negativListe": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Regionskriterium" + } + } + }, + "required": [ + "bezeichnung", + "positivListe" + ] +} \ No newline at end of file diff --git a/json-schema-files/Reklamation.json b/json-schema-files/Reklamation.json new file mode 100644 index 00000000..51e09aa2 --- /dev/null +++ b/json-schema-files/Reklamation.json @@ -0,0 +1,196 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Zeitraum": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + } + }, + "type": "object", + "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" + ] + }, + "lokationsId": { + "type": "string" + }, + "lokationsTyp": { + "type": "string", + "enum": [ + "MALO", + "MELO" + ] + }, + "obiskennzahl": { + "type": "string" + }, + "ZeitraumMesswertanfrage": { + "$ref": "#/definitions/Zeitraum" + }, + "reklamationsgrund": { + "type": "string", + "enum": [ + "WERTE_ZU_HOCH", + "WERTE_ZU_NIEDRIG", + "WERTE_FEHLEN" + ] + }, + "reklamationsgrundBemerkung": { + "type": [ + "string", + "null" + ] + }, + "zeitpunktFuerWertanfrage": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "lokationsId", + "lokationsTyp", + "obiskennzahl", + "reklamationsgrund" + ] +} \ No newline at end of file diff --git a/json-schema-files/Sperrauftrag.json b/json-schema-files/Sperrauftrag.json new file mode 100644 index 00000000..2f258ca1 --- /dev/null +++ b/json-schema-files/Sperrauftrag.json @@ -0,0 +1,618 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Preis": { + "type": [ + "object", + "null" + ], + "properties": { + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EUR", + "CT" + ] + }, + "bezugswert": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORLAEUFIG", + "ENDGUELTIG" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "wert" + ] + } + }, + "type": "object", + "properties": { + "sperrauftragsart": { + "type": "string", + "enum": [ + "SPERREN", + "ENTSPERREN" + ] + }, + "sperrauftragsstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "GESCHEITERT", + "ERFOLGREICH", + "GEPLANT", + "ZUGESTIMMT", + "WIDERSPROCHEN", + "ABGELEHNT" + ] + }, + "sperrauftragsablehngrund": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DUPLIKAT", + "FALSCHER_MSB", + "FALSCHE_SPANNUNGSEBENE", + "WEITERE_MALO_BETROFFEN", + "ANDERER_ABLEHNGRUND", + "FRISTVERLETZUNG_TERMINGEBUNDEN", + "FRISTVERLETZUNG_NICHT_TERMINGEBUNDEN", + "ANDERER_FEHLER", + "LIEGT_BEREITS_VOR", + "ANDERER_ZUKUENFTIGER_LIEFERANT", + "BESTAETIGTER_LIEFERBEGINN" + ] + }, + "sperrauftragsverhinderungsgrund": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "RECHTLICHER_GRUND_FEHLT", + "AKTIVE_ZUTRITTSVERWEIGERUNG", + "PASSIVE_ZUTRITTSVERWEIGERUNG", + "ANDERER_VERHINDERUNGSGRUND", + "TATSAECHLICHER_VERHINDERUNGSGRUND", + "TECHNISCHER_VERHINDERUNGSGRUND", + "ANSCHLUSSNUTZER_WURDE_NICHT_ANGETROFFEN" + ] + }, + "zaehlernummer": { + "type": [ + "string", + "null" + ] + }, + "istVomGerichtsvollzieherAngeordnet": { + "type": "boolean" + }, + "ausfuehrungsdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "boTyp": { + "type": [ + "string", + "null" + ] + }, + "fertigstellungsdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "versionStruktur": { + "type": [ + "string", + "null" + ] + }, + "sparte": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "lieferanschrift": { + "$ref": "#/definitions/Adresse" + }, + "externeReferenzen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "marktlokationsId": { + "type": "string" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "bemerkungen": { + "type": [ + "array", + "null" + ], + "items": { + "type": [ + "string", + "null" + ] + } + }, + "mindestpreis": { + "$ref": "#/definitions/Preis" + }, + "hoechstpreis": { + "$ref": "#/definitions/Preis" + } + }, + "required": [ + "sperrauftragsart", + "istVomGerichtsvollzieherAngeordnet", + "marktlokationsId" + ] +} \ No newline at end of file diff --git a/json-schema-files/SperrauftragsStorno.json b/json-schema-files/SperrauftragsStorno.json new file mode 100644 index 00000000..cc264798 --- /dev/null +++ b/json-schema-files/SperrauftragsStorno.json @@ -0,0 +1,89 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "properties": { + "originalSperrauftragsart": { + "type": "string", + "enum": [ + "SPERREN", + "ENTSPERREN" + ] + }, + "auftragsId": { + "type": "string" + }, + "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" + ] + } + }, + "required": [ + "originalSperrauftragsart", + "auftragsId" + ] +} \ No newline at end of file diff --git a/json-schema-files/Statusbericht.json b/json-schema-files/Statusbericht.json new file mode 100644 index 00000000..d6c4d612 --- /dev/null +++ b/json-schema-files/Statusbericht.json @@ -0,0 +1,271 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Fehler": { + "type": [ + "object", + "null" + ], + "properties": { + "typ": { + "type": "string", + "enum": [ + "SYNTAX", + "VERARBEITUNG" + ] + }, + "fehlerDetails": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/FehlerDetail" + } + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "typ" + ] + }, + "FehlerDetail": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "code": { + "type": "string", + "enum": [ + "ID_UNBEKANNT", + "ABSENDER_NICHT_ZUGEORDNET", + "EMPFAENGER_NICHT_ZUGEORDNET", + "GERAET_UNBEKANNT", + "OBIS_UNBEKANNT", + "REFERENZIERUNG_FEHLERHAFT", + "TUPEL_UNBEKANNT", + "ABSENDER_TUPEL_NICHT_ZUGEORDNET", + "EMPFAENGER_TUPEL_NICHT_ZUGEORDNET", + "VORKOMMA_ZU_VIELE_STELLEN", + "ZEITREIHE_UNVOLLSTAENDIG", + "REFERENZIERTES_TUPEL_UNBEKANNT", + "MARKTLOKATION_UNBEKANNT", + "MESSLOKATION_UNBEKANNT", + "MELDEPUNKT_NICHT_MEHR_IM_NETZ", + "ERFORDERLICHE_ANGABE_FEHLT", + "GESCHAEFTSVORFALL_ZURUECKGEWIESEN", + "ZEITINTERVALL_NEGATIV", + "FORMAT_NICHT_EINGEHALTEN", + "GESCHAEFTSVORFALL_ABSENDER", + "KONFIGURATIONSID_UNBEKANNT", + "SEGMENTWIEDERHOLUNG_UEBERSCHRITTEN", + "ANZAHLCODES_UEBERSCHRITTEN", + "ZEITANGABE_UNPLAUSIBEL", + "SYNTAXVERSION_NICHT_UNTERSTUETZT", + "FALSCHER_EMPFAENGER", + "WERT_UNGUELTIG", + "WERT_FEHLT", + "WERT_UEBERFLUESSIG", + "BEGRENZER_UNPLAUSIBEL", + "ZEICHEN_UNPLAUSIBEL", + "ABSENDER_UNBEKANNT", + "TESTKENNZEICHEN_UNPLAUSIBEL", + "DUPLIKAT", + "KONTROLLZAEHLER_UNPLAUSIBEL", + "WERT_ZU_LANG", + "WIEDERHOLUNG_UNPLAUSIBEL" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "ursache": { + "$ref": "#/definitions/FehlerUrsache" + } + }, + "required": [ + "code" + ] + }, + "FehlerUrsache": { + "type": [ + "object", + "null" + ], + "properties": { + "dokument": { + "type": [ + "string", + "null" + ] + }, + "nachricht": { + "type": [ + "string", + "null" + ] + }, + "transaktion": { + "type": [ + "string", + "null" + ] + }, + "gruppe": { + "type": [ + "string", + "null" + ] + }, + "segment": { + "type": [ + "string", + "null" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "status": { + "type": "string", + "enum": [ + "ERFOLGREICH", + "FEHLER" + ] + }, + "pruefgegenstand": { + "type": [ + "string", + "null" + ] + }, + "datumPruefung": { + "type": "string", + "format": "date-time" + }, + "fehler": { + "$ref": "#/definitions/Fehler" + } + }, + "required": [ + "status", + "datumPruefung" + ] +} \ No newline at end of file diff --git a/json-schema-files/SteuerbareRessource.json b/json-schema-files/SteuerbareRessource.json new file mode 100644 index 00000000..fdeb2bf4 --- /dev/null +++ b/json-schema-files/SteuerbareRessource.json @@ -0,0 +1,1164 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "Ansprechpartner": { + "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" + ] + }, + "inviduelleAnrede": { + "type": [ + "string", + "null" + ] + }, + "titel": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DR", + "PROF", + "PROF_DR" + ] + }, + "vorname": { + "type": [ + "string", + "null" + ] + }, + "nachname": { + "type": [ + "string", + "null" + ] + }, + "eMailAdresse": { + "type": [ + "string", + "null" + ] + }, + "kommentar": { + "type": [ + "string", + "null" + ] + }, + "geschaeftspartner": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "adresse": { + "$ref": "#/definitions/Adresse" + }, + "rufnummern": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "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" + } + } + }, + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "rollencodenummer": { + "type": "string" + }, + "rollencodetyp": { + "type": "string", + "enum": [ + "ZERO", + "GLN", + "BDEW", + "DVGW" + ] + }, + "makoadresse": { + "type": [ + "string", + "null" + ] + }, + "ansprechpartner": { + "$ref": "#/definitions/Ansprechpartner" + } + }, + "required": [ + "gewerbekennzeichnung", + "rollencodenummer", + "rollencodetyp" + ] + }, + "Rufnummer": { + "type": [ + "object", + "null" + ], + "properties": { + "nummerntyp": { + "type": "string", + "enum": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ] + }, + "rufnummer": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "nummerntyp", + "rufnummer" + ] + }, + "Zustaendigkeit": { + "type": [ + "object", + "null" + ], + "properties": { + "jobtitel": { + "type": [ + "string", + "null" + ] + }, + "abteilung": { + "type": [ + "string", + "null" + ] + }, + "themengebiet": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "steuerbareRessourceId": { + "type": "string", + "default": "|null|" + }, + "steuerkanalsLeistungsbeschreibung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AN_AUS", + "GESTUFT" + ] + }, + "zugeordnetMSBCodeNr": { + "type": [ + "string", + "null" + ] + }, + "konfigurationsprodukte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "steuerbareRessourceId" + ] +} \ No newline at end of file diff --git a/json-schema-files/Summenzeitreihe.json b/json-schema-files/Summenzeitreihe.json new file mode 100644 index 00000000..2ca52f0e --- /dev/null +++ b/json-schema-files/Summenzeitreihe.json @@ -0,0 +1,526 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "StatusZusatzInformation": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "art": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ] + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIF_1", + "TARIF_2", + "TARIF_3", + "TARIF_4", + "TARIF_5", + "TARIF_6", + "TARIF_7", + "TARIF_8", + "TARIF_9", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_VORHANDEN_UND_KOMMUNIZIERT", + "ZAEHLERSTAND_ZUM_BEGINN_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "ZAEHLERSTAND_ZUM_ENDE_DER_ANGEGEBENEN_ENERGIEMENGE_NICHT_VORHANDEN_DA_MENGENABGRENZUNG", + "KEIN_ZUGANG", + "KOMMUNIKATIONSSTOERUNG", + "NETZAUSFALL", + "SPANNUNGSAUSFALL", + "STATUS_GERAETEWECHSEL", + "KALIBRIERUNG", + "GERAET_ARBEITET_AUSSERHALB_DER_BETRIEBSBEDINGUNGEN", + "MESSEINRICHTUNG_GESTOERT_DEFEKT", + "UNSICHERHEIT_MESSUNG", + "KUNDENSELBSTABLESUNG", + "LEERSTAND", + "REALER_ZAEHLERUEBERLAUF_GEPRUEFT", + "PLAUSIBEL_WG_KONTROLLABLESUNG", + "PLAUSIBEL_WG_KUNDENHINWEIS", + "VERGLEICHSMESSUNG_GEEICHT", + "VERGLEICHSMESSUNG_NICHT_GEEICHT", + "MESSWERTNACHBILDUNG_AUS_GEEICHTEN_WERTEN", + "MESSWERTNACHBILDUNG_AUS_NICHT_GEEICHTEN_WERTEN", + "INTERPOLATION", + "HALTEWERT", + "BILANZIERUNG_NETZABSCHNITT", + "HISTORISCHE_MESSWERTE", + "BERUECKSICHTIGUNG_STOERMENGENZAEHLWERK", + "MENGENUMWERTUNG_VOLLSTAENDIG", + "UHRZEIT_GESTELLT_SYNCHRONISATION", + "MESSWERT_UNPLAUSIBEL", + "FALSCHER_WANDLERFAKTOR", + "FEHLERHAFTE_ABLESUNG", + "AENDERUNG_DER_BERECHNUNG", + "UMBAU_DER_MESSLOKATION", + "DATENBEARBEITUNGSFEHLER", + "BRENNWERTKORREKTUR", + "Z_ZAHL_KORREKTUR", + "STOERUNG_DEFEKT_MESSEINRICHTUNG", + "AENDERUNG_TARIFSCHALTZEITEN", + "TARIFSCHALTGERAET_DEFEKT", + "AUSTAUSCH_DES_ERSATZWERTES", + "IMPULSWERTIGKEIT_NICHT_AUSREICHEND", + "UMSTELLUNG_GASQUALITAET", + "STATISTISCHE_METHODE", + "ENERGIEMENGE_IN_UNGEMESSENEM_ZEITINTERVALL", + "ENERGIEMENGE_AUS_DEM_UNGEPAIRTEN_ZEITINTERVALL", + "AUFTEILUNG", + "VERWENDUNG_VON_WERTEN_DES_STOERMENGENZAEHLWERKS", + "UMGANGS_UND_KORREKTURMENGEN", + "WARTUNGSARBEITEN_AN_GEEICHTEM_MESSGERAET", + "GESTOERTE_WERTE", + "WARTUNGSARBEITEN_AN_EICHRECHTSKONFORMEN_MESSGERAETEN", + "KONSISTENZ_UND_SYNCHRONPRUEFUNG", + "RECHENWERT", + "ANGABEN_MESSLOKATION", + "BASIS_MME", + "GRUND_ANGABEN_MESSLOKATION", + "ANFORDERUNG_IN_DIE_VERGANGENHEIT_ZUM_ANGEFORDERTEN_ZEITPUNKT_LIEGT_KEIN_WERT_VOR" + ] + } + } + }, + "Verbrauch": { + "type": [ + "object", + "null" + ], + "properties": { + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "type": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ] + }, + "tarifstufe": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wertermittlungsverfahren": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "PROGNOSE", + "MESSUNG" + ] + }, + "messwertstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ] + }, + "statuszusatzinformationen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string" + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": "string", + "enum": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "nutzungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "ausfuehrungszeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + } + }, + "required": [ + "obiskennzahl", + "wert", + "einheit" + ] + }, + "Zeitreihenprodukt": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "identifikation": { + "type": [ + "string", + "null" + ] + }, + "korrekturfaktor": { + "type": [ + "number", + "null" + ] + }, + "verbrauch": { + "$ref": "#/definitions/Verbrauch" + } + } + } + }, + "type": "object", + "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" + ] + }, + "zaehlpunktId": { + "type": [ + "string", + "null" + ] + }, + "bilanzierungsbeginn": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "bilanzierungsende": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "bilanzkreis": { + "type": [ + "string", + "null" + ] + }, + "bilanzierungsgebiet": { + "type": [ + "string", + "null" + ] + }, + "regelzone": { + "type": [ + "string", + "null" + ] + }, + "bezeichnung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "BG_SZR_B", + "BG_SZR_C", + "BK_SZR_A", + "BK_SZR_B_RZ", + "BK_SZR_B_BG", + "BK_SZR_C", + "LF_SZR_A", + "LF_SZR_B_RZ", + "LF_SZR_B_BG", + "DZUE", + "NZR", + "ASZR" + ] + }, + "bezugszeitraum": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "zeitreihentyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EGS", + "LGS", + "NZR", + "SES", + "SLS", + "TES", + "TLS", + "SLS_TLS", + "SES_TES" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "spannungsebene": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ] + }, + "produkte": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zeitreihenprodukt" + } + } + } +} \ No newline at end of file diff --git a/json-schema-files/TechnischeRessource.json b/json-schema-files/TechnischeRessource.json new file mode 100644 index 00000000..bee0ab80 --- /dev/null +++ b/json-schema-files/TechnischeRessource.json @@ -0,0 +1,250 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Menge": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + } + }, + "required": [ + "wert" + ] + } + }, + "type": "object", + "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" + ] + }, + "technischeRessourceId": { + "type": [ + "string", + "null" + ], + "default": "|null|" + }, + "vorgelagerteMesslokationsId": { + "type": [ + "string", + "null" + ] + }, + "zugeordneteMarktlokationsId": { + "type": [ + "string", + "null" + ] + }, + "zugeordneteSteuerbareRessourceId": { + "type": [ + "string", + "null" + ] + }, + "nennleistungAufnahme": { + "$ref": "#/definitions/Menge" + }, + "nennleistungAbgabe": { + "$ref": "#/definitions/Menge" + }, + "speicherkapazitaet": { + "$ref": "#/definitions/Menge" + }, + "technischeRessourceNutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMVERBRAUCHSART", + "STROMERZEUGUNGSART", + "SPEICHER" + ] + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KRAFT_LICHT", + "WAERME", + "E_MOBILITAET", + "STRASSENBELEUCHTUNG" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + }, + "erzeugungsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KWK", + "WIND", + "SOLAR", + "KERNKRAFT", + "WASSER", + "GEOTHERMIE", + "BIOMASSE", + "KOHLE", + "GAS", + "SONSTIGE", + "SONSTIGE_EEG" + ] + }, + "speicherart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WASSERSTOFFSPEICHER", + "PUMPSPEICHER", + "BATTERIESPEICHER", + "SONSTIGE_SPEICHERART" + ] + }, + "lokationsbuendelObjektcode": { + "type": [ + "string", + "null" + ] + } + } +} \ No newline at end of file diff --git a/json-schema-files/Tranche.json b/json-schema-files/Tranche.json new file mode 100644 index 00000000..19f24362 --- /dev/null +++ b/json-schema-files/Tranche.json @@ -0,0 +1,179 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "MarktpartnerDetails": { + "type": [ + "object", + "null" + ], + "properties": { + "rollencodenummer": { + "type": [ + "string", + "null" + ] + }, + "code": { + "type": [ + "string", + "null" + ] + }, + "marktrolle": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "weiterverpflichtet": { + "type": [ + "boolean", + "null" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "trancheId": { + "type": "string", + "default": "|null|" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "aufteilungsmenge": { + "type": [ + "number", + "null" + ] + }, + "obisKennzahl": { + "type": [ + "string", + "null" + ] + }, + "marktrollen": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + } + }, + "required": [ + "trancheId", + "sparte" + ] +} \ No newline at end of file diff --git a/json-schema-files/Vertrag.json b/json-schema-files/Vertrag.json new file mode 100644 index 00000000..f7d6d99c --- /dev/null +++ b/json-schema-files/Vertrag.json @@ -0,0 +1,1084 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Menge": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "wert": { + "type": "number" + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + } + }, + "required": [ + "wert" + ] + }, + "Unterschrift": { + "type": [ + "object", + "null" + ], + "properties": { + "ort": { + "type": [ + "string", + "null" + ] + }, + "datum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "name": { + "type": "string" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "name" + ] + }, + "Vertragskonditionen": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "anzahlAbschlaege": { + "type": [ + "integer", + "null" + ] + }, + "vertragslaufzeit": { + "$ref": "#/definitions/Zeitraum" + }, + "kuendigungsfrist": { + "$ref": "#/definitions/Zeitraum" + }, + "vertragsverlaengerung": { + "$ref": "#/definitions/Zeitraum" + }, + "abschlagszyklus": { + "$ref": "#/definitions/Zeitraum" + }, + "startAbrechnungsjahr": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "geplanteTurnusablesung": { + "$ref": "#/definitions/Zeitraum" + }, + "turnusablesungIntervall": { + "type": [ + "integer", + "null" + ] + }, + "netznutzungsabrechnung": { + "$ref": "#/definitions/Zeitraum" + }, + "netznutzungsabrechnungIntervall": { + "type": [ + "integer", + "null" + ] + }, + "haushaltskunde": { + "type": [ + "boolean", + "null" + ] + }, + "netznutzungsvertrag": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KUNDEN_NB", + "LIEFERANTEN_NB" + ] + }, + "netznutzungszahler": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KUNDE", + "LIEFERANT" + ] + }, + "netznutzungsabrechnungsvariante": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ARBEITSPREIS_GRUNDPREIS", + "ARBEITSPREIS_LEISTUNGSPREIS" + ] + }, + "netznutzungsabrechnungsgrundlage": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "LIEFERSCHEIN", + "ABWEICHENDE_GRUNDLAGE" + ] + }, + "beinhaltetSingulaerGenutzteBetriebsmittel": { + "type": [ + "boolean", + "null" + ] + } + } + }, + "Vertragsteil": { + "type": [ + "object", + "null" + ], + "properties": { + "vertragsteilbeginn": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "vertragsteilende": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "lokation": { + "type": [ + "string", + "null" + ] + }, + "vertraglichFixierteMenge": { + "$ref": "#/definitions/Menge" + }, + "minimaleAbnahmemenge": { + "$ref": "#/definitions/Menge" + }, + "maximaleAbnahmemenge": { + "$ref": "#/definitions/Menge" + }, + "jahresverbrauchsprognose": { + "$ref": "#/definitions/Menge" + }, + "kundenwert": { + "$ref": "#/definitions/Menge" + }, + "verbrauchsaufteilung": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Zeitraum": { + "type": [ + "object", + "null" + ], + "properties": { + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ] + }, + "dauer": { + "type": [ + "number", + "null" + ] + }, + "startdatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "enddatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "startzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endzeitpunkt": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "startzeitpunkt", + "endzeitpunkt" + ] + } + }, + "type": "object", + "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" + ] + }, + "vertragsnummer": { + "type": [ + "string", + "null" + ] + }, + "beschreibung": { + "type": [ + "string", + "null" + ] + }, + "vertragsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ENERGIELIEFERVERTRAG", + "NETZNUTZUNGSVERTRAG", + "BILANZIERUNGSVERTRAG", + "MESSSTELLENBETRIEBSVERTRAG", + "BUENDELVERTRAG" + ] + }, + "vertragstatus": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "IN_ARBEIT", + "UEBERMITTELT", + "ANGENOMMEN", + "AKTIV", + "ABGELEHNT", + "WIDERRUFEN", + "STORNIERT", + "GEKUENDIGT", + "BEENDET" + ] + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "vertragsbeginn": { + "type": "string", + "format": "date-time" + }, + "vertragsende": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "vertragspartner1": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "vertragspartner2": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "unterzeichnervp1": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Unterschrift" + } + }, + "unterzeichnervp2": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Unterschrift" + } + }, + "vertragskonditionen": { + "$ref": "#/definitions/Vertragskonditionen" + }, + "vertragsteile": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Vertragsteil" + } + }, + "gemeinderabatt": { + "type": [ + "number", + "null" + ] + }, + "korrespondenzpartner": { + "$ref": "#/definitions/Geschaeftspartner" + } + }, + "required": [ + "sparte", + "vertragsbeginn" + ] +} \ No newline at end of file diff --git a/json-schema-files/Wechsel.json b/json-schema-files/Wechsel.json new file mode 100644 index 00000000..c6981aca --- /dev/null +++ b/json-schema-files/Wechsel.json @@ -0,0 +1,310 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geraet": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraeteart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ] + } + } + }, + "Geraeteeigenschaften": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetetyp": { + "type": "string", + "enum": [ + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "geraetemerkmal": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "Parameter": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": [ + "string", + "null" + ] + } + } + }, + "required": [ + "geraetetyp" + ] + } + }, + "type": "object", + "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" + ] + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "geraete": { + "type": "array", + "items": { + "$ref": "#/definitions/Geraet" + } + }, + "wechseldatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "vollstaendig": { + "type": [ + "boolean", + "null" + ] + } + }, + "required": [ + "sparte", + "geraete" + ] +} \ No newline at end of file diff --git a/json-schema-files/Zaehler.json b/json-schema-files/Zaehler.json new file mode 100644 index 00000000..d12126a6 --- /dev/null +++ b/json-schema-files/Zaehler.json @@ -0,0 +1,1405 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "Adresse": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "postleitzahl": { + "type": "string" + }, + "ort": { + "type": "string" + }, + "strasse": { + "type": [ + "string", + "null" + ] + }, + "hausnummer": { + "type": [ + "string", + "null" + ] + }, + "postfach": { + "type": [ + "string", + "null" + ] + }, + "adresszusatz": { + "type": [ + "string", + "null" + ] + }, + "coErgaenzung": { + "type": [ + "string", + "null" + ] + }, + "landescode": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AC", + "AD", + "AE", + "AF", + "AG", + "AI", + "AL", + "AM", + "AN", + "AO", + "AQ", + "AR", + "AS", + "AT", + "AU", + "AW", + "AX", + "AZ", + "BA", + "BB", + "BD", + "BE", + "BF", + "BG", + "BH", + "BI", + "BJ", + "BL", + "BM", + "BN", + "BO", + "BQ", + "BR", + "BS", + "BT", + "BU", + "BV", + "BW", + "BY", + "BZ", + "CA", + "CC", + "CD", + "CF", + "CG", + "CH", + "CI", + "CK", + "CL", + "CM", + "CN", + "CO", + "CP", + "CR", + "CS", + "CU", + "CV", + "CW", + "CX", + "CY", + "CZ", + "DE", + "DG", + "DJ", + "DK", + "DM", + "DO", + "DZ", + "EA", + "EC", + "EE", + "EG", + "EH", + "ER", + "ES", + "ET", + "EU", + "FI", + "FJ", + "FK", + "FM", + "FO", + "FR", + "FX", + "GA", + "GB", + "GD", + "GE", + "GF", + "GG", + "GH", + "GI", + "GL", + "GM", + "GN", + "GP", + "GQ", + "GR", + "GS", + "GT", + "GU", + "GW", + "GY", + "HK", + "HM", + "HN", + "HR", + "HT", + "HU", + "IC", + "ID", + "IE", + "IL", + "IM", + "IN", + "IO", + "IQ", + "IR", + "IS", + "IT", + "JE", + "JM", + "JO", + "JP", + "KE", + "KG", + "KH", + "KI", + "KM", + "KN", + "KP", + "KR", + "KW", + "KY", + "KZ", + "LA", + "LB", + "LC", + "LI", + "LK", + "LR", + "LS", + "LT", + "LU", + "LV", + "LY", + "MA", + "MC", + "MD", + "ME", + "MF", + "MG", + "MH", + "MK", + "ML", + "MM", + "MN", + "MO", + "MP", + "MQ", + "MR", + "MS", + "MT", + "MU", + "MV", + "MW", + "MX", + "MY", + "MZ", + "NA", + "NC", + "NE", + "NF", + "NG", + "NI", + "NL", + "NO", + "NP", + "NR", + "NT", + "NU", + "NZ", + "OM", + "PA", + "PE", + "PF", + "PG", + "PH", + "PK", + "PL", + "PM", + "PN", + "PR", + "PS", + "PT", + "PW", + "PY", + "QA", + "RE", + "RO", + "RS", + "RU", + "RW", + "SA", + "SB", + "SC", + "SD", + "SE", + "SF", + "SG", + "SH", + "SI", + "SJ", + "SK", + "SL", + "SM", + "SN", + "SO", + "SR", + "SS", + "ST", + "SU", + "SV", + "SX", + "SY", + "SZ", + "TA", + "TC", + "TD", + "TF", + "TG", + "TJ", + "TK", + "TL", + "TM", + "TN", + "TO", + "TP", + "TR", + "TT", + "TV", + "TW", + "TZ", + "UA", + "UG", + "UK", + "UM", + "US", + "UY", + "UZ", + "VA", + "VC", + "VE", + "VG", + "VI", + "VN", + "VU", + "WF", + "WS", + "XK", + "YE", + "YT", + "YU", + "ZA", + "ZM", + "ZR", + "ZW" + ] + }, + "ortsteil": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "postleitzahl", + "ort" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Geraet": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetenummer": { + "type": [ + "string", + "null" + ] + }, + "geraeteeigenschaften": { + "$ref": "#/definitions/Geraeteeigenschaften" + }, + "geraeteart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ] + } + } + }, + "Geraeteeigenschaften": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "geraetetyp": { + "type": "string", + "enum": [ + "WECHSELSTROMZAEHLER", + "DREHSTROMZAEHLER", + "ZWEIRICHTUNGSZAEHLER", + "RLM_ZAEHLER", + "IMS_ZAEHLER", + "BALGENGASZAEHLER", + "MAXIMUMZAEHLER", + "MULTIPLEXANLAGE", + "PAUSCHALANLAGE", + "VERSTAERKERANLAGE", + "SUMMATIONSGERAET", + "IMPULSGEBER", + "EDL_21_ZAEHLERAUFSATZ", + "VIER_QUADRANTEN_LASTGANGZAEHLER", + "MENGENUMWERTER", + "STROMWANDLER", + "SPANNUNGSWANDLER", + "DATENLOGGER", + "KOMMUNIKATIONSANSCHLUSS", + "MODEM", + "TELEKOMMUNIKATIONSEINRICHTUNG", + "DREHKOLBENGASZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLZAEHLER", + "WIRBELGASZAEHLER", + "MODERNE_MESSEINRICHTUNG", + "ELEKTRONISCHER_HAUSHALTSZAEHLER", + "STEUEREINRICHTUNG", + "TECHNISCHESTEUEREINRICHTUNG", + "TARIFSCHALTGERAET", + "RUNDSTEUEREMPFAENGER", + "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", + "MESSWANDLERSATZ_IMS_MME", + "KOMBIMESSWANDLER_IMS_MME", + "TARIFSCHALTGERAET_IMS_MME", + "RUNDSTEUEREMPFAENGER_IMS_MME", + "TEMPERATUR_KOMPENSATION", + "HOECHSTBELASTUNGS_ANZEIGER", + "SONSTIGES_GERAET", + "SMARTMETERGATEWAY", + "STEUERBOX", + "BLOCKSTROMWANDLER", + "KOMBIMESSWANDLER" + ] + }, + "geraetemerkmal": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "Parameter": { + "type": [ + "object", + "null" + ], + "additionalProperties": { + "type": [ + "string", + "null" + ] + } + } + }, + "required": [ + "geraetetyp" + ] + }, + "Geschaeftspartner": { + "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" + ] + }, + "grundDerPrivilegierungNachEnFG": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STROMSPEICHER_UND_VERLUSTENERGIE", + "ELEKTRISCH_ANGETRIEBENE_WAERMEPUMPEN", + "UMLAGEERHEBUNG_BEI_ANLAGEN_ZUR_VERSTROMUNG_VON_KUPPELGASEN", + "HERSTELLUNG_VON_GRUENEN_WASSERSTOFF", + "STROMKOSTENINTENSIVE_UNTERNEHMEN", + "HERSTELLUNG_VON_WASSERSTOFF_IN_STROMKOSTENINTENSIVEN_UNTERNEHMEN", + "SCHIENENBAHNEN", + "ELEKTRISCHE_BETRIEBENE_BUSSEN_IM_LINIENVERKEHR", + "LANDSTROMANLAGEN" + ] + } + }, + "required": [ + "gewerbekennzeichnung" + ] + }, + "Konzessionsabgabe": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "kosten": { + "type": [ + "number", + "null" + ] + }, + "kategorie": { + "type": [ + "string", + "null" + ] + }, + "satz": { + "type": "string", + "enum": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ] + } + }, + "required": [ + "satz" + ] + }, + "Verwendungszweck": { + "type": [ + "object", + "null" + ], + "properties": { + "marktrolle": { + "type": "string", + "enum": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ] + }, + "zweck": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "enum": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ] + } + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "marktrolle" + ] + }, + "Zaehlwerk": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlwerkId": { + "type": [ + "string", + "null" + ] + }, + "bezeichnung": { + "type": [ + "string", + "null" + ] + }, + "richtung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "AUSSP", + "EINSP" + ] + }, + "obisKennzahl": { + "type": [ + "string", + "null" + ] + }, + "wandlerfaktor": { + "type": [ + "number", + "null" + ] + }, + "einheit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ] + }, + "kennzahl": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + }, + "verwendungszwecke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "KL", + "KLW", + "KLWS", + "W", + "WS" + ] + }, + "unterbrechbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "UV", + "NUV" + ] + }, + "waermenutzung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "SPEICHERHEIZUNG", + "WAERMEPUMPE", + "DIREKTHEIZUNG" + ] + }, + "konzessionsabgabe": { + "$ref": "#/definitions/Konzessionsabgabe" + }, + "steuerbefreit": { + "type": [ + "boolean", + "null" + ] + }, + "vorkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "nachkommastelle": { + "type": [ + "integer", + "null" + ] + }, + "abrechnungsrelevant": { + "type": [ + "boolean", + "null" + ] + }, + "anzahlAblesungen": { + "type": [ + "integer", + "null" + ] + }, + "zaehlzeiten": { + "$ref": "#/definitions/Zaehlzeitregister" + }, + "konfiguration": { + "type": [ + "string", + "null" + ] + }, + "emobilitaetsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WALLBOX", + "E_MOBILITAETSLADESAEULE", + "LADEPARK" + ] + } + } + }, + "Zaehlzeitregister": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlzeitDefinition": { + "type": [ + "string", + "null" + ] + }, + "register": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "zaehlernummer": { + "type": "string" + }, + "sparte": { + "type": "string", + "enum": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ] + }, + "zaehlerauspraegung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINRICHTUNGSZAEHLER", + "ZWEIRICHTUNGSZAEHLER" + ] + }, + "zaehlertyp": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ] + }, + "tarifart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ] + }, + "zaehlerkonstante": { + "type": [ + "number", + "null" + ] + }, + "eichungBis": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "letzteEichung": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "zaehlwerke": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlwerk" + }, + "minItems": 1 + }, + "zaehlerhersteller": { + "$ref": "#/definitions/Geschaeftspartner" + }, + "gateway": { + "type": [ + "string", + "null" + ] + }, + "fernschaltung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VORHANDEN", + "NICHT_VORHANDEN" + ] + }, + "messwerterfassung": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "FERNAUSLESBAR", + "MANUELL_AUSGELESENE" + ] + }, + "zaehlertypspezifikation": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ] + }, + "befestigungsart": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ] + }, + "zaehlergroesse": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "GAS_G2P5", + "GAS_G4", + "GAS_G6", + "GAS_G10", + "GAS_G16", + "GAS_G25", + "GAS_G40", + "GAS_G65", + "GAS_G100", + "GAS_G160", + "GAS_G250", + "GAS_G400", + "GAS_G650", + "GAS_G1000", + "GAS_G1600", + "GAS_G2500", + "IMPULSGEBER_G4_G100", + "IMPULSGEBER_G100", + "MODEM_GSM", + "MODEM_GPRS", + "MODEM_FUNK", + "MODEM_GSM_O_LG", + "MODEM_GSM_M_LG", + "MODEM_FESTNETZ", + "MODEM_GPRS_M_LG", + "PLC_COM", + "ETHERNET_KOM", + "DSL_KOM", + "LTE_KOM", + "RUNDSTEUEREMPFAENGER", + "TARIFSCHALTGERAET", + "ZUSTANDS_MU", + "TEMPERATUR_MU", + "KOMPAKT_MU", + "SYSTEM_MU", + "UNBESTIMMT", + "WASSER_MWZW", + "WASSER_WZWW", + "WASSER_WZ01", + "WASSER_WZ02", + "WASSER_WZ03", + "WASSER_WZ04", + "WASSER_WZ05", + "WASSER_WZ06", + "WASSER_WZ07", + "WASSER_WZ08", + "WASSER_WZ09", + "WASSER_WZ10", + "WASSER_VWZ04", + "WASSER_VWZ05", + "WASSER_VWZ06", + "WASSER_VWZ07", + "WASSER_VWZ10", + "GAS_G350", + "GAS_G4000", + "GAS_G6500", + "GAS_G10000", + "GAS_G12500", + "GAS_G16000" + ] + }, + "geraete": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Geraet" + } + } + }, + "required": [ + "zaehlernummer", + "sparte" + ] +} \ No newline at end of file diff --git a/json-schema-files/Zaehlzeitdefinition.json b/json-schema-files/Zaehlzeitdefinition.json new file mode 100644 index 00000000..babed351 --- /dev/null +++ b/json-schema-files/Zaehlzeitdefinition.json @@ -0,0 +1,296 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "definitions": { + "AusgerollteZaehlzeit": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "aenderungszeitpunkt": { + "type": "string", + "format": "date-time" + }, + "register": { + "type": [ + "string", + "null" + ] + } + }, + "required": [ + "aenderungszeitpunkt" + ] + }, + "ExterneReferenz": { + "type": [ + "object", + "null" + ], + "properties": { + "exRefName": { + "type": [ + "string", + "null" + ] + }, + "exRefWert": { + "type": [ + "string", + "null" + ] + }, + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + } + } + }, + "Zaehlzeit": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "code": { + "type": [ + "string", + "null" + ] + }, + "haeufigkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "EINMALIG", + "JAEHRLICH" + ] + }, + "uebermittelbarkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ELEKTRONISCH", + "NICHT_ELEKTRONISCH" + ] + }, + "ermittlungLeistungsmaximum": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "VERWENDUNG_HOCHLASTFENSTER", + "KEINE_VERWENDUNG_HOCHLASTFENSTER" + ] + }, + "istBestellbar": { + "type": [ + "boolean", + "null" + ] + }, + "typ": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "WAERMEPUMPE", + "NACHTSPEICHERHEIZUNG", + "SCHWACHLASTZEITFENSTER", + "SONSTIGE", + "HOCHLASTZEITFENSTER" + ] + }, + "beschreibungTyp": { + "type": [ + "string", + "null" + ] + } + } + }, + "Zaehlzeitregister": { + "type": [ + "object", + "null" + ], + "properties": { + "timestamp": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "guid": { + "type": [ + "string", + "null" + ] + }, + "zaehlzeitDefinition": { + "type": [ + "string", + "null" + ] + }, + "register": { + "type": [ + "string", + "null" + ] + }, + "schwachlastfaehig": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "NICHT_SCHWACHLASTFAEHIG", + "SCHWACHLASTFAEHIG" + ] + } + } + } + }, + "type": "object", + "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" + ] + }, + "beginndatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "endedatum": { + "type": [ + "string", + "null" + ], + "format": "date-time" + }, + "version": { + "type": "string", + "format": "date-time" + }, + "notwendigkeit": { + "type": [ + "string", + "null" + ], + "enum": [ + null, + "ZAEHLZEITDEFINITIONEN_WERDEN_VERWENDET", + "ZAEHLZEITDEFINITIONEN_WERDEN_NICHT_VERWENDET", + "DEFINITIONEN_WERDEN_VERWENDET", + "DEFINITIONEN_WERDEN_NICHT_VERWENDET" + ] + }, + "zaehlzeiten": { + "type": [ + "array", + "null" + ], + "items": { + "$ref": "#/definitions/Zaehlzeit" + } + }, + "zaehlzeitregister": { + "type": "array", + "items": { + "$ref": "#/definitions/Zaehlzeitregister" + } + }, + "ausgerollteZaehlzeiten": { + "type": "array", + "items": { + "$ref": "#/definitions/AusgerollteZaehlzeit" + } + } + }, + "required": [ + "version", + "zaehlzeitregister", + "ausgerollteZaehlzeiten" + ] +} \ No newline at end of file