From 37d171a5f6aea9e23f8a792dc7d42577104e6799 Mon Sep 17 00:00:00 2001 From: konstantin Date: Thu, 1 Aug 2024 09:56:17 +0200 Subject: [PATCH] Also generate OpenApi Schemas; Prettier Schemas after Generation (#464) Generate OpenAPI Schemas, too Also generate OpenApi Schemas; Prettier Schemas after Generation --- SchemaGenerator/Program.cs | 79 +- SchemaGenerator/SchemaGenerator.csproj | 4 + SchemaGenerator/generate-json-schemas.sh | 90 +- json-schema-files/BO4E.BO.Anfrage.json | 123 +- json-schema-files/BO4E.BO.Angebot.json | 2060 ++-------- .../BO4E.BO.Ansprechpartner.json | 326 +- json-schema-files/BO4E.BO.Auftrag.json | 182 +- json-schema-files/BO4E.BO.AuftragsStorno.json | 56 +- json-schema-files/BO4E.BO.Avis.json | 224 +- .../BO4E.BO.Benachrichtigung.json | 181 +- .../BO4E.BO.Berechnungsformel.json | 128 +- json-schema-files/BO4E.BO.Bilanzierung.json | 267 +- json-schema-files/BO4E.BO.Einspeisung.json | 82 +- json-schema-files/BO4E.BO.Energiemenge.json | 171 +- .../BO4E.BO.Entsperrauftrag.json | 193 +- .../BO4E.BO.Geschaeftspartner.json | 194 +- .../BO4E.BO.Handelsunstimmigkeit.json | 102 +- json-schema-files/BO4E.BO.Kosten.json | 271 +- .../BO4E.BO.MabisZaehlpunkt.json | 56 +- json-schema-files/BO4E.BO.Marktlokation.json | 1693 ++------ .../BO4E.BO.Marktteilnehmer.json | 462 +-- json-schema-files/BO4E.BO.Messlokation.json | 953 +---- json-schema-files/BO4E.BO.Netzlokation.json | 609 +-- json-schema-files/BO4E.BO.Preisblatt.json | 314 +- .../BO4E.BO.PreisblattDienstleistung.json | 748 +--- .../BO4E.BO.PreisblattKonzessionsabgabe.json | 308 +- .../BO4E.BO.PreisblattMessung.json | 825 +--- .../BO4E.BO.PreisblattNetznutzung.json | 752 +--- .../BO4E.BO.PreisblattUmlagen.json | 314 +- json-schema-files/BO4E.BO.Rechnung.json | 559 +-- json-schema-files/BO4E.BO.Region.json | 92 +- json-schema-files/BO4E.BO.Reklamation.json | 123 +- json-schema-files/BO4E.BO.Sperrauftrag.json | 203 +- .../BO4E.BO.SperrauftragsStorno.json | 62 +- json-schema-files/BO4E.BO.Statusbericht.json | 165 +- .../BO4E.BO.SteuerbareRessource.json | 552 +-- .../BO4E.BO.Summenzeitreihe.json | 234 +- .../BO4E.BO.TechnischeRessource.json | 117 +- json-schema-files/BO4E.BO.Tranche.json | 76 +- json-schema-files/BO4E.BO.Vertrag.json | 509 +-- json-schema-files/BO4E.BO.Wechsel.json | 135 +- json-schema-files/BO4E.BO.Zaehler.json | 625 +-- .../BO4E.BO.Zaehlzeitdefinition.json | 200 +- json-schema-files/Energiemenge.json | 171 +- json-schema-files/Entsperrauftrag.json | 193 +- json-schema-files/Geschaeftspartner.json | 194 +- json-schema-files/Handelsunstimmigkeit.json | 102 +- json-schema-files/Kosten.json | 271 +- json-schema-files/Lokationszuordnung.json | 2082 ++-------- json-schema-files/MabisZaehlpunkt.json | 56 +- json-schema-files/Marktlokation.json | 1735 ++------ json-schema-files/Marktteilnehmer.json | 462 +-- json-schema-files/Messlokation.json | 986 +---- json-schema-files/Netzlokation.json | 614 +-- json-schema-files/Preisblatt.json | 314 +- .../PreisblattDienstleistung.json | 748 +--- .../PreisblattKonzessionsabgabe.json | 308 +- json-schema-files/PreisblattMessung.json | 825 +--- json-schema-files/PreisblattNetznutzung.json | 752 +--- json-schema-files/PreisblattUmlagen.json | 314 +- json-schema-files/Rechnung.json | 559 +-- json-schema-files/Region.json | 92 +- json-schema-files/Reklamation.json | 123 +- json-schema-files/Sperrauftrag.json | 203 +- json-schema-files/SperrauftragsStorno.json | 62 +- json-schema-files/Statusbericht.json | 165 +- json-schema-files/SteuerbareRessource.json | 557 +-- json-schema-files/Summenzeitreihe.json | 234 +- json-schema-files/TechnischeRessource.json | 152 +- json-schema-files/Tranche.json | 116 +- json-schema-files/Vertrag.json | 509 +-- json-schema-files/Wechsel.json | 135 +- json-schema-files/Zaehler.json | 637 +-- json-schema-files/Zaehlzeitdefinition.json | 200 +- open-api-schemas/Energiemenge.json | 442 +++ open-api-schemas/Entsperrauftrag.json | 677 ++++ open-api-schemas/Geschaeftspartner.json | 633 +++ open-api-schemas/Handelsunstimmigkeit.json | 429 ++ open-api-schemas/Kosten.json | 675 ++++ open-api-schemas/Lokationszuordnung.json | 3476 +++++++++++++++++ open-api-schemas/MabisZaehlpunkt.json | 113 + open-api-schemas/Marktlokation.json | 3024 ++++++++++++++ open-api-schemas/Marktteilnehmer.json | 882 +++++ open-api-schemas/Messlokation.json | 1956 ++++++++++ open-api-schemas/Netzlokation.json | 1115 ++++++ open-api-schemas/Preisblatt.json | 692 ++++ .../PreisblattDienstleistung.json | 1581 ++++++++ .../PreisblattKonzessionsabgabe.json | 740 ++++ open-api-schemas/PreisblattMessung.json | 1763 +++++++++ open-api-schemas/PreisblattNetznutzung.json | 1578 ++++++++ open-api-schemas/PreisblattUmlagen.json | 704 ++++ open-api-schemas/Rechnung.json | 1607 ++++++++ open-api-schemas/Region.json | 239 ++ open-api-schemas/Reklamation.json | 236 ++ open-api-schemas/Sperrauftrag.json | 732 ++++ open-api-schemas/SperrauftragsStorno.json | 146 + open-api-schemas/Statusbericht.json | 306 ++ open-api-schemas/SteuerbareRessource.json | 981 +++++ open-api-schemas/Summenzeitreihe.json | 624 +++ open-api-schemas/TechnischeRessource.json | 329 ++ open-api-schemas/Tranche.json | 215 + open-api-schemas/Vertrag.json | 1194 ++++++ open-api-schemas/Wechsel.json | 359 ++ open-api-schemas/Zaehler.json | 1450 +++++++ open-api-schemas/Zaehlzeitdefinition.json | 329 ++ 105 files changed, 35108 insertions(+), 23409 deletions(-) create mode 100644 open-api-schemas/Energiemenge.json create mode 100644 open-api-schemas/Entsperrauftrag.json create mode 100644 open-api-schemas/Geschaeftspartner.json create mode 100644 open-api-schemas/Handelsunstimmigkeit.json create mode 100644 open-api-schemas/Kosten.json create mode 100644 open-api-schemas/Lokationszuordnung.json create mode 100644 open-api-schemas/MabisZaehlpunkt.json create mode 100644 open-api-schemas/Marktlokation.json create mode 100644 open-api-schemas/Marktteilnehmer.json create mode 100644 open-api-schemas/Messlokation.json create mode 100644 open-api-schemas/Netzlokation.json create mode 100644 open-api-schemas/Preisblatt.json create mode 100644 open-api-schemas/PreisblattDienstleistung.json create mode 100644 open-api-schemas/PreisblattKonzessionsabgabe.json create mode 100644 open-api-schemas/PreisblattMessung.json create mode 100644 open-api-schemas/PreisblattNetznutzung.json create mode 100644 open-api-schemas/PreisblattUmlagen.json create mode 100644 open-api-schemas/Rechnung.json create mode 100644 open-api-schemas/Region.json create mode 100644 open-api-schemas/Reklamation.json create mode 100644 open-api-schemas/Sperrauftrag.json create mode 100644 open-api-schemas/SperrauftragsStorno.json create mode 100644 open-api-schemas/Statusbericht.json create mode 100644 open-api-schemas/SteuerbareRessource.json create mode 100644 open-api-schemas/Summenzeitreihe.json create mode 100644 open-api-schemas/TechnischeRessource.json create mode 100644 open-api-schemas/Tranche.json create mode 100644 open-api-schemas/Vertrag.json create mode 100644 open-api-schemas/Wechsel.json create mode 100644 open-api-schemas/Zaehler.json create mode 100644 open-api-schemas/Zaehlzeitdefinition.json diff --git a/SchemaGenerator/Program.cs b/SchemaGenerator/Program.cs index 9612f7a6..4ec94924 100644 --- a/SchemaGenerator/Program.cs +++ b/SchemaGenerator/Program.cs @@ -1,17 +1,21 @@ using System.Text; using Newtonsoft.Json.Schema; using BO4E.BO; +using NJsonSchema; +using NJsonSchema.Generation; +using JsonSchema = NJsonSchema.JsonSchema; Console.WriteLine("Starting schema generation process..."); int offset; -string outputDirectory; +string jsonOutputDirectory; +string openApiOutputDirectory; // Validate arguments -if (args.Length < 2) +if (args.Length < 3) { - Console.Error.WriteLine("Error: You must provide both an offset and an output directory."); - Console.Error.WriteLine("Usage: dotnet run -- "); + Console.Error.WriteLine("Error: You must provide an offset, a JSON output directory, and an OpenAPI output directory."); + Console.Error.WriteLine("Usage: dotnet run -- "); Environment.Exit(1); // Exit with a specific error code for missing arguments } @@ -21,16 +25,19 @@ Environment.Exit(2); // Exit with a specific error code for invalid offset } -// Get the output directory from the arguments -outputDirectory = args[1]; +// Get the output directories from the arguments +jsonOutputDirectory = args[1]; +openApiOutputDirectory = args[2]; Console.WriteLine($"Offset provided: {offset}"); -Console.WriteLine($"Output directory: {outputDirectory}"); +Console.WriteLine($"JSON Output directory: {jsonOutputDirectory}"); +Console.WriteLine($"OpenAPI Output directory: {openApiOutputDirectory}"); // Generate schemas try { - JsonSchemaGenerator.GenerateSchemas(offset, outputDirectory); + JsonSchemaGenerator.GenerateSchemas(offset, jsonOutputDirectory); + JsonSchemaGenerator.GenerateOpenApiSchemas(offset, openApiOutputDirectory); Console.WriteLine("Schema generation completed successfully."); } catch (Exception ex) @@ -42,14 +49,14 @@ Environment.Exit(0); // Success /// -/// Generates plain JSON schemas from business object model classes. +/// Generates plain JSON and OpenAPI 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) + public static void GenerateSchemas(int offset, string jsonOutputDirectory) { var relevantBusinessObjectTypes = typeof(BusinessObject).Assembly .GetTypes() @@ -63,17 +70,17 @@ public static void GenerateSchemas(int offset, string outputDirectory) try { // Ensure the output directory exists - if (!Directory.Exists(outputDirectory)) + if (!Directory.Exists(jsonOutputDirectory)) { - Directory.CreateDirectory(outputDirectory); + Directory.CreateDirectory(jsonOutputDirectory); } foreach (var type in relevantBusinessObjectTypes.Skip(offset).Take(MaxSchemasPerHour)) { var schema = BusinessObject.GetJsonSchema(type); - var path = Path.Combine(outputDirectory, $"{type.Name}.json"); + var path = Path.Combine(jsonOutputDirectory, $"{type.Name}.json"); - Console.WriteLine($"Generating schema for {type.Name} at {path}."); + Console.WriteLine($"Generating JSON schema for {type.Name} at {path}."); if (!File.Exists(path)) { @@ -88,7 +95,49 @@ public static void GenerateSchemas(int offset, string outputDirectory) } catch (JSchemaException jse) { - Console.Error.WriteLine($"Schema generation failed with error: {jse.Message}"); + Console.Error.WriteLine($"JSON schema generation failed with error: {jse.Message}"); + Environment.Exit(3); // Exit with a specific error code for schema generation failure + } + } + + public static void GenerateOpenApiSchemas(int offset, string openApiOutputDirectory) + { + var relevantBusinessObjectTypes = typeof(BusinessObject).Assembly + .GetTypes() + .Where(t => t.IsSubclassOf(typeof(BusinessObject))); + + try + { + // Ensure the output directory exists + if (!Directory.Exists(openApiOutputDirectory)) + { + Directory.CreateDirectory(openApiOutputDirectory); + } + + foreach (var type in relevantBusinessObjectTypes.Skip(offset)) + { + var schema = JsonSchema.FromType(type, new SystemTextJsonSchemaGeneratorSettings() + { + SchemaType = SchemaType.OpenApi3 + }); + var path = Path.Combine(openApiOutputDirectory, $"{type.Name}.json"); + + Console.WriteLine($"Generating OpenAPI schema for {type.Name} at {path}."); + + if (!File.Exists(path)) + { + using (File.Create(path)) + { + } + } + + var utf8WithoutByteOrderMark = new UTF8Encoding(false); + File.WriteAllText(path, schema.ToJson(), utf8WithoutByteOrderMark); + } + } + catch (Exception ex) + { + Console.Error.WriteLine($"OpenAPI schema generation failed with error: {ex.Message}"); Environment.Exit(3); // Exit with a specific error code for schema generation failure } } diff --git a/SchemaGenerator/SchemaGenerator.csproj b/SchemaGenerator/SchemaGenerator.csproj index 71eab0c8..c4124c95 100644 --- a/SchemaGenerator/SchemaGenerator.csproj +++ b/SchemaGenerator/SchemaGenerator.csproj @@ -11,4 +11,8 @@ + + + + diff --git a/SchemaGenerator/generate-json-schemas.sh b/SchemaGenerator/generate-json-schemas.sh index c09ff091..363edf2d 100644 --- a/SchemaGenerator/generate-json-schemas.sh +++ b/SchemaGenerator/generate-json-schemas.sh @@ -1,23 +1,89 @@ -# 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 +# ---------------------------------------------------------------------------- +# generate-schemas.sh +# Cross-platform script to run the .NET console application for schema generation. +# Generates both JSON and OpenAPI schemas for business objects with specified offsets. +# +# Usage: +# powershell.exe C:/github/BO4E-dotnet2/SchemaGenerator/generate-json-schemas.sh [jsonOutputDirectory] [openApiOutputDirectory] +# +# Arguments: +# jsonOutputDirectory (optional) - Directory to output JSON schema files. Defaults to ../json-schema-files. +# openApiOutputDirectory (optional) - Directory to output OpenAPI schema files. Defaults to ../open-api-schemas. +# +# Example: +# powershell.exe C:/github/BO4E-dotnet2/SchemaGenerator/generate-json-schemas.sh ../json-schema ../openapi-schema +# +# ---------------------------------------------------------------------------- # 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 +# Define the default output directories +default_json_output_directory="../json-schema-files" # json-schema-files in repo root +default_openapi_output_directory="../open-api-schemas" # open-api-schemas in repo root -# Check if an output directory argument is provided -if [ $# -eq 1 ]; then - output_directory=$1 -else - output_directory=$default_output_directory +# Display usage information if no arguments are provided or if there's an error in the arguments +usage() { + echo "Usage: $0 [jsonOutputDirectory] [openApiOutputDirectory]" + echo " jsonOutputDirectory Directory to output JSON schema files. Default: $default_json_output_directory" + echo " openApiOutputDirectory Directory to output OpenAPI schema files. Default: $default_openapi_output_directory" + echo "" + echo "Example:" + echo " $0 ../json-schema ../openapi-schema" +} + +# Check if output directory arguments are provided and set directories +if [ $# -gt 2 ]; then + echo "Error: Too many arguments." + usage + exit 1 +fi + +json_output_directory=${1:-$default_json_output_directory} +openapi_output_directory=${2:-$default_openapi_output_directory} + +# Ensure that output directories are valid and accessible +if [ ! -d "$json_output_directory" ]; then + echo "Error: JSON output directory '$json_output_directory' does not exist or is not accessible." + usage + exit 1 +fi + +if [ ! -d "$openapi_output_directory" ]; then + echo "Error: OpenAPI output directory '$openapi_output_directory' does not exist or is not accessible." + usage + exit 1 +fi + +# Define the project path +project_path="C:/github/BO4E-dotnet2/SchemaGenerator/SchemaGenerator.csproj" + +# Check if the project path exists +if [ ! -f "$project_path" ]; then + echo "Error: Project file not found at '$project_path'. Ensure the project path is correct." + exit 1 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 + echo "Running schema generation with offset: $offset" + echo "JSON output directory: $json_output_directory" + echo "OpenAPI output directory: $openapi_output_directory" + # Run the .NET application with the project path + dotnet run --project "$project_path" -- $offset $json_output_directory $openapi_output_directory done + +# Check if Prettier is installed and format the output files +if command -v prettier &> /dev/null +then + echo "Prettier is installed. Formatting output files..." + prettier -w "$json_output_directory/*.json" + prettier -w "$openapi_output_directory/*.json" + echo "Formatting complete." +else + echo "Prettier is not installed. Skipping formatting." +fi + +# Keep the window open +read -p "Press any key to exit..." diff --git a/json-schema-files/BO4E.BO.Anfrage.json b/json-schema-files/BO4E.BO.Anfrage.json index 43d8fdf7..11a31e59 100644 --- a/json-schema-files/BO4E.BO.Anfrage.json +++ b/json-schema-files/BO4E.BO.Anfrage.json @@ -2,49 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zeitraum": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -60,110 +39,65 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lokationsId": { "type": "string" }, "lokationsTyp": { "type": "string", - "enum": [ - "MALO", - "MELO" - ] + "enum": ["MALO", "MELO"] }, "obiskennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ZeitraumMesswertanfrage": { "$ref": "#/definitions/Zeitraum" @@ -189,10 +123,7 @@ ] }, "anfragetyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "START_ABO", @@ -211,9 +142,5 @@ ] } }, - "required": [ - "lokationsId", - "lokationsTyp", - "anfragekategorie" - ] -} \ No newline at end of file + "required": ["lokationsId", "lokationsTyp", "anfragekategorie"] +} diff --git a/json-schema-files/BO4E.BO.Angebot.json b/json-schema-files/BO4E.BO.Angebot.json index a7966464..17d82e4a 100644 --- a/json-schema-files/BO4E.BO.Angebot.json +++ b/json-schema-files/BO4E.BO.Angebot.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,35 +306,20 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Angebotsposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsbezeichung": { "type": "string" @@ -376,16 +334,10 @@ "$ref": "#/definitions/Betrag" }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -443,46 +395,26 @@ ] }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "positionsbezeichung" - ] + "required": ["positionsbezeichung"] }, "Angebotsteil": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anfrageSubreferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lieferstellenangebotsteil": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Marktlokation" } @@ -503,28 +435,17 @@ "$ref": "#/definitions/Zeitraum" } }, - "required": [ - "positionen" - ] + "required": ["positionen"] }, "Angebotsvariante": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "angebotsstatus": { "type": "string", @@ -541,23 +462,14 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "erstelldatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bindefrist": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "gesamtmenge": { @@ -573,56 +485,32 @@ } } }, - "required": [ - "angebotsstatus", - "teile" - ] + "required": ["angebotsstatus", "teile"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -638,46 +526,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner-1" @@ -686,19 +551,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -706,10 +565,7 @@ } }, "Betrag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" @@ -901,29 +757,17 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "Dienstleistung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dienstleistungstyp": { "type": "string", @@ -973,62 +817,35 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "dienstleistungstyp", - "bezeichnung" - ] + "required": ["dienstleistungstyp", "bezeichnung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geokoordinaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "breitengrad": { "type": "number" @@ -1037,57 +854,33 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "breitengrad", - "laengengrad" - ] + "required": ["breitengrad", "laengengrad"] }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -1102,23 +895,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -1169,10 +953,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1240,64 +1021,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -1313,89 +1068,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1411,10 +1124,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -1423,10 +1133,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -1441,55 +1148,32 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Geschaeftspartner-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -1505,89 +1189,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1603,10 +1245,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -1615,10 +1254,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -1633,21 +1269,13 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Hardware": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "geraetetyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WECHSELSTROMZAEHLER", @@ -1702,40 +1330,23 @@ "$ref": "#/definitions/Geraeteeigenschaften" }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetereferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "bezeichnung" - ] + "required": ["bezeichnung"] }, "Katasteradresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gemarkung_flur": { "type": "string" @@ -1744,60 +1355,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "gemarkung_flur", - "flurstueck" - ] + "required": ["gemarkung_flur", "flurstueck"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -1805,100 +1389,52 @@ } }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "Marktlokation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktlokationsId": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "default": "|null|" }, "sparte": { @@ -1913,21 +1449,11 @@ ] }, "energierichtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1939,30 +1465,14 @@ ] }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbar": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "netzebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1978,16 +1488,10 @@ ] }, "netzbetreiberCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gebietTyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "REGELZONE", @@ -2002,36 +1506,17 @@ ] }, "netzgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundversorgerCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "endkunde": { "$ref": "#/definitions/Geschaeftspartner-1" @@ -2046,31 +1531,19 @@ "$ref": "#/definitions/Katasteradresse" }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "regelzone": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zeitreihentyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EGS", @@ -2085,134 +1558,78 @@ ] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "zaehlwerkeBeteiligteMarktrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "verbrauchsmenge": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verbrauch" } }, "messlokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokation" } }, "zugehoerigeMesslokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokationszuordnung" } }, "messtechnischeEinordnung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "IMS", - "KME_MME", - "KEINE_MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "IMS", "KME_MME", "KEINE_MESSUNG"] }, "netznutzungsabrechnungsdaten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Netznutzungsabrechnungsdaten" } }, "sperrstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ENTSPERRT", - "GESPERRT" - ] + "type": ["string", "null"], + "enum": [null, "ENTSPERRT", "GESPERRT"] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "sparte" - ] + "required": ["sparte"] }, "MarktpartnerDetails": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rollencodenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -2234,71 +1651,41 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "weiterverpflichtet": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -2314,89 +1701,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -2412,10 +1757,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -2424,10 +1766,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -2442,10 +1781,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -2471,56 +1807,32 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -2543,49 +1855,29 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Messlokation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messlokationsId": { "type": "string", @@ -2603,10 +1895,7 @@ ] }, "netzebeneMessung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -2622,28 +1911,16 @@ ] }, "messgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBIMCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMDLCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messadresse": { "$ref": "#/definitions/Adresse" @@ -2655,37 +1932,25 @@ "$ref": "#/definitions/Katasteradresse" }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Hardware" } }, "messdienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Dienstleistung" } }, "messlokationszaehler": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehler" } }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -2697,54 +1962,29 @@ ] }, "abrechnungmessstellenbetriebnna": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "verlustfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "betriebszustand": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESPERRT_NICHT_ENTSPERREN", @@ -2753,40 +1993,25 @@ ] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId", - "sparte" - ] + "required": ["messlokationsId", "sparte"] }, "Messlokationszuordnung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "messlokationsId": { "type": "string" }, "arithmetik": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ADDITION", @@ -2798,196 +2023,97 @@ ] }, "gueltigSeit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "gueltigBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId" - ] + "required": ["messlokationsId"] }, "Messprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messproduktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "zweiteMessung": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "werteuebermittlungAnNB": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Netznutzungsabrechnungsdaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelIdTyp": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ARTIKELID", - "GRUPPENARTIKELID" - ] + "type": ["string", "null"], + "enum": [null, "ARTIKELID", "GRUPPENARTIKELID"] }, "anzahl": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "gemeinderabatt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zuschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "abschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "singulaereBetriebsmittel": { "$ref": "#/definitions/Menge" @@ -3001,30 +2127,17 @@ } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -3047,39 +2160,21 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -3099,42 +2194,24 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -3148,16 +2225,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -3232,30 +2303,18 @@ } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -3264,10 +2323,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -3283,34 +2339,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -3326,10 +2366,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -3363,31 +2400,18 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -3411,10 +2435,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -3430,62 +2451,36 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" @@ -3502,21 +2497,11 @@ ] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -3538,10 +2523,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -3552,30 +2534,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -3585,38 +2555,18 @@ "$ref": "#/definitions/Geschaeftspartner-1" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -3627,10 +2577,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -3641,10 +2588,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -3712,79 +2656,42 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] + "required": ["zaehlernummer", "sparte"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -3807,179 +2714,87 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } }, "Zeitraum": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -3995,94 +2810,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -4090,47 +2863,29 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "angebotsnummer": { "type": "string" }, "anfragereferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "angebotsdatum": { "type": "string", @@ -4138,20 +2893,10 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "bindefrist": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "angebotgeber": { @@ -4167,10 +2912,7 @@ "$ref": "#/definitions/Ansprechpartner" }, "varianten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Angebotsvariante" }, @@ -4184,4 +2926,4 @@ "angebotgeber", "angebotnehmer" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Ansprechpartner.json b/json-schema-files/BO4E.BO.Ansprechpartner.json index 29ad93c6..0fd63036 100644 --- a/json-schema-files/BO4E.BO.Ansprechpartner.json +++ b/json-schema-files/BO4E.BO.Ansprechpartner.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,95 +306,53 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -437,89 +368,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -535,10 +424,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -547,10 +433,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -565,15 +448,10 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -593,60 +471,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -654,44 +505,26 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -707,46 +540,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -755,22 +565,16 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } } } -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Auftrag.json b/json-schema-files/BO4E.BO.Auftrag.json index 0170104f..8f640481 100644 --- a/json-schema-files/BO4E.BO.Auftrag.json +++ b/json-schema-files/BO4E.BO.Auftrag.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,75 +306,41 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -424,68 +363,38 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] } }, "type": "object", "properties": { "ausfuehrungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fertigstellungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -497,20 +406,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lieferanschrift": { "$ref": "#/definitions/Adresse" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -519,21 +422,12 @@ "type": "string" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bemerkungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "mindestpreis": { @@ -543,7 +437,5 @@ "$ref": "#/definitions/Preis" } }, - "required": [ - "marktlokationsId" - ] -} \ No newline at end of file + "required": ["marktlokationsId"] +} diff --git a/json-schema-files/BO4E.BO.AuftragsStorno.json b/json-schema-files/BO4E.BO.AuftragsStorno.json index 665e022d..53f0fbc7 100644 --- a/json-schema-files/BO4E.BO.AuftragsStorno.json +++ b/json-schema-files/BO4E.BO.AuftragsStorno.json @@ -2,35 +2,20 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -41,41 +26,24 @@ "type": "string" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "auftragsId" - ] -} \ No newline at end of file + "required": ["auftragsId"] +} diff --git a/json-schema-files/BO4E.BO.Avis.json b/json-schema-files/BO4E.BO.Avis.json index 25db3869..1a513cc0 100644 --- a/json-schema-files/BO4E.BO.Avis.json +++ b/json-schema-files/BO4E.BO.Avis.json @@ -2,29 +2,17 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Abweichung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abweichungsgrund": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "PREIS_RECHENREGEL_FALSCH", @@ -65,27 +53,15 @@ ] }, "abweichungsgrundBemerkung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zugehoerigeRechnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abschlagsrechnungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "abweichungsgrundCode": { @@ -95,83 +71,47 @@ "type": "string" } }, - "required": [ - "abweichungsgrundCode", - "abweichungsgrundCodeliste" - ] + "required": ["abweichungsgrundCode", "abweichungsgrundCodeliste"] }, "Abweichungsposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abweichungsgrundCodeliste": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abweichungsgrundBemerkung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zugehoerigeRechnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zugehoerigeBestellung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abweichungsgrundCode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Avisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "rechnungsNummer": { "type": "string" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "rechnungsDatum": { "type": "string", @@ -181,10 +121,7 @@ "type": "boolean" }, "istSelbstausgestellt": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "gesamtBrutto": { "$ref": "#/definitions/Betrag" @@ -193,25 +130,16 @@ "$ref": "#/definitions/Betrag" }, "referenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abweichungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Abweichung" } }, "positionen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rueckmeldungsposition" } @@ -418,87 +346,48 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Rueckmeldungsposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abweichungspositionen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Abweichungsposition" } @@ -513,10 +402,7 @@ }, "avisTyp": { "type": "string", - "enum": [ - "ABGELEHNTE_FORDERUNG", - "ZAHLUNGSAVIS" - ] + "enum": ["ABGELEHNTE_FORDERUNG", "ZAHLUNGSAVIS"] }, "positionen": { "type": "array", @@ -528,44 +414,24 @@ "$ref": "#/definitions/Betrag" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "avisNummer", - "avisTyp", - "positionen", - "zuZahlen" - ] -} \ No newline at end of file + "required": ["avisNummer", "avisTyp", "positionen", "zuZahlen"] +} diff --git a/json-schema-files/BO4E.BO.Benachrichtigung.json b/json-schema-files/BO4E.BO.Benachrichtigung.json index 04532a9b..470f314a 100644 --- a/json-schema-files/BO4E.BO.Benachrichtigung.json +++ b/json-schema-files/BO4E.BO.Benachrichtigung.json @@ -2,150 +2,84 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Aufgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "aufgabenId": { "type": "string" }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "deadline": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausgefuehrt": { "type": "boolean" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrender": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "aufgabenId", - "ausgefuehrt" - ] + "required": ["aufgabenId", "ausgefuehrt"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "GenericStringStringInfo": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "keyColumn": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "value": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "keyColumn", - "value" - ] + "required": ["keyColumn", "value"] }, "Notiz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "inhalt": { "type": "string" @@ -158,42 +92,26 @@ "format": "date-time" } }, - "required": [ - "inhalt", - "autor", - "zeitpunkt" - ] + "required": ["inhalt", "autor", "zeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "benachrichtigungsId": { "type": "string" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -201,19 +119,10 @@ "prioritaet": { "type": "string", "default": "NORMAL", - "enum": [ - "SEHR_NIEDRIG", - "NIEDRIG", - "NORMAL", - "HOCH", - "SEHR_HOCH" - ] + "enum": ["SEHR_NIEDRIG", "NIEDRIG", "NORMAL", "HOCH", "SEHR_HOCH"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bearbeitungsstatus": { "type": "string", @@ -235,47 +144,29 @@ "format": "date-time" }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bearbeiter": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "notizen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Notiz" } }, "deadline": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "aufgaben": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Aufgabe" } }, "infos": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/GenericStringStringInfo" } @@ -288,4 +179,4 @@ "kurztext", "erstellungsZeitpunkt" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Berechnungsformel.json b/json-schema-files/BO4E.BO.Berechnungsformel.json index 791ac1cf..cb5c113e 100644 --- a/json-schema-files/BO4E.BO.Berechnungsformel.json +++ b/json-schema-files/BO4E.BO.Berechnungsformel.json @@ -2,43 +2,25 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Rechenschritt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rechenschrittBestandteilId": { "type": "integer" @@ -47,17 +29,11 @@ "type": "integer" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "operation": { "type": "string", @@ -71,42 +47,23 @@ ] }, "verlustfaktorTrafo": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "verlustfaktorLeitung": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "messlokationId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "energieflussrichtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VERBRAUCH", - "ERZEUGUNG" - ] + "type": ["string", "null"], + "enum": [null, "VERBRAUCH", "ERZEUGUNG"] }, "weitererRechenschritt": { "$ref": "#/definitions/Rechenschritt" }, "aufteilungsfaktorEnergiemenge": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] } }, "required": [ @@ -140,10 +97,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -159,50 +113,30 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -212,10 +146,7 @@ "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "notwendigkeit": { "type": "string", @@ -227,10 +158,7 @@ ] }, "rechenschrittId": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "verwendungszweck": { "$ref": "#/definitions/Verwendungszweck" @@ -239,9 +167,5 @@ "$ref": "#/definitions/Rechenschritt" } }, - "required": [ - "beginndatum", - "notwendigkeit", - "verwendungszweck" - ] -} \ No newline at end of file + "required": ["beginndatum", "notwendigkeit", "verwendungszweck"] +} diff --git a/json-schema-files/BO4E.BO.Bilanzierung.json b/json-schema-files/BO4E.BO.Bilanzierung.json index 790d7ca0..7d1db5cd 100644 --- a/json-schema-files/BO4E.BO.Bilanzierung.json +++ b/json-schema-files/BO4E.BO.Bilanzierung.json @@ -2,81 +2,44 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Lastprofil": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "profilschar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SYNTHETISCH", - "ANALYTISCH" - ] + "type": ["string", "null"], + "enum": [null, "SYNTHETISCH", "ANALYTISCH"] }, "einspeisung": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "tagesparameter": { "$ref": "#/definitions/Tagesparameter" }, "profilart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ART_STANDARDLASTPROFIL", @@ -87,53 +50,32 @@ ] }, "herausgeber": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -156,52 +98,29 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Tagesparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "klimazone": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "temperaturmessstelle": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "dienstanbieter": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "herausgeber": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -209,73 +128,43 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktlokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lastprofile": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Lastprofil" } }, "bilanzierungsbeginn": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bilanzierungsende": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bilanzkreis": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "jahresverbrauchsprognose": { "$ref": "#/definitions/Menge" @@ -287,16 +176,10 @@ "$ref": "#/definitions/Menge" }, "verbrauchsaufteilung": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zeitreihentyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EGS", @@ -311,45 +194,22 @@ ] }, "aggregationsverantwortung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UENB", - "VNB" - ] + "type": ["string", "null"], + "enum": [null, "UENB", "VNB"] }, "prognosegrundlage": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WERTE", - "PROFILE" - ] + "type": ["string", "null"], + "enum": [null, "WERTE", "PROFILE"] }, "detailsPrognosegrundlage": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "SLP_SEP", - "TLP_TEP" - ] + "enum": ["SLP_SEP", "TLP_TEP"] } }, "wahlrechtPrognosegrundlage": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DURCH_LF", @@ -361,28 +221,14 @@ ] }, "fallgruppenzuordnung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "GABI_RLMmT", - "GABI_RLMoT", - "GABI_RLMNEV" - ] + "type": ["string", "null"], + "enum": [null, "GABI_RLMmT", "GABI_RLMoT", "GABI_RLMNEV"] }, "prioritaet": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "grundWahlrechtPrognosegrundlage": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DURCH_LF", @@ -394,15 +240,8 @@ ] }, "abwicklungsmodell": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "MODELL_1", - "MODELL_2" - ] + "type": ["string", "null"], + "enum": [null, "MODELL_1", "MODELL_2"] } } -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Einspeisung.json b/json-schema-files/BO4E.BO.Einspeisung.json index 9189edab..9b376127 100644 --- a/json-schema-files/BO4E.BO.Einspeisung.json +++ b/json-schema-files/BO4E.BO.Einspeisung.json @@ -2,35 +2,20 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -38,50 +23,29 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktlokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verguetungsempfaenger": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LIEFERANT", @@ -92,10 +56,7 @@ ] }, "eegVermarktungsform": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AUSFALLVERGUETUNG", @@ -105,10 +66,7 @@ ] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -381,10 +339,7 @@ ] }, "fernsteuerbarkeitStatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NICHT_FERNSTEUERBAR", @@ -393,10 +348,7 @@ ] }, "trancheId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Energiemenge.json b/json-schema-files/BO4E.BO.Energiemenge.json index 83891ebc..2a895b15 100644 --- a/json-schema-files/BO4E.BO.Energiemenge.json +++ b/json-schema-files/BO4E.BO.Energiemenge.json @@ -2,56 +2,32 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -65,16 +41,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -149,30 +119,18 @@ } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -181,10 +139,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -200,34 +155,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -243,10 +182,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -280,92 +216,53 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lokationsId": { "type": "string", "default": "|null|" }, "lokationsTyp": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "MALO", - "MELO" - ] + "type": ["string", "null"], + "enum": [null, "MALO", "MELO"] }, "energieverbrauch": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verbrauch" }, "minItems": 1 } }, - "required": [ - "lokationsId", - "lokationsTyp", - "energieverbrauch" - ] -} \ No newline at end of file + "required": ["lokationsId", "lokationsTyp", "energieverbrauch"] +} diff --git a/json-schema-files/BO4E.BO.Entsperrauftrag.json b/json-schema-files/BO4E.BO.Entsperrauftrag.json index ca150b7c..057a5d6f 100644 --- a/json-schema-files/BO4E.BO.Entsperrauftrag.json +++ b/json-schema-files/BO4E.BO.Entsperrauftrag.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,75 +306,41 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -424,49 +363,28 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] } }, "type": "object", "properties": { "sperrauftragsart": { "type": "string", - "enum": [ - "SPERREN", - "ENTSPERREN" - ] + "enum": ["SPERREN", "ENTSPERREN"] }, "sperrauftragsstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESCHEITERT", @@ -478,45 +396,27 @@ ] }, "zaehlernummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "istNurInnerhalbDerArbeitszeitZuEntsperren": { "type": "boolean" }, "ausfuehrungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fertigstellungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -528,20 +428,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lieferanschrift": { "$ref": "#/definitions/Adresse" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -550,21 +444,12 @@ "type": "string" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bemerkungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "mindestpreis": { @@ -579,4 +464,4 @@ "istNurInnerhalbDerArbeitszeitZuEntsperren", "marktlokationsId" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Geschaeftspartner.json b/json-schema-files/BO4E.BO.Geschaeftspartner.json index dd775c05..9a1fc1be 100644 --- a/json-schema-files/BO4E.BO.Geschaeftspartner.json +++ b/json-schema-files/BO4E.BO.Geschaeftspartner.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,47 +306,26 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -381,44 +333,26 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -434,89 +368,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -532,10 +424,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -544,10 +433,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -562,7 +448,5 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] -} \ No newline at end of file + "required": ["gewerbekennzeichnung"] +} diff --git a/json-schema-files/BO4E.BO.Handelsunstimmigkeit.json b/json-schema-files/BO4E.BO.Handelsunstimmigkeit.json index b9f3ea63..d134d75a 100644 --- a/json-schema-files/BO4E.BO.Handelsunstimmigkeit.json +++ b/json-schema-files/BO4E.BO.Handelsunstimmigkeit.json @@ -2,10 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Betrag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" @@ -197,54 +194,30 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, @@ -252,29 +225,17 @@ "type": "object", "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "referenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grund": { "type": "string", @@ -297,46 +258,29 @@ ] } }, - "required": [ - "grund" - ] + "required": ["grund"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nummer": { "type": "string" @@ -357,9 +301,5 @@ "$ref": "#/definitions/Betrag" } }, - "required": [ - "nummer", - "typ", - "begruendung" - ] -} \ No newline at end of file + "required": ["nummer", "typ", "begruendung"] +} diff --git a/json-schema-files/BO4E.BO.Kosten.json b/json-schema-files/BO4E.BO.Kosten.json index 7064b5e7..1ee189c7 100644 --- a/json-schema-files/BO4E.BO.Kosten.json +++ b/json-schema-files/BO4E.BO.Kosten.json @@ -2,10 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Betrag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" @@ -197,23 +194,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "Betrag-1": { "type": "object", @@ -408,62 +396,35 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Kostenblock": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "kostenblockbezeichnung": { "type": "string" @@ -472,63 +433,40 @@ "$ref": "#/definitions/Betrag" }, "kostenpositionen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Kostenposition" } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "kostenblockbezeichnung" - ] + "required": ["kostenblockbezeichnung"] }, "Kostenposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "positionstitel": { "type": "string" }, "von": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "artikelbezeichnung": { "type": "string" }, "artikeldetail": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "menge": { "$ref": "#/definitions/Menge" @@ -543,17 +481,11 @@ "$ref": "#/definitions/Betrag-1" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -564,32 +496,20 @@ ] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -612,9 +532,7 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Preis": { "type": "object", @@ -623,21 +541,11 @@ "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -660,42 +568,24 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -711,91 +601,53 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "kostenklasse": { "type": "string", - "enum": [ - "ZERO" - ] + "enum": ["ZERO"] }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -804,16 +656,10 @@ "$ref": "#/definitions/Zeitraum" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "summeKosten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Betrag" } @@ -826,18 +672,11 @@ "minItems": 1 }, "kostenpositionen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Kostenposition" } } }, - "required": [ - "kostenklasse", - "gueltigkeit", - "kostenbloecke" - ] -} \ No newline at end of file + "required": ["kostenklasse", "gueltigkeit", "kostenbloecke"] +} diff --git a/json-schema-files/BO4E.BO.MabisZaehlpunkt.json b/json-schema-files/BO4E.BO.MabisZaehlpunkt.json index 09505c6a..6ef3de32 100644 --- a/json-schema-files/BO4E.BO.MabisZaehlpunkt.json +++ b/json-schema-files/BO4E.BO.MabisZaehlpunkt.json @@ -2,35 +2,20 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -38,45 +23,28 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "Id": { "type": "string", "default": "|null|" } }, - "required": [ - "Id" - ] -} \ No newline at end of file + "required": ["Id"] +} diff --git a/json-schema-files/BO4E.BO.Marktlokation.json b/json-schema-files/BO4E.BO.Marktlokation.json index 63da1e68..686e2667 100644 --- a/json-schema-files/BO4E.BO.Marktlokation.json +++ b/json-schema-files/BO4E.BO.Marktlokation.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,10 +389,7 @@ } }, "Dienstleistung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dienstleistungstyp": { "type": "string", @@ -525,62 +439,35 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "dienstleistungstyp", - "bezeichnung" - ] + "required": ["dienstleistungstyp", "bezeichnung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geokoordinaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "breitengrad": { "type": "number" @@ -589,57 +476,33 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "breitengrad", - "laengengrad" - ] + "required": ["breitengrad", "laengengrad"] }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -654,23 +517,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -721,10 +575,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -792,67 +643,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -868,89 +690,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -966,10 +746,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -978,10 +755,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -996,15 +770,10 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Hardware": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "geraetetyp": { "type": "string", @@ -1061,41 +830,23 @@ "$ref": "#/definitions/Geraeteeigenschaften" }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetereferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "geraetetyp", - "bezeichnung" - ] + "required": ["geraetetyp", "bezeichnung"] }, "Katasteradresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gemarkung_flur": { "type": "string" @@ -1104,60 +855,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "gemarkung_flur", - "flurstueck" - ] + "required": ["gemarkung_flur", "flurstueck"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -1165,78 +889,39 @@ } }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "MarktpartnerDetails": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rollencodenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1258,71 +943,41 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "weiterverpflichtet": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -1338,89 +993,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1436,10 +1049,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -1448,10 +1058,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -1466,10 +1073,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1495,56 +1099,32 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1567,49 +1147,29 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Messlokation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messlokationsId": { "type": "string", @@ -1627,10 +1187,7 @@ ] }, "netzebeneMessung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1646,28 +1203,16 @@ ] }, "messgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBIMCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMDLCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messadresse": { "$ref": "#/definitions/Adresse" @@ -1679,37 +1224,25 @@ "$ref": "#/definitions/Katasteradresse" }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Hardware" } }, "messdienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Dienstleistung" } }, "messlokationszaehler": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehler" } }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1721,54 +1254,29 @@ ] }, "abrechnungmessstellenbetriebnna": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "verlustfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "betriebszustand": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESPERRT_NICHT_ENTSPERREN", @@ -1777,34 +1285,22 @@ ] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } } }, - "required": [ - "messlokationsId", - "sparte" - ] + "required": ["messlokationsId", "sparte"] }, "Messlokationszuordnung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "messlokationsId": { "type": "string" }, "arithmetik": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ADDITION", @@ -1816,184 +1312,93 @@ ] }, "gueltigSeit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "gueltigBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId" - ] + "required": ["messlokationsId"] }, "Messprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messproduktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "zweiteMessung": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "werteuebermittlungAnNB": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Netznutzungsabrechnungsdaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelIdTyp": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ARTIKELID", - "GRUPPENARTIKELID" - ] + "type": ["string", "null"], + "enum": [null, "ARTIKELID", "GRUPPENARTIKELID"] }, "anzahl": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "gemeinderabatt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zuschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "abschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "singulaereBetriebsmittel": { "$ref": "#/definitions/Menge" @@ -2007,30 +1412,17 @@ } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -2053,39 +1445,21 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -2105,42 +1479,24 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -2154,16 +1510,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -2238,30 +1588,18 @@ } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -2270,10 +1608,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -2289,34 +1624,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -2331,10 +1650,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -2368,31 +1684,18 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -2416,10 +1719,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -2435,62 +1735,36 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" @@ -2507,21 +1781,11 @@ ] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -2543,10 +1807,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -2557,30 +1818,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -2590,38 +1839,18 @@ "$ref": "#/definitions/Geschaeftspartner" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -2632,10 +1861,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -2646,10 +1872,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -2717,79 +1940,42 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] + "required": ["zaehlernummer", "sparte"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -2812,192 +1998,96 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -3005,38 +2095,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktlokationsId": { "type": "string", @@ -3044,31 +2119,14 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "energierichtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -3080,30 +2138,14 @@ ] }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbar": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "netzebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -3119,16 +2161,10 @@ ] }, "netzbetreiberCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gebietTyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "REGELZONE", @@ -3143,36 +2179,17 @@ ] }, "netzgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundversorgerCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "endkunde": { "$ref": "#/definitions/Geschaeftspartner" @@ -3187,31 +2204,19 @@ "$ref": "#/definitions/Katasteradresse" }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "regelzone": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zeitreihentyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EGS", @@ -3226,103 +2231,61 @@ ] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "zaehlwerkeBeteiligteMarktrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "verbrauchsmenge": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verbrauch" } }, "messlokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokation" } }, "zugehoerigeMesslokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokationszuordnung" } }, "messtechnischeEinordnung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "IMS", - "KME_MME", - "KEINE_MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "IMS", "KME_MME", "KEINE_MESSUNG"] }, "netznutzungsabrechnungsdaten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Netznutzungsabrechnungsdaten" } }, "sperrstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ENTSPERRT", - "GESPERRT" - ] + "type": ["string", "null"], + "enum": [null, "ENTSPERRT", "GESPERRT"] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } } }, - "required": [ - "marktlokationsId", - "sparte" - ] -} \ No newline at end of file + "required": ["marktlokationsId", "sparte"] +} diff --git a/json-schema-files/BO4E.BO.Marktteilnehmer.json b/json-schema-files/BO4E.BO.Marktteilnehmer.json index 495c68d5..14ce04eb 100644 --- a/json-schema-files/BO4E.BO.Marktteilnehmer.json +++ b/json-schema-files/BO4E.BO.Marktteilnehmer.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,15 +525,10 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -720,60 +548,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -781,44 +582,26 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -834,89 +617,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -932,10 +673,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -944,10 +682,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -962,10 +697,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -991,26 +723,14 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] -} \ No newline at end of file + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] +} diff --git a/json-schema-files/BO4E.BO.Messlokation.json b/json-schema-files/BO4E.BO.Messlokation.json index 78ab066e..97876534 100644 --- a/json-schema-files/BO4E.BO.Messlokation.json +++ b/json-schema-files/BO4E.BO.Messlokation.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,22 +306,13 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Dienstleistung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dienstleistungstyp": { "type": "string", @@ -398,62 +362,35 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "dienstleistungstyp", - "bezeichnung" - ] + "required": ["dienstleistungstyp", "bezeichnung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geokoordinaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "breitengrad": { "type": "number" @@ -462,57 +399,33 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "breitengrad", - "laengengrad" - ] + "required": ["breitengrad", "laengengrad"] }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -527,23 +440,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -594,10 +498,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -665,67 +566,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -741,89 +613,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -839,10 +669,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -851,10 +678,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -869,15 +693,10 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Hardware": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "geraetetyp": { "type": "string", @@ -934,41 +753,23 @@ "$ref": "#/definitions/Geraeteeigenschaften" }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetereferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "geraetetyp", - "bezeichnung" - ] + "required": ["geraetetyp", "bezeichnung"] }, "Katasteradresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gemarkung_flur": { "type": "string" @@ -977,97 +778,49 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "gemarkung_flur", - "flurstueck" - ] + "required": ["gemarkung_flur", "flurstueck"] }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "MarktpartnerDetails": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rollencodenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1089,119 +842,61 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "weiterverpflichtet": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Messprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messproduktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "zweiteMessung": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "werteuebermittlungAnNB": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -1225,10 +920,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1244,62 +936,36 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" @@ -1316,21 +982,11 @@ ] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -1352,10 +1008,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1366,30 +1019,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -1399,38 +1040,18 @@ "$ref": "#/definitions/Geschaeftspartner" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -1441,10 +1062,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -1455,10 +1073,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1526,79 +1141,42 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] + "required": ["zaehlernummer", "sparte"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1621,153 +1199,75 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } } @@ -1775,38 +1275,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messlokationsId": { "type": "string", @@ -1814,20 +1299,10 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "netzebeneMessung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1843,28 +1318,16 @@ ] }, "messgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBIMCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMDLCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messadresse": { "$ref": "#/definitions/Adresse" @@ -1876,37 +1339,25 @@ "$ref": "#/definitions/Katasteradresse" }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Hardware" } }, "messdienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Dienstleistung" } }, "messlokationszaehler": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehler" } }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1918,73 +1369,37 @@ ] }, "abrechnungmessstellenbetriebnna": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "verlustfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "betriebszustand": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "GESPERRT_NICHT_ENTSPERREN", - "GESPERRT", - "REGELBETRIEB" - ] + "type": ["string", "null"], + "enum": [null, "GESPERRT_NICHT_ENTSPERREN", "GESPERRT", "REGELBETRIEB"] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } } }, - "required": [ - "messlokationsId", - "sparte" - ] -} \ No newline at end of file + "required": ["messlokationsId", "sparte"] +} diff --git a/json-schema-files/BO4E.BO.Netzlokation.json b/json-schema-files/BO4E.BO.Netzlokation.json index 4de4b763..df1a5090 100644 --- a/json-schema-files/BO4E.BO.Netzlokation.json +++ b/json-schema-files/BO4E.BO.Netzlokation.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,46 +525,26 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -739,50 +552,29 @@ } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -798,89 +590,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -896,10 +646,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -908,10 +655,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -926,10 +670,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -955,56 +696,32 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1027,15 +744,10 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1055,29 +767,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -1101,10 +801,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1120,59 +817,33 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1180,38 +851,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "netzlokationsId": { "type": "string", @@ -1219,53 +875,31 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "netzanschlussleistung": { "$ref": "#/definitions/Menge" }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "steuerkanal": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszweck": { "$ref": "#/definitions/Verwendungszweck" }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1287,8 +921,5 @@ ] } }, - "required": [ - "netzlokationsId", - "sparte" - ] -} \ No newline at end of file + "required": ["netzlokationsId", "sparte"] +} diff --git a/json-schema-files/BO4E.BO.Preisblatt.json b/json-schema-files/BO4E.BO.Preisblatt.json index 7fd1a504..6ff7e837 100644 --- a/json-schema-files/BO4E.BO.Preisblatt.json +++ b/json-schema-files/BO4E.BO.Preisblatt.json @@ -2,43 +2,25 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -48,33 +30,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -86,23 +56,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -158,16 +119,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -190,10 +145,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -209,22 +161,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -282,10 +223,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -312,22 +250,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -343,19 +272,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -367,10 +290,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -385,30 +305,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -423,34 +330,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -466,69 +359,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -544,94 +407,55 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { "type": "string" @@ -646,21 +470,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -672,9 +486,5 @@ ] } }, - "required": [ - "bezeichnung", - "gueltigkeit", - "preispositionen" - ] -} \ No newline at end of file + "required": ["bezeichnung", "gueltigkeit", "preispositionen"] +} diff --git a/json-schema-files/BO4E.BO.PreisblattDienstleistung.json b/json-schema-files/BO4E.BO.PreisblattDienstleistung.json index 2b805649..4a2c1e35 100644 --- a/json-schema-files/BO4E.BO.PreisblattDienstleistung.json +++ b/json-schema-files/BO4E.BO.PreisblattDienstleistung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,52 +525,32 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Marktteilnehmer": { "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -753,89 +566,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -851,10 +622,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -863,10 +631,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -881,10 +646,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -910,34 +672,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -947,33 +694,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -985,23 +720,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -1057,16 +783,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1089,10 +809,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1108,22 +825,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1181,10 +887,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -1211,22 +914,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1242,19 +936,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1266,10 +954,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -1284,30 +969,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1327,29 +999,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -1364,34 +1024,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1407,69 +1053,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1485,94 +1101,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1580,38 +1154,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "dienstleistungsdetails": { "type": "string", @@ -1658,10 +1217,7 @@ ] }, "geraetedetails": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1688,21 +1244,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -1721,4 +1267,4 @@ "gueltigkeit", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.PreisblattKonzessionsabgabe.json b/json-schema-files/BO4E.BO.PreisblattKonzessionsabgabe.json index d19ee623..e9e0aa05 100644 --- a/json-schema-files/BO4E.BO.PreisblattKonzessionsabgabe.json +++ b/json-schema-files/BO4E.BO.PreisblattKonzessionsabgabe.json @@ -2,43 +2,25 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -48,33 +30,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -86,23 +56,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -158,16 +119,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -190,10 +145,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -209,22 +161,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -282,10 +223,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -312,22 +250,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -343,19 +272,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -367,10 +290,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -385,30 +305,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -423,34 +330,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -466,69 +359,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -544,94 +407,55 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kundengruppeKA": { "type": "string", @@ -670,21 +494,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -702,4 +516,4 @@ "gueltigkeit", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.PreisblattMessung.json b/json-schema-files/BO4E.BO.PreisblattMessung.json index d5aaa1a9..dbc0117d 100644 --- a/json-schema-files/BO4E.BO.PreisblattMessung.json +++ b/json-schema-files/BO4E.BO.PreisblattMessung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,35 +389,20 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, @@ -508,17 +410,11 @@ "type": "object", "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -569,10 +465,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -640,40 +533,23 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geraeteeigenschaften-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -724,10 +600,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -795,67 +668,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -871,89 +715,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -969,10 +771,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -981,10 +780,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -999,52 +795,32 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Marktteilnehmer": { "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -1060,89 +836,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1158,10 +892,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -1170,10 +901,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -1188,10 +916,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1217,34 +942,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -1254,33 +964,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1292,23 +990,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -1364,16 +1053,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1396,10 +1079,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1415,22 +1095,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1488,10 +1157,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -1518,22 +1184,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1549,19 +1206,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1573,10 +1224,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -1591,30 +1239,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1634,29 +1269,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -1671,34 +1294,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1714,69 +1323,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1792,94 +1371,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1887,49 +1424,27 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsmethode": { "type": "string", - "enum": [ - "RLM", - "SLP", - "TLP_GEMEINSAM", - "TLP_GETRENNT", - "PAUSCHAL", - "IMS" - ] + "enum": ["RLM", "SLP", "TLP_GEMEINSAM", "TLP_GETRENNT", "PAUSCHAL", "IMS"] }, "messebene": { "type": "string", @@ -1947,10 +1462,7 @@ ] }, "inklusiveDienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -2006,10 +1518,7 @@ "$ref": "#/definitions/Zeitraum" }, "inklusiveGeraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraeteeigenschaften-1" } @@ -2024,21 +1533,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -2059,4 +1558,4 @@ "herausgeber", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.PreisblattNetznutzung.json b/json-schema-files/BO4E.BO.PreisblattNetznutzung.json index c13e177b..c1c8e2ba 100644 --- a/json-schema-files/BO4E.BO.PreisblattNetznutzung.json +++ b/json-schema-files/BO4E.BO.PreisblattNetznutzung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,52 +525,32 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Marktteilnehmer": { "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -753,89 +566,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -851,10 +622,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -863,10 +631,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -881,10 +646,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -910,34 +672,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -947,33 +694,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -985,23 +720,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -1057,16 +783,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1089,10 +809,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1108,22 +825,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1181,10 +887,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -1211,22 +914,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1242,19 +936,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1266,10 +954,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -1284,30 +969,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1327,29 +999,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -1364,34 +1024,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1407,69 +1053,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1485,94 +1101,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1580,49 +1154,27 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsmethode": { "type": "string", - "enum": [ - "RLM", - "SLP", - "TLP_GEMEINSAM", - "TLP_GETRENNT", - "PAUSCHAL", - "IMS" - ] + "enum": ["RLM", "SLP", "TLP_GEMEINSAM", "TLP_GETRENNT", "PAUSCHAL", "IMS"] }, "netzebene": { "type": "string", @@ -1690,21 +1242,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -1725,4 +1267,4 @@ "gueltigkeit", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.PreisblattUmlagen.json b/json-schema-files/BO4E.BO.PreisblattUmlagen.json index 7fd1a504..6ff7e837 100644 --- a/json-schema-files/BO4E.BO.PreisblattUmlagen.json +++ b/json-schema-files/BO4E.BO.PreisblattUmlagen.json @@ -2,43 +2,25 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -48,33 +30,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -86,23 +56,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -158,16 +119,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -190,10 +145,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -209,22 +161,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -282,10 +223,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -312,22 +250,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -343,19 +272,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -367,10 +290,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -385,30 +305,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -423,34 +330,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -466,69 +359,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -544,94 +407,55 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { "type": "string" @@ -646,21 +470,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -672,9 +486,5 @@ ] } }, - "required": [ - "bezeichnung", - "gueltigkeit", - "preispositionen" - ] -} \ No newline at end of file + "required": ["bezeichnung", "gueltigkeit", "preispositionen"] +} diff --git a/json-schema-files/BO4E.BO.Rechnung.json b/json-schema-files/BO4E.BO.Rechnung.json index 3c44d165..67502d41 100644 --- a/json-schema-files/BO4E.BO.Rechnung.json +++ b/json-schema-files/BO4E.BO.Rechnung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,16 +306,10 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Betrag": { "type": "object", @@ -537,29 +504,17 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "Betrag-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" @@ -751,54 +706,30 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, @@ -806,44 +737,26 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -859,89 +772,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -957,10 +828,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -969,10 +837,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -987,37 +852,23 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1040,9 +891,7 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Preis": { "type": "object", @@ -1051,21 +900,11 @@ "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1088,78 +927,45 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rechnungsposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { "type": "integer" }, "lieferungVon": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lieferungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "positionstext": { "type": "string" }, "zeiteinheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1182,10 +988,7 @@ ] }, "artikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1243,10 +1046,7 @@ ] }, "lokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsMenge": { "$ref": "#/definitions/Menge" @@ -1255,10 +1055,7 @@ "$ref": "#/definitions/Menge" }, "korrekturfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einzelpreis": { "$ref": "#/definitions/Preis" @@ -1273,22 +1070,13 @@ "$ref": "#/definitions/Steuerbetrag" }, "vertragskontoId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertragsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ROH", @@ -1299,30 +1087,17 @@ ] }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ausfuehrungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "positionsnummer", - "positionstext", - "einzelpreis" - ] + "required": ["positionsnummer", "positionstext", "einzelpreis"] }, "Steuerbetrag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "steuerkennzeichen": { "type": "string", @@ -1339,10 +1114,7 @@ ] }, "sondersteuersatz": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "basiswert": { "type": "number" @@ -1537,86 +1309,49 @@ ] }, "basiswertVorausgezahlt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "steuerwertVorausgezahlt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "steuerkennzeichen", - "basiswert", - "steuerwert", - "waehrung" - ] + "required": ["steuerkennzeichen", "basiswert", "steuerwert", "waehrung"] }, "Vorauszahlung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "betrag": { "$ref": "#/definitions/Betrag" }, "referenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "referenzDatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "betrag" - ] + "required": ["betrag"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1632,113 +1367,62 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "rechnungstitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "rechnungsstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "GEPRUEFT_OK", - "GEPRUEFT_FEHLERHAFT", - "GEBUCHT", - "BEZAHLT" - ] + "type": ["string", "null"], + "enum": [null, "GEPRUEFT_OK", "GEPRUEFT_FEHLERHAFT", "GEBUCHT", "BEZAHLT"] }, "storno": { "type": "boolean" @@ -1776,10 +1460,7 @@ ] }, "originalRechnungsnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "rechnungsperiode": { "$ref": "#/definitions/Zeitraum" @@ -1809,10 +1490,7 @@ "$ref": "#/definitions/Betrag" }, "steuerbetraege": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Steuerbetrag" } @@ -1824,31 +1502,19 @@ } }, "istSelbstausgestellt": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "istReverseCharge": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorauszahlungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Vorauszahlung" } }, "sonderrechnungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KONZESSIONSABGABE_TESTAT", @@ -1862,10 +1528,7 @@ ] }, "buchungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, @@ -1884,4 +1547,4 @@ "zuzahlen", "rechnungspositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Region.json b/json-schema-files/BO4E.BO.Region.json index 716c2a7f..c65a91b3 100644 --- a/json-schema-files/BO4E.BO.Region.json +++ b/json-schema-files/BO4E.BO.Region.json @@ -2,55 +2,32 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Regionskriterium": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gueltigkeitstyp": { "type": "string", - "enum": [ - "NICHT_IN" - ] + "enum": ["NICHT_IN"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -63,11 +40,7 @@ }, "mengenoperator": { "type": "string", - "enum": [ - "KLEINER_ALS", - "GROESSER_ALS", - "GLEICH" - ] + "enum": ["KLEINER_ALS", "GROESSER_ALS", "GLEICH"] }, "regionskriteriumtyp": { "type": "string", @@ -103,17 +76,11 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -127,32 +94,20 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bezeichnung": { "type": "string" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -164,23 +119,14 @@ } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "negativListe": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Regionskriterium" } } }, - "required": [ - "bezeichnung", - "positivListe" - ] -} \ No newline at end of file + "required": ["bezeichnung", "positivListe"] +} diff --git a/json-schema-files/BO4E.BO.Reklamation.json b/json-schema-files/BO4E.BO.Reklamation.json index 51e09aa2..73aaa5ef 100644 --- a/json-schema-files/BO4E.BO.Reklamation.json +++ b/json-schema-files/BO4E.BO.Reklamation.json @@ -2,49 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zeitraum": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -60,104 +39,62 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lokationsId": { "type": "string" }, "lokationsTyp": { "type": "string", - "enum": [ - "MALO", - "MELO" - ] + "enum": ["MALO", "MELO"] }, "obiskennzahl": { "type": "string" @@ -167,23 +104,13 @@ }, "reklamationsgrund": { "type": "string", - "enum": [ - "WERTE_ZU_HOCH", - "WERTE_ZU_NIEDRIG", - "WERTE_FEHLEN" - ] + "enum": ["WERTE_ZU_HOCH", "WERTE_ZU_NIEDRIG", "WERTE_FEHLEN"] }, "reklamationsgrundBemerkung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zeitpunktFuerWertanfrage": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, @@ -193,4 +120,4 @@ "obiskennzahl", "reklamationsgrund" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Sperrauftrag.json b/json-schema-files/BO4E.BO.Sperrauftrag.json index 2f258ca1..73c3beff 100644 --- a/json-schema-files/BO4E.BO.Sperrauftrag.json +++ b/json-schema-files/BO4E.BO.Sperrauftrag.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,75 +306,41 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -424,49 +363,28 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] } }, "type": "object", "properties": { "sperrauftragsart": { "type": "string", - "enum": [ - "SPERREN", - "ENTSPERREN" - ] + "enum": ["SPERREN", "ENTSPERREN"] }, "sperrauftragsstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESCHEITERT", @@ -478,10 +396,7 @@ ] }, "sperrauftragsablehngrund": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DUPLIKAT", @@ -498,10 +413,7 @@ ] }, "sperrauftragsverhinderungsgrund": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RECHTLICHER_GRUND_FEHLT", @@ -514,45 +426,27 @@ ] }, "zaehlernummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "istVomGerichtsvollzieherAngeordnet": { "type": "boolean" }, "ausfuehrungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fertigstellungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -564,20 +458,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lieferanschrift": { "$ref": "#/definitions/Adresse" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -586,21 +474,12 @@ "type": "string" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bemerkungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "mindestpreis": { @@ -615,4 +494,4 @@ "istVomGerichtsvollzieherAngeordnet", "marktlokationsId" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.SperrauftragsStorno.json b/json-schema-files/BO4E.BO.SperrauftragsStorno.json index cc264798..0d2ed1e8 100644 --- a/json-schema-files/BO4E.BO.SperrauftragsStorno.json +++ b/json-schema-files/BO4E.BO.SperrauftragsStorno.json @@ -2,35 +2,20 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -39,51 +24,30 @@ "properties": { "originalSperrauftragsart": { "type": "string", - "enum": [ - "SPERREN", - "ENTSPERREN" - ] + "enum": ["SPERREN", "ENTSPERREN"] }, "auftragsId": { "type": "string" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "originalSperrauftragsart", - "auftragsId" - ] -} \ No newline at end of file + "required": ["originalSperrauftragsart", "auftragsId"] +} diff --git a/json-schema-files/BO4E.BO.Statusbericht.json b/json-schema-files/BO4E.BO.Statusbericht.json index d6c4d612..ac7f61de 100644 --- a/json-schema-files/BO4E.BO.Statusbericht.json +++ b/json-schema-files/BO4E.BO.Statusbericht.json @@ -2,96 +2,55 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Fehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "typ": { "type": "string", - "enum": [ - "SYNTAX", - "VERARBEITUNG" - ] + "enum": ["SYNTAX", "VERARBEITUNG"] }, "fehlerDetails": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/FehlerDetail" } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "typ" - ] + "required": ["typ"] }, "FehlerDetail": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { "type": "string", @@ -136,73 +95,41 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ursache": { "$ref": "#/definitions/FehlerUrsache" } }, - "required": [ - "code" - ] + "required": ["code"] }, "FehlerUrsache": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dokument": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachricht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "transaktion": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gruppe": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "segment": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -210,51 +137,30 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "type": "string", - "enum": [ - "ERFOLGREICH", - "FEHLER" - ] + "enum": ["ERFOLGREICH", "FEHLER"] }, "pruefgegenstand": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "datumPruefung": { "type": "string", @@ -264,8 +170,5 @@ "$ref": "#/definitions/Fehler" } }, - "required": [ - "status", - "datumPruefung" - ] -} \ No newline at end of file + "required": ["status", "datumPruefung"] +} diff --git a/json-schema-files/BO4E.BO.SteuerbareRessource.json b/json-schema-files/BO4E.BO.SteuerbareRessource.json index 90d565e2..1d855b1e 100644 --- a/json-schema-files/BO4E.BO.SteuerbareRessource.json +++ b/json-schema-files/BO4E.BO.SteuerbareRessource.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,46 +525,26 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -739,50 +552,29 @@ } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -798,89 +590,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -896,10 +646,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -908,10 +655,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -926,10 +670,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -955,34 +696,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1002,60 +728,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1063,74 +762,43 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "steuerbareRessourceId": { "type": "string", "default": "|null|" }, "steuerkanalsLeistungsbeschreibung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AN_AUS", - "GESTUFT" - ] + "type": ["string", "null"], + "enum": [null, "AN_AUS", "GESTUFT"] }, "zugeordnetMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1152,7 +820,5 @@ ] } }, - "required": [ - "steuerbareRessourceId" - ] -} \ No newline at end of file + "required": ["steuerbareRessourceId"] +} diff --git a/json-schema-files/BO4E.BO.Summenzeitreihe.json b/json-schema-files/BO4E.BO.Summenzeitreihe.json index 2ca52f0e..a9e3cd5d 100644 --- a/json-schema-files/BO4E.BO.Summenzeitreihe.json +++ b/json-schema-files/BO4E.BO.Summenzeitreihe.json @@ -2,56 +2,32 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -65,16 +41,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -149,30 +119,18 @@ } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -181,10 +139,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -200,34 +155,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -243,10 +182,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -280,56 +216,31 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] }, "Zeitreihenprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "identifikation": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "korrekturfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "verbrauch": { "$ref": "#/definitions/Verbrauch" @@ -340,82 +251,46 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlpunktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsbeginn": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bilanzierungsende": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bilanzkreis": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "regelzone": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "BG_SZR_B", @@ -433,10 +308,7 @@ ] }, "bezugszeitraum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -452,10 +324,7 @@ ] }, "zeitreihentyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EGS", @@ -470,10 +339,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -495,10 +361,7 @@ ] }, "spannungsebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -514,13 +377,10 @@ ] }, "produkte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zeitreihenprodukt" } } } -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.TechnischeRessource.json b/json-schema-files/BO4E.BO.TechnischeRessource.json index 7f328748..19b589d1 100644 --- a/json-schema-files/BO4E.BO.TechnischeRessource.json +++ b/json-schema-files/BO4E.BO.TechnischeRessource.json @@ -2,65 +2,38 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -83,46 +56,29 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "technischeRessourceId": { "type": "string", @@ -147,22 +103,11 @@ "$ref": "#/definitions/Menge" }, "technischeRessourceNutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "STROMVERBRAUCHSART", - "STROMERZEUGUNGSART", - "SPEICHER" - ] + "type": ["string", "null"], + "enum": [null, "STROMVERBRAUCHSART", "STROMERZEUGUNGSART", "SPEICHER"] }, "verbrauchsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KRAFT_LICHT", @@ -172,28 +117,12 @@ ] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] }, "erzeugungsart": { "type": "string", @@ -229,4 +158,4 @@ "erzeugungsart", "speicherart" ] -} \ No newline at end of file +} diff --git a/json-schema-files/BO4E.BO.Tranche.json b/json-schema-files/BO4E.BO.Tranche.json index 3e435b8f..5eae45ae 100644 --- a/json-schema-files/BO4E.BO.Tranche.json +++ b/json-schema-files/BO4E.BO.Tranche.json @@ -2,35 +2,20 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -38,38 +23,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "trancheId": { "type": "string", @@ -77,30 +47,14 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "aufteilungsmenge": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "trancheId", - "sparte" - ] -} \ No newline at end of file + "required": ["trancheId", "sparte"] +} diff --git a/json-schema-files/BO4E.BO.Vertrag.json b/json-schema-files/BO4E.BO.Vertrag.json index f7d6d99c..7cea1270 100644 --- a/json-schema-files/BO4E.BO.Vertrag.json +++ b/json-schema-files/BO4E.BO.Vertrag.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,95 +306,53 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -437,89 +368,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -535,10 +424,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -547,10 +433,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -565,37 +448,23 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -618,80 +487,46 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Unterschrift": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "ort": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "datum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "name": { "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "name" - ] + "required": ["name"] }, "Vertragskonditionen": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anzahlAbschlaege": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "vertragslaufzeit": { "$ref": "#/definitions/Zeitraum" @@ -706,63 +541,34 @@ "$ref": "#/definitions/Zeitraum" }, "startAbrechnungsjahr": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "geplanteTurnusablesung": { "$ref": "#/definitions/Zeitraum" }, "turnusablesungIntervall": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "netznutzungsabrechnung": { "$ref": "#/definitions/Zeitraum" }, "netznutzungsabrechnungIntervall": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "haushaltskunde": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "netznutzungsvertrag": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KUNDEN_NB", - "LIEFERANTEN_NB" - ] + "type": ["string", "null"], + "enum": [null, "KUNDEN_NB", "LIEFERANTEN_NB"] }, "netznutzungszahler": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KUNDE", - "LIEFERANT" - ] + "type": ["string", "null"], + "enum": [null, "KUNDE", "LIEFERANT"] }, "netznutzungsabrechnungsvariante": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITSPREIS_GRUNDPREIS", @@ -770,49 +576,27 @@ ] }, "netznutzungsabrechnungsgrundlage": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "LIEFERSCHEIN", - "ABWEICHENDE_GRUNDLAGE" - ] + "type": ["string", "null"], + "enum": [null, "LIEFERSCHEIN", "ABWEICHENDE_GRUNDLAGE"] }, "beinhaltetSingulaerGenutzteBetriebsmittel": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Vertragsteil": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "vertragsteilbeginn": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "vertragsteilende": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lokation": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertraglichFixierteMenge": { "$ref": "#/definitions/Menge" @@ -830,37 +614,22 @@ "$ref": "#/definitions/Menge" }, "verbrauchsaufteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zeitraum": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -876,112 +645,64 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertragsnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertragsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ENERGIELIEFERVERTRAG", @@ -992,10 +713,7 @@ ] }, "vertragstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "IN_ARBEIT", @@ -1011,24 +729,14 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "vertragsbeginn": { "type": "string", "format": "date-time" }, "vertragsende": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "vertragspartner1": { @@ -1038,19 +746,13 @@ "$ref": "#/definitions/Geschaeftspartner" }, "unterzeichnervp1": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Unterschrift" } }, "unterzeichnervp2": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Unterschrift" } @@ -1059,26 +761,17 @@ "$ref": "#/definitions/Vertragskonditionen" }, "vertragsteile": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Vertragsteil" } }, "gemeinderabatt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "korrespondenzpartner": { "$ref": "#/definitions/Geschaeftspartner" } }, - "required": [ - "sparte", - "vertragsbeginn" - ] -} \ No newline at end of file + "required": ["sparte", "vertragsbeginn"] +} diff --git a/json-schema-files/BO4E.BO.Wechsel.json b/json-schema-files/BO4E.BO.Wechsel.json index c6981aca..3cf44fd3 100644 --- a/json-schema-files/BO4E.BO.Wechsel.json +++ b/json-schema-files/BO4E.BO.Wechsel.json @@ -2,71 +2,41 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -81,23 +51,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -148,10 +109,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -219,69 +177,39 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "geraete": { "type": "array", @@ -290,21 +218,12 @@ } }, "wechseldatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "vollstaendig": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } }, - "required": [ - "sparte", - "geraete" - ] -} \ No newline at end of file + "required": ["sparte", "geraete"] +} diff --git a/json-schema-files/BO4E.BO.Zaehler.json b/json-schema-files/BO4E.BO.Zaehler.json index 54a75949..22e9a934 100644 --- a/json-schema-files/BO4E.BO.Zaehler.json +++ b/json-schema-files/BO4E.BO.Zaehler.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,83 +306,47 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -424,23 +361,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -491,10 +419,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -562,67 +487,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -638,89 +534,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -736,10 +590,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -748,10 +599,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -766,65 +614,33 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -848,10 +664,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -867,82 +680,43 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -965,153 +739,75 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } } @@ -1119,69 +815,37 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -1203,10 +867,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1217,30 +878,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -1250,38 +899,18 @@ "$ref": "#/definitions/Geschaeftspartner" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -1292,10 +921,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -1306,10 +932,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1377,17 +1000,11 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] -} \ No newline at end of file + "required": ["zaehlernummer", "sparte"] +} diff --git a/json-schema-files/BO4E.BO.Zaehlzeitdefinition.json b/json-schema-files/BO4E.BO.Zaehlzeitdefinition.json index babed351..d369ce20 100644 --- a/json-schema-files/BO4E.BO.Zaehlzeitdefinition.json +++ b/json-schema-files/BO4E.BO.Zaehlzeitdefinition.json @@ -2,124 +2,66 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "AusgerollteZaehlzeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "aenderungszeitpunkt": { "type": "string", "format": "date-time" }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "aenderungszeitpunkt" - ] + "required": ["aenderungszeitpunkt"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zaehlzeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "haeufigkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINMALIG", - "JAEHRLICH" - ] + "type": ["string", "null"], + "enum": [null, "EINMALIG", "JAEHRLICH"] }, "uebermittelbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ELEKTRONISCH", - "NICHT_ELEKTRONISCH" - ] + "type": ["string", "null"], + "enum": [null, "ELEKTRONISCH", "NICHT_ELEKTRONISCH"] }, "ermittlungLeistungsmaximum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERWENDUNG_HOCHLASTFENSTER", @@ -127,16 +69,10 @@ ] }, "istBestellbar": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "typ": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WAERMEPUMPE", @@ -147,54 +83,29 @@ ] }, "beschreibungTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } } @@ -202,51 +113,30 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beginndatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endedatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "version": { @@ -254,10 +144,7 @@ "format": "date-time" }, "notwendigkeit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZAEHLZEITDEFINITIONEN_WERDEN_VERWENDET", @@ -267,10 +154,7 @@ ] }, "zaehlzeiten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlzeit" } @@ -288,9 +172,5 @@ } } }, - "required": [ - "version", - "zaehlzeitregister", - "ausgerollteZaehlzeiten" - ] -} \ No newline at end of file + "required": ["version", "zaehlzeitregister", "ausgerollteZaehlzeiten"] +} diff --git a/json-schema-files/Energiemenge.json b/json-schema-files/Energiemenge.json index 83891ebc..2a895b15 100644 --- a/json-schema-files/Energiemenge.json +++ b/json-schema-files/Energiemenge.json @@ -2,56 +2,32 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -65,16 +41,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -149,30 +119,18 @@ } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -181,10 +139,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -200,34 +155,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -243,10 +182,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -280,92 +216,53 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lokationsId": { "type": "string", "default": "|null|" }, "lokationsTyp": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "MALO", - "MELO" - ] + "type": ["string", "null"], + "enum": [null, "MALO", "MELO"] }, "energieverbrauch": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verbrauch" }, "minItems": 1 } }, - "required": [ - "lokationsId", - "lokationsTyp", - "energieverbrauch" - ] -} \ No newline at end of file + "required": ["lokationsId", "lokationsTyp", "energieverbrauch"] +} diff --git a/json-schema-files/Entsperrauftrag.json b/json-schema-files/Entsperrauftrag.json index ca150b7c..057a5d6f 100644 --- a/json-schema-files/Entsperrauftrag.json +++ b/json-schema-files/Entsperrauftrag.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,75 +306,41 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -424,49 +363,28 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] } }, "type": "object", "properties": { "sperrauftragsart": { "type": "string", - "enum": [ - "SPERREN", - "ENTSPERREN" - ] + "enum": ["SPERREN", "ENTSPERREN"] }, "sperrauftragsstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESCHEITERT", @@ -478,45 +396,27 @@ ] }, "zaehlernummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "istNurInnerhalbDerArbeitszeitZuEntsperren": { "type": "boolean" }, "ausfuehrungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fertigstellungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -528,20 +428,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lieferanschrift": { "$ref": "#/definitions/Adresse" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -550,21 +444,12 @@ "type": "string" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bemerkungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "mindestpreis": { @@ -579,4 +464,4 @@ "istNurInnerhalbDerArbeitszeitZuEntsperren", "marktlokationsId" ] -} \ No newline at end of file +} diff --git a/json-schema-files/Geschaeftspartner.json b/json-schema-files/Geschaeftspartner.json index dd775c05..9a1fc1be 100644 --- a/json-schema-files/Geschaeftspartner.json +++ b/json-schema-files/Geschaeftspartner.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,47 +306,26 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -381,44 +333,26 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -434,89 +368,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -532,10 +424,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -544,10 +433,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -562,7 +448,5 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] -} \ No newline at end of file + "required": ["gewerbekennzeichnung"] +} diff --git a/json-schema-files/Handelsunstimmigkeit.json b/json-schema-files/Handelsunstimmigkeit.json index b9f3ea63..d134d75a 100644 --- a/json-schema-files/Handelsunstimmigkeit.json +++ b/json-schema-files/Handelsunstimmigkeit.json @@ -2,10 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Betrag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" @@ -197,54 +194,30 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, @@ -252,29 +225,17 @@ "type": "object", "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "referenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grund": { "type": "string", @@ -297,46 +258,29 @@ ] } }, - "required": [ - "grund" - ] + "required": ["grund"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nummer": { "type": "string" @@ -357,9 +301,5 @@ "$ref": "#/definitions/Betrag" } }, - "required": [ - "nummer", - "typ", - "begruendung" - ] -} \ No newline at end of file + "required": ["nummer", "typ", "begruendung"] +} diff --git a/json-schema-files/Kosten.json b/json-schema-files/Kosten.json index 7064b5e7..1ee189c7 100644 --- a/json-schema-files/Kosten.json +++ b/json-schema-files/Kosten.json @@ -2,10 +2,7 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Betrag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" @@ -197,23 +194,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "Betrag-1": { "type": "object", @@ -408,62 +396,35 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Kostenblock": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "kostenblockbezeichnung": { "type": "string" @@ -472,63 +433,40 @@ "$ref": "#/definitions/Betrag" }, "kostenpositionen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Kostenposition" } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "kostenblockbezeichnung" - ] + "required": ["kostenblockbezeichnung"] }, "Kostenposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "positionstitel": { "type": "string" }, "von": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "artikelbezeichnung": { "type": "string" }, "artikeldetail": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "menge": { "$ref": "#/definitions/Menge" @@ -543,17 +481,11 @@ "$ref": "#/definitions/Betrag-1" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -564,32 +496,20 @@ ] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -612,9 +532,7 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Preis": { "type": "object", @@ -623,21 +541,11 @@ "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -660,42 +568,24 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -711,91 +601,53 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "kostenklasse": { "type": "string", - "enum": [ - "ZERO" - ] + "enum": ["ZERO"] }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -804,16 +656,10 @@ "$ref": "#/definitions/Zeitraum" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "summeKosten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Betrag" } @@ -826,18 +672,11 @@ "minItems": 1 }, "kostenpositionen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Kostenposition" } } }, - "required": [ - "kostenklasse", - "gueltigkeit", - "kostenbloecke" - ] -} \ No newline at end of file + "required": ["kostenklasse", "gueltigkeit", "kostenbloecke"] +} diff --git a/json-schema-files/Lokationszuordnung.json b/json-schema-files/Lokationszuordnung.json index 3b393f58..f9840abd 100644 --- a/json-schema-files/Lokationszuordnung.json +++ b/json-schema-files/Lokationszuordnung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,10 +389,7 @@ } }, "Dienstleistung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dienstleistungstyp": { "type": "string", @@ -525,62 +439,35 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "dienstleistungstyp", - "bezeichnung" - ] + "required": ["dienstleistungstyp", "bezeichnung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geokoordinaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "breitengrad": { "type": "number" @@ -589,57 +476,33 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "breitengrad", - "laengengrad" - ] + "required": ["breitengrad", "laengengrad"] }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -654,23 +517,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -721,10 +575,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -792,67 +643,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -868,89 +690,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -966,10 +746,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -978,10 +755,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -996,21 +770,13 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Hardware": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "geraetetyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WECHSELSTROMZAEHLER", @@ -1065,40 +831,23 @@ "$ref": "#/definitions/Geraeteeigenschaften" }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetereferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "bezeichnung" - ] + "required": ["bezeichnung"] }, "Katasteradresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gemarkung_flur": { "type": "string" @@ -1107,60 +856,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "gemarkung_flur", - "flurstueck" - ] + "required": ["gemarkung_flur", "flurstueck"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -1168,100 +890,52 @@ } }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "Marktlokation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktlokationsId": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "default": "|null|" }, "sparte": { @@ -1276,21 +950,11 @@ ] }, "energierichtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1302,30 +966,14 @@ ] }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbar": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "netzebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1341,16 +989,10 @@ ] }, "netzbetreiberCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gebietTyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "REGELZONE", @@ -1365,36 +1007,17 @@ ] }, "netzgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundversorgerCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "endkunde": { "$ref": "#/definitions/Geschaeftspartner" @@ -1409,31 +1032,19 @@ "$ref": "#/definitions/Katasteradresse" }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "regelzone": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zeitreihentyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EGS", @@ -1448,134 +1059,78 @@ ] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "zaehlwerkeBeteiligteMarktrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "verbrauchsmenge": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verbrauch" } }, "messlokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokation" } }, "zugehoerigeMesslokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokationszuordnung" } }, "messtechnischeEinordnung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "IMS", - "KME_MME", - "KEINE_MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "IMS", "KME_MME", "KEINE_MESSUNG"] }, "netznutzungsabrechnungsdaten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Netznutzungsabrechnungsdaten" } }, "sperrstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ENTSPERRT", - "GESPERRT" - ] + "type": ["string", "null"], + "enum": [null, "ENTSPERRT", "GESPERRT"] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "sparte" - ] + "required": ["sparte"] }, "MarktpartnerDetails": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rollencodenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1597,71 +1152,41 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "weiterverpflichtet": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -1677,89 +1202,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1775,10 +1258,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -1787,10 +1267,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -1805,10 +1282,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1834,56 +1308,32 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1906,49 +1356,29 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Messlokation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messlokationsId": { "type": "string", @@ -1966,10 +1396,7 @@ ] }, "netzebeneMessung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1985,28 +1412,16 @@ ] }, "messgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBIMCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMDLCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messadresse": { "$ref": "#/definitions/Adresse" @@ -2018,37 +1433,25 @@ "$ref": "#/definitions/Katasteradresse" }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Hardware" } }, "messdienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Dienstleistung" } }, "messlokationszaehler": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehler" } }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -2060,54 +1463,29 @@ ] }, "abrechnungmessstellenbetriebnna": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "verlustfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "betriebszustand": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESPERRT_NICHT_ENTSPERREN", @@ -2116,40 +1494,25 @@ ] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId", - "sparte" - ] + "required": ["messlokationsId", "sparte"] }, "Messlokationszuordnung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "messlokationsId": { "type": "string" }, "arithmetik": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ADDITION", @@ -2161,176 +1524,90 @@ ] }, "gueltigSeit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "gueltigBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId" - ] + "required": ["messlokationsId"] }, "Messprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messproduktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "zweiteMessung": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "werteuebermittlungAnNB": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Netzlokation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "netzlokationsId": { "type": "string", @@ -2351,40 +1628,25 @@ "$ref": "#/definitions/Menge" }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "steuerkanal": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszweck": { "$ref": "#/definitions/Verwendungszweck" }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -2406,76 +1668,39 @@ ] }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "netzlokationsId", - "sparte" - ] + "required": ["netzlokationsId", "sparte"] }, "Netznutzungsabrechnungsdaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelIdTyp": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ARTIKELID", - "GRUPPENARTIKELID" - ] + "type": ["string", "null"], + "enum": [null, "ARTIKELID", "GRUPPENARTIKELID"] }, "anzahl": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "gemeinderabatt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zuschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "abschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "singulaereBetriebsmittel": { "$ref": "#/definitions/Menge" @@ -2489,30 +1714,17 @@ } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -2535,39 +1747,21 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -2587,42 +1781,24 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -2636,16 +1812,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -2720,80 +1890,46 @@ } }, "SteuerbareRessource": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "steuerbareRessourceId": { "type": "string", "default": "|null|" }, "steuerkanalsLeistungsbeschreibung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AN_AUS", - "GESTUFT" - ] + "type": ["string", "null"], + "enum": [null, "AN_AUS", "GESTUFT"] }, "zugeordnetMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -2815,80 +1951,45 @@ ] }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "steuerbareRessourceId" - ] + "required": ["steuerbareRessourceId"] }, "TechnischeRessource": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "technischeRessourceId": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "default": "|null|" }, "vorgelagerteMesslokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zugeordneteMarktlokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zugeordneteSteuerbareRessourceId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nennleistungAufnahme": { "$ref": "#/definitions/Menge" @@ -2900,22 +2001,11 @@ "$ref": "#/definitions/Menge" }, "technischeRessourceNutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "STROMVERBRAUCHSART", - "STROMERZEUGUNGSART", - "SPEICHER" - ] + "type": ["string", "null"], + "enum": [null, "STROMVERBRAUCHSART", "STROMERZEUGUNGSART", "SPEICHER"] }, "verbrauchsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KRAFT_LICHT", @@ -2925,34 +2015,15 @@ ] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] }, "erzeugungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KWK", @@ -2969,10 +2040,7 @@ ] }, "speicherart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WASSERSTOFFSPEICHER", @@ -2982,38 +2050,23 @@ ] }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -3022,10 +2075,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -3041,34 +2091,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -3084,10 +2118,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -3121,31 +2152,18 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -3169,10 +2187,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -3188,62 +2203,36 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" @@ -3260,21 +2249,11 @@ ] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -3296,10 +2275,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -3310,30 +2286,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -3343,38 +2307,18 @@ "$ref": "#/definitions/Geschaeftspartner" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -3385,10 +2329,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -3399,10 +2340,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -3470,79 +2408,42 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] + "required": ["zaehlernummer", "sparte"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -3565,179 +2466,87 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } }, "Zeitraum": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -3753,94 +2562,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -3848,104 +2615,65 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktlokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Marktlokation" } }, "messlokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokation" } }, "netzlokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Netzlokation" } }, "technischeRessourcen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/TechnischeRessource" } }, "steuerbareRessourcen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/SteuerbareRessource" } }, "gueltigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zeitraum" } }, "zuordnungstyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lokationsbuendelcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } -} \ No newline at end of file +} diff --git a/json-schema-files/MabisZaehlpunkt.json b/json-schema-files/MabisZaehlpunkt.json index 09505c6a..6ef3de32 100644 --- a/json-schema-files/MabisZaehlpunkt.json +++ b/json-schema-files/MabisZaehlpunkt.json @@ -2,35 +2,20 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -38,45 +23,28 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "Id": { "type": "string", "default": "|null|" } }, - "required": [ - "Id" - ] -} \ No newline at end of file + "required": ["Id"] +} diff --git a/json-schema-files/Marktlokation.json b/json-schema-files/Marktlokation.json index fcb07bc7..e9404c34 100644 --- a/json-schema-files/Marktlokation.json +++ b/json-schema-files/Marktlokation.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,10 +389,7 @@ } }, "Dienstleistung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dienstleistungstyp": { "type": "string", @@ -525,62 +439,35 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "dienstleistungstyp", - "bezeichnung" - ] + "required": ["dienstleistungstyp", "bezeichnung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geokoordinaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "breitengrad": { "type": "number" @@ -589,57 +476,33 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "breitengrad", - "laengengrad" - ] + "required": ["breitengrad", "laengengrad"] }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -654,23 +517,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -721,10 +575,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -792,67 +643,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -868,89 +690,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -966,10 +746,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -978,10 +755,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -996,21 +770,13 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Hardware": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "geraetetyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WECHSELSTROMZAEHLER", @@ -1065,40 +831,23 @@ "$ref": "#/definitions/Geraeteeigenschaften" }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetereferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "bezeichnung" - ] + "required": ["bezeichnung"] }, "Katasteradresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gemarkung_flur": { "type": "string" @@ -1107,60 +856,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "gemarkung_flur", - "flurstueck" - ] + "required": ["gemarkung_flur", "flurstueck"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -1168,78 +890,39 @@ } }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "MarktpartnerDetails": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rollencodenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1261,71 +944,41 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "weiterverpflichtet": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -1341,89 +994,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1439,10 +1050,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -1451,10 +1059,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -1469,10 +1074,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1498,56 +1100,32 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1570,49 +1148,29 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Messlokation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messlokationsId": { "type": "string", @@ -1630,10 +1188,7 @@ ] }, "netzebeneMessung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1649,28 +1204,16 @@ ] }, "messgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBIMCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMDLCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messadresse": { "$ref": "#/definitions/Adresse" @@ -1682,37 +1225,25 @@ "$ref": "#/definitions/Katasteradresse" }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Hardware" } }, "messdienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Dienstleistung" } }, "messlokationszaehler": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehler" } }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1724,54 +1255,29 @@ ] }, "abrechnungmessstellenbetriebnna": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "verlustfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "betriebszustand": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESPERRT_NICHT_ENTSPERREN", @@ -1780,40 +1286,25 @@ ] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId", - "sparte" - ] + "required": ["messlokationsId", "sparte"] }, "Messlokationszuordnung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "messlokationsId": { "type": "string" }, "arithmetik": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ADDITION", @@ -1825,196 +1316,97 @@ ] }, "gueltigSeit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "gueltigBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId" - ] + "required": ["messlokationsId"] }, "Messprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messproduktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "zweiteMessung": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "werteuebermittlungAnNB": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Netznutzungsabrechnungsdaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "artikelIdTyp": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ARTIKELID", - "GRUPPENARTIKELID" - ] + "type": ["string", "null"], + "enum": [null, "ARTIKELID", "GRUPPENARTIKELID"] }, "anzahl": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "gemeinderabatt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zuschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "abschlag": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "singulaereBetriebsmittel": { "$ref": "#/definitions/Menge" @@ -2028,30 +1420,17 @@ } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -2074,39 +1453,21 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -2126,42 +1487,24 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -2175,16 +1518,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -2259,30 +1596,18 @@ } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -2291,10 +1616,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -2310,34 +1632,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -2353,10 +1659,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -2390,31 +1693,18 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -2438,10 +1728,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -2457,62 +1744,36 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" @@ -2529,21 +1790,11 @@ ] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -2565,10 +1816,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -2579,30 +1827,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -2612,38 +1848,18 @@ "$ref": "#/definitions/Geschaeftspartner" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -2654,10 +1870,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -2668,10 +1881,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -2739,79 +1949,42 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] + "required": ["zaehlernummer", "sparte"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -2834,204 +2007,100 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -3039,73 +2108,38 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktlokationsId": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "default": "|null|" }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "energierichtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -3117,30 +2151,14 @@ ] }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbar": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "netzebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -3156,16 +2174,10 @@ ] }, "netzbetreiberCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gebietTyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "REGELZONE", @@ -3180,36 +2192,17 @@ ] }, "netzgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundversorgerCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "endkunde": { "$ref": "#/definitions/Geschaeftspartner" @@ -3224,31 +2217,19 @@ "$ref": "#/definitions/Katasteradresse" }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "regelzone": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zeitreihentyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EGS", @@ -3263,108 +2244,64 @@ ] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "zaehlwerkeBeteiligteMarktrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "verbrauchsmenge": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verbrauch" } }, "messlokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokation" } }, "zugehoerigeMesslokationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messlokationszuordnung" } }, "messtechnischeEinordnung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "IMS", - "KME_MME", - "KEINE_MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "IMS", "KME_MME", "KEINE_MESSUNG"] }, "netznutzungsabrechnungsdaten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Netznutzungsabrechnungsdaten" } }, "sperrstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ENTSPERRT", - "GESPERRT" - ] + "type": ["string", "null"], + "enum": [null, "ENTSPERRT", "GESPERRT"] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "sparte" - ] -} \ No newline at end of file + "required": ["sparte"] +} diff --git a/json-schema-files/Marktteilnehmer.json b/json-schema-files/Marktteilnehmer.json index 495c68d5..14ce04eb 100644 --- a/json-schema-files/Marktteilnehmer.json +++ b/json-schema-files/Marktteilnehmer.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,15 +525,10 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -720,60 +548,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -781,44 +582,26 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -834,89 +617,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -932,10 +673,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -944,10 +682,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -962,10 +697,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -991,26 +723,14 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] -} \ No newline at end of file + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] +} diff --git a/json-schema-files/Messlokation.json b/json-schema-files/Messlokation.json index 5177353f..34913b03 100644 --- a/json-schema-files/Messlokation.json +++ b/json-schema-files/Messlokation.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,22 +306,13 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Dienstleistung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dienstleistungstyp": { "type": "string", @@ -398,62 +362,35 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "dienstleistungstyp", - "bezeichnung" - ] + "required": ["dienstleistungstyp", "bezeichnung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geokoordinaten": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "breitengrad": { "type": "number" @@ -462,57 +399,33 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "breitengrad", - "laengengrad" - ] + "required": ["breitengrad", "laengengrad"] }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -527,23 +440,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -594,10 +498,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -665,67 +566,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -741,89 +613,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -839,10 +669,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -851,10 +678,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -869,21 +693,13 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Hardware": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "geraetetyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WECHSELSTROMZAEHLER", @@ -938,40 +754,23 @@ "$ref": "#/definitions/Geraeteeigenschaften" }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetereferenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "bezeichnung" - ] + "required": ["bezeichnung"] }, "Katasteradresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gemarkung_flur": { "type": "string" @@ -980,97 +779,49 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "gemarkung_flur", - "flurstueck" - ] + "required": ["gemarkung_flur", "flurstueck"] }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "MarktpartnerDetails": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rollencodenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1092,131 +843,65 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "weiterverpflichtet": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Messprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messproduktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "zweiteMessung": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "werteuebermittlungAnNB": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -1240,10 +925,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1259,62 +941,36 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" @@ -1331,21 +987,11 @@ ] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -1367,10 +1013,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1381,30 +1024,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -1414,38 +1045,18 @@ "$ref": "#/definitions/Geschaeftspartner" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -1456,10 +1067,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -1470,10 +1078,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1541,79 +1146,42 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] + "required": ["zaehlernummer", "sparte"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1636,165 +1204,79 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } } @@ -1802,38 +1284,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messlokationsId": { "type": "string", @@ -1841,20 +1308,10 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "netzebeneMessung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1870,28 +1327,16 @@ ] }, "messgebietNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMSBIMCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "grundzustaendigerMDLCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "messadresse": { "$ref": "#/definitions/Adresse" @@ -1903,37 +1348,25 @@ "$ref": "#/definitions/Katasteradresse" }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Hardware" } }, "messdienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Dienstleistung" } }, "messlokationszaehler": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehler" } }, "bilanzierungsmethode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1945,79 +1378,40 @@ ] }, "abrechnungmessstellenbetriebnna": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } }, "gasqualitaet": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ZERO", - "H_GAS", - "HGAS", - "L_GAS", - "LGAS" - ] + "type": ["string", "null"], + "enum": [null, "ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"] }, "verlustfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" } }, "betriebszustand": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "GESPERRT_NICHT_ENTSPERREN", - "GESPERRT", - "REGELBETRIEB" - ] + "type": ["string", "null"], + "enum": [null, "GESPERRT_NICHT_ENTSPERREN", "GESPERRT", "REGELBETRIEB"] }, "messprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Messprodukt" } }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "messlokationsId", - "sparte" - ] -} \ No newline at end of file + "required": ["messlokationsId", "sparte"] +} diff --git a/json-schema-files/Netzlokation.json b/json-schema-files/Netzlokation.json index beb88d96..91d05001 100644 --- a/json-schema-files/Netzlokation.json +++ b/json-schema-files/Netzlokation.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,46 +525,26 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -739,50 +552,29 @@ } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -798,89 +590,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -896,10 +646,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -908,10 +655,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -926,10 +670,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -955,56 +696,32 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1027,15 +744,10 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1055,29 +767,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -1101,10 +801,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1120,59 +817,33 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1180,38 +851,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "netzlokationsId": { "type": "string", @@ -1219,53 +875,31 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "netzanschlussleistung": { "$ref": "#/definitions/Menge" }, "grundzustaendigerMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "steuerkanal": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verwendungszweck": { "$ref": "#/definitions/Verwendungszweck" }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1287,14 +921,8 @@ ] }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "netzlokationsId", - "sparte" - ] -} \ No newline at end of file + "required": ["netzlokationsId", "sparte"] +} diff --git a/json-schema-files/Preisblatt.json b/json-schema-files/Preisblatt.json index 7fd1a504..6ff7e837 100644 --- a/json-schema-files/Preisblatt.json +++ b/json-schema-files/Preisblatt.json @@ -2,43 +2,25 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -48,33 +30,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -86,23 +56,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -158,16 +119,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -190,10 +145,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -209,22 +161,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -282,10 +223,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -312,22 +250,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -343,19 +272,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -367,10 +290,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -385,30 +305,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -423,34 +330,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -466,69 +359,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -544,94 +407,55 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { "type": "string" @@ -646,21 +470,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -672,9 +486,5 @@ ] } }, - "required": [ - "bezeichnung", - "gueltigkeit", - "preispositionen" - ] -} \ No newline at end of file + "required": ["bezeichnung", "gueltigkeit", "preispositionen"] +} diff --git a/json-schema-files/PreisblattDienstleistung.json b/json-schema-files/PreisblattDienstleistung.json index 2b805649..4a2c1e35 100644 --- a/json-schema-files/PreisblattDienstleistung.json +++ b/json-schema-files/PreisblattDienstleistung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,52 +525,32 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Marktteilnehmer": { "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -753,89 +566,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -851,10 +622,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -863,10 +631,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -881,10 +646,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -910,34 +672,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -947,33 +694,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -985,23 +720,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -1057,16 +783,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1089,10 +809,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1108,22 +825,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1181,10 +887,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -1211,22 +914,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1242,19 +936,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1266,10 +954,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -1284,30 +969,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1327,29 +999,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -1364,34 +1024,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1407,69 +1053,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1485,94 +1101,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1580,38 +1154,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "dienstleistungsdetails": { "type": "string", @@ -1658,10 +1217,7 @@ ] }, "geraetedetails": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RLM", @@ -1688,21 +1244,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -1721,4 +1267,4 @@ "gueltigkeit", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/PreisblattKonzessionsabgabe.json b/json-schema-files/PreisblattKonzessionsabgabe.json index d19ee623..e9e0aa05 100644 --- a/json-schema-files/PreisblattKonzessionsabgabe.json +++ b/json-schema-files/PreisblattKonzessionsabgabe.json @@ -2,43 +2,25 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -48,33 +30,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -86,23 +56,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -158,16 +119,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -190,10 +145,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -209,22 +161,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -282,10 +223,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -312,22 +250,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -343,19 +272,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -367,10 +290,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -385,30 +305,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -423,34 +330,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -466,69 +359,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -544,94 +407,55 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kundengruppeKA": { "type": "string", @@ -670,21 +494,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -702,4 +516,4 @@ "gueltigkeit", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/PreisblattMessung.json b/json-schema-files/PreisblattMessung.json index d5aaa1a9..dbc0117d 100644 --- a/json-schema-files/PreisblattMessung.json +++ b/json-schema-files/PreisblattMessung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,35 +389,20 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, @@ -508,17 +410,11 @@ "type": "object", "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -569,10 +465,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -640,40 +533,23 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geraeteeigenschaften-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -724,10 +600,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -795,67 +668,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -871,89 +715,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -969,10 +771,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -981,10 +780,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -999,52 +795,32 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Marktteilnehmer": { "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -1060,89 +836,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -1158,10 +892,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -1170,10 +901,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -1188,10 +916,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1217,34 +942,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -1254,33 +964,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1292,23 +990,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -1364,16 +1053,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1396,10 +1079,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1415,22 +1095,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1488,10 +1157,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -1518,22 +1184,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1549,19 +1206,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1573,10 +1224,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -1591,30 +1239,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1634,29 +1269,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -1671,34 +1294,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1714,69 +1323,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1792,94 +1371,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1887,49 +1424,27 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsmethode": { "type": "string", - "enum": [ - "RLM", - "SLP", - "TLP_GEMEINSAM", - "TLP_GETRENNT", - "PAUSCHAL", - "IMS" - ] + "enum": ["RLM", "SLP", "TLP_GEMEINSAM", "TLP_GETRENNT", "PAUSCHAL", "IMS"] }, "messebene": { "type": "string", @@ -1947,10 +1462,7 @@ ] }, "inklusiveDienstleistung": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -2006,10 +1518,7 @@ "$ref": "#/definitions/Zeitraum" }, "inklusiveGeraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraeteeigenschaften-1" } @@ -2024,21 +1533,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -2059,4 +1558,4 @@ "herausgeber", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/PreisblattNetznutzung.json b/json-schema-files/PreisblattNetznutzung.json index c13e177b..c1c8e2ba 100644 --- a/json-schema-files/PreisblattNetznutzung.json +++ b/json-schema-files/PreisblattNetznutzung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,52 +525,32 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Marktteilnehmer": { "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -753,89 +566,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -851,10 +622,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -863,10 +631,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -881,10 +646,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -910,34 +672,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -947,33 +694,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -985,23 +720,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -1057,16 +783,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1089,10 +809,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1108,22 +825,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1181,10 +887,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -1211,22 +914,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -1242,19 +936,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -1266,10 +954,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -1284,30 +969,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1327,29 +999,17 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -1364,34 +1024,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1407,69 +1053,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1485,94 +1101,52 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1580,49 +1154,27 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsmethode": { "type": "string", - "enum": [ - "RLM", - "SLP", - "TLP_GEMEINSAM", - "TLP_GETRENNT", - "PAUSCHAL", - "IMS" - ] + "enum": ["RLM", "SLP", "TLP_GEMEINSAM", "TLP_GETRENNT", "PAUSCHAL", "IMS"] }, "netzebene": { "type": "string", @@ -1690,21 +1242,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -1725,4 +1267,4 @@ "gueltigkeit", "preispositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/PreisblattUmlagen.json b/json-schema-files/PreisblattUmlagen.json index 7fd1a504..6ff7e837 100644 --- a/json-schema-files/PreisblattUmlagen.json +++ b/json-schema-files/PreisblattUmlagen.json @@ -2,43 +2,25 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "PositionsAufAbschlag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "bezeichnung": { "type": "string" @@ -48,33 +30,21 @@ }, "aufAbschlagstyp": { "type": "string", - "enum": [ - "RELATIV", - "ABSOLUT" - ] + "enum": ["RELATIV", "ABSOLUT"] }, "aufAbschlagswert": { "type": "number" }, "aufAbschlagswaehrung": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -86,23 +56,14 @@ ] }, "Preisposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "berechnungsmethode": { "type": "string", @@ -158,16 +119,10 @@ }, "preiseinheit": { "type": "string", - "enum": [ - "EUR", - "CT" - ] + "enum": ["EUR", "CT"] }, "bezugsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -190,10 +145,7 @@ ] }, "zeitbasis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -209,22 +161,11 @@ ] }, "tarifzeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "TZ_STANDARD", - "TZ_HT", - "TZ_NT" - ] + "type": ["string", "null"], + "enum": [null, "TZ_STANDARD", "TZ_HT", "TZ_NT"] }, "bdewArtikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -282,10 +223,7 @@ ] }, "zonungsgroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WIRKARBEIT_EL", @@ -312,22 +250,13 @@ } }, "preisschluesselstamm": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "messebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -343,19 +272,13 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "verarbeitungszeitraum": { "$ref": "#/definitions/Zeitraum-1" }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -367,10 +290,7 @@ ] }, "Preisstaffel": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheitspreis": { "type": "number" @@ -385,30 +305,17 @@ "$ref": "#/definitions/Sigmoidparameter" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "einheitspreis", - "staffelgrenzeVon", - "staffelgrenzeBis" - ] + "required": ["einheitspreis", "staffelgrenzeVon", "staffelgrenzeBis"] }, "Sigmoidparameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "A": { "type": "number" @@ -423,34 +330,20 @@ "type": "number" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "A", - "B", - "C", - "D" - ] + "required": ["A", "B", "C", "D"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -466,69 +359,39 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] }, "Zeitraum-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -544,94 +407,55 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { "type": "string" @@ -646,21 +470,11 @@ } }, "preisstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -672,9 +486,5 @@ ] } }, - "required": [ - "bezeichnung", - "gueltigkeit", - "preispositionen" - ] -} \ No newline at end of file + "required": ["bezeichnung", "gueltigkeit", "preispositionen"] +} diff --git a/json-schema-files/Rechnung.json b/json-schema-files/Rechnung.json index 0b991257..1b5d24fe 100644 --- a/json-schema-files/Rechnung.json +++ b/json-schema-files/Rechnung.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,16 +306,10 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Betrag": { "type": "object", @@ -537,29 +504,17 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "Betrag-1": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" @@ -751,54 +706,30 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert", - "waehrung" - ] + "required": ["wert", "waehrung"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, @@ -806,44 +737,26 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -859,89 +772,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -957,10 +828,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -969,10 +837,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -987,37 +852,23 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1040,9 +891,7 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Preis": { "type": "object", @@ -1051,21 +900,11 @@ "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1088,78 +927,45 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Rechnungsposition": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsnummer": { "type": "integer" }, "lieferungVon": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lieferungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "positionstext": { "type": "string" }, "zeiteinheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -1182,10 +988,7 @@ ] }, "artikelnummer": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "LEISTUNG", @@ -1243,10 +1046,7 @@ ] }, "lokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "positionsMenge": { "$ref": "#/definitions/Menge" @@ -1255,10 +1055,7 @@ "$ref": "#/definitions/Menge" }, "korrekturfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einzelpreis": { "$ref": "#/definitions/Preis" @@ -1273,22 +1070,13 @@ "$ref": "#/definitions/Steuerbetrag" }, "vertragskontoId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertragsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ROH", @@ -1299,30 +1087,17 @@ ] }, "artikelId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ausfuehrungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "positionsnummer", - "positionstext", - "einzelpreis" - ] + "required": ["positionsnummer", "positionstext", "einzelpreis"] }, "Steuerbetrag": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "steuerkennzeichen": { "type": "string", @@ -1339,10 +1114,7 @@ ] }, "sondersteuersatz": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "basiswert": { "type": "number" @@ -1537,86 +1309,49 @@ ] }, "basiswertVorausgezahlt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "steuerwertVorausgezahlt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "steuerkennzeichen", - "basiswert", - "steuerwert", - "waehrung" - ] + "required": ["steuerkennzeichen", "basiswert", "steuerwert", "waehrung"] }, "Vorauszahlung": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "betrag": { "$ref": "#/definitions/Betrag" }, "referenz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "referenzDatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "betrag" - ] + "required": ["betrag"] }, "Zeitraum": { "type": "object", "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -1632,113 +1367,62 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "rechnungstitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "rechnungsstatus": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "GEPRUEFT_OK", - "GEPRUEFT_FEHLERHAFT", - "GEBUCHT", - "BEZAHLT" - ] + "type": ["string", "null"], + "enum": [null, "GEPRUEFT_OK", "GEPRUEFT_FEHLERHAFT", "GEBUCHT", "BEZAHLT"] }, "storno": { "type": "boolean" @@ -1776,10 +1460,7 @@ ] }, "originalRechnungsnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "rechnungsperiode": { "$ref": "#/definitions/Zeitraum" @@ -1809,10 +1490,7 @@ "$ref": "#/definitions/Betrag" }, "steuerbetraege": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Steuerbetrag" } @@ -1824,31 +1502,19 @@ } }, "istSelbstausgestellt": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "istReverseCharge": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorauszahlungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Vorauszahlung" } }, "sonderrechnungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KONZESSIONSABGABE_TESTAT", @@ -1863,10 +1529,7 @@ ] }, "buchungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, @@ -1885,4 +1548,4 @@ "zuzahlen", "rechnungspositionen" ] -} \ No newline at end of file +} diff --git a/json-schema-files/Region.json b/json-schema-files/Region.json index 716c2a7f..c65a91b3 100644 --- a/json-schema-files/Region.json +++ b/json-schema-files/Region.json @@ -2,55 +2,32 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Regionskriterium": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "gueltigkeitstyp": { "type": "string", - "enum": [ - "NICHT_IN" - ] + "enum": ["NICHT_IN"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -63,11 +40,7 @@ }, "mengenoperator": { "type": "string", - "enum": [ - "KLEINER_ALS", - "GROESSER_ALS", - "GLEICH" - ] + "enum": ["KLEINER_ALS", "GROESSER_ALS", "GLEICH"] }, "regionskriteriumtyp": { "type": "string", @@ -103,17 +76,11 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "required": [ @@ -127,32 +94,20 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bezeichnung": { "type": "string" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -164,23 +119,14 @@ } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "negativListe": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Regionskriterium" } } }, - "required": [ - "bezeichnung", - "positivListe" - ] -} \ No newline at end of file + "required": ["bezeichnung", "positivListe"] +} diff --git a/json-schema-files/Reklamation.json b/json-schema-files/Reklamation.json index 51e09aa2..73aaa5ef 100644 --- a/json-schema-files/Reklamation.json +++ b/json-schema-files/Reklamation.json @@ -2,49 +2,28 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zeitraum": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -60,104 +39,62 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "lokationsId": { "type": "string" }, "lokationsTyp": { "type": "string", - "enum": [ - "MALO", - "MELO" - ] + "enum": ["MALO", "MELO"] }, "obiskennzahl": { "type": "string" @@ -167,23 +104,13 @@ }, "reklamationsgrund": { "type": "string", - "enum": [ - "WERTE_ZU_HOCH", - "WERTE_ZU_NIEDRIG", - "WERTE_FEHLEN" - ] + "enum": ["WERTE_ZU_HOCH", "WERTE_ZU_NIEDRIG", "WERTE_FEHLEN"] }, "reklamationsgrundBemerkung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zeitpunktFuerWertanfrage": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, @@ -193,4 +120,4 @@ "obiskennzahl", "reklamationsgrund" ] -} \ No newline at end of file +} diff --git a/json-schema-files/Sperrauftrag.json b/json-schema-files/Sperrauftrag.json index 2f258ca1..73c3beff 100644 --- a/json-schema-files/Sperrauftrag.json +++ b/json-schema-files/Sperrauftrag.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,75 +306,41 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Preis": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EUR", - "CT" - ] + "type": ["string", "null"], + "enum": [null, "EUR", "CT"] }, "bezugswert": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -424,49 +363,28 @@ ] }, "status": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORLAEUFIG", - "ENDGUELTIG" - ] + "type": ["string", "null"], + "enum": [null, "VORLAEUFIG", "ENDGUELTIG"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "wert" - ] + "required": ["wert"] } }, "type": "object", "properties": { "sperrauftragsart": { "type": "string", - "enum": [ - "SPERREN", - "ENTSPERREN" - ] + "enum": ["SPERREN", "ENTSPERREN"] }, "sperrauftragsstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "GESCHEITERT", @@ -478,10 +396,7 @@ ] }, "sperrauftragsablehngrund": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DUPLIKAT", @@ -498,10 +413,7 @@ ] }, "sperrauftragsverhinderungsgrund": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "RECHTLICHER_GRUND_FEHLT", @@ -514,45 +426,27 @@ ] }, "zaehlernummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "istVomGerichtsvollzieherAngeordnet": { "type": "boolean" }, "ausfuehrungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fertigstellungsdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sparte": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROM", @@ -564,20 +458,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lieferanschrift": { "$ref": "#/definitions/Adresse" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } @@ -586,21 +474,12 @@ "type": "string" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bemerkungen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, "mindestpreis": { @@ -615,4 +494,4 @@ "istVomGerichtsvollzieherAngeordnet", "marktlokationsId" ] -} \ No newline at end of file +} diff --git a/json-schema-files/SperrauftragsStorno.json b/json-schema-files/SperrauftragsStorno.json index cc264798..0d2ed1e8 100644 --- a/json-schema-files/SperrauftragsStorno.json +++ b/json-schema-files/SperrauftragsStorno.json @@ -2,35 +2,20 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -39,51 +24,30 @@ "properties": { "originalSperrauftragsart": { "type": "string", - "enum": [ - "SPERREN", - "ENTSPERREN" - ] + "enum": ["SPERREN", "ENTSPERREN"] }, "auftragsId": { "type": "string" }, "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "originalSperrauftragsart", - "auftragsId" - ] -} \ No newline at end of file + "required": ["originalSperrauftragsart", "auftragsId"] +} diff --git a/json-schema-files/Statusbericht.json b/json-schema-files/Statusbericht.json index d6c4d612..ac7f61de 100644 --- a/json-schema-files/Statusbericht.json +++ b/json-schema-files/Statusbericht.json @@ -2,96 +2,55 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Fehler": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "typ": { "type": "string", - "enum": [ - "SYNTAX", - "VERARBEITUNG" - ] + "enum": ["SYNTAX", "VERARBEITUNG"] }, "fehlerDetails": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/FehlerDetail" } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "typ" - ] + "required": ["typ"] }, "FehlerDetail": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { "type": "string", @@ -136,73 +95,41 @@ ] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ursache": { "$ref": "#/definitions/FehlerUrsache" } }, - "required": [ - "code" - ] + "required": ["code"] }, "FehlerUrsache": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "dokument": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachricht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "transaktion": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gruppe": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "segment": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -210,51 +137,30 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { "type": "string", - "enum": [ - "ERFOLGREICH", - "FEHLER" - ] + "enum": ["ERFOLGREICH", "FEHLER"] }, "pruefgegenstand": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "datumPruefung": { "type": "string", @@ -264,8 +170,5 @@ "$ref": "#/definitions/Fehler" } }, - "required": [ - "status", - "datumPruefung" - ] -} \ No newline at end of file + "required": ["status", "datumPruefung"] +} diff --git a/json-schema-files/SteuerbareRessource.json b/json-schema-files/SteuerbareRessource.json index fdeb2bf4..e5a21e9d 100644 --- a/json-schema-files/SteuerbareRessource.json +++ b/json-schema-files/SteuerbareRessource.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,62 +306,35 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "Ansprechpartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -404,46 +350,23 @@ ] }, "inviduelleAnrede": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "titel": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "DR", - "PROF", - "PROF_DR" - ] + "type": ["string", "null"], + "enum": [null, "DR", "PROF", "PROF_DR"] }, "vorname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nachname": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kommentar": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartner": { "$ref": "#/definitions/Geschaeftspartner" @@ -452,19 +375,13 @@ "$ref": "#/definitions/Adresse" }, "rufnummern": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Rufnummer" } }, "zustaendigkeit": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zustaendigkeit" } @@ -472,83 +389,47 @@ } }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -564,89 +445,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -662,10 +501,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -674,10 +510,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -692,46 +525,26 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Konfigurationsprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "produktcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "leistungskurvendefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schaltzeitdefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktpartner": { "$ref": "#/definitions/Marktteilnehmer" @@ -739,50 +552,29 @@ } }, "Marktteilnehmer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -798,89 +590,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -896,10 +646,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -908,10 +655,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -926,10 +670,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -955,34 +696,19 @@ }, "rollencodetyp": { "type": "string", - "enum": [ - "ZERO", - "GLN", - "BDEW", - "DVGW" - ] + "enum": ["ZERO", "GLN", "BDEW", "DVGW"] }, "makoadresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "ansprechpartner": { "$ref": "#/definitions/Ansprechpartner" } }, - "required": [ - "gewerbekennzeichnung", - "rollencodenummer", - "rollencodetyp" - ] + "required": ["gewerbekennzeichnung", "rollencodenummer", "rollencodetyp"] }, "Rufnummer": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "nummerntyp": { "type": "string", @@ -1002,60 +728,33 @@ "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "nummerntyp", - "rufnummer" - ] + "required": ["nummerntyp", "rufnummer"] }, "Zustaendigkeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "jobtitel": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "abteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "themengebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } } @@ -1063,74 +762,43 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "steuerbareRessourceId": { "type": "string", "default": "|null|" }, "steuerkanalsLeistungsbeschreibung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AN_AUS", - "GESTUFT" - ] + "type": ["string", "null"], + "enum": [null, "AN_AUS", "GESTUFT"] }, "zugeordnetMSBCodeNr": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "konfigurationsprodukte": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Konfigurationsprodukt" } }, "eigenschaftMSBLokation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -1152,13 +820,8 @@ ] }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "steuerbareRessourceId" - ] -} \ No newline at end of file + "required": ["steuerbareRessourceId"] +} diff --git a/json-schema-files/Summenzeitreihe.json b/json-schema-files/Summenzeitreihe.json index 2ca52f0e..a9e3cd5d 100644 --- a/json-schema-files/Summenzeitreihe.json +++ b/json-schema-files/Summenzeitreihe.json @@ -2,56 +2,32 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "StatusZusatzInformation": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "art": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERTRAG", @@ -65,16 +41,10 @@ ] }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "status": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIF_1", @@ -149,30 +119,18 @@ } }, "Verbrauch": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "type": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITLEISTUNGTAGESPARAMETERABHMALO", @@ -181,10 +139,7 @@ ] }, "tarifstufe": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "TARIFSTUFE_0", @@ -200,34 +155,18 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wertermittlungsverfahren": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "PROGNOSE", - "MESSUNG" - ] + "type": ["string", "null"], + "enum": [null, "PROGNOSE", "MESSUNG"] }, "messwertstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ABGELESEN", @@ -243,10 +182,7 @@ ] }, "statuszusatzinformationen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/StatusZusatzInformation" } @@ -280,56 +216,31 @@ ] }, "nutzungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "ausfuehrungszeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" } }, - "required": [ - "obiskennzahl", - "wert", - "einheit" - ] + "required": ["obiskennzahl", "wert", "einheit"] }, "Zeitreihenprodukt": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "identifikation": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "korrekturfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "verbrauch": { "$ref": "#/definitions/Verbrauch" @@ -340,82 +251,46 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlpunktId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsbeginn": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bilanzierungsende": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "bilanzkreis": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bilanzierungsgebiet": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "regelzone": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "BG_SZR_B", @@ -433,10 +308,7 @@ ] }, "bezugszeitraum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -452,10 +324,7 @@ ] }, "zeitreihentyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EGS", @@ -470,10 +339,7 @@ ] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -495,10 +361,7 @@ ] }, "spannungsebene": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NSP", @@ -514,13 +377,10 @@ ] }, "produkte": { - "type": [ - "array", - "null" - ], + "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 index bee0ab80..65fadf84 100644 --- a/json-schema-files/TechnischeRessource.json +++ b/json-schema-files/TechnischeRessource.json @@ -2,65 +2,38 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -83,71 +56,42 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "technischeRessourceId": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "default": "|null|" }, "vorgelagerteMesslokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zugeordneteMarktlokationsId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zugeordneteSteuerbareRessourceId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "nennleistungAufnahme": { "$ref": "#/definitions/Menge" @@ -159,22 +103,11 @@ "$ref": "#/definitions/Menge" }, "technischeRessourceNutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "STROMVERBRAUCHSART", - "STROMERZEUGUNGSART", - "SPEICHER" - ] + "type": ["string", "null"], + "enum": [null, "STROMVERBRAUCHSART", "STROMERZEUGUNGSART", "SPEICHER"] }, "verbrauchsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KRAFT_LICHT", @@ -184,34 +117,15 @@ ] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] }, "erzeugungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KWK", @@ -228,10 +142,7 @@ ] }, "speicherart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WASSERSTOFFSPEICHER", @@ -241,10 +152,7 @@ ] }, "lokationsbuendelObjektcode": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } -} \ No newline at end of file +} diff --git a/json-schema-files/Tranche.json b/json-schema-files/Tranche.json index 19f24362..c8c5204e 100644 --- a/json-schema-files/Tranche.json +++ b/json-schema-files/Tranche.json @@ -2,61 +2,34 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "MarktpartnerDetails": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "rollencodenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrolle": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "NB", @@ -78,23 +51,14 @@ ] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "weiterverpflichtet": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } } @@ -102,38 +66,23 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "trancheId": { "type": "string", @@ -141,39 +90,20 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "aufteilungsmenge": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "marktrollen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/MarktpartnerDetails" } } }, - "required": [ - "trancheId", - "sparte" - ] -} \ No newline at end of file + "required": ["trancheId", "sparte"] +} diff --git a/json-schema-files/Vertrag.json b/json-schema-files/Vertrag.json index f7d6d99c..7cea1270 100644 --- a/json-schema-files/Vertrag.json +++ b/json-schema-files/Vertrag.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,95 +306,53 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -437,89 +368,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -535,10 +424,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -547,10 +433,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -565,37 +448,23 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Menge": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wert": { "type": "number" }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -618,80 +487,46 @@ ] } }, - "required": [ - "wert" - ] + "required": ["wert"] }, "Unterschrift": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "ort": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "datum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "name": { "type": "string" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "name" - ] + "required": ["name"] }, "Vertragskonditionen": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anzahlAbschlaege": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "vertragslaufzeit": { "$ref": "#/definitions/Zeitraum" @@ -706,63 +541,34 @@ "$ref": "#/definitions/Zeitraum" }, "startAbrechnungsjahr": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "geplanteTurnusablesung": { "$ref": "#/definitions/Zeitraum" }, "turnusablesungIntervall": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "netznutzungsabrechnung": { "$ref": "#/definitions/Zeitraum" }, "netznutzungsabrechnungIntervall": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "haushaltskunde": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "netznutzungsvertrag": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KUNDEN_NB", - "LIEFERANTEN_NB" - ] + "type": ["string", "null"], + "enum": [null, "KUNDEN_NB", "LIEFERANTEN_NB"] }, "netznutzungszahler": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KUNDE", - "LIEFERANT" - ] + "type": ["string", "null"], + "enum": [null, "KUNDE", "LIEFERANT"] }, "netznutzungsabrechnungsvariante": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ARBEITSPREIS_GRUNDPREIS", @@ -770,49 +576,27 @@ ] }, "netznutzungsabrechnungsgrundlage": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "LIEFERSCHEIN", - "ABWEICHENDE_GRUNDLAGE" - ] + "type": ["string", "null"], + "enum": [null, "LIEFERSCHEIN", "ABWEICHENDE_GRUNDLAGE"] }, "beinhaltetSingulaerGenutzteBetriebsmittel": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } } }, "Vertragsteil": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "vertragsteilbeginn": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "vertragsteilende": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "lokation": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertraglichFixierteMenge": { "$ref": "#/definitions/Menge" @@ -830,37 +614,22 @@ "$ref": "#/definitions/Menge" }, "verbrauchsaufteilung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zeitraum": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "SEKUNDE", @@ -876,112 +645,64 @@ ] }, "dauer": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "startdatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "enddatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "startzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endzeitpunkt": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "startzeitpunkt", - "endzeitpunkt" - ] + "required": ["startzeitpunkt", "endzeitpunkt"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertragsnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beschreibung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "vertragsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ENERGIELIEFERVERTRAG", @@ -992,10 +713,7 @@ ] }, "vertragstatus": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "IN_ARBEIT", @@ -1011,24 +729,14 @@ }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "vertragsbeginn": { "type": "string", "format": "date-time" }, "vertragsende": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "vertragspartner1": { @@ -1038,19 +746,13 @@ "$ref": "#/definitions/Geschaeftspartner" }, "unterzeichnervp1": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Unterschrift" } }, "unterzeichnervp2": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Unterschrift" } @@ -1059,26 +761,17 @@ "$ref": "#/definitions/Vertragskonditionen" }, "vertragsteile": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Vertragsteil" } }, "gemeinderabatt": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "korrespondenzpartner": { "$ref": "#/definitions/Geschaeftspartner" } }, - "required": [ - "sparte", - "vertragsbeginn" - ] -} \ No newline at end of file + "required": ["sparte", "vertragsbeginn"] +} diff --git a/json-schema-files/Wechsel.json b/json-schema-files/Wechsel.json index c6981aca..3cf44fd3 100644 --- a/json-schema-files/Wechsel.json +++ b/json-schema-files/Wechsel.json @@ -2,71 +2,41 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -81,23 +51,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -148,10 +109,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -219,69 +177,39 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] } }, "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "geraete": { "type": "array", @@ -290,21 +218,12 @@ } }, "wechseldatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "vollstaendig": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] } }, - "required": [ - "sparte", - "geraete" - ] -} \ No newline at end of file + "required": ["sparte", "geraete"] +} diff --git a/json-schema-files/Zaehler.json b/json-schema-files/Zaehler.json index d12126a6..b257b3da 100644 --- a/json-schema-files/Zaehler.json +++ b/json-schema-files/Zaehler.json @@ -2,23 +2,14 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "Adresse": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postleitzahl": { "type": "string" @@ -27,40 +18,22 @@ "type": "string" }, "strasse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "hausnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "postfach": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "adresszusatz": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "coErgaenzung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "landescode": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "AC", @@ -333,83 +306,47 @@ ] }, "ortsteil": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "postleitzahl", - "ort" - ] + "required": ["postleitzahl", "ort"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Geraet": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetenummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraeteeigenschaften": { "$ref": "#/definitions/Geraeteeigenschaften" }, "geraeteart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WANDLER", @@ -424,23 +361,14 @@ } }, "Geraeteeigenschaften": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geraetetyp": { "type": "string", @@ -491,10 +419,7 @@ ] }, "geraetemerkmal": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -562,67 +487,38 @@ ] }, "Parameter": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "additionalProperties": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, - "required": [ - "geraetetyp" - ] + "required": ["geraetetyp"] }, "Geschaeftspartner": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "anrede": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "HERR", @@ -638,89 +534,47 @@ ] }, "title": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name1": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name2": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "name3": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "gewerbekennzeichnung": { "type": "boolean" }, "hrnummer": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "amtsgericht": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kontaktweg": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ] + "enum": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"] } }, "umsatzsteuerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "glaeubigerId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "eMailAdresse": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "website": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "geschaeftspartnerrolle": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -736,10 +590,7 @@ "$ref": "#/definitions/Adresse" }, "grundlageZurVerringerungDerUmlagenNachEnfg": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "KUNDE_ERFUELLT_VORAUSSETZUNG", @@ -748,10 +599,7 @@ ] }, "grundDerPrivilegierungNachEnFG": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STROMSPEICHER_UND_VERLUSTENERGIE", @@ -766,65 +614,33 @@ ] } }, - "required": [ - "gewerbekennzeichnung" - ] + "required": ["gewerbekennzeichnung"] }, "Konzessionsabgabe": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "kosten": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "kategorie": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "satz": { "type": "string", - "enum": [ - "KAS", - "SA", - "SAS", - "TA", - "TAS", - "TK", - "TKS", - "TS", - "TSS" - ] + "enum": ["KAS", "SA", "SAS", "TA", "TAS", "TK", "TKS", "TS", "TSS"] } }, - "required": [ - "satz" - ] + "required": ["satz"] }, "Verwendungszweck": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "marktrolle": { "type": "string", @@ -848,10 +664,7 @@ ] }, "zweck": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "type": "string", "enum": [ @@ -867,82 +680,43 @@ } }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "marktrolle" - ] + "required": ["marktrolle"] }, "Zaehlwerk": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlwerkId": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "bezeichnung": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "richtung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "AUSSP", - "EINSP" - ] + "type": ["string", "null"], + "enum": [null, "AUSSP", "EINSP"] }, "obisKennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "wandlerfaktor": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "einheit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZERO", @@ -965,165 +739,79 @@ ] }, "kennzahl": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] }, "verwendungszwecke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Verwendungszweck" } }, "verbrauchsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "KL", - "KLW", - "KLWS", - "W", - "WS" - ] + "type": ["string", "null"], + "enum": [null, "KL", "KLW", "KLWS", "W", "WS"] }, "unterbrechbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "UV", - "NUV" - ] + "type": ["string", "null"], + "enum": [null, "UV", "NUV"] }, "waermenutzung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "SPEICHERHEIZUNG", - "WAERMEPUMPE", - "DIREKTHEIZUNG" - ] + "type": ["string", "null"], + "enum": [null, "SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"] }, "konzessionsabgabe": { "$ref": "#/definitions/Konzessionsabgabe" }, "steuerbefreit": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "vorkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "nachkommastelle": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "abrechnungsrelevant": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "anzahlAblesungen": { - "type": [ - "integer", - "null" - ] + "type": ["integer", "null"] }, "zaehlzeiten": { "$ref": "#/definitions/Zaehlzeitregister" }, "konfiguration": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "emobilitaetsart": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "WALLBOX", - "E_MOBILITAETSLADESAEULE", - "LADEPARK" - ] + "type": ["string", "null"], + "enum": [null, "WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } } @@ -1131,69 +819,37 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlernummer": { "type": "string" }, "sparte": { "type": "string", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER" - ] + "enum": ["STROM", "GAS", "FERNWAERME", "NAHWAERME", "WASSER", "ABWASSER"] }, "zaehlerauspraegung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ] + "type": ["string", "null"], + "enum": [null, "EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"] }, "zaehlertyp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "DREHSTROMZAEHLER", @@ -1215,10 +871,7 @@ ] }, "tarifart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1229,30 +882,18 @@ ] }, "zaehlerkonstante": { - "type": [ - "number", - "null" - ] + "type": ["number", "null"] }, "eichungBis": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "letzteEichung": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "zaehlwerke": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlwerk" }, @@ -1262,38 +903,18 @@ "$ref": "#/definitions/Geschaeftspartner" }, "gateway": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "fernschaltung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "VORHANDEN", - "NICHT_VORHANDEN" - ] + "type": ["string", "null"], + "enum": [null, "VORHANDEN", "NICHT_VORHANDEN"] }, "messwerterfassung": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "FERNAUSLESBAR", - "MANUELL_AUSGELESENE" - ] + "type": ["string", "null"], + "enum": [null, "FERNAUSLESBAR", "MANUELL_AUSGELESENE"] }, "zaehlertypspezifikation": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EDL40", @@ -1304,10 +925,7 @@ ] }, "befestigungsart": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "STECKTECHNIK", @@ -1318,10 +936,7 @@ ] }, "zaehlergroesse": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "EINTARIF", @@ -1389,17 +1004,11 @@ ] }, "geraete": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Geraet" } } }, - "required": [ - "zaehlernummer", - "sparte" - ] -} \ No newline at end of file + "required": ["zaehlernummer", "sparte"] +} diff --git a/json-schema-files/Zaehlzeitdefinition.json b/json-schema-files/Zaehlzeitdefinition.json index babed351..d369ce20 100644 --- a/json-schema-files/Zaehlzeitdefinition.json +++ b/json-schema-files/Zaehlzeitdefinition.json @@ -2,124 +2,66 @@ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "AusgerollteZaehlzeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "aenderungszeitpunkt": { "type": "string", "format": "date-time" }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } }, - "required": [ - "aenderungszeitpunkt" - ] + "required": ["aenderungszeitpunkt"] }, "ExterneReferenz": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "exRefName": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "exRefWert": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zaehlzeit": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "code": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "haeufigkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "EINMALIG", - "JAEHRLICH" - ] + "type": ["string", "null"], + "enum": [null, "EINMALIG", "JAEHRLICH"] }, "uebermittelbarkeit": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "ELEKTRONISCH", - "NICHT_ELEKTRONISCH" - ] + "type": ["string", "null"], + "enum": [null, "ELEKTRONISCH", "NICHT_ELEKTRONISCH"] }, "ermittlungLeistungsmaximum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "VERWENDUNG_HOCHLASTFENSTER", @@ -127,16 +69,10 @@ ] }, "istBestellbar": { - "type": [ - "boolean", - "null" - ] + "type": ["boolean", "null"] }, "typ": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "WAERMEPUMPE", @@ -147,54 +83,29 @@ ] }, "beschreibungTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] } } }, "Zaehlzeitregister": { - "type": [ - "object", - "null" - ], + "type": ["object", "null"], "properties": { "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "zaehlzeitDefinition": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "register": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "schwachlastfaehig": { - "type": [ - "string", - "null" - ], - "enum": [ - null, - "NICHT_SCHWACHLASTFAEHIG", - "SCHWACHLASTFAEHIG" - ] + "type": ["string", "null"], + "enum": [null, "NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"] } } } @@ -202,51 +113,30 @@ "type": "object", "properties": { "boTyp": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "versionStruktur": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "timestamp": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "externeReferenzen": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/ExterneReferenz" } }, "guid": { - "type": [ - "string", - "null" - ] + "type": ["string", "null"] }, "beginndatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "endedatum": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "format": "date-time" }, "version": { @@ -254,10 +144,7 @@ "format": "date-time" }, "notwendigkeit": { - "type": [ - "string", - "null" - ], + "type": ["string", "null"], "enum": [ null, "ZAEHLZEITDEFINITIONEN_WERDEN_VERWENDET", @@ -267,10 +154,7 @@ ] }, "zaehlzeiten": { - "type": [ - "array", - "null" - ], + "type": ["array", "null"], "items": { "$ref": "#/definitions/Zaehlzeit" } @@ -288,9 +172,5 @@ } } }, - "required": [ - "version", - "zaehlzeitregister", - "ausgerollteZaehlzeiten" - ] -} \ No newline at end of file + "required": ["version", "zaehlzeitregister", "ausgerollteZaehlzeiten"] +} diff --git a/open-api-schemas/Energiemenge.json b/open-api-schemas/Energiemenge.json new file mode 100644 index 00000000..07281ecd --- /dev/null +++ b/open-api-schemas/Energiemenge.json @@ -0,0 +1,442 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Energiemenge", + "definitions": { + "Lokationstyp": { + "type": "integer", + "description": "Gibt an, ob es sich um eine Markt- oder Messlokation handelt.", + "x-enumNames": ["MALO", "MELO"], + "enum": [0, 1] + }, + "Verbrauch": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung eines zeitlich abgegrenzten Verbrauchs.\n ", + "additionalProperties": {}, + "properties": { + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "wertermittlungsverfahren": { + "description": "Gibt an, ob es sich um eine PROGNOSE oder eine MESSUNG handelt.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Wertermittlungsverfahren" + } + ] + }, + "messwertstatus": { + "description": "Enthält die Gültigkeit des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwertstatus" + } + ] + }, + "statuszusatzinformationen": { + "type": "array", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge", + "x-nullable": true, + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für den Wert, die festlegt, welche Größe mit dem Stand gemeldet wird.\n ", + "x-example": "1-0:1.8.1\n " + }, + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.\n ", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "type": { + "description": "type", + "x-nullable": true, + "x-example": "arbeitleistungtagesparameterabhmalo | veranschlagtejahresmenge | TUMKundenwert", + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsmengetyp" + } + ] + }, + "tarifstufe": { + "description": "Tarifstufe", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifstufe" + } + ] + }, + "nutzungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einem Prozesszeitpunkt zuzuordnen. Dieser Prozesszeitpunkt kann entweder ein Zeitpunkt einer Stammdatenänderung sein(z. B.bei einem Gerätewechsel, in der die Änderung vor dem Versand des Zählerstandes übermittelt wurde) oder die Bestellung eines Wertes aufgrund eines eingetretenen Ereignisses(z.B. Lieferantenwechsel). Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B.Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + }, + "ausfuehrungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einer tatsächlichen Änderung zuzuordnen, z.B.bei einem Gerätewechsel oder Geräteparameteränderung der tatsächliche Zeitpunkt an dem die Änderung an der Messlokation durchgeführt wurde.Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B. Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Wertermittlungsverfahren": { + "type": "integer", + "description": "Gibt an, ob es sich um eine Prognose oder eine Messung handelt, beispielsweise bei der Abbildung eines Verbrauchs.\n ", + "x-enumNames": ["PROGNOSE", "MESSUNG"], + "enum": [0, 1] + }, + "Messwertstatus": { + "type": "integer", + "description": "Gibt auskunft über die Gültigkeit des angegebenen Verbrauchswertes. Bildet MSCONS SG10 QTY 6063 ab. ", + "x-enumNames": [ + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "StatusZusatzInformation": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge.", + "additionalProperties": {}, + "properties": { + "art": { + "description": "Enthält die Zusatzinformation Art des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/StatusArt" + } + ] + }, + "status": { + "description": "Enthält die Zusatzinformation Status des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Status" + } + ] + } + } + } + ] + }, + "StatusArt": { + "type": "integer", + "description": "Represents the Type of Wert (MSCONS SG10 STS 9015)", + "x-enumNames": [ + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7] + }, + "Status": { + "type": "integer", + "description": "Represents the Status Code (MSCONS SG10 STS 4405) ", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Verbrauchsmengetyp": { + "type": "integer", + "description": "type von Verbrauchsmenge", + "x-enumNames": [ + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ], + "enum": [0, 1, 2] + }, + "Tarifstufe": { + "type": "integer", + "description": "In IFTSTA 21035 \"Rückmeldung auf Lieferschein\" (IFTSTA SG16 QTY 6063) ", + "x-enumNames": [ + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Abbildung von Mengen, die Lokationen zugeordnet sind.\n ", + "additionalProperties": {}, + "properties": { + "lokationsId": { + "type": "string", + "description": "Eindeutige Nummer der Marktlokation bzw. der Messlokation, zu der die Energiemenge gehört\n ", + "default": "|null|" + }, + "lokationsTyp": { + "description": "Gibt an, ob es sich um eine Markt- oder Messlokation handelt.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Lokationstyp" + } + ] + }, + "energieverbrauch": { + "type": "array", + "description": "Gibt den Verbrauch in einer Zeiteinheit an.\n ", + "minItems": 1, + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verbrauch" + } + } + } + } + ] +} diff --git a/open-api-schemas/Entsperrauftrag.json b/open-api-schemas/Entsperrauftrag.json new file mode 100644 index 00000000..c801a113 --- /dev/null +++ b/open-api-schemas/Entsperrauftrag.json @@ -0,0 +1,677 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Entsperrauftrag", + "definitions": { + "Sperrauftragsart": { + "type": "integer", + "description": "Die Sperrauftragsart beschreibt die Art eines Sperrauftrags.", + "x-enumNames": ["SPERREN", "ENTSPERREN"], + "enum": [0, 1] + }, + "Auftragsstatus": { + "type": "integer", + "description": "Auftragststatus (Planungsstatus in IFTSTA STS 4405 (21029) and Sperrauftragsstatus in IFTSTA STS 4405 (21039/21040))\nDer Sperrauftragsstatus beschreibt den Status eines Sperrauftrags", + "x-enumNames": [ + "GESCHEITERT", + "ERFOLGREICH", + "GEPLANT", + "ZUGESTIMMT", + "WIDERSPROCHEN", + "ABGELEHNT" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Auftrag": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Ein Auftrag beschreibt einen Vorgang, der von einem anderen Marktpartner auszuführen ist. ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "ausfuehrungsdatum": { + "type": "string", + "description": "Das Ausführungsdatum beschreibt zu welchem Zeitpunkt ein Auftrag ausgeführt werden soll.", + "format": "date-time", + "x-nullable": true + }, + "fertigstellungsdatum": { + "type": "string", + "description": "Das Fertigstellungsdatum beschreibt zu welchem Zeitpunkt ein Auftrag ausgeführt wurde/wird.", + "format": "date-time", + "x-nullable": true + }, + "sparte": { + "description": "Die Sparte in der der Auftrag relevant ist", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "lieferanschrift": { + "description": "Die Adresse, die sich in Belieferung befindet.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "marktlokationsId": { + "type": "string", + "description": "Die ID der Marktlokation der der zu sperrende Zähler zugeordnet ist." + }, + "bemerkungen": { + "type": "array", + "description": "Ein zusätzlicher Freitext", + "x-nullable": true, + "items": { + "type": "string" + } + }, + "mindestpreis": { + "description": "Der Mindestpreis eines Auftrags (z.B. für eine Sperrung)", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + }, + "hoechstpreis": { + "description": "Der Höchstpreis eines Auftrags (z.B. für eine Sperrung)", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + } + } + } + ] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Preis": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preis", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt die nomiale Höhe des Preises an.", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Währungseinheit für den Preis, z.B. Euro oder Ct. Details Waehrungseinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugswert": { + "description": "Angabe, für welche Bezugsgröße der Preis gilt. Z.B. kWh. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "status": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + } + } + } + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Auftrag" + }, + { + "type": "object", + "description": "Der Entsperrauftrag ist sehr ähnlich aufgebaut wie der Sperrauftrag.", + "additionalProperties": {}, + "properties": { + "sperrauftragsart": { + "$ref": "#/definitions/Sperrauftragsart" + }, + "sperrauftragsstatus": { + "description": "Auftragsstatus", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Auftragsstatus" + } + ] + }, + "zaehlernummer": { + "type": "string", + "description": "Die Nummer des zu sperrenden Zählers", + "x-nullable": true + }, + "istNurInnerhalbDerArbeitszeitZuEntsperren": { + "type": "boolean", + "description": "Ist true, falls die Entsperrung innerhalb der Arbeitszeit zu erfolgen hat." + } + } + } + ] +} diff --git a/open-api-schemas/Geschaeftspartner.json b/open-api-schemas/Geschaeftspartner.json new file mode 100644 index 00000000..00e80039 --- /dev/null +++ b/open-api-schemas/Geschaeftspartner.json @@ -0,0 +1,633 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Geschaeftspartner", + "definitions": { + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/Handelsunstimmigkeit.json b/open-api-schemas/Handelsunstimmigkeit.json new file mode 100644 index 00000000..1be44ead --- /dev/null +++ b/open-api-schemas/Handelsunstimmigkeit.json @@ -0,0 +1,429 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Handelsunstimmigkeit", + "definitions": { + "Handelsunstimmigkeitstyp": { + "type": "integer", + "description": "Gibt den Typ der Handelsunstimmigkeit an (COMDIS DOC 1001)", + "x-enumNames": [ + "HANDELSRECHNUNG", + "LIEFERSCHEIN_HANDELSUNSTIMMIGKEITSTYP", + "LIEFERSCHEIN_GRUND_ARBEITSPREIS", + "LIEFERSCHEIN_ARBEITS_LEISTUNGSPREIS" + ], + "enum": [0, 1, 2, 3] + }, + "Handelsunstimmigkeitsbegruendung": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Begründung der Korrektheit der Rechnung oder des Lieferscheins (COMDIS SG3 AJT)", + "additionalProperties": {}, + "properties": { + "referenzen": { + "type": "array", + "description": "Referenzen auf vorherige Nachrichten", + "x-nullable": true, + "items": { + "type": "string" + } + }, + "grund": { + "description": "Angabe des Handelsunstimmigkeitsgrunds", + "oneOf": [ + { + "$ref": "#/definitions/Handelsunstimmigkeitsgrund" + } + ] + } + } + } + ] + }, + "Handelsunstimmigkeitsgrund": { + "type": "integer", + "description": "Begründung der Korrektheit der Rechnung oder des Lieferscheins (COMDIS SG3 AJT 4465)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Betrag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Die Komponente wird dazu verwendet Summebeträge - beispielsweise in Angeboten und Rechnungen - als Geldbeträge\nabzubilden. Die Einheit ist dabei immer die Hauptwährung also Euro, Dollar etc..\n ", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den Betrag des Preises an.", + "format": "decimal" + }, + "waehrung": { + "description": " ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungscode" + } + ] + } + } + } + ] + }, + "Waehrungscode": { + "type": "integer", + "description": "Aufzählung der Währungscodes.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180 + ] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Handelsunstimmigkeit BO", + "additionalProperties": {}, + "properties": { + "nummer": { + "type": "string", + "description": "Handelsunstimmigkeitsnummer" + }, + "typ": { + "description": "Gibt den Typ der Handelsunstimmigkeit an.", + "oneOf": [ + { + "$ref": "#/definitions/Handelsunstimmigkeitstyp" + } + ] + }, + "begruendung": { + "description": "Handelsunstimmigskeitsbegründung", + "oneOf": [ + { + "$ref": "#/definitions/Handelsunstimmigkeitsbegruendung" + } + ] + }, + "zuZahlen": { + "description": "angeforderter Betrag", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/Kosten.json b/open-api-schemas/Kosten.json new file mode 100644 index 00000000..8f8c6e21 --- /dev/null +++ b/open-api-schemas/Kosten.json @@ -0,0 +1,675 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Kosten", + "definitions": { + "Kostenklasse": { + "type": "integer", + "description": "Kostenklassen bilden die oberste Ebene der verschiedenen Kosten. In der Regel werden die Gesamtkosten einer\nKostenklasse in einer App berechnet.\n ", + "x-enumNames": ["ZERO"], + "enum": [0] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Betrag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Die Komponente wird dazu verwendet Summebeträge - beispielsweise in Angeboten und Rechnungen - als Geldbeträge\nabzubilden. Die Einheit ist dabei immer die Hauptwährung also Euro, Dollar etc..\n ", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den Betrag des Preises an.", + "format": "decimal" + }, + "waehrung": { + "description": " ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungscode" + } + ] + } + } + } + ] + }, + "Waehrungscode": { + "type": "integer", + "description": "Aufzählung der Währungscodes.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180 + ] + }, + "Kostenblock": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden mehrere Kostenpositionen zusammengefasst.", + "additionalProperties": {}, + "properties": { + "kostenblockbezeichnung": { + "type": "string", + "description": "Bezeichnung für einen Kostenblock. Z.B. Netzkosten, Messkosten, Umlagen, etc." + }, + "summeKostenblock": { + "description": "Die Summe aller Kostenpositionen dieses Blocks", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "kostenpositionen": { + "type": "array", + "description": "Hier sind die Details zu einer Kostenposition aufgeführt. Z.B.:Alliander Netz Heinsberg GmbH, 01.02.2018,\n31.12.2018, Arbeitspreis HT, 3.660 kWh, 5,8200 ct/kWh, 213,01 €. Details Kostenposition\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kostenposition" + } + } + } + } + ] + }, + "Kostenposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Übertagung der Details zu einer Kostenposition verwendet.", + "additionalProperties": {}, + "properties": { + "positionstitel": { + "type": "string", + "description": "Ein Titel für die Zeile. Hier kann z.B. der Netzbetreiber eingetragen werden, wenn es sich um Netzkosten\nhandelt.\n " + }, + "von": { + "type": "string", + "description": "von-Datum der Kostenzeitscheibe. Z.B. 2017-01-01", + "format": "date-time", + "x-nullable": true + }, + "bis": { + "type": "string", + "description": "bis-Datum der Kostenzeitscheibe. Z.B. 2017-12-31", + "format": "date-time", + "x-nullable": true + }, + "artikelbezeichnung": { + "type": "string", + "description": "Bezeichnung für den Artikel für den die Kosten ermittelt wurden. Beispiel: Arbeitspreis HT" + }, + "artikeldetail": { + "type": "string", + "description": "Detaillierung des Artikels (optional). Beispiel: Drehstromzähler", + "x-nullable": true + }, + "menge": { + "description": "Die Menge, die in die Kostenberechnung eingeflossen ist. Beispiel: 3.660 kWh. Details\nMenge\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "zeitmenge": { + "description": "Wenn es einen zeitbasierten Preis gibt (z.B. €/Jahr), dann ist hier die Menge angegeben mit der die Kosten\nberechnet wurden. Z.B.  138 Tage. Details Menge\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "einzelpreis": { + "description": "Der Preis für eine Einheit. Beispiele: 5,8200 ct/kWh oder 55 €/Jahr. Details Preis", + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + }, + "betragKostenposition": { + "description": "Der errechnete Gesamtbetrag der Position als Ergebnis der Berechnung x oder\n / (Anzahl Tage Jahr) * . Details Betrag\n ", + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + } + } + } + ] + }, + "Menge": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Menge mit Wert und Einheit.", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + } + } + } + ] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Preis": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preis", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt die nomiale Höhe des Preises an.", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Währungseinheit für den Preis, z.B. Euro oder Ct. Details Waehrungseinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugswert": { + "description": "Angabe, für welche Bezugsgröße der Preis gilt. Z.B. kWh. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "status": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + } + } + } + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Dieses BO wird zur Übertagung von hierarchischen Kostenstrukturen verwendet. Die Kosten werden dabei in\nKostenblöcke und diese wiederum in Kostenpositionen strukturiert.\n ", + "additionalProperties": {}, + "properties": { + "kostenklasse": { + "description": "Klasse der Kosten, beispielsweise Fremdkosten. Details siehe Kostenklasse\n ", + "oneOf": [ + { + "$ref": "#/definitions/Kostenklasse" + } + ] + }, + "gueltigkeit": { + "description": "Für diesen Zeitraum wurden die Kosten ermittelt. Details siehe Zeitraum\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "summeKosten": { + "type": "array", + "description": "Die Gesamtsumme über alle Kostenblöcke und -positionen. Details siehe Betrag\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Betrag" + } + }, + "kostenbloecke": { + "type": "array", + "description": "Eine Liste mit Kostenblöcken. In Kostenblöcken werden Kostenpositionen zusammengefasst. Beispiele: Netzkosten,\nUmlagen, Steuern etc. Details siehe Kostenblock\n ", + "minItems": 1, + "items": { + "$ref": "#/definitions/Kostenblock" + } + }, + "kostenpositionen": { + "type": "array", + "description": "Hier sind die Details zu einer Kostenposition aufgeführt. Z.B.:\nAlliander Netz Heinsberg GmbH, 01.02.2018, 31.12.2018, Arbeitspreis HT, 3.660 kWh, 5,8200 ct/kWh, 213,01 €. Details\nsiehe COM Kostenposition\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kostenposition" + } + } + } + } + ] +} diff --git a/open-api-schemas/Lokationszuordnung.json b/open-api-schemas/Lokationszuordnung.json new file mode 100644 index 00000000..ac094643 --- /dev/null +++ b/open-api-schemas/Lokationszuordnung.json @@ -0,0 +1,3476 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Lokationszuordnung", + "definitions": { + "Marktlokation": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Marktlokation\n ", + "additionalProperties": {}, + "properties": { + "marktlokationsId": { + "type": "string", + "description": "Identifikationsnummer einer Marktlokation, an der Energie entweder\nverbraucht, oder erzeugt wird\n ", + "default": "|null|", + "x-nullable": true + }, + "sparte": { + "description": "Sparte der Messlokation, z.B. Gas oder Strom.", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "energierichtung": { + "description": "Kennzeichnung, ob Energie eingespeist oder entnommen (ausgespeist) wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Energierichtung" + } + ] + }, + "bilanzierungsmethode": { + "description": "Kennzeichnung, ob Energie eingespeist oder entnommen (ausgespeist) wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "verbrauchsart": { + "description": "Verbrauchsart der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbar": { + "type": "boolean", + "description": "Gibt an, ob es sich um eine unterbrechbare Belieferung handelt.", + "x-nullable": true + }, + "netzebene": { + "description": "Netzebene, in der der Bezug der Energie erfolgt. Bei Strom Spannungsebene der\nLieferung, bei Gas Druckstufe. Beispiel Strom: Niederspannung Beispiel Gas:\nNiederdruck.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "netzbetreiberCodeNr": { + "type": "string", + "description": "Codenummer des Netzbetreibers, an dessen Netz diese Marktlokation\nangeschlossen ist.\n ", + "x-nullable": true + }, + "gebietTyp": { + "description": "Typ des Netzgebietes,z.B.Verteilnetz.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Gebiettyp" + } + ] + }, + "netzgebietNr": { + "type": "string", + "description": "Die Nummer des Netzgebietes in der ene't-Datenbank.", + "x-nullable": true + }, + "bilanzierungsgebiet": { + "type": "string", + "description": "Bilanzierungsgebiet, dem das Netzgebiet zugeordnet ist - im Falle eines Strom Netzes.", + "x-nullable": true + }, + "grundversorgerCodeNr": { + "type": "string", + "description": "CodeNummer des Grundversorgers, der für diese Marktlokation zuständig ist.", + "x-nullable": true + }, + "gasqualitaet": { + "description": "Die Gasqualität in diesem Netzgebiet. H-Gas oder L-Gas. Im Falle eines Gas-Netzes.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Gasqualitaet" + } + ] + }, + "endkunde": { + "description": "Link zum Geschäftspartner, dem diese Marktlokation gehört.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "lokationsadresse": { + "description": "Die Adresse, an der die Energie-Lieferung oder -Einspeisung erfolgt. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "geoadresse": { + "description": "Alternativ zu einer postalischen Adresse kann hier ein Ort mittels Geokoordinaten angegeben werden (z.B. zur\nIdentifikation von Sendemasten).\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geokoordinaten" + } + ] + }, + "katasterinformation": { + "description": "Alternativ zu einer postalischen Adresse und Geokoordinaten kann hier eine Ortsangabe mittels Gemarkung und\nFlurstück erfolgen. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Katasteradresse" + } + ] + }, + "marktrollen": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "regelzone": { + "type": "string", + "description": "für EDIFACT mapping\n ", + "x-nullable": true + }, + "marktgebiet": { + "type": "string", + "description": "für EDIFACT mapping\n ", + "x-nullable": true + }, + "zeitreihentyp": { + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitreihentyp" + } + ] + }, + "zaehlwerke": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlwerkeBeteiligteMarktrolle": { + "type": "array", + "description": "Liste der Zählwerke der beteiligten Martrolle\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "verbrauchsmenge": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Consider if this is really the right place to store the information. I think Energiemenge->energieverbrauch is better suited.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verbrauch" + } + }, + "messlokationen": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messlokation" + } + }, + "zugehoerigeMesslokationen": { + "type": "array", + "description": "Aufzählung der Messlokationen, die zu dieser Marktlokation gehören.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messlokationszuordnung" + } + }, + "messtechnischeEinordnung": { + "description": "Messtechnische Einordnung aus der UTILMD (IMS, KME_MME, KEINE_MESSUNG)\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/MesstechnischeEinordnung" + } + ] + }, + "netznutzungsabrechnungsdaten": { + "type": "array", + "description": "Daten für die Prüfung der Netznutzungsabrechnung", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Netznutzungsabrechnungsdaten" + } + }, + "sperrstatus": { + "description": "Sperrstatus", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sperrstatus" + } + ] + }, + "messprodukte": { + "type": "array", + "description": "Zugeordnete Messprodukte\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "konfigurationsprodukte": { + "type": "array", + "description": "Produkt-Daten der Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Energierichtung": { + "type": "integer", + "description": "Spezifiziert die Energierichtung einer Markt- und/oder Messlokation.", + "x-enumNames": ["AUSSP", "EINSP"], + "enum": [0, 1] + }, + "Bilanzierungsmethode": { + "type": "integer", + "description": "Mit dieser Aufzählung kann zwischen den Bilanzierungsmethoden bzw. -Grundlagen unterschieden werden.", + "x-enumNames": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Verbrauchsart": { + "type": "integer", + "description": "Verbrauchsart einer Marktlokation.", + "x-enumNames": ["KL", "KLW", "KLWS", "W", "WS"], + "enum": [0, 1, 2, 3, 4] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Gebiettyp": { + "type": "integer", + "description": "Auflistung der möglichen Gebietstypen.", + "x-enumNames": [ + "REGELZONE", + "MARKTGEBIET", + "BILANZIERUNGSGEBIET", + "VERTEILNETZ", + "TRANSPORTNETZ", + "REGIONALNETZ", + "AREALNETZ", + "GRUNDVERSORGUNGSGEBIET", + "VERSORGUNGSGEBIET" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Gasqualitaet": { + "type": "integer", + "description": "Unterscheidung für hoch- und niedrig-kalorisches Gas.", + "x-enumNames": ["ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"], + "enum": [0, 1, 1, 2, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Geokoordinaten": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente liefert die Geokoordinaten für einen Ort.", + "additionalProperties": {}, + "properties": { + "breitengrad": { + "type": "number", + "description": "Gibt den Breitengrad eines entsprechenden Ortes an.", + "format": "decimal" + }, + "laengengrad": { + "type": "number", + "description": "Gibt den Längengrad eines entsprechenden Ortes an.", + "format": "decimal" + } + } + } + ] + }, + "Katasteradresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Dient der Adressierung über die Liegenschaftsinformation.", + "additionalProperties": {}, + "properties": { + "gemarkung_flur": { + "type": "string", + "description": "Die Gemarkung oder die Flur in der die Liegenschaft liegt" + }, + "flurstueck": { + "type": "string", + "description": "Das Flurstück mit dem die Liegenschaft (Grundstück) bezeichnet ist." + } + } + } + ] + }, + "MarktpartnerDetails": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Used in Marktlokation and Messlokation to represent data about MSB", + "additionalProperties": {}, + "properties": { + "rollencodenummer": { + "type": "string", + "description": "Rollencodenummer von Marktrolle", + "x-nullable": true + }, + "code": { + "type": "string", + "description": "Code von Marktrolle", + "x-nullable": true + }, + "marktrolle": { + "description": "Marktrolle. Details siehe Marktrolle", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "weiterverpflichtet": { + "type": "boolean", + "description": "Weiterverpflichtung des MSB />", + "x-nullable": true + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Zeitreihentyp": { + "type": "integer", + "description": "Codes der SummenzeitreihentypenDie nachfolgenden Codes sind in DE7111 zu nutzen:", + "x-enumNames": [ + "EGS", + "LGS", + "NZR", + "SES", + "SLS", + "TES", + "TLS", + "SLS_TLS", + "SES_TES" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zaehlwerk": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Zählwerke modelliert.", + "additionalProperties": {}, + "properties": { + "zaehlwerkId": { + "type": "string", + "description": "Identifikation des Zählwerks (Registers) innerhalb des Zählers. Oftmals eine laufende Nummer hinter der\nZählernummer. Z.B. 47110815_1\n ", + "x-nullable": true + }, + "bezeichnung": { + "type": "string", + "description": "Zusätzliche Bezeichnung, z.B. Zählwerk_Wirkarbeit.", + "x-nullable": true + }, + "richtung": { + "description": "Die Energierichtung, Einspeisung oder Ausspeisung. Details Energierichtung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Energierichtung" + } + ] + }, + "obisKennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für das Zählwerk, die festlegt, welche auf die gemessene Größe mit dem Stand gemeldet wird.\nNur Zählwerkstände mit dieser OBIS-Kennzahl werden an diesem Zählwerk registriert. Beispiel:1-0:1.8.1 für\nelektrische Wirkarbeit.\n ", + "x-nullable": true + }, + "wandlerfaktor": { + "type": "number", + "description": "Mit diesem Faktor wird eine Zählerstandsdifferenz multipliziert, um zum eigentlichen Verbrauch im Zeitraum zu\nkommen.\n ", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Die Einheit der gemessenen Größe, z.B. kWh. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "kennzahl": { + "type": "string", + "description": "Obis kennzahl", + "x-deprecated": true, + "x-deprecatedMessage": "Use existing obisKennzahl instead.", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "schwachlastfaehig", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + }, + "verwendungszwecke": { + "type": "array", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "description": "Stromverbrauchsart/Verbrauchsart Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbarkeit": { + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Unterbrechbarkeit" + } + ] + }, + "waermenutzung": { + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "konzessionsabgabe": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Konzessionsabgabe" + } + ] + }, + "steuerbefreit": { + "type": "boolean", + "x-nullable": true + }, + "vorkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "nachkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "abrechnungsrelevant": { + "type": "boolean", + "x-nullable": true + }, + "anzahlAblesungen": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "zaehlzeiten": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + }, + "konfiguration": { + "type": "string", + "description": "Konfiguration (iMSys) des Zählwerks", + "x-nullable": true + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + } + } + } + ] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Schwachlastfaehig": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": ["NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"], + "enum": [0, 1] + }, + "Verwendungszweck": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Marktrolle\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "rollencodenummer von Marktrolle\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "zweck": { + "type": "array", + "description": "code von Marktrolle\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck2" + } + } + } + } + ] + }, + "Verwendungszweck2": { + "type": "integer", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-enumNames": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ], + "enum": [0, 1, 2, 2, 3, 4, 5, 6] + }, + "Unterbrechbarkeit": { + "type": "integer", + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-enumNames": ["UV", "NUV"], + "enum": [0, 1] + }, + "Waermenutzung": { + "type": "integer", + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-enumNames": ["SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"], + "enum": [0, 1, 2] + }, + "Konzessionsabgabe": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Konzessionsabgabe\n ", + "additionalProperties": {}, + "properties": { + "satz": { + "description": "Art der Abgabe\n ", + "oneOf": [ + { + "$ref": "#/definitions/AbgabeArt" + } + ] + }, + "kosten": { + "type": "number", + "description": "Konzessionsabgabe in E/kWh\n ", + "format": "decimal", + "x-nullable": true + }, + "kategorie": { + "type": "string", + "description": "Gebührenkategorie der Konzessionsabgabe\n ", + "x-nullable": true + } + } + } + ] + }, + "AbgabeArt": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zaehlzeitregister": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Ein Zählzeitregister beschreibt eine erweiterte Definition der Zählzeit in Bezug auf ein Register. Dabei werden alle Codes dazu vom Netzbetreiber vergeben.\n ", + "additionalProperties": {}, + "properties": { + "zaehlzeitDefinition": { + "type": "string", + "description": "Zählzeitdefinition\n ", + "x-nullable": true + }, + "register": { + "type": "string", + "description": "Zählzeitregister\n ", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "Schwachlastfähigkeit des Registers\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + } + } + } + ] + }, + "EMobilitaetsart": { + "type": "integer", + "description": "Im Falle der E-Mobilität bei TechnischeRessourceNutzung, eine genauere Angabe über die Art der E-Mobilität zu definieren.", + "x-enumNames": ["WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"], + "enum": [0, 1, 2] + }, + "Verbrauch": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung eines zeitlich abgegrenzten Verbrauchs.\n ", + "additionalProperties": {}, + "properties": { + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "wertermittlungsverfahren": { + "description": "Gibt an, ob es sich um eine PROGNOSE oder eine MESSUNG handelt.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Wertermittlungsverfahren" + } + ] + }, + "messwertstatus": { + "description": "Enthält die Gültigkeit des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwertstatus" + } + ] + }, + "statuszusatzinformationen": { + "type": "array", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge", + "x-nullable": true, + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für den Wert, die festlegt, welche Größe mit dem Stand gemeldet wird.\n ", + "x-example": "1-0:1.8.1\n " + }, + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.\n ", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "type": { + "description": "type", + "x-nullable": true, + "x-example": "arbeitleistungtagesparameterabhmalo | veranschlagtejahresmenge | TUMKundenwert", + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsmengetyp" + } + ] + }, + "tarifstufe": { + "description": "Tarifstufe", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifstufe" + } + ] + }, + "nutzungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einem Prozesszeitpunkt zuzuordnen. Dieser Prozesszeitpunkt kann entweder ein Zeitpunkt einer Stammdatenänderung sein(z. B.bei einem Gerätewechsel, in der die Änderung vor dem Versand des Zählerstandes übermittelt wurde) oder die Bestellung eines Wertes aufgrund eines eingetretenen Ereignisses(z.B. Lieferantenwechsel). Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B.Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + }, + "ausfuehrungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einer tatsächlichen Änderung zuzuordnen, z.B.bei einem Gerätewechsel oder Geräteparameteränderung der tatsächliche Zeitpunkt an dem die Änderung an der Messlokation durchgeführt wurde.Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B. Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Wertermittlungsverfahren": { + "type": "integer", + "description": "Gibt an, ob es sich um eine Prognose oder eine Messung handelt, beispielsweise bei der Abbildung eines Verbrauchs.\n ", + "x-enumNames": ["PROGNOSE", "MESSUNG"], + "enum": [0, 1] + }, + "Messwertstatus": { + "type": "integer", + "description": "Gibt auskunft über die Gültigkeit des angegebenen Verbrauchswertes. Bildet MSCONS SG10 QTY 6063 ab. ", + "x-enumNames": [ + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "StatusZusatzInformation": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge.", + "additionalProperties": {}, + "properties": { + "art": { + "description": "Enthält die Zusatzinformation Art des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/StatusArt" + } + ] + }, + "status": { + "description": "Enthält die Zusatzinformation Status des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Status" + } + ] + } + } + } + ] + }, + "StatusArt": { + "type": "integer", + "description": "Represents the Type of Wert (MSCONS SG10 STS 9015)", + "x-enumNames": [ + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7] + }, + "Status": { + "type": "integer", + "description": "Represents the Status Code (MSCONS SG10 STS 4405) ", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66 + ] + }, + "Verbrauchsmengetyp": { + "type": "integer", + "description": "type von Verbrauchsmenge", + "x-enumNames": [ + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ], + "enum": [0, 1, 2] + }, + "Tarifstufe": { + "type": "integer", + "description": "In IFTSTA 21035 \"Rückmeldung auf Lieferschein\" (IFTSTA SG16 QTY 6063) ", + "x-enumNames": [ + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Messlokation": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Messlokation.\n ", + "additionalProperties": {}, + "properties": { + "messlokationsId": { + "type": "string", + "description": "Die Messlokations-Identifikation. Das ist die frühere Zählpunktbezeichnung,\nz.B. DE 47108151234567\n ", + "default": "|null|" + }, + "sparte": { + "description": "* Sparte der Messlokation, z.B. Gas oder Strom.\n\n ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "netzebeneMessung": { + "description": "Spannungsebene der Messung. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "messgebietNr": { + "type": "string", + "description": "Die Nummer des Messgebietes in der ene't-Datenbank.", + "x-nullable": true + }, + "grundzustaendigerMSBCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers, der für diese\nMesslokation zuständig ist.( Dieser ist immer dann Messstellenbetreiber, wenn\nkein anderer MSB die Einrichtungen an der Messlokation betreibt.)\n ", + "x-nullable": true + }, + "grundzustaendigerMSBIMCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers für intelligente\nMesssysteme der für diese Messlokation zuständig ist.(Dieser ist immer dann\nMessstellenbetreiber, wenn kein anderer MSB die Einrichtungen an der\nMesslokation betreibt.)\n ", + "x-nullable": true + }, + "grundzustaendigerMDLCodeNr": { + "type": "string", + "description": "Codenummer des Messdienstleisters, der für diese Messlokation zuständig\nist.( Dieser ist immer dann Messdienstleister, wenn kein anderer MDL die\nMesslokation abliest.)\n ", + "x-deprecated": true, + "x-deprecatedMessage": "MDL is deprecated.", + "x-nullable": true + }, + "messadresse": { + "description": "Die Adresse, an der die Messeinrichtungen zu finden sind.( Nur angeben, wenn\ndiese von der Adresse der Marktlokation abweicht.)\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "geoadresse": { + "description": "Alternativ zu einer postalischen Adresse kann hier ein Ort mittels\nGeokoordinaten angegeben werden (z.B. zur Identifikation von Sendemasten).\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geokoordinaten" + } + ] + }, + "katasterinformation": { + "description": "Alternativ zu einer postalischen Adresse und Geokoordinaten kann hier eine\nOrtsangabe mittels Gemarkung und Flurstück erfolgen.\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Katasteradresse" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste der Hardware, die zu dieser Messstelle gehört.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Hardware" + } + }, + "messdienstleistung": { + "type": "array", + "description": "Liste der Messdienstleistungen, die zu dieser Messstelle gehört.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Dienstleistung" + } + }, + "messlokationszaehler": { + "type": "array", + "description": "Zähler, die zu dieser Messlokation gehören. Details", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehler" + } + }, + "bilanzierungsmethode": { + "description": "Bilanzierungsmethode\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "abrechnungmessstellenbetriebnna": { + "type": "boolean", + "description": "Dieser Wert ist true, falls die Abrechnungs des Messstellenbetriebs die Netznutzungsabrechnung enthält. false\nandernfalls\n ", + "x-nullable": true + }, + "marktrollen": { + "type": "array", + "description": "marktrollen für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "gasqualitaet": { + "description": "gasqualitaet für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Gasqualitaet" + } + ] + }, + "verlustfaktor": { + "type": "number", + "description": "verlustfaktor für EDIFACT mapping\n ", + "format": "decimal", + "x-nullable": true + }, + "zaehlwerke": { + "type": "array", + "description": "OBIS-Daten der Messlokation\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "betriebszustand": { + "description": "gasqualitaet für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betriebszustand" + } + ] + }, + "messprodukte": { + "type": "array", + "description": "Zugeordnete Messprodukte\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] + }, + "Hardware": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer abrechenbaren Hardware.", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Eindeutiger Typ der Hardware. Details Geraetetyp", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "bezeichnung": { + "type": "string", + "description": "Bezeichnung der Hardware." + }, + "geraeteeigenschaften": { + "description": "Bezeichnung der Hardware.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraetenummer": { + "type": "string", + "description": "Gerätenummer des Wandlers\n ", + "x-nullable": true + }, + "geraetereferenz": { + "type": "string", + "description": "Referenz auf die Gerätenummer des Zählers\n ", + "x-nullable": true + } + } + } + ] + }, + "Geraetetyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42 + ] + }, + "Geraeteeigenschaften": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden die Eigenschaften eines Gerätes in Bezug auf den Typ und weitere Merkmale\nmodelliert.\n ", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Der Typ eines Gerätes, beispielsweise Drehstromzähler. Details Geraetetyp", + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "geraetemerkmal": { + "description": "Weitere Merkmale des Geräts, zum Beispiel Mehrtarif, Eintarif etc.. Details Geraetemerkmal\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + } + } + } + ] + }, + "Geraetemerkmal": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61 + ] + }, + "Dienstleistung": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer abrechenbaren Dienstleistung.", + "additionalProperties": {}, + "properties": { + "dienstleistungstyp": { + "description": "Eindeutige Nummer der Dienstleistung. Details Dienstleistungstyp", + "oneOf": [ + { + "$ref": "#/definitions/Dienstleistungstyp" + } + ] + }, + "bezeichnung": { + "type": "string", + "description": "Bezeichnung der Dienstleistung." + } + } + } + ] + }, + "Dienstleistungstyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Dienstleistungen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38 + ] + }, + "Zaehler": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Geschäftsobjekt wird die Information zu einem Zähler abgebildet.\n ", + "additionalProperties": {}, + "properties": { + "zaehlernummer": { + "type": "string", + "description": "Nummerierung des Zählers, vergeben durch den Messstellenbetreiber" + }, + "sparte": { + "description": "Strom oder Gas. ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "zaehlerauspraegung": { + "description": "Spezifikation die Richtung des Zählers betreffend.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlerauspraegung" + } + ] + }, + "zaehlertyp": { + "description": "Typisierung des Zählers\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlertyp" + } + ] + }, + "tarifart": { + "description": "Spezifikation bezüglich unterstützter Tarifarten.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifart" + } + ] + }, + "zaehlerkonstante": { + "type": "number", + "description": "Zählerkonstante auf dem Zähler.", + "format": "decimal", + "x-nullable": true + }, + "eichungBis": { + "type": "string", + "description": "Bis zu diesem Datum ist der Zähler geeicht.", + "format": "date-time", + "x-nullable": true + }, + "letzteEichung": { + "type": "string", + "description": "Zu diesem Datum fand die letzte Eichprüfung des Zählers statt.", + "format": "date-time", + "x-nullable": true + }, + "zaehlwerke": { + "type": "array", + "description": "Die Zählwerke des Zählers.\n\n ", + "minItems": 1, + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlerhersteller": { + "description": "Der Hersteller des Zählers. Details Geschaeftspartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "gateway": { + "type": "string", + "description": "Referenz auf das Smartmeter-Gateway\n ", + "x-nullable": true + }, + "fernschaltung": { + "description": "Fernschaltung\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Fernschaltung" + } + ] + }, + "messwerterfassung": { + "description": "Messwerterfassung am Zählpunkt\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwerterfassung" + } + ] + }, + "zaehlertypspezifikation": { + "description": "Typisierung des Zählers (spezifikation für EHZ und MME)\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ZaehlertypSpezifikation" + } + ] + }, + "befestigungsart": { + "description": "Befestigungsart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Befestigungsart" + } + ] + }, + "zaehlergroesse": { + "description": "Zaehlergroesse\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste der Geräte, die zu diesem Zähler gehören.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geraet" + } + } + } + } + ] + }, + "Zaehlerauspraegung": { + "type": "integer", + "description": "* Gibt an, ob es sich um einen Einrichtungs- oder Zweirichtungszähler handelt.", + "x-enumNames": ["EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"], + "enum": [0, 1] + }, + "Zaehlertyp": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom, Gas und Wasser.\n ", + "x-enumNames": [ + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Tarifart": { + "type": "integer", + "description": "", + "x-enumNames": [ + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Fernschaltung": { + "type": "integer", + "description": "Fernschaltung", + "x-enumNames": ["VORHANDEN", "NICHT_VORHANDEN"], + "enum": [0, 1] + }, + "Messwerterfassung": { + "type": "integer", + "description": "Messwerterfassung", + "x-enumNames": ["FERNAUSLESBAR", "MANUELL_AUSGELESENE"], + "enum": [0, 1] + }, + "ZaehlertypSpezifikation": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom und Gas.\n ", + "x-enumNames": [ + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Befestigungsart": { + "type": "integer", + "description": "Befestigungsart", + "x-enumNames": [ + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Geraet": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden alle Geräte modelliert, die keine Zähler sind.", + "additionalProperties": {}, + "properties": { + "geraetenummer": { + "type": "string", + "description": "Die auf dem Geräte aufgedruckte Nummer, die vom MSB vergeben wird.", + "x-nullable": true + }, + "geraeteeigenschaften": { + "description": "Festlegung der Eigenschaften des Gerätes. Z.B. Wandler MS/NS. Details\nGeraeteeigenschaften\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraeteart": { + "description": "Festlegung der Art des Gerätes. Z.B. ZAEHLEINRICHTUNG\nGeraeteart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteart" + } + ] + } + } + } + ] + }, + "Geraeteart": { + "type": "integer", + "description": "Auflistung möglicher Geraetearten. This is more broadly defined as a Geraetetyp, so a Zaehleinrichtung as Gerateart could be a elektronischer Haushaltszähler as a Gerätetyp.", + "x-enumNames": [ + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6] + }, + "Betriebszustand": { + "type": "integer", + "description": "Betriebszustand der Messlokation", + "x-enumNames": ["GESPERRT_NICHT_ENTSPERREN", "GESPERRT", "REGELBETRIEB"], + "enum": [0, 1, 2] + }, + "Messprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Messprodukte (an Melo und Malo) modelliert.", + "additionalProperties": {}, + "properties": { + "messproduktId": { + "type": "string", + "description": "Identifikation des Messproduktes\nZ.B. 9991000000151\n ", + "x-nullable": true + }, + "verwendungszwecke": { + "type": "array", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "description": "Stromverbrauchsart/Verbrauchsart Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbarkeit": { + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Unterbrechbarkeit" + } + ] + }, + "waermenutzung": { + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "zaehlzeiten": { + "description": "Zählzeiten des Messproduktes", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + }, + "zweiteMessung": { + "type": "boolean", + "description": "zweite Messung erforderlich", + "x-nullable": true + }, + "werteuebermittlungAnNB": { + "type": "boolean", + "description": "Werden die Werte an den Netzbetreiber übermittelt?", + "x-nullable": true + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + } + } + } + ] + }, + "Messlokationszuordnung": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Messlokationen zu Marktlokationen zugeordnet. Dabei kann eine arithmetische\nOperation (Addition, Subtraktion) angegeben werden, mit der die Messlokation zum Verbrauch der Marklokation\nbeiträgt.\n ", + "additionalProperties": {}, + "properties": { + "messlokationsId": { + "type": "string", + "description": "Die Messlokations-ID, früher die Zählpunktbezeichnung." + }, + "arithmetik": { + "description": "Die Operation, mit der eine Messung an dieser Lokation für den Gesamtverbrauch der Marktlokation verrechnet\nwird. Beispielsweise bei einer Untermessung, wird der Verbauch der Untermessung subtrahiert. Details\nArithmetischeOperation\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ArithmetischeOperation" + } + ] + }, + "gueltigSeit": { + "type": "string", + "description": "Zeitpunkt, ab dem die Messlokation zur Marktlokation gehört", + "format": "date-time", + "x-nullable": true + }, + "gueltigBis": { + "type": "string", + "description": "Zeitpunkt, bis zu dem die Messlokation zur Marktlokation gehört", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "ArithmetischeOperation": { + "type": "integer", + "description": "Mit dieser Aufzählung können arithmetische Operationen festgelegt werden.", + "x-enumNames": [ + "ADDITION", + "SUBTRAKTION", + "MULTIPLIKATION", + "DIVISION", + "DIVIDEND", + "POSITIVWERT" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "MesstechnischeEinordnung": { + "type": "integer", + "description": "Messtechnische Einordnung", + "x-enumNames": ["IMS", "KME_MME", "KEINE_MESSUNG"], + "enum": [0, 1, 2] + }, + "Netznutzungsabrechnungsdaten": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Netznutzungsabrechnungsdaten\n ", + "additionalProperties": {}, + "properties": { + "artikelId": { + "type": "string", + "description": "Artikel oder Gruppen-ArtikelId\n ", + "x-nullable": true + }, + "artikelIdTyp": { + "description": "Typ der ArtikelId (Einzel oder Gruppe)\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ArtikelIdTyp" + } + ] + }, + "anzahl": { + "type": "integer", + "description": "Anzahl der Positionen für diese ArtikelId\n ", + "format": "int32", + "x-nullable": true + }, + "gemeinderabatt": { + "type": "number", + "description": "Gemeinderabatt\n ", + "format": "decimal", + "x-nullable": true + }, + "zuschlag": { + "type": "number", + "description": "Zuschlag\n ", + "format": "decimal", + "x-nullable": true + }, + "abschlag": { + "type": "number", + "description": "Abschlag\n ", + "format": "decimal", + "x-nullable": true + }, + "singulaereBetriebsmittel": { + "description": "Singuläre Betriebsmittel\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "preisSingulaereBetriebsmittel": { + "description": "Preis für singuläre Betriebsmittel\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + }, + "zaehlzeit": { + "description": "Zählzeit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + } + } + } + ] + }, + "ArtikelIdTyp": { + "type": "integer", + "description": "Unterscheidung zwischen ArtikelId und GruppenArtikelId", + "x-enumNames": ["ARTIKELID", "GRUPPENARTIKELID"], + "enum": [0, 1] + }, + "Menge": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Menge mit Wert und Einheit.", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + } + } + } + ] + }, + "Preis": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preis", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt die nomiale Höhe des Preises an.", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Währungseinheit für den Preis, z.B. Euro oder Ct. Details Waehrungseinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugswert": { + "description": "Angabe, für welche Bezugsgröße der Preis gilt. Z.B. kWh. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "status": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + } + } + } + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sperrstatus": { + "type": "integer", + "description": "Der Sperrstatus beschreibt, ob ein Zähler gesperrt ist oder nicht.", + "x-enumNames": ["ENTSPERRT", "GESPERRT"], + "enum": [0, 1] + }, + "Konfigurationsprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Produkt-daten ein BO wie Netzlokation, Marktlokation usw.", + "additionalProperties": {}, + "properties": { + "produktcode": { + "type": "string", + "description": "Die Konfigurationsprodukt-Code für das Objekt", + "x-nullable": true + }, + "leistungskurvendefinition": { + "type": "string", + "description": "Code der Zugeordnete Leistungskurvendefinition für das Objekt", + "x-nullable": true + }, + "schaltzeitdefinition": { + "type": "string", + "description": "Code der Zugeordnete Schaltzeitdefinition für das Objekt", + "x-nullable": true + }, + "marktpartner": { + "description": "Auftraggebender Marktpartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktteilnehmer" + } + ] + } + } + } + ] + }, + "Marktteilnehmer": { + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + }, + "Netzlokation": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Netzlokation\n ", + "additionalProperties": {}, + "properties": { + "netzlokationsId": { + "type": "string", + "description": "Identifikationsnummer einer Netzlokation, an der Energie entweder\nverbraucht, oder erzeugt wird (Like MarktlokationsId Marktlokation)\n ", + "default": "|null|" + }, + "sparte": { + "description": "Sparte der Netzlokation, z.B. Gas oder Strom.", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "netzanschlussleistung": { + "description": "Netzanschlussleistungsmenge der Netzlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "grundzustaendigerMSBCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers, der für diese\nNetzlokation zuständig ist.", + "x-nullable": true + }, + "steuerkanal": { + "type": "boolean", + "description": "Ob ein Steuerkanal der Netzlokation zugeordnet ist und somit die Netzlokation gesteuert\nwerden kann.\nZF2: Kein Steuerkanal vorhanden\nZF3: Steuerkanal vorhanden", + "x-nullable": true + }, + "obisKennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für die Netzlokation", + "x-nullable": true + }, + "verwendungszweck": { + "description": "Verwendungungszweck der Werte Netzlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verwendungszweck" + } + ] + }, + "konfigurationsprodukte": { + "type": "array", + "description": "Produkt-Daten der Netzlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "description": "Eigenschaft des Messstellenbetreiber an der Lokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] + }, + "TechnischeRessource": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Technische Ressource BO", + "additionalProperties": {}, + "properties": { + "technischeRessourceId": { + "type": "string", + "description": "Identifikationsnummer einer TechnischeRessource", + "default": "|null|", + "x-nullable": true + }, + "vorgelagerteMesslokationsId": { + "type": "string", + "description": "Vorgelagerte Messlokation ID\nBeispiel:\nRFF+Z34:DE00713739359S0000000000001222221'", + "x-nullable": true + }, + "zugeordneteMarktlokationsId": { + "type": "string", + "description": "Referenz auf die der Technischen Ressource Zugeordneten Marktlokation\nBeispiel:\nRFF+Z16:20072281644'", + "x-nullable": true + }, + "zugeordneteSteuerbareRessourceId": { + "type": "string", + "description": "Referenz auf die der Technischen Ressource zugeordneten Steuerbaren Ressource\nBeispiel:\nRFF+Z16:20072281644'", + "x-nullable": true + }, + "nennleistungAufnahme": { + "description": "Nennleistung (Aufnahme)\nBeispiel: QTY+Z43:100:KWT'", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "nennleistungAbgabe": { + "description": "Nennleistung (Abgabe)\nBeispiel: QTY+Z44:100:KWT'", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "speicherkapazitaet": { + "description": "Speicherkapazität\nBeispiel: QTY+Z42:100:KWH'", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "technischeRessourceNutzung": { + "description": "Art und Nutzung der Technischen Ressource\nBeispiel: CCI+Z17'\n Z17: Stromverbrauchsart\n Z50: Stromerzeugungsart\n Z56: Speicher", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/TechnischeRessourceNutzung" + } + ] + }, + "verbrauchsart": { + "description": "Verbrauchsart der Technischen Ressource\nBeispiel: CAV+Z64'\n Z64: Kraft/Licht\n Z65: Wärme\n ZE5: E-Mobilität\n ZA8: Straßenbeleuchtung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/TechnischeRessourceVerbrauchsart" + } + ] + }, + "waermenutzung": { + "description": "Wärmenutzung\nBeispiel: CAV+Z56'\n Z56: Speicherheizung\n Z57: Wärmepumpe\n Z61: Direktheizung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + }, + "erzeugungsart": { + "description": "Art der Erzeugung der Energie. Details Erzeugungsart\nBeispiel: CAV+ZF5'\nErzeugungsart:\n ZF5: Solar\n ZF6: Wind\n ZG0: Gas\n ZG1: Wasser\n ZG5: Sonstige Erzeugungsart", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Erzeugungsart" + } + ] + }, + "speicherart": { + "description": "Art der speicher. Details Speicherart\nBeispiel: CAV+ZF7'\nSpeicherart:\n ZF7: Wasserstoffspeicher\n ZF8: Pumpspeicher\n ZF9: Batteriespeicher\n ZG6: Sonstige Speicherart", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Speicherart" + } + ] + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] + }, + "TechnischeRessourceNutzung": { + "type": "integer", + "description": "Art und Nutzung der Technischen Ressource", + "x-enumNames": ["STROMVERBRAUCHSART", "STROMERZEUGUNGSART", "SPEICHER"], + "enum": [0, 1, 2] + }, + "TechnischeRessourceVerbrauchsart": { + "type": "integer", + "description": "Verbrauchsart der Technischen Ressource.", + "x-enumNames": [ + "KRAFT_LICHT", + "WAERME", + "E_MOBILITAET", + "STRASSENBELEUCHTUNG" + ], + "enum": [0, 1, 2, 3] + }, + "Erzeugungsart": { + "type": "integer", + "description": "Auflistung der Erzeugungsarten von Energie.", + "x-enumNames": [ + "KWK", + "WIND", + "SOLAR", + "KERNKRAFT", + "WASSER", + "GEOTHERMIE", + "BIOMASSE", + "KOHLE", + "GAS", + "SONSTIGE", + "SONSTIGE_EEG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + }, + "Speicherart": { + "type": "integer", + "description": "Im Falle der Speicher bei TechnischeRessourceNutzung, eine genauere Angabe über die Art der Speicher zu definieren.", + "x-enumNames": [ + "WASSERSTOFFSPEICHER", + "PUMPSPEICHER", + "BATTERIESPEICHER", + "SONSTIGE_SPEICHERART" + ], + "enum": [0, 1, 2, 3] + }, + "SteuerbareRessource": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Steuerbare Ressource BO", + "additionalProperties": {}, + "properties": { + "steuerbareRessourceId": { + "type": "string", + "description": "Identifikationsnummer einer SteuerbareRessource", + "default": "|null|" + }, + "steuerkanalsLeistungsbeschreibung": { + "description": "Leistungsbeschreibung des Steuerkanals", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/SteuerkanalsLeistungsbeschreibung" + } + ] + }, + "zugeordnetMSBCodeNr": { + "type": "string", + "description": "Angabe des Messstellenbetreibers, der der Steuerbaren Ressource zugeordnet ist.", + "x-nullable": true + }, + "konfigurationsprodukte": { + "type": "array", + "description": "Produkt-Daten der Steuerbaren Ressource", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "description": "Eigenschaft des Messstellenbetreiber an der Lokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] + }, + "SteuerkanalsLeistungsbeschreibung": { + "type": "integer", + "description": "Welche Funktionen der Steuerkanal einer SteuerbareRessource bereitstsellt.", + "x-enumNames": ["AN_AUS", "GESTUFT"], + "enum": [0, 1] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modell für die Abbildung der Referenz auf die Lokationsbündelstruktur. Diese gibt an welche Marktlokationen,\nMesslokationen, Netzlokationen, technische/steuerbaren Ressourcen an einer Lokation vorhanden sind;", + "additionalProperties": {}, + "properties": { + "marktlokationen": { + "type": "array", + "description": "Liste mit IDs der referenzierten Marktlokationen", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Marktlokation" + } + }, + "messlokationen": { + "type": "array", + "description": "Liste mit IDs der referenzierten Messlokationen", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messlokation" + } + }, + "netzlokationen": { + "type": "array", + "description": "Liste mit IDs der referenzierten Netzlokationen", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Netzlokation" + } + }, + "technischeRessourcen": { + "type": "array", + "description": "Liste mit IDs der referenzierten technischen Ressourcen", + "x-nullable": true, + "items": { + "$ref": "#/definitions/TechnischeRessource" + } + }, + "steuerbareRessourcen": { + "type": "array", + "description": "Liste mit IDs der referenzierten steuerbaren Ressourcen", + "x-nullable": true, + "items": { + "$ref": "#/definitions/SteuerbareRessource" + } + }, + "gueltigkeit": { + "type": "array", + "description": "Zeitspanne der Gültigkeit", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zeitraum" + } + }, + "zuordnungstyp": { + "type": "string", + "description": "Verknüpfungsrichtung z.B. Malo-Melo", + "x-nullable": true + }, + "lokationsbuendelcode": { + "type": "string", + "description": "Code, der angibt wie die Lokationsbündelstruktur zusammengesetzt ist (zu finden unter \"Codeliste der Lokationsbündelstrukturen\" auf https://www.edi-energy.de/index.php?id=38)", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/MabisZaehlpunkt.json b/open-api-schemas/MabisZaehlpunkt.json new file mode 100644 index 00000000..b30b8145 --- /dev/null +++ b/open-api-schemas/MabisZaehlpunkt.json @@ -0,0 +1,113 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "MabisZaehlpunkt", + "definitions": { + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "additionalProperties": {}, + "properties": { + "Id": { + "type": "string", + "description": "Die MABIS-Zaehlpunktbezeichnung,\nz.B. DE 47108151234567\n ", + "default": "|null|" + } + } + } + ] +} diff --git a/open-api-schemas/Marktlokation.json b/open-api-schemas/Marktlokation.json new file mode 100644 index 00000000..44377472 --- /dev/null +++ b/open-api-schemas/Marktlokation.json @@ -0,0 +1,3024 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Marktlokation", + "definitions": { + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Energierichtung": { + "type": "integer", + "description": "Spezifiziert die Energierichtung einer Markt- und/oder Messlokation.", + "x-enumNames": ["AUSSP", "EINSP"], + "enum": [0, 1] + }, + "Bilanzierungsmethode": { + "type": "integer", + "description": "Mit dieser Aufzählung kann zwischen den Bilanzierungsmethoden bzw. -Grundlagen unterschieden werden.", + "x-enumNames": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Verbrauchsart": { + "type": "integer", + "description": "Verbrauchsart einer Marktlokation.", + "x-enumNames": ["KL", "KLW", "KLWS", "W", "WS"], + "enum": [0, 1, 2, 3, 4] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Gebiettyp": { + "type": "integer", + "description": "Auflistung der möglichen Gebietstypen.", + "x-enumNames": [ + "REGELZONE", + "MARKTGEBIET", + "BILANZIERUNGSGEBIET", + "VERTEILNETZ", + "TRANSPORTNETZ", + "REGIONALNETZ", + "AREALNETZ", + "GRUNDVERSORGUNGSGEBIET", + "VERSORGUNGSGEBIET" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Gasqualitaet": { + "type": "integer", + "description": "Unterscheidung für hoch- und niedrig-kalorisches Gas.", + "x-enumNames": ["ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"], + "enum": [0, 1, 1, 2, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Geokoordinaten": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente liefert die Geokoordinaten für einen Ort.", + "additionalProperties": {}, + "properties": { + "breitengrad": { + "type": "number", + "description": "Gibt den Breitengrad eines entsprechenden Ortes an.", + "format": "decimal" + }, + "laengengrad": { + "type": "number", + "description": "Gibt den Längengrad eines entsprechenden Ortes an.", + "format": "decimal" + } + } + } + ] + }, + "Katasteradresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Dient der Adressierung über die Liegenschaftsinformation.", + "additionalProperties": {}, + "properties": { + "gemarkung_flur": { + "type": "string", + "description": "Die Gemarkung oder die Flur in der die Liegenschaft liegt" + }, + "flurstueck": { + "type": "string", + "description": "Das Flurstück mit dem die Liegenschaft (Grundstück) bezeichnet ist." + } + } + } + ] + }, + "MarktpartnerDetails": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Used in Marktlokation and Messlokation to represent data about MSB", + "additionalProperties": {}, + "properties": { + "rollencodenummer": { + "type": "string", + "description": "Rollencodenummer von Marktrolle", + "x-nullable": true + }, + "code": { + "type": "string", + "description": "Code von Marktrolle", + "x-nullable": true + }, + "marktrolle": { + "description": "Marktrolle. Details siehe Marktrolle", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "weiterverpflichtet": { + "type": "boolean", + "description": "Weiterverpflichtung des MSB />", + "x-nullable": true + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Zeitreihentyp": { + "type": "integer", + "description": "Codes der SummenzeitreihentypenDie nachfolgenden Codes sind in DE7111 zu nutzen:", + "x-enumNames": [ + "EGS", + "LGS", + "NZR", + "SES", + "SLS", + "TES", + "TLS", + "SLS_TLS", + "SES_TES" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zaehlwerk": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Zählwerke modelliert.", + "additionalProperties": {}, + "properties": { + "zaehlwerkId": { + "type": "string", + "description": "Identifikation des Zählwerks (Registers) innerhalb des Zählers. Oftmals eine laufende Nummer hinter der\nZählernummer. Z.B. 47110815_1\n ", + "x-nullable": true + }, + "bezeichnung": { + "type": "string", + "description": "Zusätzliche Bezeichnung, z.B. Zählwerk_Wirkarbeit.", + "x-nullable": true + }, + "richtung": { + "description": "Die Energierichtung, Einspeisung oder Ausspeisung. Details Energierichtung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Energierichtung" + } + ] + }, + "obisKennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für das Zählwerk, die festlegt, welche auf die gemessene Größe mit dem Stand gemeldet wird.\nNur Zählwerkstände mit dieser OBIS-Kennzahl werden an diesem Zählwerk registriert. Beispiel:1-0:1.8.1 für\nelektrische Wirkarbeit.\n ", + "x-nullable": true + }, + "wandlerfaktor": { + "type": "number", + "description": "Mit diesem Faktor wird eine Zählerstandsdifferenz multipliziert, um zum eigentlichen Verbrauch im Zeitraum zu\nkommen.\n ", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Die Einheit der gemessenen Größe, z.B. kWh. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "kennzahl": { + "type": "string", + "description": "Obis kennzahl", + "x-deprecated": true, + "x-deprecatedMessage": "Use existing obisKennzahl instead.", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "schwachlastfaehig", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + }, + "verwendungszwecke": { + "type": "array", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "description": "Stromverbrauchsart/Verbrauchsart Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbarkeit": { + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Unterbrechbarkeit" + } + ] + }, + "waermenutzung": { + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "konzessionsabgabe": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Konzessionsabgabe" + } + ] + }, + "steuerbefreit": { + "type": "boolean", + "x-nullable": true + }, + "vorkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "nachkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "abrechnungsrelevant": { + "type": "boolean", + "x-nullable": true + }, + "anzahlAblesungen": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "zaehlzeiten": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + }, + "konfiguration": { + "type": "string", + "description": "Konfiguration (iMSys) des Zählwerks", + "x-nullable": true + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + } + } + } + ] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Schwachlastfaehig": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": ["NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"], + "enum": [0, 1] + }, + "Verwendungszweck": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Marktrolle\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "rollencodenummer von Marktrolle\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "zweck": { + "type": "array", + "description": "code von Marktrolle\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck2" + } + } + } + } + ] + }, + "Verwendungszweck2": { + "type": "integer", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-enumNames": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ], + "enum": [0, 1, 2, 2, 3, 4, 5, 6] + }, + "Unterbrechbarkeit": { + "type": "integer", + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-enumNames": ["UV", "NUV"], + "enum": [0, 1] + }, + "Waermenutzung": { + "type": "integer", + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-enumNames": ["SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"], + "enum": [0, 1, 2] + }, + "Konzessionsabgabe": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Konzessionsabgabe\n ", + "additionalProperties": {}, + "properties": { + "satz": { + "description": "Art der Abgabe\n ", + "oneOf": [ + { + "$ref": "#/definitions/AbgabeArt" + } + ] + }, + "kosten": { + "type": "number", + "description": "Konzessionsabgabe in E/kWh\n ", + "format": "decimal", + "x-nullable": true + }, + "kategorie": { + "type": "string", + "description": "Gebührenkategorie der Konzessionsabgabe\n ", + "x-nullable": true + } + } + } + ] + }, + "AbgabeArt": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zaehlzeitregister": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Ein Zählzeitregister beschreibt eine erweiterte Definition der Zählzeit in Bezug auf ein Register. Dabei werden alle Codes dazu vom Netzbetreiber vergeben.\n ", + "additionalProperties": {}, + "properties": { + "zaehlzeitDefinition": { + "type": "string", + "description": "Zählzeitdefinition\n ", + "x-nullable": true + }, + "register": { + "type": "string", + "description": "Zählzeitregister\n ", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "Schwachlastfähigkeit des Registers\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + } + } + } + ] + }, + "EMobilitaetsart": { + "type": "integer", + "description": "Im Falle der E-Mobilität bei TechnischeRessourceNutzung, eine genauere Angabe über die Art der E-Mobilität zu definieren.", + "x-enumNames": ["WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"], + "enum": [0, 1, 2] + }, + "Verbrauch": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung eines zeitlich abgegrenzten Verbrauchs.\n ", + "additionalProperties": {}, + "properties": { + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "wertermittlungsverfahren": { + "description": "Gibt an, ob es sich um eine PROGNOSE oder eine MESSUNG handelt.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Wertermittlungsverfahren" + } + ] + }, + "messwertstatus": { + "description": "Enthält die Gültigkeit des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwertstatus" + } + ] + }, + "statuszusatzinformationen": { + "type": "array", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge", + "x-nullable": true, + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für den Wert, die festlegt, welche Größe mit dem Stand gemeldet wird.\n ", + "x-example": "1-0:1.8.1\n " + }, + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.\n ", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "type": { + "description": "type", + "x-nullable": true, + "x-example": "arbeitleistungtagesparameterabhmalo | veranschlagtejahresmenge | TUMKundenwert", + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsmengetyp" + } + ] + }, + "tarifstufe": { + "description": "Tarifstufe", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifstufe" + } + ] + }, + "nutzungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einem Prozesszeitpunkt zuzuordnen. Dieser Prozesszeitpunkt kann entweder ein Zeitpunkt einer Stammdatenänderung sein(z. B.bei einem Gerätewechsel, in der die Änderung vor dem Versand des Zählerstandes übermittelt wurde) oder die Bestellung eines Wertes aufgrund eines eingetretenen Ereignisses(z.B. Lieferantenwechsel). Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B.Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + }, + "ausfuehrungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einer tatsächlichen Änderung zuzuordnen, z.B.bei einem Gerätewechsel oder Geräteparameteränderung der tatsächliche Zeitpunkt an dem die Änderung an der Messlokation durchgeführt wurde.Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B. Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Wertermittlungsverfahren": { + "type": "integer", + "description": "Gibt an, ob es sich um eine Prognose oder eine Messung handelt, beispielsweise bei der Abbildung eines Verbrauchs.\n ", + "x-enumNames": ["PROGNOSE", "MESSUNG"], + "enum": [0, 1] + }, + "Messwertstatus": { + "type": "integer", + "description": "Gibt auskunft über die Gültigkeit des angegebenen Verbrauchswertes. Bildet MSCONS SG10 QTY 6063 ab. ", + "x-enumNames": [ + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "StatusZusatzInformation": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge.", + "additionalProperties": {}, + "properties": { + "art": { + "description": "Enthält die Zusatzinformation Art des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/StatusArt" + } + ] + }, + "status": { + "description": "Enthält die Zusatzinformation Status des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Status" + } + ] + } + } + } + ] + }, + "StatusArt": { + "type": "integer", + "description": "Represents the Type of Wert (MSCONS SG10 STS 9015)", + "x-enumNames": [ + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7] + }, + "Status": { + "type": "integer", + "description": "Represents the Status Code (MSCONS SG10 STS 4405) ", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66 + ] + }, + "Verbrauchsmengetyp": { + "type": "integer", + "description": "type von Verbrauchsmenge", + "x-enumNames": [ + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ], + "enum": [0, 1, 2] + }, + "Tarifstufe": { + "type": "integer", + "description": "In IFTSTA 21035 \"Rückmeldung auf Lieferschein\" (IFTSTA SG16 QTY 6063) ", + "x-enumNames": [ + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Messlokation": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Messlokation.\n ", + "additionalProperties": {}, + "properties": { + "messlokationsId": { + "type": "string", + "description": "Die Messlokations-Identifikation. Das ist die frühere Zählpunktbezeichnung,\nz.B. DE 47108151234567\n ", + "default": "|null|" + }, + "sparte": { + "description": "* Sparte der Messlokation, z.B. Gas oder Strom.\n\n ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "netzebeneMessung": { + "description": "Spannungsebene der Messung. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "messgebietNr": { + "type": "string", + "description": "Die Nummer des Messgebietes in der ene't-Datenbank.", + "x-nullable": true + }, + "grundzustaendigerMSBCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers, der für diese\nMesslokation zuständig ist.( Dieser ist immer dann Messstellenbetreiber, wenn\nkein anderer MSB die Einrichtungen an der Messlokation betreibt.)\n ", + "x-nullable": true + }, + "grundzustaendigerMSBIMCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers für intelligente\nMesssysteme der für diese Messlokation zuständig ist.(Dieser ist immer dann\nMessstellenbetreiber, wenn kein anderer MSB die Einrichtungen an der\nMesslokation betreibt.)\n ", + "x-nullable": true + }, + "grundzustaendigerMDLCodeNr": { + "type": "string", + "description": "Codenummer des Messdienstleisters, der für diese Messlokation zuständig\nist.( Dieser ist immer dann Messdienstleister, wenn kein anderer MDL die\nMesslokation abliest.)\n ", + "x-deprecated": true, + "x-deprecatedMessage": "MDL is deprecated.", + "x-nullable": true + }, + "messadresse": { + "description": "Die Adresse, an der die Messeinrichtungen zu finden sind.( Nur angeben, wenn\ndiese von der Adresse der Marktlokation abweicht.)\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "geoadresse": { + "description": "Alternativ zu einer postalischen Adresse kann hier ein Ort mittels\nGeokoordinaten angegeben werden (z.B. zur Identifikation von Sendemasten).\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geokoordinaten" + } + ] + }, + "katasterinformation": { + "description": "Alternativ zu einer postalischen Adresse und Geokoordinaten kann hier eine\nOrtsangabe mittels Gemarkung und Flurstück erfolgen.\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Katasteradresse" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste der Hardware, die zu dieser Messstelle gehört.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Hardware" + } + }, + "messdienstleistung": { + "type": "array", + "description": "Liste der Messdienstleistungen, die zu dieser Messstelle gehört.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Dienstleistung" + } + }, + "messlokationszaehler": { + "type": "array", + "description": "Zähler, die zu dieser Messlokation gehören. Details", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehler" + } + }, + "bilanzierungsmethode": { + "description": "Bilanzierungsmethode\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "abrechnungmessstellenbetriebnna": { + "type": "boolean", + "description": "Dieser Wert ist true, falls die Abrechnungs des Messstellenbetriebs die Netznutzungsabrechnung enthält. false\nandernfalls\n ", + "x-nullable": true + }, + "marktrollen": { + "type": "array", + "description": "marktrollen für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "gasqualitaet": { + "description": "gasqualitaet für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Gasqualitaet" + } + ] + }, + "verlustfaktor": { + "type": "number", + "description": "verlustfaktor für EDIFACT mapping\n ", + "format": "decimal", + "x-nullable": true + }, + "zaehlwerke": { + "type": "array", + "description": "OBIS-Daten der Messlokation\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "betriebszustand": { + "description": "gasqualitaet für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betriebszustand" + } + ] + }, + "messprodukte": { + "type": "array", + "description": "Zugeordnete Messprodukte\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] + }, + "Hardware": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer abrechenbaren Hardware.", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Eindeutiger Typ der Hardware. Details Geraetetyp", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "bezeichnung": { + "type": "string", + "description": "Bezeichnung der Hardware." + }, + "geraeteeigenschaften": { + "description": "Bezeichnung der Hardware.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraetenummer": { + "type": "string", + "description": "Gerätenummer des Wandlers\n ", + "x-nullable": true + }, + "geraetereferenz": { + "type": "string", + "description": "Referenz auf die Gerätenummer des Zählers\n ", + "x-nullable": true + } + } + } + ] + }, + "Geraetetyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42 + ] + }, + "Geraeteeigenschaften": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden die Eigenschaften eines Gerätes in Bezug auf den Typ und weitere Merkmale\nmodelliert.\n ", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Der Typ eines Gerätes, beispielsweise Drehstromzähler. Details Geraetetyp", + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "geraetemerkmal": { + "description": "Weitere Merkmale des Geräts, zum Beispiel Mehrtarif, Eintarif etc.. Details Geraetemerkmal\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + } + } + } + ] + }, + "Geraetemerkmal": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61 + ] + }, + "Dienstleistung": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer abrechenbaren Dienstleistung.", + "additionalProperties": {}, + "properties": { + "dienstleistungstyp": { + "description": "Eindeutige Nummer der Dienstleistung. Details Dienstleistungstyp", + "oneOf": [ + { + "$ref": "#/definitions/Dienstleistungstyp" + } + ] + }, + "bezeichnung": { + "type": "string", + "description": "Bezeichnung der Dienstleistung." + } + } + } + ] + }, + "Dienstleistungstyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Dienstleistungen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38 + ] + }, + "Zaehler": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Geschäftsobjekt wird die Information zu einem Zähler abgebildet.\n ", + "additionalProperties": {}, + "properties": { + "zaehlernummer": { + "type": "string", + "description": "Nummerierung des Zählers, vergeben durch den Messstellenbetreiber" + }, + "sparte": { + "description": "Strom oder Gas. ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "zaehlerauspraegung": { + "description": "Spezifikation die Richtung des Zählers betreffend.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlerauspraegung" + } + ] + }, + "zaehlertyp": { + "description": "Typisierung des Zählers\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlertyp" + } + ] + }, + "tarifart": { + "description": "Spezifikation bezüglich unterstützter Tarifarten.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifart" + } + ] + }, + "zaehlerkonstante": { + "type": "number", + "description": "Zählerkonstante auf dem Zähler.", + "format": "decimal", + "x-nullable": true + }, + "eichungBis": { + "type": "string", + "description": "Bis zu diesem Datum ist der Zähler geeicht.", + "format": "date-time", + "x-nullable": true + }, + "letzteEichung": { + "type": "string", + "description": "Zu diesem Datum fand die letzte Eichprüfung des Zählers statt.", + "format": "date-time", + "x-nullable": true + }, + "zaehlwerke": { + "type": "array", + "description": "Die Zählwerke des Zählers.\n\n ", + "minItems": 1, + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlerhersteller": { + "description": "Der Hersteller des Zählers. Details Geschaeftspartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "gateway": { + "type": "string", + "description": "Referenz auf das Smartmeter-Gateway\n ", + "x-nullable": true + }, + "fernschaltung": { + "description": "Fernschaltung\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Fernschaltung" + } + ] + }, + "messwerterfassung": { + "description": "Messwerterfassung am Zählpunkt\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwerterfassung" + } + ] + }, + "zaehlertypspezifikation": { + "description": "Typisierung des Zählers (spezifikation für EHZ und MME)\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ZaehlertypSpezifikation" + } + ] + }, + "befestigungsart": { + "description": "Befestigungsart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Befestigungsart" + } + ] + }, + "zaehlergroesse": { + "description": "Zaehlergroesse\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste der Geräte, die zu diesem Zähler gehören.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geraet" + } + } + } + } + ] + }, + "Zaehlerauspraegung": { + "type": "integer", + "description": "* Gibt an, ob es sich um einen Einrichtungs- oder Zweirichtungszähler handelt.", + "x-enumNames": ["EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"], + "enum": [0, 1] + }, + "Zaehlertyp": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom, Gas und Wasser.\n ", + "x-enumNames": [ + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Tarifart": { + "type": "integer", + "description": "", + "x-enumNames": [ + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Fernschaltung": { + "type": "integer", + "description": "Fernschaltung", + "x-enumNames": ["VORHANDEN", "NICHT_VORHANDEN"], + "enum": [0, 1] + }, + "Messwerterfassung": { + "type": "integer", + "description": "Messwerterfassung", + "x-enumNames": ["FERNAUSLESBAR", "MANUELL_AUSGELESENE"], + "enum": [0, 1] + }, + "ZaehlertypSpezifikation": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom und Gas.\n ", + "x-enumNames": [ + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Befestigungsart": { + "type": "integer", + "description": "Befestigungsart", + "x-enumNames": [ + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Geraet": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden alle Geräte modelliert, die keine Zähler sind.", + "additionalProperties": {}, + "properties": { + "geraetenummer": { + "type": "string", + "description": "Die auf dem Geräte aufgedruckte Nummer, die vom MSB vergeben wird.", + "x-nullable": true + }, + "geraeteeigenschaften": { + "description": "Festlegung der Eigenschaften des Gerätes. Z.B. Wandler MS/NS. Details\nGeraeteeigenschaften\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraeteart": { + "description": "Festlegung der Art des Gerätes. Z.B. ZAEHLEINRICHTUNG\nGeraeteart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteart" + } + ] + } + } + } + ] + }, + "Geraeteart": { + "type": "integer", + "description": "Auflistung möglicher Geraetearten. This is more broadly defined as a Geraetetyp, so a Zaehleinrichtung as Gerateart could be a elektronischer Haushaltszähler as a Gerätetyp.", + "x-enumNames": [ + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6] + }, + "Betriebszustand": { + "type": "integer", + "description": "Betriebszustand der Messlokation", + "x-enumNames": ["GESPERRT_NICHT_ENTSPERREN", "GESPERRT", "REGELBETRIEB"], + "enum": [0, 1, 2] + }, + "Messprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Messprodukte (an Melo und Malo) modelliert.", + "additionalProperties": {}, + "properties": { + "messproduktId": { + "type": "string", + "description": "Identifikation des Messproduktes\nZ.B. 9991000000151\n ", + "x-nullable": true + }, + "verwendungszwecke": { + "type": "array", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "description": "Stromverbrauchsart/Verbrauchsart Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbarkeit": { + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Unterbrechbarkeit" + } + ] + }, + "waermenutzung": { + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "zaehlzeiten": { + "description": "Zählzeiten des Messproduktes", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + }, + "zweiteMessung": { + "type": "boolean", + "description": "zweite Messung erforderlich", + "x-nullable": true + }, + "werteuebermittlungAnNB": { + "type": "boolean", + "description": "Werden die Werte an den Netzbetreiber übermittelt?", + "x-nullable": true + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + } + } + } + ] + }, + "Messlokationszuordnung": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Messlokationen zu Marktlokationen zugeordnet. Dabei kann eine arithmetische\nOperation (Addition, Subtraktion) angegeben werden, mit der die Messlokation zum Verbrauch der Marklokation\nbeiträgt.\n ", + "additionalProperties": {}, + "properties": { + "messlokationsId": { + "type": "string", + "description": "Die Messlokations-ID, früher die Zählpunktbezeichnung." + }, + "arithmetik": { + "description": "Die Operation, mit der eine Messung an dieser Lokation für den Gesamtverbrauch der Marktlokation verrechnet\nwird. Beispielsweise bei einer Untermessung, wird der Verbauch der Untermessung subtrahiert. Details\nArithmetischeOperation\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ArithmetischeOperation" + } + ] + }, + "gueltigSeit": { + "type": "string", + "description": "Zeitpunkt, ab dem die Messlokation zur Marktlokation gehört", + "format": "date-time", + "x-nullable": true + }, + "gueltigBis": { + "type": "string", + "description": "Zeitpunkt, bis zu dem die Messlokation zur Marktlokation gehört", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "ArithmetischeOperation": { + "type": "integer", + "description": "Mit dieser Aufzählung können arithmetische Operationen festgelegt werden.", + "x-enumNames": [ + "ADDITION", + "SUBTRAKTION", + "MULTIPLIKATION", + "DIVISION", + "DIVIDEND", + "POSITIVWERT" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "MesstechnischeEinordnung": { + "type": "integer", + "description": "Messtechnische Einordnung", + "x-enumNames": ["IMS", "KME_MME", "KEINE_MESSUNG"], + "enum": [0, 1, 2] + }, + "Netznutzungsabrechnungsdaten": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Netznutzungsabrechnungsdaten\n ", + "additionalProperties": {}, + "properties": { + "artikelId": { + "type": "string", + "description": "Artikel oder Gruppen-ArtikelId\n ", + "x-nullable": true + }, + "artikelIdTyp": { + "description": "Typ der ArtikelId (Einzel oder Gruppe)\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ArtikelIdTyp" + } + ] + }, + "anzahl": { + "type": "integer", + "description": "Anzahl der Positionen für diese ArtikelId\n ", + "format": "int32", + "x-nullable": true + }, + "gemeinderabatt": { + "type": "number", + "description": "Gemeinderabatt\n ", + "format": "decimal", + "x-nullable": true + }, + "zuschlag": { + "type": "number", + "description": "Zuschlag\n ", + "format": "decimal", + "x-nullable": true + }, + "abschlag": { + "type": "number", + "description": "Abschlag\n ", + "format": "decimal", + "x-nullable": true + }, + "singulaereBetriebsmittel": { + "description": "Singuläre Betriebsmittel\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "preisSingulaereBetriebsmittel": { + "description": "Preis für singuläre Betriebsmittel\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + }, + "zaehlzeit": { + "description": "Zählzeit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + } + } + } + ] + }, + "ArtikelIdTyp": { + "type": "integer", + "description": "Unterscheidung zwischen ArtikelId und GruppenArtikelId", + "x-enumNames": ["ARTIKELID", "GRUPPENARTIKELID"], + "enum": [0, 1] + }, + "Menge": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Menge mit Wert und Einheit.", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + } + } + } + ] + }, + "Preis": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preis", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt die nomiale Höhe des Preises an.", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Währungseinheit für den Preis, z.B. Euro oder Ct. Details Waehrungseinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugswert": { + "description": "Angabe, für welche Bezugsgröße der Preis gilt. Z.B. kWh. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "status": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + } + } + } + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sperrstatus": { + "type": "integer", + "description": "Der Sperrstatus beschreibt, ob ein Zähler gesperrt ist oder nicht.", + "x-enumNames": ["ENTSPERRT", "GESPERRT"], + "enum": [0, 1] + }, + "Konfigurationsprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Produkt-daten ein BO wie Netzlokation, Marktlokation usw.", + "additionalProperties": {}, + "properties": { + "produktcode": { + "type": "string", + "description": "Die Konfigurationsprodukt-Code für das Objekt", + "x-nullable": true + }, + "leistungskurvendefinition": { + "type": "string", + "description": "Code der Zugeordnete Leistungskurvendefinition für das Objekt", + "x-nullable": true + }, + "schaltzeitdefinition": { + "type": "string", + "description": "Code der Zugeordnete Schaltzeitdefinition für das Objekt", + "x-nullable": true + }, + "marktpartner": { + "description": "Auftraggebender Marktpartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktteilnehmer" + } + ] + } + } + } + ] + }, + "Marktteilnehmer": { + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Marktlokation\n ", + "additionalProperties": {}, + "properties": { + "marktlokationsId": { + "type": "string", + "description": "Identifikationsnummer einer Marktlokation, an der Energie entweder\nverbraucht, oder erzeugt wird\n ", + "default": "|null|", + "x-nullable": true + }, + "sparte": { + "description": "Sparte der Messlokation, z.B. Gas oder Strom.", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "energierichtung": { + "description": "Kennzeichnung, ob Energie eingespeist oder entnommen (ausgespeist) wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Energierichtung" + } + ] + }, + "bilanzierungsmethode": { + "description": "Kennzeichnung, ob Energie eingespeist oder entnommen (ausgespeist) wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "verbrauchsart": { + "description": "Verbrauchsart der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbar": { + "type": "boolean", + "description": "Gibt an, ob es sich um eine unterbrechbare Belieferung handelt.", + "x-nullable": true + }, + "netzebene": { + "description": "Netzebene, in der der Bezug der Energie erfolgt. Bei Strom Spannungsebene der\nLieferung, bei Gas Druckstufe. Beispiel Strom: Niederspannung Beispiel Gas:\nNiederdruck.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "netzbetreiberCodeNr": { + "type": "string", + "description": "Codenummer des Netzbetreibers, an dessen Netz diese Marktlokation\nangeschlossen ist.\n ", + "x-nullable": true + }, + "gebietTyp": { + "description": "Typ des Netzgebietes,z.B.Verteilnetz.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Gebiettyp" + } + ] + }, + "netzgebietNr": { + "type": "string", + "description": "Die Nummer des Netzgebietes in der ene't-Datenbank.", + "x-nullable": true + }, + "bilanzierungsgebiet": { + "type": "string", + "description": "Bilanzierungsgebiet, dem das Netzgebiet zugeordnet ist - im Falle eines Strom Netzes.", + "x-nullable": true + }, + "grundversorgerCodeNr": { + "type": "string", + "description": "CodeNummer des Grundversorgers, der für diese Marktlokation zuständig ist.", + "x-nullable": true + }, + "gasqualitaet": { + "description": "Die Gasqualität in diesem Netzgebiet. H-Gas oder L-Gas. Im Falle eines Gas-Netzes.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Gasqualitaet" + } + ] + }, + "endkunde": { + "description": "Link zum Geschäftspartner, dem diese Marktlokation gehört.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "lokationsadresse": { + "description": "Die Adresse, an der die Energie-Lieferung oder -Einspeisung erfolgt. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "geoadresse": { + "description": "Alternativ zu einer postalischen Adresse kann hier ein Ort mittels Geokoordinaten angegeben werden (z.B. zur\nIdentifikation von Sendemasten).\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geokoordinaten" + } + ] + }, + "katasterinformation": { + "description": "Alternativ zu einer postalischen Adresse und Geokoordinaten kann hier eine Ortsangabe mittels Gemarkung und\nFlurstück erfolgen. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Katasteradresse" + } + ] + }, + "marktrollen": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "regelzone": { + "type": "string", + "description": "für EDIFACT mapping\n ", + "x-nullable": true + }, + "marktgebiet": { + "type": "string", + "description": "für EDIFACT mapping\n ", + "x-nullable": true + }, + "zeitreihentyp": { + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitreihentyp" + } + ] + }, + "zaehlwerke": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlwerkeBeteiligteMarktrolle": { + "type": "array", + "description": "Liste der Zählwerke der beteiligten Martrolle\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "verbrauchsmenge": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Consider if this is really the right place to store the information. I think Energiemenge->energieverbrauch is better suited.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verbrauch" + } + }, + "messlokationen": { + "type": "array", + "description": "für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messlokation" + } + }, + "zugehoerigeMesslokationen": { + "type": "array", + "description": "Aufzählung der Messlokationen, die zu dieser Marktlokation gehören.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messlokationszuordnung" + } + }, + "messtechnischeEinordnung": { + "description": "Messtechnische Einordnung aus der UTILMD (IMS, KME_MME, KEINE_MESSUNG)\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/MesstechnischeEinordnung" + } + ] + }, + "netznutzungsabrechnungsdaten": { + "type": "array", + "description": "Daten für die Prüfung der Netznutzungsabrechnung", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Netznutzungsabrechnungsdaten" + } + }, + "sperrstatus": { + "description": "Sperrstatus", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sperrstatus" + } + ] + }, + "messprodukte": { + "type": "array", + "description": "Zugeordnete Messprodukte\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "konfigurationsprodukte": { + "type": "array", + "description": "Produkt-Daten der Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Marktteilnehmer.json b/open-api-schemas/Marktteilnehmer.json new file mode 100644 index 00000000..9866c9b9 --- /dev/null +++ b/open-api-schemas/Marktteilnehmer.json @@ -0,0 +1,882 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Marktteilnehmer", + "definitions": { + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/Messlokation.json b/open-api-schemas/Messlokation.json new file mode 100644 index 00000000..4c45f7d6 --- /dev/null +++ b/open-api-schemas/Messlokation.json @@ -0,0 +1,1956 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Messlokation", + "definitions": { + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Geokoordinaten": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente liefert die Geokoordinaten für einen Ort.", + "additionalProperties": {}, + "properties": { + "breitengrad": { + "type": "number", + "description": "Gibt den Breitengrad eines entsprechenden Ortes an.", + "format": "decimal" + }, + "laengengrad": { + "type": "number", + "description": "Gibt den Längengrad eines entsprechenden Ortes an.", + "format": "decimal" + } + } + } + ] + }, + "Katasteradresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Dient der Adressierung über die Liegenschaftsinformation.", + "additionalProperties": {}, + "properties": { + "gemarkung_flur": { + "type": "string", + "description": "Die Gemarkung oder die Flur in der die Liegenschaft liegt" + }, + "flurstueck": { + "type": "string", + "description": "Das Flurstück mit dem die Liegenschaft (Grundstück) bezeichnet ist." + } + } + } + ] + }, + "Hardware": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer abrechenbaren Hardware.", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Eindeutiger Typ der Hardware. Details Geraetetyp", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "bezeichnung": { + "type": "string", + "description": "Bezeichnung der Hardware." + }, + "geraeteeigenschaften": { + "description": "Bezeichnung der Hardware.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraetenummer": { + "type": "string", + "description": "Gerätenummer des Wandlers\n ", + "x-nullable": true + }, + "geraetereferenz": { + "type": "string", + "description": "Referenz auf die Gerätenummer des Zählers\n ", + "x-nullable": true + } + } + } + ] + }, + "Geraetetyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42 + ] + }, + "Geraeteeigenschaften": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden die Eigenschaften eines Gerätes in Bezug auf den Typ und weitere Merkmale\nmodelliert.\n ", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Der Typ eines Gerätes, beispielsweise Drehstromzähler. Details Geraetetyp", + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "geraetemerkmal": { + "description": "Weitere Merkmale des Geräts, zum Beispiel Mehrtarif, Eintarif etc.. Details Geraetemerkmal\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + } + } + } + ] + }, + "Geraetemerkmal": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61 + ] + }, + "Dienstleistung": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer abrechenbaren Dienstleistung.", + "additionalProperties": {}, + "properties": { + "dienstleistungstyp": { + "description": "Eindeutige Nummer der Dienstleistung. Details Dienstleistungstyp", + "oneOf": [ + { + "$ref": "#/definitions/Dienstleistungstyp" + } + ] + }, + "bezeichnung": { + "type": "string", + "description": "Bezeichnung der Dienstleistung." + } + } + } + ] + }, + "Dienstleistungstyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Dienstleistungen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38 + ] + }, + "Zaehler": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Geschäftsobjekt wird die Information zu einem Zähler abgebildet.\n ", + "additionalProperties": {}, + "properties": { + "zaehlernummer": { + "type": "string", + "description": "Nummerierung des Zählers, vergeben durch den Messstellenbetreiber" + }, + "sparte": { + "description": "Strom oder Gas. ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "zaehlerauspraegung": { + "description": "Spezifikation die Richtung des Zählers betreffend.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlerauspraegung" + } + ] + }, + "zaehlertyp": { + "description": "Typisierung des Zählers\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlertyp" + } + ] + }, + "tarifart": { + "description": "Spezifikation bezüglich unterstützter Tarifarten.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifart" + } + ] + }, + "zaehlerkonstante": { + "type": "number", + "description": "Zählerkonstante auf dem Zähler.", + "format": "decimal", + "x-nullable": true + }, + "eichungBis": { + "type": "string", + "description": "Bis zu diesem Datum ist der Zähler geeicht.", + "format": "date-time", + "x-nullable": true + }, + "letzteEichung": { + "type": "string", + "description": "Zu diesem Datum fand die letzte Eichprüfung des Zählers statt.", + "format": "date-time", + "x-nullable": true + }, + "zaehlwerke": { + "type": "array", + "description": "Die Zählwerke des Zählers.\n\n ", + "minItems": 1, + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlerhersteller": { + "description": "Der Hersteller des Zählers. Details Geschaeftspartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "gateway": { + "type": "string", + "description": "Referenz auf das Smartmeter-Gateway\n ", + "x-nullable": true + }, + "fernschaltung": { + "description": "Fernschaltung\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Fernschaltung" + } + ] + }, + "messwerterfassung": { + "description": "Messwerterfassung am Zählpunkt\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwerterfassung" + } + ] + }, + "zaehlertypspezifikation": { + "description": "Typisierung des Zählers (spezifikation für EHZ und MME)\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ZaehlertypSpezifikation" + } + ] + }, + "befestigungsart": { + "description": "Befestigungsart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Befestigungsart" + } + ] + }, + "zaehlergroesse": { + "description": "Zaehlergroesse\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste der Geräte, die zu diesem Zähler gehören.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geraet" + } + } + } + } + ] + }, + "Zaehlerauspraegung": { + "type": "integer", + "description": "* Gibt an, ob es sich um einen Einrichtungs- oder Zweirichtungszähler handelt.", + "x-enumNames": ["EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"], + "enum": [0, 1] + }, + "Zaehlertyp": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom, Gas und Wasser.\n ", + "x-enumNames": [ + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Tarifart": { + "type": "integer", + "description": "", + "x-enumNames": [ + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Zaehlwerk": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Zählwerke modelliert.", + "additionalProperties": {}, + "properties": { + "zaehlwerkId": { + "type": "string", + "description": "Identifikation des Zählwerks (Registers) innerhalb des Zählers. Oftmals eine laufende Nummer hinter der\nZählernummer. Z.B. 47110815_1\n ", + "x-nullable": true + }, + "bezeichnung": { + "type": "string", + "description": "Zusätzliche Bezeichnung, z.B. Zählwerk_Wirkarbeit.", + "x-nullable": true + }, + "richtung": { + "description": "Die Energierichtung, Einspeisung oder Ausspeisung. Details Energierichtung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Energierichtung" + } + ] + }, + "obisKennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für das Zählwerk, die festlegt, welche auf die gemessene Größe mit dem Stand gemeldet wird.\nNur Zählwerkstände mit dieser OBIS-Kennzahl werden an diesem Zählwerk registriert. Beispiel:1-0:1.8.1 für\nelektrische Wirkarbeit.\n ", + "x-nullable": true + }, + "wandlerfaktor": { + "type": "number", + "description": "Mit diesem Faktor wird eine Zählerstandsdifferenz multipliziert, um zum eigentlichen Verbrauch im Zeitraum zu\nkommen.\n ", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Die Einheit der gemessenen Größe, z.B. kWh. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "kennzahl": { + "type": "string", + "description": "Obis kennzahl", + "x-deprecated": true, + "x-deprecatedMessage": "Use existing obisKennzahl instead.", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "schwachlastfaehig", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + }, + "verwendungszwecke": { + "type": "array", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "description": "Stromverbrauchsart/Verbrauchsart Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbarkeit": { + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Unterbrechbarkeit" + } + ] + }, + "waermenutzung": { + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "konzessionsabgabe": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Konzessionsabgabe" + } + ] + }, + "steuerbefreit": { + "type": "boolean", + "x-nullable": true + }, + "vorkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "nachkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "abrechnungsrelevant": { + "type": "boolean", + "x-nullable": true + }, + "anzahlAblesungen": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "zaehlzeiten": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + }, + "konfiguration": { + "type": "string", + "description": "Konfiguration (iMSys) des Zählwerks", + "x-nullable": true + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + } + } + } + ] + }, + "Energierichtung": { + "type": "integer", + "description": "Spezifiziert die Energierichtung einer Markt- und/oder Messlokation.", + "x-enumNames": ["AUSSP", "EINSP"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Schwachlastfaehig": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": ["NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"], + "enum": [0, 1] + }, + "Verwendungszweck": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Marktrolle\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "rollencodenummer von Marktrolle\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "zweck": { + "type": "array", + "description": "code von Marktrolle\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck2" + } + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Verwendungszweck2": { + "type": "integer", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-enumNames": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ], + "enum": [0, 1, 2, 2, 3, 4, 5, 6] + }, + "Verbrauchsart": { + "type": "integer", + "description": "Verbrauchsart einer Marktlokation.", + "x-enumNames": ["KL", "KLW", "KLWS", "W", "WS"], + "enum": [0, 1, 2, 3, 4] + }, + "Unterbrechbarkeit": { + "type": "integer", + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-enumNames": ["UV", "NUV"], + "enum": [0, 1] + }, + "Waermenutzung": { + "type": "integer", + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-enumNames": ["SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"], + "enum": [0, 1, 2] + }, + "Konzessionsabgabe": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Konzessionsabgabe\n ", + "additionalProperties": {}, + "properties": { + "satz": { + "description": "Art der Abgabe\n ", + "oneOf": [ + { + "$ref": "#/definitions/AbgabeArt" + } + ] + }, + "kosten": { + "type": "number", + "description": "Konzessionsabgabe in E/kWh\n ", + "format": "decimal", + "x-nullable": true + }, + "kategorie": { + "type": "string", + "description": "Gebührenkategorie der Konzessionsabgabe\n ", + "x-nullable": true + } + } + } + ] + }, + "AbgabeArt": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zaehlzeitregister": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Ein Zählzeitregister beschreibt eine erweiterte Definition der Zählzeit in Bezug auf ein Register. Dabei werden alle Codes dazu vom Netzbetreiber vergeben.\n ", + "additionalProperties": {}, + "properties": { + "zaehlzeitDefinition": { + "type": "string", + "description": "Zählzeitdefinition\n ", + "x-nullable": true + }, + "register": { + "type": "string", + "description": "Zählzeitregister\n ", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "Schwachlastfähigkeit des Registers\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + } + } + } + ] + }, + "EMobilitaetsart": { + "type": "integer", + "description": "Im Falle der E-Mobilität bei TechnischeRessourceNutzung, eine genauere Angabe über die Art der E-Mobilität zu definieren.", + "x-enumNames": ["WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Fernschaltung": { + "type": "integer", + "description": "Fernschaltung", + "x-enumNames": ["VORHANDEN", "NICHT_VORHANDEN"], + "enum": [0, 1] + }, + "Messwerterfassung": { + "type": "integer", + "description": "Messwerterfassung", + "x-enumNames": ["FERNAUSLESBAR", "MANUELL_AUSGELESENE"], + "enum": [0, 1] + }, + "ZaehlertypSpezifikation": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom und Gas.\n ", + "x-enumNames": [ + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Befestigungsart": { + "type": "integer", + "description": "Befestigungsart", + "x-enumNames": [ + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Geraet": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden alle Geräte modelliert, die keine Zähler sind.", + "additionalProperties": {}, + "properties": { + "geraetenummer": { + "type": "string", + "description": "Die auf dem Geräte aufgedruckte Nummer, die vom MSB vergeben wird.", + "x-nullable": true + }, + "geraeteeigenschaften": { + "description": "Festlegung der Eigenschaften des Gerätes. Z.B. Wandler MS/NS. Details\nGeraeteeigenschaften\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraeteart": { + "description": "Festlegung der Art des Gerätes. Z.B. ZAEHLEINRICHTUNG\nGeraeteart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteart" + } + ] + } + } + } + ] + }, + "Geraeteart": { + "type": "integer", + "description": "Auflistung möglicher Geraetearten. This is more broadly defined as a Geraetetyp, so a Zaehleinrichtung as Gerateart could be a elektronischer Haushaltszähler as a Gerätetyp.", + "x-enumNames": [ + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6] + }, + "Bilanzierungsmethode": { + "type": "integer", + "description": "Mit dieser Aufzählung kann zwischen den Bilanzierungsmethoden bzw. -Grundlagen unterschieden werden.", + "x-enumNames": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "MarktpartnerDetails": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Used in Marktlokation and Messlokation to represent data about MSB", + "additionalProperties": {}, + "properties": { + "rollencodenummer": { + "type": "string", + "description": "Rollencodenummer von Marktrolle", + "x-nullable": true + }, + "code": { + "type": "string", + "description": "Code von Marktrolle", + "x-nullable": true + }, + "marktrolle": { + "description": "Marktrolle. Details siehe Marktrolle", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "weiterverpflichtet": { + "type": "boolean", + "description": "Weiterverpflichtung des MSB />", + "x-nullable": true + } + } + } + ] + }, + "Gasqualitaet": { + "type": "integer", + "description": "Unterscheidung für hoch- und niedrig-kalorisches Gas.", + "x-enumNames": ["ZERO", "H_GAS", "HGAS", "L_GAS", "LGAS"], + "enum": [0, 1, 1, 2, 2] + }, + "Betriebszustand": { + "type": "integer", + "description": "Betriebszustand der Messlokation", + "x-enumNames": ["GESPERRT_NICHT_ENTSPERREN", "GESPERRT", "REGELBETRIEB"], + "enum": [0, 1, 2] + }, + "Messprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Messprodukte (an Melo und Malo) modelliert.", + "additionalProperties": {}, + "properties": { + "messproduktId": { + "type": "string", + "description": "Identifikation des Messproduktes\nZ.B. 9991000000151\n ", + "x-nullable": true + }, + "verwendungszwecke": { + "type": "array", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "description": "Stromverbrauchsart/Verbrauchsart Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbarkeit": { + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Unterbrechbarkeit" + } + ] + }, + "waermenutzung": { + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "zaehlzeiten": { + "description": "Zählzeiten des Messproduktes", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + }, + "zweiteMessung": { + "type": "boolean", + "description": "zweite Messung erforderlich", + "x-nullable": true + }, + "werteuebermittlungAnNB": { + "type": "boolean", + "description": "Werden die Werte an den Netzbetreiber übermittelt?", + "x-nullable": true + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Messlokation.\n ", + "additionalProperties": {}, + "properties": { + "messlokationsId": { + "type": "string", + "description": "Die Messlokations-Identifikation. Das ist die frühere Zählpunktbezeichnung,\nz.B. DE 47108151234567\n ", + "default": "|null|" + }, + "sparte": { + "description": "* Sparte der Messlokation, z.B. Gas oder Strom.\n\n ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "netzebeneMessung": { + "description": "Spannungsebene der Messung. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "messgebietNr": { + "type": "string", + "description": "Die Nummer des Messgebietes in der ene't-Datenbank.", + "x-nullable": true + }, + "grundzustaendigerMSBCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers, der für diese\nMesslokation zuständig ist.( Dieser ist immer dann Messstellenbetreiber, wenn\nkein anderer MSB die Einrichtungen an der Messlokation betreibt.)\n ", + "x-nullable": true + }, + "grundzustaendigerMSBIMCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers für intelligente\nMesssysteme der für diese Messlokation zuständig ist.(Dieser ist immer dann\nMessstellenbetreiber, wenn kein anderer MSB die Einrichtungen an der\nMesslokation betreibt.)\n ", + "x-nullable": true + }, + "grundzustaendigerMDLCodeNr": { + "type": "string", + "description": "Codenummer des Messdienstleisters, der für diese Messlokation zuständig\nist.( Dieser ist immer dann Messdienstleister, wenn kein anderer MDL die\nMesslokation abliest.)\n ", + "x-deprecated": true, + "x-deprecatedMessage": "MDL is deprecated.", + "x-nullable": true + }, + "messadresse": { + "description": "Die Adresse, an der die Messeinrichtungen zu finden sind.( Nur angeben, wenn\ndiese von der Adresse der Marktlokation abweicht.)\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "geoadresse": { + "description": "Alternativ zu einer postalischen Adresse kann hier ein Ort mittels\nGeokoordinaten angegeben werden (z.B. zur Identifikation von Sendemasten).\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geokoordinaten" + } + ] + }, + "katasterinformation": { + "description": "Alternativ zu einer postalischen Adresse und Geokoordinaten kann hier eine\nOrtsangabe mittels Gemarkung und Flurstück erfolgen.\nAchtung: Es darf immer nur eine Art der Ortsangabe vorhanden sein (entweder\neine Adresse oder eine GeoKoordinate oder eine Katasteradresse.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Katasteradresse" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste der Hardware, die zu dieser Messstelle gehört.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Hardware" + } + }, + "messdienstleistung": { + "type": "array", + "description": "Liste der Messdienstleistungen, die zu dieser Messstelle gehört.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Dienstleistung" + } + }, + "messlokationszaehler": { + "type": "array", + "description": "Zähler, die zu dieser Messlokation gehören. Details", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehler" + } + }, + "bilanzierungsmethode": { + "description": "Bilanzierungsmethode\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "abrechnungmessstellenbetriebnna": { + "type": "boolean", + "description": "Dieser Wert ist true, falls die Abrechnungs des Messstellenbetriebs die Netznutzungsabrechnung enthält. false\nandernfalls\n ", + "x-nullable": true + }, + "marktrollen": { + "type": "array", + "description": "marktrollen für EDIFACT mapping\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + }, + "gasqualitaet": { + "description": "gasqualitaet für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Gasqualitaet" + } + ] + }, + "verlustfaktor": { + "type": "number", + "description": "verlustfaktor für EDIFACT mapping\n ", + "format": "decimal", + "x-nullable": true + }, + "zaehlwerke": { + "type": "array", + "description": "OBIS-Daten der Messlokation\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "betriebszustand": { + "description": "gasqualitaet für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betriebszustand" + } + ] + }, + "messprodukte": { + "type": "array", + "description": "Zugeordnete Messprodukte\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Messprodukt" + } + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Netzlokation.json b/open-api-schemas/Netzlokation.json new file mode 100644 index 00000000..9fd663cb --- /dev/null +++ b/open-api-schemas/Netzlokation.json @@ -0,0 +1,1115 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Netzlokation", + "definitions": { + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Menge": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Menge mit Wert und Einheit.", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + } + } + } + ] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Verwendungszweck": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Marktrolle\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "rollencodenummer von Marktrolle\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "zweck": { + "type": "array", + "description": "code von Marktrolle\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck2" + } + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Verwendungszweck2": { + "type": "integer", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-enumNames": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ], + "enum": [0, 1, 2, 2, 3, 4, 5, 6] + }, + "Konfigurationsprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Produkt-daten ein BO wie Netzlokation, Marktlokation usw.", + "additionalProperties": {}, + "properties": { + "produktcode": { + "type": "string", + "description": "Die Konfigurationsprodukt-Code für das Objekt", + "x-nullable": true + }, + "leistungskurvendefinition": { + "type": "string", + "description": "Code der Zugeordnete Leistungskurvendefinition für das Objekt", + "x-nullable": true + }, + "schaltzeitdefinition": { + "type": "string", + "description": "Code der Zugeordnete Schaltzeitdefinition für das Objekt", + "x-nullable": true + }, + "marktpartner": { + "description": "Auftraggebender Marktpartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktteilnehmer" + } + ] + } + } + } + ] + }, + "Marktteilnehmer": { + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Netzlokation\n ", + "additionalProperties": {}, + "properties": { + "netzlokationsId": { + "type": "string", + "description": "Identifikationsnummer einer Netzlokation, an der Energie entweder\nverbraucht, oder erzeugt wird (Like MarktlokationsId Marktlokation)\n ", + "default": "|null|" + }, + "sparte": { + "description": "Sparte der Netzlokation, z.B. Gas oder Strom.", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "netzanschlussleistung": { + "description": "Netzanschlussleistungsmenge der Netzlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "grundzustaendigerMSBCodeNr": { + "type": "string", + "description": "Codenummer des grundzuständigen Messstellenbetreibers, der für diese\nNetzlokation zuständig ist.", + "x-nullable": true + }, + "steuerkanal": { + "type": "boolean", + "description": "Ob ein Steuerkanal der Netzlokation zugeordnet ist und somit die Netzlokation gesteuert\nwerden kann.\nZF2: Kein Steuerkanal vorhanden\nZF3: Steuerkanal vorhanden", + "x-nullable": true + }, + "obisKennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für die Netzlokation", + "x-nullable": true + }, + "verwendungszweck": { + "description": "Verwendungungszweck der Werte Netzlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verwendungszweck" + } + ] + }, + "konfigurationsprodukte": { + "type": "array", + "description": "Produkt-Daten der Netzlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "description": "Eigenschaft des Messstellenbetreiber an der Lokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Preisblatt.json b/open-api-schemas/Preisblatt.json new file mode 100644 index 00000000..cec6e526 --- /dev/null +++ b/open-api-schemas/Preisblatt.json @@ -0,0 +1,692 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Preisblatt", + "definitions": { + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Preisposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preisposition", + "additionalProperties": {}, + "properties": { + "berechnungsmethode": { + "description": "Das Modell, das der Preisbildung zugrunde liegt. Details Kalkulationsmethode", + "oneOf": [ + { + "$ref": "#/definitions/Kalkulationsmethode" + } + ] + }, + "leistungstyp": { + "description": "Standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Details Leistungstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Leistungstyp" + } + ] + }, + "leistungsbezeichnung": { + "type": "string", + "description": "Bezeichnung für die in der Position abgebildete Leistungserbringung" + }, + "preiseinheit": { + "description": "Festlegung, mit welcher Preiseinheit abgerechnet wird, z.B. Ct. oder €. Details\nWaehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugsgroesse": { + "description": "Hier wird festgelegt, auf welche Bezugsgröße sich der Preis bezieht, z.B. kWh oder Stück. Details\nMengeneinheit\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "zeitbasis": { + "description": "Die Zeit(dauer) auf die sich der Preis bezieht. Z.B. ein Jahr für einen Leistungspreis der in €/kW/Jahr\nausgegeben wird.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "tarifzeit": { + "description": "Festlegung, für welche Tarifzeit der Preis hier festgelegt ist. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifzeit" + } + ] + }, + "bdewArtikelnummer": { + "description": "Eine vom BDEW standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Diese Artikelnummer wird\nauch im Rechnungsteil der INVOIC verwendet. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BDEWArtikelnummer" + } + ] + }, + "zonungsgroesse": { + "description": "Mit der Menge der hier angegebenen Größe wird die Staffelung/Zonung durchgeführt. Z.B. Vollbenutzungsstunden.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bemessungsgroesse" + } + ] + }, + "zu_abschlaege": { + "description": "Zuschläge oder Abschläge auf die Position. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/PositionsAufAbschlag" + } + ] + }, + "preisstaffeln": { + "type": "array", + "description": "Preisstaffeln, die zu dieser Preisposition gehören. Details Preisstaffel", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": "string", + "description": "Preisschlüsselstamm>", + "x-nullable": true + }, + "positionsnummer": { + "type": "integer", + "description": "Fortlaufende Nummer für die Preisposition", + "format": "int32", + "x-nullable": true + }, + "messebene": { + "description": "Vgl. PRICAT IMD 7009", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "beschreibung": { + "type": "string", + "description": "Produkt-/Leistungsbeschreibung, wenn IMD+X vorhanden Vgl. PRICAT IMD 7008\n ", + "x-nullable": true + }, + "verarbeitungszeitraum": { + "description": "Verarbeitungszeitraum. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "artikelId": { + "type": "string", + "description": "Die genauen Bedeutungen der einzelnen Artikel-IDs sind in der EDI@Energy Codeliste der Artikelnummern \n und Artikel-IDs zu finden, die in der Spalte \"PRICAT Codeverwendung\" ein X haben\n ", + "x-nullable": true + } + } + } + ] + }, + "Kalkulationsmethode": { + "type": "integer", + "description": "Aulistung der verschiedenen Berechnungsmethoden für ein Preisblatt.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Leistungstyp": { + "type": "integer", + "description": "", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22 + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Tarifzeit": { + "type": "integer", + "description": "Zur Kennzeichnung verschiedener Tarifzeiten, beispielsweise zur Bepreisung oder zur Verbrauchsermittlung.", + "x-enumNames": ["TZ_STANDARD", "TZ_HT", "TZ_NT"], + "enum": [0, 1, 2] + }, + "BDEWArtikelnummer": { + "type": "integer", + "description": "BDEWArtikelnummer", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + ] + }, + "Bemessungsgroesse": { + "type": "integer", + "description": "Zur Abbildung von Messgrössen und zur Verwendung in energiewirtschaftlichen Berechnungen.", + "x-enumNames": [ + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, + "PositionsAufAbschlag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Differenzierung der zu betrachtenden Produkte anhand der preiserhöhenden (Aufschlag) bzw. preisvermindernden\n(Abschlag) Zusatzvereinbarungen, die individuell zu einem neuen oder bestehenden Liefervertrag abgeschlossen werden\nkönnen. Es können mehrere Auf-/Abschläge gleichzeitig ausgewählt werden.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Bezeichnung des Auf-/Abschlags" + }, + "beschreibung": { + "type": "string", + "description": "Beschreibung zum Auf-/Abschlag" + }, + "aufAbschlagstyp": { + "description": "Typ des AufAbschlages. Details AufAbschlagstyp", + "oneOf": [ + { + "$ref": "#/definitions/AufAbschlagstyp" + } + ] + }, + "aufAbschlagswert": { + "type": "number", + "description": "Höhe des Auf-/Abschlages", + "format": "decimal" + }, + "aufAbschlagswaehrung": { + "description": "Einheit, in der der Auf-/Abschlag angegeben ist (z.B. ct/kWh). Details Waehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + } + } + } + ] + }, + "AufAbschlagstyp": { + "type": "integer", + "description": "Festlegung, ob der Auf- oder Abschlag mit relativen oder absoluten Werten erfolgt.", + "x-enumNames": ["RELATIV", "ABSOLUT"], + "enum": [0, 1] + }, + "Preisstaffel": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Gibt die Staffelgrenzen der jeweiligen Preise an.", + "additionalProperties": {}, + "properties": { + "einheitspreis": { + "type": "number", + "description": "Preis pro abgerechneter Mengeneinheit", + "format": "decimal" + }, + "staffelgrenzeVon": { + "type": "number", + "description": "Unterer Wert, ab dem die Staffel gilt.", + "format": "decimal" + }, + "staffelgrenzeBis": { + "type": "number", + "description": "Oberer Wert, bis zu dem die Staffel gilt.", + "format": "decimal" + }, + "sigmoidparameter": { + "description": "Parameter zur Berechnung des Preises anhand der Jahresmenge und weiterer netzbezogener Parameter.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sigmoidparameter" + } + ] + } + } + } + ] + }, + "Sigmoidparameter": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Sigmoidparameter", + "additionalProperties": {}, + "properties": { + "A": { + "type": "number", + "description": "Briefmarke Ortsverteilnetz", + "format": "decimal" + }, + "B": { + "type": "number", + "description": "Wendepunkt für die bepreiste Menge", + "format": "decimal" + }, + "C": { + "type": "number", + "description": "Exponent", + "format": "decimal" + }, + "D": { + "type": "number", + "description": "Briefmarke Transportnetz", + "format": "decimal" + } + } + } + ] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Das allgemeine Modell zur Abbildung von Preisen. Davon abgeleitet können, über die Zuordnung identifizierender\nMerkmale, spezielle Preisblatt-Varianten modelliert werden.\nDie jeweiligen Sätze von Merkmalen sind in der Grafik ergänzt worden und stellen jeweils eine Ausprägung für die\nverschiedenen Anwendungsfälle der Preisblätter dar.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Eine Bezeichnung für das Preisblatt.\n " + }, + "gueltigkeit": { + "description": "Der Zeitraum für den der Preis festgelegt ist. Details siehe Zeitraum\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "preispositionen": { + "type": "array", + "description": "Die einzelnen Positionen, die mit dem Preisblatt abgerechnet werden können. Z.B. Arbeitspreis, Grundpreis etc.\nDetails siehe Preisposition\n ", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + }, + "sparte": { + "description": "Strom oder Gas. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/PreisblattDienstleistung.json b/open-api-schemas/PreisblattDienstleistung.json new file mode 100644 index 00000000..4b7afcd8 --- /dev/null +++ b/open-api-schemas/PreisblattDienstleistung.json @@ -0,0 +1,1581 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "PreisblattDienstleistung", + "definitions": { + "Dienstleistungstyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Dienstleistungen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38 + ] + }, + "Bilanzierungsmethode": { + "type": "integer", + "description": "Mit dieser Aufzählung kann zwischen den Bilanzierungsmethoden bzw. -Grundlagen unterschieden werden.", + "x-enumNames": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Marktteilnehmer": { + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + }, + "Preisblatt": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Das allgemeine Modell zur Abbildung von Preisen. Davon abgeleitet können, über die Zuordnung identifizierender\nMerkmale, spezielle Preisblatt-Varianten modelliert werden.\nDie jeweiligen Sätze von Merkmalen sind in der Grafik ergänzt worden und stellen jeweils eine Ausprägung für die\nverschiedenen Anwendungsfälle der Preisblätter dar.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Eine Bezeichnung für das Preisblatt.\n " + }, + "gueltigkeit": { + "description": "Der Zeitraum für den der Preis festgelegt ist. Details siehe Zeitraum\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "preispositionen": { + "type": "array", + "description": "Die einzelnen Positionen, die mit dem Preisblatt abgerechnet werden können. Z.B. Arbeitspreis, Grundpreis etc.\nDetails siehe Preisposition\n ", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + }, + "sparte": { + "description": "Strom oder Gas. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + } + } + } + ] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Preisposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preisposition", + "additionalProperties": {}, + "properties": { + "berechnungsmethode": { + "description": "Das Modell, das der Preisbildung zugrunde liegt. Details Kalkulationsmethode", + "oneOf": [ + { + "$ref": "#/definitions/Kalkulationsmethode" + } + ] + }, + "leistungstyp": { + "description": "Standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Details Leistungstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Leistungstyp" + } + ] + }, + "leistungsbezeichnung": { + "type": "string", + "description": "Bezeichnung für die in der Position abgebildete Leistungserbringung" + }, + "preiseinheit": { + "description": "Festlegung, mit welcher Preiseinheit abgerechnet wird, z.B. Ct. oder €. Details\nWaehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugsgroesse": { + "description": "Hier wird festgelegt, auf welche Bezugsgröße sich der Preis bezieht, z.B. kWh oder Stück. Details\nMengeneinheit\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "zeitbasis": { + "description": "Die Zeit(dauer) auf die sich der Preis bezieht. Z.B. ein Jahr für einen Leistungspreis der in €/kW/Jahr\nausgegeben wird.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "tarifzeit": { + "description": "Festlegung, für welche Tarifzeit der Preis hier festgelegt ist. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifzeit" + } + ] + }, + "bdewArtikelnummer": { + "description": "Eine vom BDEW standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Diese Artikelnummer wird\nauch im Rechnungsteil der INVOIC verwendet. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BDEWArtikelnummer" + } + ] + }, + "zonungsgroesse": { + "description": "Mit der Menge der hier angegebenen Größe wird die Staffelung/Zonung durchgeführt. Z.B. Vollbenutzungsstunden.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bemessungsgroesse" + } + ] + }, + "zu_abschlaege": { + "description": "Zuschläge oder Abschläge auf die Position. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/PositionsAufAbschlag" + } + ] + }, + "preisstaffeln": { + "type": "array", + "description": "Preisstaffeln, die zu dieser Preisposition gehören. Details Preisstaffel", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": "string", + "description": "Preisschlüsselstamm>", + "x-nullable": true + }, + "positionsnummer": { + "type": "integer", + "description": "Fortlaufende Nummer für die Preisposition", + "format": "int32", + "x-nullable": true + }, + "messebene": { + "description": "Vgl. PRICAT IMD 7009", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "beschreibung": { + "type": "string", + "description": "Produkt-/Leistungsbeschreibung, wenn IMD+X vorhanden Vgl. PRICAT IMD 7008\n ", + "x-nullable": true + }, + "verarbeitungszeitraum": { + "description": "Verarbeitungszeitraum. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "artikelId": { + "type": "string", + "description": "Die genauen Bedeutungen der einzelnen Artikel-IDs sind in der EDI@Energy Codeliste der Artikelnummern \n und Artikel-IDs zu finden, die in der Spalte \"PRICAT Codeverwendung\" ein X haben\n ", + "x-nullable": true + } + } + } + ] + }, + "Kalkulationsmethode": { + "type": "integer", + "description": "Aulistung der verschiedenen Berechnungsmethoden für ein Preisblatt.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Leistungstyp": { + "type": "integer", + "description": "", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22 + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Tarifzeit": { + "type": "integer", + "description": "Zur Kennzeichnung verschiedener Tarifzeiten, beispielsweise zur Bepreisung oder zur Verbrauchsermittlung.", + "x-enumNames": ["TZ_STANDARD", "TZ_HT", "TZ_NT"], + "enum": [0, 1, 2] + }, + "BDEWArtikelnummer": { + "type": "integer", + "description": "BDEWArtikelnummer", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + ] + }, + "Bemessungsgroesse": { + "type": "integer", + "description": "Zur Abbildung von Messgrössen und zur Verwendung in energiewirtschaftlichen Berechnungen.", + "x-enumNames": [ + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, + "PositionsAufAbschlag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Differenzierung der zu betrachtenden Produkte anhand der preiserhöhenden (Aufschlag) bzw. preisvermindernden\n(Abschlag) Zusatzvereinbarungen, die individuell zu einem neuen oder bestehenden Liefervertrag abgeschlossen werden\nkönnen. Es können mehrere Auf-/Abschläge gleichzeitig ausgewählt werden.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Bezeichnung des Auf-/Abschlags" + }, + "beschreibung": { + "type": "string", + "description": "Beschreibung zum Auf-/Abschlag" + }, + "aufAbschlagstyp": { + "description": "Typ des AufAbschlages. Details AufAbschlagstyp", + "oneOf": [ + { + "$ref": "#/definitions/AufAbschlagstyp" + } + ] + }, + "aufAbschlagswert": { + "type": "number", + "description": "Höhe des Auf-/Abschlages", + "format": "decimal" + }, + "aufAbschlagswaehrung": { + "description": "Einheit, in der der Auf-/Abschlag angegeben ist (z.B. ct/kWh). Details Waehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + } + } + } + ] + }, + "AufAbschlagstyp": { + "type": "integer", + "description": "Festlegung, ob der Auf- oder Abschlag mit relativen oder absoluten Werten erfolgt.", + "x-enumNames": ["RELATIV", "ABSOLUT"], + "enum": [0, 1] + }, + "Preisstaffel": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Gibt die Staffelgrenzen der jeweiligen Preise an.", + "additionalProperties": {}, + "properties": { + "einheitspreis": { + "type": "number", + "description": "Preis pro abgerechneter Mengeneinheit", + "format": "decimal" + }, + "staffelgrenzeVon": { + "type": "number", + "description": "Unterer Wert, ab dem die Staffel gilt.", + "format": "decimal" + }, + "staffelgrenzeBis": { + "type": "number", + "description": "Oberer Wert, bis zu dem die Staffel gilt.", + "format": "decimal" + }, + "sigmoidparameter": { + "description": "Parameter zur Berechnung des Preises anhand der Jahresmenge und weiterer netzbezogener Parameter.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sigmoidparameter" + } + ] + } + } + } + ] + }, + "Sigmoidparameter": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Sigmoidparameter", + "additionalProperties": {}, + "properties": { + "A": { + "type": "number", + "description": "Briefmarke Ortsverteilnetz", + "format": "decimal" + }, + "B": { + "type": "number", + "description": "Wendepunkt für die bepreiste Menge", + "format": "decimal" + }, + "C": { + "type": "number", + "description": "Exponent", + "format": "decimal" + }, + "D": { + "type": "number", + "description": "Briefmarke Transportnetz", + "format": "decimal" + } + } + } + ] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Preisblatt" + }, + { + "type": "object", + "description": "Die Variante des Preisblattmodells zur Abbildung der Preise für wahlfreie Dienstleistungen.\n ", + "additionalProperties": {}, + "properties": { + "dienstleistungsdetails": { + "description": "Hier kann der Preis noch auf bestimmte Dienstleistungsbereiche eingegrenzt werden. Z.B. Sperrung/Entsperrung.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Dienstleistungstyp" + } + ] + }, + "geraetedetails": { + "description": "Hier kann der Preis auf bestimmte Geräte eingegrenzt werden. Z.B. auf die Zählergröße.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "herausgeber": { + "description": "Der Netzbetreiber oder Messstellenbetreiber, der die Preise veröffentlicht hat.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktteilnehmer" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/PreisblattKonzessionsabgabe.json b/open-api-schemas/PreisblattKonzessionsabgabe.json new file mode 100644 index 00000000..f415946e --- /dev/null +++ b/open-api-schemas/PreisblattKonzessionsabgabe.json @@ -0,0 +1,740 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "PreisblattKonzessionsabgabe", + "definitions": { + "KundengruppeKA": { + "type": "integer", + "description": "Eine Aufzählung zur Einordnung für die Höhe der Konzessionsabgabe.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18] + }, + "Preisblatt": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Das allgemeine Modell zur Abbildung von Preisen. Davon abgeleitet können, über die Zuordnung identifizierender\nMerkmale, spezielle Preisblatt-Varianten modelliert werden.\nDie jeweiligen Sätze von Merkmalen sind in der Grafik ergänzt worden und stellen jeweils eine Ausprägung für die\nverschiedenen Anwendungsfälle der Preisblätter dar.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Eine Bezeichnung für das Preisblatt.\n " + }, + "gueltigkeit": { + "description": "Der Zeitraum für den der Preis festgelegt ist. Details siehe Zeitraum\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "preispositionen": { + "type": "array", + "description": "Die einzelnen Positionen, die mit dem Preisblatt abgerechnet werden können. Z.B. Arbeitspreis, Grundpreis etc.\nDetails siehe Preisposition\n ", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + }, + "sparte": { + "description": "Strom oder Gas. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + } + } + } + ] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Preisposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preisposition", + "additionalProperties": {}, + "properties": { + "berechnungsmethode": { + "description": "Das Modell, das der Preisbildung zugrunde liegt. Details Kalkulationsmethode", + "oneOf": [ + { + "$ref": "#/definitions/Kalkulationsmethode" + } + ] + }, + "leistungstyp": { + "description": "Standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Details Leistungstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Leistungstyp" + } + ] + }, + "leistungsbezeichnung": { + "type": "string", + "description": "Bezeichnung für die in der Position abgebildete Leistungserbringung" + }, + "preiseinheit": { + "description": "Festlegung, mit welcher Preiseinheit abgerechnet wird, z.B. Ct. oder €. Details\nWaehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugsgroesse": { + "description": "Hier wird festgelegt, auf welche Bezugsgröße sich der Preis bezieht, z.B. kWh oder Stück. Details\nMengeneinheit\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "zeitbasis": { + "description": "Die Zeit(dauer) auf die sich der Preis bezieht. Z.B. ein Jahr für einen Leistungspreis der in €/kW/Jahr\nausgegeben wird.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "tarifzeit": { + "description": "Festlegung, für welche Tarifzeit der Preis hier festgelegt ist. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifzeit" + } + ] + }, + "bdewArtikelnummer": { + "description": "Eine vom BDEW standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Diese Artikelnummer wird\nauch im Rechnungsteil der INVOIC verwendet. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BDEWArtikelnummer" + } + ] + }, + "zonungsgroesse": { + "description": "Mit der Menge der hier angegebenen Größe wird die Staffelung/Zonung durchgeführt. Z.B. Vollbenutzungsstunden.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bemessungsgroesse" + } + ] + }, + "zu_abschlaege": { + "description": "Zuschläge oder Abschläge auf die Position. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/PositionsAufAbschlag" + } + ] + }, + "preisstaffeln": { + "type": "array", + "description": "Preisstaffeln, die zu dieser Preisposition gehören. Details Preisstaffel", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": "string", + "description": "Preisschlüsselstamm>", + "x-nullable": true + }, + "positionsnummer": { + "type": "integer", + "description": "Fortlaufende Nummer für die Preisposition", + "format": "int32", + "x-nullable": true + }, + "messebene": { + "description": "Vgl. PRICAT IMD 7009", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "beschreibung": { + "type": "string", + "description": "Produkt-/Leistungsbeschreibung, wenn IMD+X vorhanden Vgl. PRICAT IMD 7008\n ", + "x-nullable": true + }, + "verarbeitungszeitraum": { + "description": "Verarbeitungszeitraum. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "artikelId": { + "type": "string", + "description": "Die genauen Bedeutungen der einzelnen Artikel-IDs sind in der EDI@Energy Codeliste der Artikelnummern \n und Artikel-IDs zu finden, die in der Spalte \"PRICAT Codeverwendung\" ein X haben\n ", + "x-nullable": true + } + } + } + ] + }, + "Kalkulationsmethode": { + "type": "integer", + "description": "Aulistung der verschiedenen Berechnungsmethoden für ein Preisblatt.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Leistungstyp": { + "type": "integer", + "description": "", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22 + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Tarifzeit": { + "type": "integer", + "description": "Zur Kennzeichnung verschiedener Tarifzeiten, beispielsweise zur Bepreisung oder zur Verbrauchsermittlung.", + "x-enumNames": ["TZ_STANDARD", "TZ_HT", "TZ_NT"], + "enum": [0, 1, 2] + }, + "BDEWArtikelnummer": { + "type": "integer", + "description": "BDEWArtikelnummer", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + ] + }, + "Bemessungsgroesse": { + "type": "integer", + "description": "Zur Abbildung von Messgrössen und zur Verwendung in energiewirtschaftlichen Berechnungen.", + "x-enumNames": [ + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, + "PositionsAufAbschlag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Differenzierung der zu betrachtenden Produkte anhand der preiserhöhenden (Aufschlag) bzw. preisvermindernden\n(Abschlag) Zusatzvereinbarungen, die individuell zu einem neuen oder bestehenden Liefervertrag abgeschlossen werden\nkönnen. Es können mehrere Auf-/Abschläge gleichzeitig ausgewählt werden.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Bezeichnung des Auf-/Abschlags" + }, + "beschreibung": { + "type": "string", + "description": "Beschreibung zum Auf-/Abschlag" + }, + "aufAbschlagstyp": { + "description": "Typ des AufAbschlages. Details AufAbschlagstyp", + "oneOf": [ + { + "$ref": "#/definitions/AufAbschlagstyp" + } + ] + }, + "aufAbschlagswert": { + "type": "number", + "description": "Höhe des Auf-/Abschlages", + "format": "decimal" + }, + "aufAbschlagswaehrung": { + "description": "Einheit, in der der Auf-/Abschlag angegeben ist (z.B. ct/kWh). Details Waehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + } + } + } + ] + }, + "AufAbschlagstyp": { + "type": "integer", + "description": "Festlegung, ob der Auf- oder Abschlag mit relativen oder absoluten Werten erfolgt.", + "x-enumNames": ["RELATIV", "ABSOLUT"], + "enum": [0, 1] + }, + "Preisstaffel": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Gibt die Staffelgrenzen der jeweiligen Preise an.", + "additionalProperties": {}, + "properties": { + "einheitspreis": { + "type": "number", + "description": "Preis pro abgerechneter Mengeneinheit", + "format": "decimal" + }, + "staffelgrenzeVon": { + "type": "number", + "description": "Unterer Wert, ab dem die Staffel gilt.", + "format": "decimal" + }, + "staffelgrenzeBis": { + "type": "number", + "description": "Oberer Wert, bis zu dem die Staffel gilt.", + "format": "decimal" + }, + "sigmoidparameter": { + "description": "Parameter zur Berechnung des Preises anhand der Jahresmenge und weiterer netzbezogener Parameter.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sigmoidparameter" + } + ] + } + } + } + ] + }, + "Sigmoidparameter": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Sigmoidparameter", + "additionalProperties": {}, + "properties": { + "A": { + "type": "number", + "description": "Briefmarke Ortsverteilnetz", + "format": "decimal" + }, + "B": { + "type": "number", + "description": "Wendepunkt für die bepreiste Menge", + "format": "decimal" + }, + "C": { + "type": "number", + "description": "Exponent", + "format": "decimal" + }, + "D": { + "type": "number", + "description": "Briefmarke Transportnetz", + "format": "decimal" + } + } + } + ] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Preisblatt" + }, + { + "type": "object", + "description": "Die Variante des Preisblattmodells zur Abbildung von allgemeinen Abgaben\n ", + "additionalProperties": {}, + "properties": { + "kundengruppeKA": { + "description": "Kundegruppe anhand derer die Höhe der Konzessionsabgabe festgelegt ist.\n ", + "oneOf": [ + { + "$ref": "#/definitions/KundengruppeKA" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/PreisblattMessung.json b/open-api-schemas/PreisblattMessung.json new file mode 100644 index 00000000..04588451 --- /dev/null +++ b/open-api-schemas/PreisblattMessung.json @@ -0,0 +1,1763 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "PreisblattMessung", + "definitions": { + "Bilanzierungsmethode": { + "type": "integer", + "description": "Mit dieser Aufzählung kann zwischen den Bilanzierungsmethoden bzw. -Grundlagen unterschieden werden.", + "x-enumNames": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Dienstleistungstyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Dienstleistungen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38 + ] + }, + "Geraeteeigenschaften": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden die Eigenschaften eines Gerätes in Bezug auf den Typ und weitere Merkmale\nmodelliert.\n ", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Der Typ eines Gerätes, beispielsweise Drehstromzähler. Details Geraetetyp", + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "geraetemerkmal": { + "description": "Weitere Merkmale des Geräts, zum Beispiel Mehrtarif, Eintarif etc.. Details Geraetemerkmal\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + } + } + } + ] + }, + "Geraetetyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42 + ] + }, + "Geraetemerkmal": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Marktteilnehmer": { + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + }, + "Preisblatt": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Das allgemeine Modell zur Abbildung von Preisen. Davon abgeleitet können, über die Zuordnung identifizierender\nMerkmale, spezielle Preisblatt-Varianten modelliert werden.\nDie jeweiligen Sätze von Merkmalen sind in der Grafik ergänzt worden und stellen jeweils eine Ausprägung für die\nverschiedenen Anwendungsfälle der Preisblätter dar.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Eine Bezeichnung für das Preisblatt.\n " + }, + "gueltigkeit": { + "description": "Der Zeitraum für den der Preis festgelegt ist. Details siehe Zeitraum\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "preispositionen": { + "type": "array", + "description": "Die einzelnen Positionen, die mit dem Preisblatt abgerechnet werden können. Z.B. Arbeitspreis, Grundpreis etc.\nDetails siehe Preisposition\n ", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + }, + "sparte": { + "description": "Strom oder Gas. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + } + } + } + ] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Preisposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preisposition", + "additionalProperties": {}, + "properties": { + "berechnungsmethode": { + "description": "Das Modell, das der Preisbildung zugrunde liegt. Details Kalkulationsmethode", + "oneOf": [ + { + "$ref": "#/definitions/Kalkulationsmethode" + } + ] + }, + "leistungstyp": { + "description": "Standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Details Leistungstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Leistungstyp" + } + ] + }, + "leistungsbezeichnung": { + "type": "string", + "description": "Bezeichnung für die in der Position abgebildete Leistungserbringung" + }, + "preiseinheit": { + "description": "Festlegung, mit welcher Preiseinheit abgerechnet wird, z.B. Ct. oder €. Details\nWaehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugsgroesse": { + "description": "Hier wird festgelegt, auf welche Bezugsgröße sich der Preis bezieht, z.B. kWh oder Stück. Details\nMengeneinheit\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "zeitbasis": { + "description": "Die Zeit(dauer) auf die sich der Preis bezieht. Z.B. ein Jahr für einen Leistungspreis der in €/kW/Jahr\nausgegeben wird.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "tarifzeit": { + "description": "Festlegung, für welche Tarifzeit der Preis hier festgelegt ist. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifzeit" + } + ] + }, + "bdewArtikelnummer": { + "description": "Eine vom BDEW standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Diese Artikelnummer wird\nauch im Rechnungsteil der INVOIC verwendet. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BDEWArtikelnummer" + } + ] + }, + "zonungsgroesse": { + "description": "Mit der Menge der hier angegebenen Größe wird die Staffelung/Zonung durchgeführt. Z.B. Vollbenutzungsstunden.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bemessungsgroesse" + } + ] + }, + "zu_abschlaege": { + "description": "Zuschläge oder Abschläge auf die Position. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/PositionsAufAbschlag" + } + ] + }, + "preisstaffeln": { + "type": "array", + "description": "Preisstaffeln, die zu dieser Preisposition gehören. Details Preisstaffel", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": "string", + "description": "Preisschlüsselstamm>", + "x-nullable": true + }, + "positionsnummer": { + "type": "integer", + "description": "Fortlaufende Nummer für die Preisposition", + "format": "int32", + "x-nullable": true + }, + "messebene": { + "description": "Vgl. PRICAT IMD 7009", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "beschreibung": { + "type": "string", + "description": "Produkt-/Leistungsbeschreibung, wenn IMD+X vorhanden Vgl. PRICAT IMD 7008\n ", + "x-nullable": true + }, + "verarbeitungszeitraum": { + "description": "Verarbeitungszeitraum. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "artikelId": { + "type": "string", + "description": "Die genauen Bedeutungen der einzelnen Artikel-IDs sind in der EDI@Energy Codeliste der Artikelnummern \n und Artikel-IDs zu finden, die in der Spalte \"PRICAT Codeverwendung\" ein X haben\n ", + "x-nullable": true + } + } + } + ] + }, + "Kalkulationsmethode": { + "type": "integer", + "description": "Aulistung der verschiedenen Berechnungsmethoden für ein Preisblatt.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Leistungstyp": { + "type": "integer", + "description": "", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22 + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Tarifzeit": { + "type": "integer", + "description": "Zur Kennzeichnung verschiedener Tarifzeiten, beispielsweise zur Bepreisung oder zur Verbrauchsermittlung.", + "x-enumNames": ["TZ_STANDARD", "TZ_HT", "TZ_NT"], + "enum": [0, 1, 2] + }, + "BDEWArtikelnummer": { + "type": "integer", + "description": "BDEWArtikelnummer", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + ] + }, + "Bemessungsgroesse": { + "type": "integer", + "description": "Zur Abbildung von Messgrössen und zur Verwendung in energiewirtschaftlichen Berechnungen.", + "x-enumNames": [ + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, + "PositionsAufAbschlag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Differenzierung der zu betrachtenden Produkte anhand der preiserhöhenden (Aufschlag) bzw. preisvermindernden\n(Abschlag) Zusatzvereinbarungen, die individuell zu einem neuen oder bestehenden Liefervertrag abgeschlossen werden\nkönnen. Es können mehrere Auf-/Abschläge gleichzeitig ausgewählt werden.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Bezeichnung des Auf-/Abschlags" + }, + "beschreibung": { + "type": "string", + "description": "Beschreibung zum Auf-/Abschlag" + }, + "aufAbschlagstyp": { + "description": "Typ des AufAbschlages. Details AufAbschlagstyp", + "oneOf": [ + { + "$ref": "#/definitions/AufAbschlagstyp" + } + ] + }, + "aufAbschlagswert": { + "type": "number", + "description": "Höhe des Auf-/Abschlages", + "format": "decimal" + }, + "aufAbschlagswaehrung": { + "description": "Einheit, in der der Auf-/Abschlag angegeben ist (z.B. ct/kWh). Details Waehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + } + } + } + ] + }, + "AufAbschlagstyp": { + "type": "integer", + "description": "Festlegung, ob der Auf- oder Abschlag mit relativen oder absoluten Werten erfolgt.", + "x-enumNames": ["RELATIV", "ABSOLUT"], + "enum": [0, 1] + }, + "Preisstaffel": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Gibt die Staffelgrenzen der jeweiligen Preise an.", + "additionalProperties": {}, + "properties": { + "einheitspreis": { + "type": "number", + "description": "Preis pro abgerechneter Mengeneinheit", + "format": "decimal" + }, + "staffelgrenzeVon": { + "type": "number", + "description": "Unterer Wert, ab dem die Staffel gilt.", + "format": "decimal" + }, + "staffelgrenzeBis": { + "type": "number", + "description": "Oberer Wert, bis zu dem die Staffel gilt.", + "format": "decimal" + }, + "sigmoidparameter": { + "description": "Parameter zur Berechnung des Preises anhand der Jahresmenge und weiterer netzbezogener Parameter.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sigmoidparameter" + } + ] + } + } + } + ] + }, + "Sigmoidparameter": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Sigmoidparameter", + "additionalProperties": {}, + "properties": { + "A": { + "type": "number", + "description": "Briefmarke Ortsverteilnetz", + "format": "decimal" + }, + "B": { + "type": "number", + "description": "Wendepunkt für die bepreiste Menge", + "format": "decimal" + }, + "C": { + "type": "number", + "description": "Exponent", + "format": "decimal" + }, + "D": { + "type": "number", + "description": "Briefmarke Transportnetz", + "format": "decimal" + } + } + } + ] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Preisblatt" + }, + { + "type": "object", + "description": "Die Variante des Preisblattmodells zur Abbildung der Preise für den Messstellenbetrieb und damit verbundene\nLeistungen.\n ", + "additionalProperties": {}, + "properties": { + "bilanzierungsmethode": { + "description": "Die Preise gelten für Marktlokationen der angegebenen Bilanzierungsmethode.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "messebene": { + "description": "Die Preise gelten für Messlokationen in der angegebenen Netzebene.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "inklusiveDienstleistung": { + "type": "array", + "description": "Im Preis sind die hier angegebenen Dienstleistungen enthalten. Z.B. Jährliche Ablesung.\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Dienstleistungstyp" + } + }, + "basisgeraet": { + "description": "Der Preis betrifft das hier angegebene Geräte, z.B. einen Drehstromzähler.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "inklusiveGeraete": { + "type": "array", + "description": "Im Preis sind die hier angegebenen Geräte mit enthalten, z.B. ein Wandler.\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geraeteeigenschaften" + } + }, + "herausgeber": { + "description": "Der Netzbetreiber oder Messstellenbetreiber, der die Preise veröffentlicht hat.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktteilnehmer" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/PreisblattNetznutzung.json b/open-api-schemas/PreisblattNetznutzung.json new file mode 100644 index 00000000..11c68320 --- /dev/null +++ b/open-api-schemas/PreisblattNetznutzung.json @@ -0,0 +1,1578 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "PreisblattNetznutzung", + "definitions": { + "Bilanzierungsmethode": { + "type": "integer", + "description": "Mit dieser Aufzählung kann zwischen den Bilanzierungsmethoden bzw. -Grundlagen unterschieden werden.", + "x-enumNames": [ + "RLM", + "SLP", + "TLP_GEMEINSAM", + "TLP_GETRENNT", + "PAUSCHAL", + "IMS" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kundengruppe": { + "type": "integer", + "description": "Kundengruppe für eine Marktlokation (orientiert sich an den Standard-Lastprofilen).", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 + ] + }, + "Marktteilnehmer": { + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + }, + "Preisblatt": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Das allgemeine Modell zur Abbildung von Preisen. Davon abgeleitet können, über die Zuordnung identifizierender\nMerkmale, spezielle Preisblatt-Varianten modelliert werden.\nDie jeweiligen Sätze von Merkmalen sind in der Grafik ergänzt worden und stellen jeweils eine Ausprägung für die\nverschiedenen Anwendungsfälle der Preisblätter dar.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Eine Bezeichnung für das Preisblatt.\n " + }, + "gueltigkeit": { + "description": "Der Zeitraum für den der Preis festgelegt ist. Details siehe Zeitraum\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "preispositionen": { + "type": "array", + "description": "Die einzelnen Positionen, die mit dem Preisblatt abgerechnet werden können. Z.B. Arbeitspreis, Grundpreis etc.\nDetails siehe Preisposition\n ", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + }, + "sparte": { + "description": "Strom oder Gas. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + } + } + } + ] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Preisposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preisposition", + "additionalProperties": {}, + "properties": { + "berechnungsmethode": { + "description": "Das Modell, das der Preisbildung zugrunde liegt. Details Kalkulationsmethode", + "oneOf": [ + { + "$ref": "#/definitions/Kalkulationsmethode" + } + ] + }, + "leistungstyp": { + "description": "Standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Details Leistungstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Leistungstyp" + } + ] + }, + "leistungsbezeichnung": { + "type": "string", + "description": "Bezeichnung für die in der Position abgebildete Leistungserbringung" + }, + "preiseinheit": { + "description": "Festlegung, mit welcher Preiseinheit abgerechnet wird, z.B. Ct. oder €. Details\nWaehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugsgroesse": { + "description": "Hier wird festgelegt, auf welche Bezugsgröße sich der Preis bezieht, z.B. kWh oder Stück. Details\nMengeneinheit\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "zeitbasis": { + "description": "Die Zeit(dauer) auf die sich der Preis bezieht. Z.B. ein Jahr für einen Leistungspreis der in €/kW/Jahr\nausgegeben wird.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "tarifzeit": { + "description": "Festlegung, für welche Tarifzeit der Preis hier festgelegt ist. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifzeit" + } + ] + }, + "bdewArtikelnummer": { + "description": "Eine vom BDEW standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Diese Artikelnummer wird\nauch im Rechnungsteil der INVOIC verwendet. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BDEWArtikelnummer" + } + ] + }, + "zonungsgroesse": { + "description": "Mit der Menge der hier angegebenen Größe wird die Staffelung/Zonung durchgeführt. Z.B. Vollbenutzungsstunden.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bemessungsgroesse" + } + ] + }, + "zu_abschlaege": { + "description": "Zuschläge oder Abschläge auf die Position. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/PositionsAufAbschlag" + } + ] + }, + "preisstaffeln": { + "type": "array", + "description": "Preisstaffeln, die zu dieser Preisposition gehören. Details Preisstaffel", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": "string", + "description": "Preisschlüsselstamm>", + "x-nullable": true + }, + "positionsnummer": { + "type": "integer", + "description": "Fortlaufende Nummer für die Preisposition", + "format": "int32", + "x-nullable": true + }, + "messebene": { + "description": "Vgl. PRICAT IMD 7009", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "beschreibung": { + "type": "string", + "description": "Produkt-/Leistungsbeschreibung, wenn IMD+X vorhanden Vgl. PRICAT IMD 7008\n ", + "x-nullable": true + }, + "verarbeitungszeitraum": { + "description": "Verarbeitungszeitraum. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "artikelId": { + "type": "string", + "description": "Die genauen Bedeutungen der einzelnen Artikel-IDs sind in der EDI@Energy Codeliste der Artikelnummern \n und Artikel-IDs zu finden, die in der Spalte \"PRICAT Codeverwendung\" ein X haben\n ", + "x-nullable": true + } + } + } + ] + }, + "Kalkulationsmethode": { + "type": "integer", + "description": "Aulistung der verschiedenen Berechnungsmethoden für ein Preisblatt.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Leistungstyp": { + "type": "integer", + "description": "", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22 + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Tarifzeit": { + "type": "integer", + "description": "Zur Kennzeichnung verschiedener Tarifzeiten, beispielsweise zur Bepreisung oder zur Verbrauchsermittlung.", + "x-enumNames": ["TZ_STANDARD", "TZ_HT", "TZ_NT"], + "enum": [0, 1, 2] + }, + "BDEWArtikelnummer": { + "type": "integer", + "description": "BDEWArtikelnummer", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + ] + }, + "Bemessungsgroesse": { + "type": "integer", + "description": "Zur Abbildung von Messgrössen und zur Verwendung in energiewirtschaftlichen Berechnungen.", + "x-enumNames": [ + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, + "PositionsAufAbschlag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Differenzierung der zu betrachtenden Produkte anhand der preiserhöhenden (Aufschlag) bzw. preisvermindernden\n(Abschlag) Zusatzvereinbarungen, die individuell zu einem neuen oder bestehenden Liefervertrag abgeschlossen werden\nkönnen. Es können mehrere Auf-/Abschläge gleichzeitig ausgewählt werden.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Bezeichnung des Auf-/Abschlags" + }, + "beschreibung": { + "type": "string", + "description": "Beschreibung zum Auf-/Abschlag" + }, + "aufAbschlagstyp": { + "description": "Typ des AufAbschlages. Details AufAbschlagstyp", + "oneOf": [ + { + "$ref": "#/definitions/AufAbschlagstyp" + } + ] + }, + "aufAbschlagswert": { + "type": "number", + "description": "Höhe des Auf-/Abschlages", + "format": "decimal" + }, + "aufAbschlagswaehrung": { + "description": "Einheit, in der der Auf-/Abschlag angegeben ist (z.B. ct/kWh). Details Waehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + } + } + } + ] + }, + "AufAbschlagstyp": { + "type": "integer", + "description": "Festlegung, ob der Auf- oder Abschlag mit relativen oder absoluten Werten erfolgt.", + "x-enumNames": ["RELATIV", "ABSOLUT"], + "enum": [0, 1] + }, + "Preisstaffel": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Gibt die Staffelgrenzen der jeweiligen Preise an.", + "additionalProperties": {}, + "properties": { + "einheitspreis": { + "type": "number", + "description": "Preis pro abgerechneter Mengeneinheit", + "format": "decimal" + }, + "staffelgrenzeVon": { + "type": "number", + "description": "Unterer Wert, ab dem die Staffel gilt.", + "format": "decimal" + }, + "staffelgrenzeBis": { + "type": "number", + "description": "Oberer Wert, bis zu dem die Staffel gilt.", + "format": "decimal" + }, + "sigmoidparameter": { + "description": "Parameter zur Berechnung des Preises anhand der Jahresmenge und weiterer netzbezogener Parameter.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sigmoidparameter" + } + ] + } + } + } + ] + }, + "Sigmoidparameter": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Sigmoidparameter", + "additionalProperties": {}, + "properties": { + "A": { + "type": "number", + "description": "Briefmarke Ortsverteilnetz", + "format": "decimal" + }, + "B": { + "type": "number", + "description": "Wendepunkt für die bepreiste Menge", + "format": "decimal" + }, + "C": { + "type": "number", + "description": "Exponent", + "format": "decimal" + }, + "D": { + "type": "number", + "description": "Briefmarke Transportnetz", + "format": "decimal" + } + } + } + ] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Preisblatt" + }, + { + "type": "object", + "description": "Die Variante des Preisblattmodells zur Abbildung der Netznutzungspreise.\n ", + "additionalProperties": {}, + "properties": { + "bilanzierungsmethode": { + "description": "Die Preise gelten für Marktlokationen der angegebenen Bilanzierungsmethode.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Bilanzierungsmethode" + } + ] + }, + "netzebene": { + "description": "Die Preise gelten für Marktlokationen in der angegebenen Netzebene.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "kundengruppe": { + "description": "Hier wird die Kundengruppe, für die der Preis gilt mit angegeben.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Kundengruppe" + } + ] + }, + "herausgeber": { + "description": "Der Netzbetreiber oder Messstellenbetreiber, der die Preise veröffentlicht hat.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktteilnehmer" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/PreisblattUmlagen.json b/open-api-schemas/PreisblattUmlagen.json new file mode 100644 index 00000000..2f166628 --- /dev/null +++ b/open-api-schemas/PreisblattUmlagen.json @@ -0,0 +1,704 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "PreisblattUmlagen", + "definitions": { + "Preisblatt": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Das allgemeine Modell zur Abbildung von Preisen. Davon abgeleitet können, über die Zuordnung identifizierender\nMerkmale, spezielle Preisblatt-Varianten modelliert werden.\nDie jeweiligen Sätze von Merkmalen sind in der Grafik ergänzt worden und stellen jeweils eine Ausprägung für die\nverschiedenen Anwendungsfälle der Preisblätter dar.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Eine Bezeichnung für das Preisblatt.\n " + }, + "gueltigkeit": { + "description": "Der Zeitraum für den der Preis festgelegt ist. Details siehe Zeitraum\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "preispositionen": { + "type": "array", + "description": "Die einzelnen Positionen, die mit dem Preisblatt abgerechnet werden können. Z.B. Arbeitspreis, Grundpreis etc.\nDetails siehe Preisposition\n ", + "items": { + "$ref": "#/definitions/Preisposition" + } + }, + "preisstatus": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + }, + "sparte": { + "description": "Strom oder Gas. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + } + } + } + ] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Preisposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preisposition", + "additionalProperties": {}, + "properties": { + "berechnungsmethode": { + "description": "Das Modell, das der Preisbildung zugrunde liegt. Details Kalkulationsmethode", + "oneOf": [ + { + "$ref": "#/definitions/Kalkulationsmethode" + } + ] + }, + "leistungstyp": { + "description": "Standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Details Leistungstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Leistungstyp" + } + ] + }, + "leistungsbezeichnung": { + "type": "string", + "description": "Bezeichnung für die in der Position abgebildete Leistungserbringung" + }, + "preiseinheit": { + "description": "Festlegung, mit welcher Preiseinheit abgerechnet wird, z.B. Ct. oder €. Details\nWaehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugsgroesse": { + "description": "Hier wird festgelegt, auf welche Bezugsgröße sich der Preis bezieht, z.B. kWh oder Stück. Details\nMengeneinheit\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "zeitbasis": { + "description": "Die Zeit(dauer) auf die sich der Preis bezieht. Z.B. ein Jahr für einen Leistungspreis der in €/kW/Jahr\nausgegeben wird.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "tarifzeit": { + "description": "Festlegung, für welche Tarifzeit der Preis hier festgelegt ist. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifzeit" + } + ] + }, + "bdewArtikelnummer": { + "description": "Eine vom BDEW standardisierte Bezeichnung für die abgerechnete Leistungserbringung. Diese Artikelnummer wird\nauch im Rechnungsteil der INVOIC verwendet. \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BDEWArtikelnummer" + } + ] + }, + "zonungsgroesse": { + "description": "Mit der Menge der hier angegebenen Größe wird die Staffelung/Zonung durchgeführt. Z.B. Vollbenutzungsstunden.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Bemessungsgroesse" + } + ] + }, + "zu_abschlaege": { + "description": "Zuschläge oder Abschläge auf die Position. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/PositionsAufAbschlag" + } + ] + }, + "preisstaffeln": { + "type": "array", + "description": "Preisstaffeln, die zu dieser Preisposition gehören. Details Preisstaffel", + "items": { + "$ref": "#/definitions/Preisstaffel" + } + }, + "preisschluesselstamm": { + "type": "string", + "description": "Preisschlüsselstamm>", + "x-nullable": true + }, + "positionsnummer": { + "type": "integer", + "description": "Fortlaufende Nummer für die Preisposition", + "format": "int32", + "x-nullable": true + }, + "messebene": { + "description": "Vgl. PRICAT IMD 7009", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "beschreibung": { + "type": "string", + "description": "Produkt-/Leistungsbeschreibung, wenn IMD+X vorhanden Vgl. PRICAT IMD 7008\n ", + "x-nullable": true + }, + "verarbeitungszeitraum": { + "description": "Verarbeitungszeitraum. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "artikelId": { + "type": "string", + "description": "Die genauen Bedeutungen der einzelnen Artikel-IDs sind in der EDI@Energy Codeliste der Artikelnummern \n und Artikel-IDs zu finden, die in der Spalte \"PRICAT Codeverwendung\" ein X haben\n ", + "x-nullable": true + } + } + } + ] + }, + "Kalkulationsmethode": { + "type": "integer", + "description": "Aulistung der verschiedenen Berechnungsmethoden für ein Preisblatt.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Leistungstyp": { + "type": "integer", + "description": "", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22 + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Tarifzeit": { + "type": "integer", + "description": "Zur Kennzeichnung verschiedener Tarifzeiten, beispielsweise zur Bepreisung oder zur Verbrauchsermittlung.", + "x-enumNames": ["TZ_STANDARD", "TZ_HT", "TZ_NT"], + "enum": [0, 1, 2] + }, + "BDEWArtikelnummer": { + "type": "integer", + "description": "BDEWArtikelnummer", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + ] + }, + "Bemessungsgroesse": { + "type": "integer", + "description": "Zur Abbildung von Messgrössen und zur Verwendung in energiewirtschaftlichen Berechnungen.", + "x-enumNames": [ + "WIRKARBEIT_EL", + "LEISTUNG_EL", + "BLINDARBEIT_KAP", + "BLINDARBEIT_IND", + "BLINDLEISTUNG_KAP", + "BLINDLEISTUNG_IND", + "WIRKARBEIT_TH", + "LEISTUNG_TH", + "VOLUMEN", + "VOLUMENSTROM", + "BENUTZUNGSDAUER", + "ANZAHL" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, + "PositionsAufAbschlag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Differenzierung der zu betrachtenden Produkte anhand der preiserhöhenden (Aufschlag) bzw. preisvermindernden\n(Abschlag) Zusatzvereinbarungen, die individuell zu einem neuen oder bestehenden Liefervertrag abgeschlossen werden\nkönnen. Es können mehrere Auf-/Abschläge gleichzeitig ausgewählt werden.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Bezeichnung des Auf-/Abschlags" + }, + "beschreibung": { + "type": "string", + "description": "Beschreibung zum Auf-/Abschlag" + }, + "aufAbschlagstyp": { + "description": "Typ des AufAbschlages. Details AufAbschlagstyp", + "oneOf": [ + { + "$ref": "#/definitions/AufAbschlagstyp" + } + ] + }, + "aufAbschlagswert": { + "type": "number", + "description": "Höhe des Auf-/Abschlages", + "format": "decimal" + }, + "aufAbschlagswaehrung": { + "description": "Einheit, in der der Auf-/Abschlag angegeben ist (z.B. ct/kWh). Details Waehrungseinheit\n ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + } + } + } + ] + }, + "AufAbschlagstyp": { + "type": "integer", + "description": "Festlegung, ob der Auf- oder Abschlag mit relativen oder absoluten Werten erfolgt.", + "x-enumNames": ["RELATIV", "ABSOLUT"], + "enum": [0, 1] + }, + "Preisstaffel": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Gibt die Staffelgrenzen der jeweiligen Preise an.", + "additionalProperties": {}, + "properties": { + "einheitspreis": { + "type": "number", + "description": "Preis pro abgerechneter Mengeneinheit", + "format": "decimal" + }, + "staffelgrenzeVon": { + "type": "number", + "description": "Unterer Wert, ab dem die Staffel gilt.", + "format": "decimal" + }, + "staffelgrenzeBis": { + "type": "number", + "description": "Oberer Wert, bis zu dem die Staffel gilt.", + "format": "decimal" + }, + "sigmoidparameter": { + "description": "Parameter zur Berechnung des Preises anhand der Jahresmenge und weiterer netzbezogener Parameter.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sigmoidparameter" + } + ] + } + } + } + ] + }, + "Sigmoidparameter": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Sigmoidparameter", + "additionalProperties": {}, + "properties": { + "A": { + "type": "number", + "description": "Briefmarke Ortsverteilnetz", + "format": "decimal" + }, + "B": { + "type": "number", + "description": "Wendepunkt für die bepreiste Menge", + "format": "decimal" + }, + "C": { + "type": "number", + "description": "Exponent", + "format": "decimal" + }, + "D": { + "type": "number", + "description": "Briefmarke Transportnetz", + "format": "decimal" + } + } + } + ] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Preisblatt" + }, + { + "type": "object", + "description": "Die Variante des Preisblattmodells zur Abbildung von allgemeinen Abgaben.\n ", + "additionalProperties": {} + } + ] +} diff --git a/open-api-schemas/Rechnung.json b/open-api-schemas/Rechnung.json new file mode 100644 index 00000000..2ccea8ee --- /dev/null +++ b/open-api-schemas/Rechnung.json @@ -0,0 +1,1607 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Rechnung", + "definitions": { + "Rechnungsstatus": { + "type": "integer", + "description": "Abbildung verschiedener Zustände, die im Rahmen der Rechnungsbearbeitung durchlaufen werden.", + "x-enumNames": [ + "GEPRUEFT_OK", + "GEPRUEFT_FEHLERHAFT", + "GEBUCHT", + "BEZAHLT" + ], + "enum": [0, 1, 2, 3] + }, + "Rechnungstyp": { + "type": "integer", + "description": "", + "x-enumNames": [ + "ABSCHLAGSRECHNUNG", + "TURNUSRECHNUNG", + "MONATSRECHNUNG", + "WIMRECHNUNG", + "ZWISCHENRECHNUNG", + "INTEGRIERTE_13TE_RECHNUNG", + "ZUSAETZLICHE_13TE_RECHNUNG", + "MEHRMINDERMENGENRECHNUNG", + "ABSCHLUSSRECHNUNG", + "MSBRECHNUNG", + "KAPAZITAETSRECHNUNG", + "SPERRUNG_INBETRIEBNAHME", + "VERZUGSKOSTEN", + "BLINDARBEIT", + "SONDERRECHNUNG", + "ABRECHNUNG_VON_KONFIGURATIONEN_UNIVERSALBESTELLPROZESS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Betrag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Die Komponente wird dazu verwendet Summebeträge - beispielsweise in Angeboten und Rechnungen - als Geldbeträge\nabzubilden. Die Einheit ist dabei immer die Hauptwährung also Euro, Dollar etc..\n ", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den Betrag des Preises an.", + "format": "decimal" + }, + "waehrung": { + "description": " ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungscode" + } + ] + } + } + } + ] + }, + "Waehrungscode": { + "type": "integer", + "description": "Aufzählung der Währungscodes.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180 + ] + }, + "Steuerbetrag": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung eines Steuerbetrages.", + "additionalProperties": {}, + "properties": { + "steuerkennzeichen": { + "description": "Kennzeichnung des Steuersatzes, bzw. Verfahrens. Details Steuerkennzeichen", + "oneOf": [ + { + "$ref": "#/definitions/Steuerkennzeichen" + } + ] + }, + "sondersteuersatz": { + "type": "number", + "description": "Wert eines besonderen Steuersatzes, wenn Steuerkennzeichen\nden Wert UST_SONDER hat", + "format": "decimal", + "x-nullable": true + }, + "basiswert": { + "type": "number", + "description": "Nettobetrag für den die Steuer berechnet wurde. Z.B. 200", + "format": "decimal" + }, + "steuerwert": { + "type": "number", + "description": "Aus dem Basiswert berechnete Steuer. Z.B. 38 (bei UST_19), falls Basiswert 200 ist.", + "format": "decimal" + }, + "waehrung": { + "description": "Währung. Z.B. Euro. ", + "oneOf": [ + { + "$ref": "#/definitions/Waehrungscode" + } + ] + }, + "basiswertVorausgezahlt": { + "type": "number", + "description": "Nettobetrag (vorausgezahlt) für den die Steuer berechnet wurde. Z.B. 200", + "format": "decimal", + "x-nullable": true + }, + "steuerwertVorausgezahlt": { + "type": "number", + "description": "Aus dem Basiswert (vorausgezahlt) berechnete Steuer. Z.B. 38 (bei UST_19), wenn BasiswertVorausgezahlt 200 ist", + "format": "decimal", + "x-nullable": true + } + } + } + ] + }, + "Steuerkennzeichen": { + "type": "integer", + "description": "", + "x-enumNames": [ + "UST_SONDER", + "UST_19", + "UST_16", + "UST_7", + "VST_0", + "VST_19", + "VST_16", + "VST_7", + "RCV" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Rechnungsposition": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Rechnungsposition. Über Rechnungspositionen werden Rechnungen strukturiert. In einem\nRechnungsteil wird jeweils eine in sich geschlossene Leistung abgerechnet.\n ", + "additionalProperties": {}, + "properties": { + "positionsnummer": { + "type": "integer", + "description": "Fortlaufende Nummer für die Rechnungsposition.", + "format": "int32" + }, + "lieferungVon": { + "type": "string", + "description": "Start der Lieferung für die abgerechnete Leistung.", + "format": "date-time", + "x-nullable": true + }, + "lieferungBis": { + "type": "string", + "description": "Ende der Lieferung für die abgerechnete Leistung.", + "format": "date-time", + "x-nullable": true + }, + "positionstext": { + "type": "string", + "description": "Bezeichnung für die abgerechnete Position." + }, + "zeiteinheit": { + "description": "Falls sich der Preis auf eine Zeit bezieht, steht hier die Einheit, z.B. JAHR. Details\nMengeneinheit\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "artikelnummer": { + "description": "Kennzeichnung der Rechnungsposition mit der Standard-Artikelnummer des BDEW. Details\nBDEWArtikelnummer\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BDEWArtikelnummer" + } + ] + }, + "lokationsId": { + "type": "string", + "description": "Marktlokation, die zu dieser Position gehört.", + "x-nullable": true + }, + "positionsMenge": { + "description": "Die abgerechnete Menge mit Einheit. Z.B. 4372 kWh. Details Menge", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "zeitbezogeneMenge": { + "description": "Eine auf die Zeiteinheit bezogene Untermenge. Z.B. bei einem Jahrespreis, 3 Monate oder 146 Tage. Basierend\ndarauf wird der Preis aufgeteilt. Details Menge\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "korrekturfaktor": { + "type": "number", + "description": "Gibt ggf. einen Korrekturfaktor für die Menge an.", + "format": "decimal", + "x-nullable": true + }, + "einzelpreis": { + "description": "Der Preis für eine Einheit der energetischen Menge. Details Preis", + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + }, + "teilsummeNetto": { + "description": "Das Ergebnis der Multiplikation aus einzelpreis * positionsMenge * (Faktor aus zeitbezogeneMenge). Z.B. 12,60€\n* 120 kW * 3/12 (für 3 Monate). Details Betrag\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "teilrabattNetto": { + "description": "Nettobetrag für den Rabatt dieser Position. Details Betrag", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "teilsummeSteuer": { + "description": "Auf die Position entfallende Steuer, bestehend aus Steuersatz und Betrag. Details Steuerbetrag\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Steuerbetrag" + } + ] + }, + "vertragskontoId": { + "type": "string", + "description": "Möglichkeit die Rechnungsposition einem Vertragskonto zuzuordnen, um die Rechnungsposition mittels SAP Convergent\nInvoicing zu verarbeiten.\n(Ergänzung von Hochfrequenz Unternehmensberatung GmbH)\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use vertragsId instead of vertragskontoId", + "x-nullable": true + }, + "vertragsId": { + "type": "string", + "description": "Möglichkeit die Rechnungsposition einem Vertragskonto zuzuordnen, um die Rechnungsposition mittels SAP Convergent\nInvoicing zu verarbeiten.\n(Ergänzung von Hochfrequenz Unternehmensberatung GmbH)\n ", + "x-nullable": true + }, + "status": { + "description": "status einer Rechnungsposition in SAP Convergent Invoicing\n(Ergänzung von Hochfrequenz Unternehmensberatung GmbH)\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/RechnungspositionsStatus" + } + ] + }, + "artikelId": { + "type": "string", + "description": "Artikel-ID (ab 1.10.2022)\n ", + "x-nullable": true + }, + "ausfuehrungsdatum": { + "type": "string", + "description": "Das Datum an dem die Leistung erbracht wurde.", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "BDEWArtikelnummer": { + "type": "integer", + "description": "BDEWArtikelnummer", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51 + ] + }, + "Menge": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Menge mit Wert und Einheit.", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + } + } + } + ] + }, + "Preis": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preis", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt die nomiale Höhe des Preises an.", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Währungseinheit für den Preis, z.B. Euro oder Ct. Details Waehrungseinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugswert": { + "description": "Angabe, für welche Bezugsgröße der Preis gilt. Z.B. kWh. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "status": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + } + } + } + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "RechnungspositionsStatus": { + "type": "integer", + "description": "Status einer Rechnungsposition (konkret SAP Convergent Invoicing).", + "x-enumNames": [ + "ROH", + "ROH_AUSGENOMMEN", + "ABRECHENBAR", + "ABRECHENBAR_AUSGENOMMEN", + "ABGERECHNET" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Vorauszahlung": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Die Komponente wird dazu verwendet Vorauszahlungen einer Rechnung abzubilden (inkl. Referenz auf die bezahlte Rechnung)\n ", + "additionalProperties": {}, + "properties": { + "betrag": { + "description": "Gibt den Betrag des Preises an.", + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "referenz": { + "type": "string", + "description": "Referenz auf die Rechnungsnummer, die durch diesen Betrag bezahlt wurde\n ", + "x-nullable": true + }, + "referenzDatum": { + "type": "string", + "description": "Referenz auf das Datum der Rechnung, die durch diesen Betrag bezahlt wurde\n ", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Sonderrechnungsart": { + "type": "integer", + "description": "", + "x-enumNames": [ + "KONZESSIONSABGABE_TESTAT", + "INDIVIDUELL_ATYPISCH", + "INDIVIDUELL_SINGULAER", + "KWKG_UMLAGE", + "OFFSHORE_UMLAGE", + "P19_STROM_NEV_UMLAGE", + "P18_ABLAV", + "KONZESSIONSABGABE_WECHSEL_RLM", + "PRIVILEGIERUNG_NACH_ENFG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modell für die Abbildung von Rechnungen im Kontext der Energiewirtschaft. Ausgehend von diesem Basismodell werden\nweitere spezifische Formen abgeleitet.\nhttps://www.bo4e.de/dokumentation/geschaeftsobjekte/bo-rechnung\n ", + "additionalProperties": {}, + "properties": { + "rechnungstitel": { + "type": "string", + "description": "Bezeichnung für die vorliegende Rechnung.\n ", + "x-nullable": true + }, + "rechnungsstatus": { + "description": "Status der Rechnung zur Kennzeichnung des Bearbeitungsstandes. Details siehe ENUM Rechnungsstatus\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Rechnungsstatus" + } + ] + }, + "storno": { + "type": "boolean", + "description": "Kennzeichnung, ob es sich um eine Stornorechnung handelt. Im Falle \"true\" findet sich im Attribut\n\"originalrechnungsnummer\" die Nummer der Originalrechnung.\n " + }, + "rechnungsnummer": { + "type": "string", + "description": "Eine im Verwendungskontext eindeutige Nummer für die Rechnung.\n " + }, + "rechnungsdatum": { + "type": "string", + "description": "Ausstellungsdatum der Rechnung.\n ", + "format": "date-time" + }, + "faelligkeitsdatum": { + "type": "string", + "description": "Zu diesem Datum ist die Zahlung fällig.\n ", + "format": "date-time" + }, + "rechnungstyp": { + "description": "Ein kontextbezogender Rechnungstyp, z.B. Netznutzungsrechnung. Details siehe ENUM Rechnungstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rechnungstyp" + } + ] + }, + "originalRechnungsnummer": { + "type": "string", + "description": "Im Falle einer Stornorechnung (storno = true) steht hier die Rechnungsnummer der stornierten Rechnung.\n ", + "x-nullable": true + }, + "rechnungsperiode": { + "description": "Der Zeitraum der zugrunde liegenden Lieferung zur Rechnung. In der COM Zeitraum können diese angegeben werden.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "rechnungsersteller": { + "description": "Der Aussteller der Rechnung. Details Geschaeftspartner\n ", + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "rechnungsempfaenger": { + "description": "Der Empfänger der Rechnung. Details Geschaeftspartner\n ", + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "gesamtnetto": { + "description": "Die Summe der Nettobeträge der Rechnungsteile. Details Betrag\n ", + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "gesamtsteuer": { + "description": "Die Summe der Steuerbeträge der Rechnungsteile. Details Betrag\n ", + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "gesamtbrutto": { + "description": "Die Summe aus Netto- und Steuerbetrag. Details Betrag\n ", + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "vorausgezahlt": { + "description": "Die Summe evtl. vorausgezahlter Beträge, z.B. Abschläge. Angabe als Bruttowert. Details Betrag\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "rabattBrutto": { + "description": "Gesamtrabatt auf den Bruttobetrag. Details Betrag\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "zuzahlen": { + "description": "Der zu zahlende Betrag, der sich aus (Gesamtbrutto - Vorausgezahlt -\nRabattBrutto) ergibt. Details Betrag\n///\n ", + "oneOf": [ + { + "$ref": "#/definitions/Betrag" + } + ] + }, + "steuerbetraege": { + "type": "array", + "description": "Eine Liste mit Steuerbeträgen pro Steuerkennzeichen/Steuersatz. Die Summe dieser Beträge ergibt den Wert für\ngesamtsteuer. Details Steuerbetrag\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Steuerbetrag" + } + }, + "rechnungspositionen": { + "type": "array", + "description": "Die Rechnungspositionen. Details siehe Rechnungsposition\n ", + "items": { + "$ref": "#/definitions/Rechnungsposition" + } + }, + "istSelbstausgestellt": { + "type": "boolean", + "description": "Kennzeichen, ob es sich um eine selbstausgestellte Rechnung handelt\n ", + "x-nullable": true + }, + "istReverseCharge": { + "type": "boolean", + "description": "Kennzeichen, ob bei der Rechnung das Reverse Charge verfahren angewendet wird\n ", + "x-nullable": true + }, + "vorauszahlungen": { + "type": "array", + "description": "evtl. vorausgezahlte Beträge, z.B. Abschläge. Angabe als Bruttowert. Details Betrag\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Vorauszahlung" + } + }, + "sonderrechnungsart": { + "description": "Sonderrechnungsart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sonderrechnungsart" + } + ] + }, + "buchungsdatum": { + "type": "string", + "description": "Zu diesem Datum ist die Zahlung fällig.\n ", + "format": "date-time", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Region.json b/open-api-schemas/Region.json new file mode 100644 index 00000000..2338db26 --- /dev/null +++ b/open-api-schemas/Region.json @@ -0,0 +1,239 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Region", + "definitions": { + "Regionskriterium": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Komponente zur Abbildung eines Regionskriteriums.\n ", + "additionalProperties": {}, + "properties": { + "gueltigkeitstyp": { + "description": "Hier wird festgelegt, ob es sich um ein einschließendes oder ausschließendes Kriterium handelt.Details siehe\nGueltigkeitstyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Gueltigkeitstyp" + } + ] + }, + "sparte": { + "description": "Das Kriterium gilt in der angegebenen Sparte.Details siehe Sparte\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "mengenoperator": { + "description": "Unterscheidung, wie der Wert angewendet werden soll, z.B.kleiner, größer, gleich.Details siehe\nMengenoperator\n ", + "oneOf": [ + { + "$ref": "#/definitions/Mengenoperator" + } + ] + }, + "regionskriteriumtyp": { + "description": "Hier wird das Kriterium selbst angegeben, z.B.Bundesland. Details siehe Regionskriteriumtyp\n ", + "oneOf": [ + { + "$ref": "#/definitions/Regionskriteriumtyp" + } + ] + }, + "wert": { + "type": "string", + "description": "Der Wert, den das Kriterium annehmen kann, z.B.NRW.Im Falle des Regionskriteriumstyp BUNDESWEIT spielt dieser Wert\nkeine Rolle.\n " + } + } + } + ] + }, + "Gueltigkeitstyp": { + "type": "integer", + "description": "Übersicht der verschiedenen Gültigkeiten zur Umsetzung von Positiv- bzw. Negativlisten.", + "x-enumNames": ["NICHT_IN"], + "enum": [0] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Mengenoperator": { + "type": "integer", + "description": "Angabe, wie eine Menge in Bezug auf einen Wert zu bilden ist.\n ", + "x-enumNames": ["KLEINER_ALS", "GROESSER_ALS", "GLEICH"], + "enum": [0, 1, 2] + }, + "Regionskriteriumtyp": { + "type": "integer", + "description": "Klassifizierung der Kriterien für eine regionale Eingrenzung.\n ", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung einer Region als Menge von Kriterien, die eine Region beschreiben.\n ", + "additionalProperties": {}, + "properties": { + "bezeichnung": { + "type": "string", + "description": "Bezeichnung der Region.\n " + }, + "positivListe": { + "type": "array", + "description": "Positivliste der Kriterien zur Definition der Region.\n ", + "items": { + "$ref": "#/definitions/Regionskriterium" + } + }, + "negativListe": { + "type": "array", + "description": "Negativliste der Kriterien zur Definition der Region.\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Regionskriterium" + } + } + } + } + ] +} diff --git a/open-api-schemas/Reklamation.json b/open-api-schemas/Reklamation.json new file mode 100644 index 00000000..5a65dc78 --- /dev/null +++ b/open-api-schemas/Reklamation.json @@ -0,0 +1,236 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Reklamation", + "definitions": { + "Lokationstyp": { + "type": "integer", + "description": "Gibt an, ob es sich um eine Markt- oder Messlokation handelt.", + "x-enumNames": ["MALO", "MELO"], + "enum": [0, 1] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Reklamationsgrund": { + "type": "integer", + "description": "Reklamationsgrund", + "x-enumNames": ["WERTE_ZU_HOCH", "WERTE_ZU_NIEDRIG", "WERTE_FEHLEN"], + "enum": [0, 1, 2] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Reklamations BO", + "additionalProperties": {}, + "properties": { + "lokationsId": { + "type": "string", + "description": "Für welche Markt- oder Messlokation gilt diese Reklamation." + }, + "lokationsTyp": { + "description": "Gibt an, ob es sich um eine Markt- oder Messlokation handelt.", + "oneOf": [ + { + "$ref": "#/definitions/Lokationstyp" + } + ] + }, + "obiskennzahl": { + "type": "string", + "description": "OBIS-Kennzahl", + "x-example": "1-0:1.8.1\n " + }, + "ZeitraumMesswertanfrage": { + "description": "Sollablesetermin / Zeitangabe für Messwertanfrage. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "reklamationsgrund": { + "description": "Hier wird für die Reklamation von Werten der Reklamationsgrund angegeben.", + "oneOf": [ + { + "$ref": "#/definitions/Reklamationsgrund" + } + ] + }, + "reklamationsgrundBemerkung": { + "type": "string", + "description": "Freitext für eine weitere Beschreibung des Reklamationsgrunds", + "x-nullable": true + }, + "zeitpunktFuerWertanfrage": { + "type": "string", + "description": "Zeitpunkt für Wertanfrage", + "format": "date-time", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Sperrauftrag.json b/open-api-schemas/Sperrauftrag.json new file mode 100644 index 00000000..a184e4a8 --- /dev/null +++ b/open-api-schemas/Sperrauftrag.json @@ -0,0 +1,732 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Sperrauftrag", + "definitions": { + "Sperrauftragsart": { + "type": "integer", + "description": "Die Sperrauftragsart beschreibt die Art eines Sperrauftrags.", + "x-enumNames": ["SPERREN", "ENTSPERREN"], + "enum": [0, 1] + }, + "Auftragsstatus": { + "type": "integer", + "description": "Auftragststatus (Planungsstatus in IFTSTA STS 4405 (21029) and Sperrauftragsstatus in IFTSTA STS 4405 (21039/21040))\nDer Sperrauftragsstatus beschreibt den Status eines Sperrauftrags", + "x-enumNames": [ + "GESCHEITERT", + "ERFOLGREICH", + "GEPLANT", + "ZUGESTIMMT", + "WIDERSPROCHEN", + "ABGELEHNT" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Sperrauftragsablehngrund": { + "type": "integer", + "description": "Gründe aus denen ein Sperrauftrag abgelehnt werden kann.", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + }, + "Sperrauftragsverhinderungsgrund": { + "type": "integer", + "description": "Gründe aus denen ein Sperrauftrag nicht durchgeführt wird/wurde.", + "x-enumNames": [ + "RECHTLICHER_GRUND_FEHLT", + "AKTIVE_ZUTRITTSVERWEIGERUNG", + "PASSIVE_ZUTRITTSVERWEIGERUNG", + "ANDERER_VERHINDERUNGSGRUND", + "TATSAECHLICHER_VERHINDERUNGSGRUND", + "TECHNISCHER_VERHINDERUNGSGRUND", + "ANSCHLUSSNUTZER_WURDE_NICHT_ANGETROFFEN" + ], + "enum": [0, 1, 2, 3, 4, 5, 6] + }, + "Auftrag": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Ein Auftrag beschreibt einen Vorgang, der von einem anderen Marktpartner auszuführen ist. ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "ausfuehrungsdatum": { + "type": "string", + "description": "Das Ausführungsdatum beschreibt zu welchem Zeitpunkt ein Auftrag ausgeführt werden soll.", + "format": "date-time", + "x-nullable": true + }, + "fertigstellungsdatum": { + "type": "string", + "description": "Das Fertigstellungsdatum beschreibt zu welchem Zeitpunkt ein Auftrag ausgeführt wurde/wird.", + "format": "date-time", + "x-nullable": true + }, + "sparte": { + "description": "Die Sparte in der der Auftrag relevant ist", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "lieferanschrift": { + "description": "Die Adresse, die sich in Belieferung befindet.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "marktlokationsId": { + "type": "string", + "description": "Die ID der Marktlokation der der zu sperrende Zähler zugeordnet ist." + }, + "bemerkungen": { + "type": "array", + "description": "Ein zusätzlicher Freitext", + "x-nullable": true, + "items": { + "type": "string" + } + }, + "mindestpreis": { + "description": "Der Mindestpreis eines Auftrags (z.B. für eine Sperrung)", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + }, + "hoechstpreis": { + "description": "Der Höchstpreis eines Auftrags (z.B. für eine Sperrung)", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preis" + } + ] + } + } + } + ] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Preis": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Preis", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt die nomiale Höhe des Preises an.", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Währungseinheit für den Preis, z.B. Euro oder Ct. Details Waehrungseinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waehrungseinheit" + } + ] + }, + "bezugswert": { + "description": "Angabe, für welche Bezugsgröße der Preis gilt. Z.B. kWh. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "status": { + "description": "Gibt den Status des veröffentlichten Preises an\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Preisstatus" + } + ] + } + } + } + ] + }, + "Waehrungseinheit": { + "type": "integer", + "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in\nPreisen.\n ", + "x-enumNames": ["EUR", "CT"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Preisstatus": { + "type": "integer", + "description": "Statusinformation für Preise", + "x-enumNames": ["VORLAEUFIG", "ENDGUELTIG"], + "enum": [0, 1] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/Auftrag" + }, + { + "type": "object", + "description": "Ein Sperrauftrag ist das BO, das die Aufforderung des Lieferanten an den Netzbetreiber bzw. Netzstellenbetreiber beschreibt einen Zähler zu sperren.", + "additionalProperties": {}, + "properties": { + "sperrauftragsart": { + "description": "Handelt es sich um einen Auftrag zum SPERREN oder ENTSPERREN?", + "oneOf": [ + { + "$ref": "#/definitions/Sperrauftragsart" + } + ] + }, + "sperrauftragsstatus": { + "description": "Auftragsstatus", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Auftragsstatus" + } + ] + }, + "sperrauftragsablehngrund": { + "description": "Falls Sperrauftragsstatus = ABGELEHNT", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sperrauftragsablehngrund" + } + ] + }, + "sperrauftragsverhinderungsgrund": { + "description": "Falls Sperrauftragsstatus = GESCHEITERT", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Sperrauftragsverhinderungsgrund" + } + ] + }, + "zaehlernummer": { + "type": "string", + "description": "Die Nummer des zu sperrenden Zählers", + "x-nullable": true + }, + "istVomGerichtsvollzieherAngeordnet": { + "type": "boolean", + "description": "True, falls die Sperrung vom Gerichtsvollzieher angeordnet ist." + } + } + } + ] +} diff --git a/open-api-schemas/SperrauftragsStorno.json b/open-api-schemas/SperrauftragsStorno.json new file mode 100644 index 00000000..473e595a --- /dev/null +++ b/open-api-schemas/SperrauftragsStorno.json @@ -0,0 +1,146 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "SperrauftragsStorno", + "definitions": { + "Sperrauftragsart": { + "type": "integer", + "description": "Die Sperrauftragsart beschreibt die Art eines Sperrauftrags.", + "x-enumNames": ["SPERREN", "ENTSPERREN"], + "enum": [0, 1] + }, + "AuftragsStorno": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "DEPRECATED Ein AuftragsStorno beschreibt die Stornierung eines Auftrags. ", + "x-deprecated": true, + "x-deprecatedMessage": "This is not used in the implementation of the blocking process - we use the enum Auftragsstornogrund instead", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "auftragsId": { + "type": "string", + "description": "Eindeutige Kennung des zu stornierenden Auftrags" + } + } + } + ] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/AuftragsStorno" + }, + { + "type": "object", + "description": "Das Storno eines Sperrauftrags oder Entsperrauftrag", + "x-deprecated": true, + "x-deprecatedMessage": "This is not used in the implementation of the blocking process - we use the enum Auftragsstornogrund instead", + "additionalProperties": {}, + "properties": { + "originalSperrauftragsart": { + "description": "Handelt es sich beim zu stornierenden Auftrag um einen Auftrag zum SPERREN oder ENTSPERREN?", + "oneOf": [ + { + "$ref": "#/definitions/Sperrauftragsart" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/Statusbericht.json b/open-api-schemas/Statusbericht.json new file mode 100644 index 00000000..c7836182 --- /dev/null +++ b/open-api-schemas/Statusbericht.json @@ -0,0 +1,306 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Statusbericht", + "definitions": { + "BerichtStatus": { + "type": "integer", + "description": "Status des Statusbericht", + "x-enumNames": ["ERFOLGREICH", "FEHLER"], + "enum": [0, 1] + }, + "Fehler": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Die Komponente wird dazu verwendet Fehler innerhalb eines Statusberichts abzubilden\n ", + "additionalProperties": {}, + "properties": { + "typ": { + "description": "Gibt den Typ des Fehlers an.", + "oneOf": [ + { + "$ref": "#/definitions/FehlerTyp" + } + ] + }, + "fehlerDetails": { + "type": "array", + "description": "Fehlerdetails\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/FehlerDetail" + } + } + } + } + ] + }, + "FehlerTyp": { + "type": "integer", + "description": "Typen von Fehlern", + "x-enumNames": ["SYNTAX", "VERARBEITUNG"], + "enum": [0, 1] + }, + "FehlerDetail": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Die Komponente wird dazu verwendet Fehler innerhalb eines Statusberichtes mit mehr Details zu versorgen\n ", + "additionalProperties": {}, + "properties": { + "code": { + "description": "Gibt den Code des Fehlers an.", + "oneOf": [ + { + "$ref": "#/definitions/FehlerCode" + } + ] + }, + "beschreibung": { + "type": "string", + "description": "Eine Beschreibung des Fehlers.", + "x-nullable": true + }, + "ursache": { + "description": "Herkunft / Ursache des Fehlers\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/FehlerUrsache" + } + ] + } + } + } + ] + }, + "FehlerCode": { + "type": "integer", + "description": "verschiedene Fehler-Codes, vor allem für Statusberichte", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 + ] + }, + "FehlerUrsache": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Die Komponente wird dazu verwendet die Ursache bzw. Herkunft von Fehlern genauer zu spezifizieren\n ", + "additionalProperties": {}, + "properties": { + "dokument": { + "type": "string", + "description": "Das Dokument (im EDIFACT das UNB-Segment).", + "x-nullable": true + }, + "nachricht": { + "type": "string", + "description": "Die Nachricht (im EDIFACT das UNH-Segment).", + "x-nullable": true + }, + "transaktion": { + "type": "string", + "description": "Die Transaktion (im EDIFACT das BGM/IDE-Segment).", + "x-nullable": true + }, + "gruppe": { + "type": "string", + "description": "Die Gruppe (im EDIFACT Segment-Gruppe).", + "x-nullable": true + }, + "segment": { + "type": "string", + "description": "Das Segment (im EDIFACT Segment).", + "x-nullable": true + }, + "beschreibung": { + "type": "string", + "description": "Zusätzliche Fehlerbeschreibung.", + "x-nullable": true + } + } + } + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem BO können Statusberichte (vor allem CONTRL/APERAK-Nachrichten) ausgetauscht werden\n ", + "additionalProperties": {}, + "properties": { + "status": { + "description": "Status des Berichtes (Fehlerhaft, Erfolgreich)\n ", + "oneOf": [ + { + "$ref": "#/definitions/BerichtStatus" + } + ] + }, + "pruefgegenstand": { + "type": "string", + "description": "Das geprüfte Dokument, z.B. die Referenz auf die EDIFACT-Nachricht die geprüft / beanstandet wurde\n ", + "x-nullable": true + }, + "datumPruefung": { + "type": "string", + "description": "Pruefdatum (wann wurde der Pruefgegenstand geprüft)\n ", + "format": "date-time", + "x-example": "2017-12-24\n " + }, + "fehler": { + "description": "Liste der Fehler\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Fehler" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/SteuerbareRessource.json b/open-api-schemas/SteuerbareRessource.json new file mode 100644 index 00000000..75919a27 --- /dev/null +++ b/open-api-schemas/SteuerbareRessource.json @@ -0,0 +1,981 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "SteuerbareRessource", + "definitions": { + "SteuerkanalsLeistungsbeschreibung": { + "type": "integer", + "description": "Welche Funktionen der Steuerkanal einer SteuerbareRessource bereitstsellt.", + "x-enumNames": ["AN_AUS", "GESTUFT"], + "enum": [0, 1] + }, + "Konfigurationsprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Produkt-daten ein BO wie Netzlokation, Marktlokation usw.", + "additionalProperties": {}, + "properties": { + "produktcode": { + "type": "string", + "description": "Die Konfigurationsprodukt-Code für das Objekt", + "x-nullable": true + }, + "leistungskurvendefinition": { + "type": "string", + "description": "Code der Zugeordnete Leistungskurvendefinition für das Objekt", + "x-nullable": true + }, + "schaltzeitdefinition": { + "type": "string", + "description": "Code der Zugeordnete Schaltzeitdefinition für das Objekt", + "x-nullable": true + }, + "marktpartner": { + "description": "Auftraggebender Marktpartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktteilnehmer" + } + ] + } + } + } + ] + }, + "Marktteilnehmer": { + "allOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + }, + { + "type": "object", + "description": "Objekt zur Kommunikation von Marktteilnehmern jeglicher Art.\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "Gibt im Klartext die Bezeichnung der Marktrolle an.", + "x-nullable": true, + "x-example": "LF", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "rollencodenummer": { + "type": "string", + "description": "Gibt die Codenummer der Marktrolle an.", + "x-example": "9903100000006" + }, + "rollencodetyp": { + "description": "Gibt den Typ des Codes an.", + "x-example": "BDEW (instead of 293, 500 etc.)", + "oneOf": [ + { + "$ref": "#/definitions/Rollencodetyp" + } + ] + }, + "makoadresse": { + "type": "string", + "description": "Die 1:1-Kommunikationsadresse des Marktteilnehmers. Diese wird in der\nMarktkommunikation verwendet.\n ", + "x-nullable": true + }, + "ansprechpartner": { + "description": "Ansprechpartner as in EDIFACT NAD+MS, that includes e.g. the email address of a natural person.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Ansprechpartner" + } + ] + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Rollencodetyp": { + "type": "integer", + "description": "Gibt den Codetyp einer Rolle, beispielsweise einer Marktrolle, an.", + "x-enumNames": ["ZERO", "GLN", "BDEW", "DVGW"], + "enum": [0, 9, 293, 332] + }, + "Ansprechpartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modellierung eines Ansprechpartners für einen bestimmten Geschäftspartner.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Mögliche Anrede des Ansprechpartners\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "inviduelleAnrede": { + "type": "string", + "description": "Im Falle einer nicht standardisierten Anrede kann hier eine frei definierbare\nAnrede vorgegeben werden. Beispiel: \"Sehr geehrte Frau Müller, sehr geehrter\nHerr Dr. Müller\"\n ", + "x-nullable": true + }, + "titel": { + "description": "Möglicher Titel des Ansprechpartners", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Titel" + } + ] + }, + "vorname": { + "type": "string", + "description": "Vorname des Ansprechpartners", + "x-nullable": true + }, + "nachname": { + "type": "string", + "description": "Nachname (Familienname) des Ansprechpartners", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail Adresse", + "x-nullable": true + }, + "kommentar": { + "type": "string", + "description": "Weitere Informationen zum Ansprechpartner", + "x-nullable": true + }, + "geschaeftspartner": { + "description": "Der Geschäftspartner, für den dieser Ansprechpartner modelliert wird.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "adresse": { + "description": "Adresse des Ansprechpartners, falls diese von der Adresse des Geschäftspartners abweicht.", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "rufnummern": { + "type": "array", + "description": "Liste der Telefonnummern, unter denen der Ansprechpartner erreichbar ist.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Rufnummer" + } + }, + "zustaendigkeit": { + "type": "array", + "description": "Liste der Abteilungen und Zuständigkeiten des Ansprechpartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zustaendigkeit" + } + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Titel": { + "type": "integer", + "description": "Übersicht möglicher Titel, z.B. eines Geschäftspartners.", + "x-enumNames": ["DR", "PROF", "PROF_DR"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Rufnummer": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung von Rufnummern.", + "additionalProperties": {}, + "properties": { + "nummerntyp": { + "description": "Ausprägung der Nummer, z.B. Zentrale, Faxnummer, Mobilnummer etc. Details Rufnummernart\n ", + "oneOf": [ + { + "$ref": "#/definitions/Rufnummernart" + } + ] + }, + "rufnummer": { + "type": "string", + "description": "Die konkrete Nummer, z.B. 02433 5 26 01 900" + } + } + } + ] + }, + "Rufnummernart": { + "type": "integer", + "description": "Abbildung verschiedener Rufnummerntypen.", + "x-enumNames": [ + "RUF_ZENTRALE", + "FAX_ZENTRALE", + "SAMMELRUF", + "SAMMELFAX", + "ABTEILUNGRUF", + "ABTEILUNGFAX", + "RUF_DURCHWAHL", + "FAX_DURCHWAHL", + "MOBIL_NUMMER" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zustaendigkeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die zeitliche Zuordnung eines Ansprechpartners zu Abteilungen und Zuständigkeiten.", + "additionalProperties": {}, + "properties": { + "jobtitel": { + "type": "string", + "description": "Berufliche Rolle des Ansprechpartners", + "x-nullable": true + }, + "abteilung": { + "type": "string", + "description": "Abteilung, in der der Ansprechpartner tätig ist", + "x-nullable": true + }, + "themengebiet": { + "type": "string", + "description": "Hier kann eine thematische Zuordnung des APs angegeben werden. Details Themengebiet\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Steuerbare Ressource BO", + "additionalProperties": {}, + "properties": { + "steuerbareRessourceId": { + "type": "string", + "description": "Identifikationsnummer einer SteuerbareRessource", + "default": "|null|" + }, + "steuerkanalsLeistungsbeschreibung": { + "description": "Leistungsbeschreibung des Steuerkanals", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/SteuerkanalsLeistungsbeschreibung" + } + ] + }, + "zugeordnetMSBCodeNr": { + "type": "string", + "description": "Angabe des Messstellenbetreibers, der der Steuerbaren Ressource zugeordnet ist.", + "x-nullable": true + }, + "konfigurationsprodukte": { + "type": "array", + "description": "Produkt-Daten der Steuerbaren Ressource", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Konfigurationsprodukt" + } + }, + "eigenschaftMSBLokation": { + "description": "Eigenschaft des Messstellenbetreiber an der Lokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Summenzeitreihe.json b/open-api-schemas/Summenzeitreihe.json new file mode 100644 index 00000000..8c39caaa --- /dev/null +++ b/open-api-schemas/Summenzeitreihe.json @@ -0,0 +1,624 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Summenzeitreihe", + "definitions": { + "BezeichnungSummenzeitreihe": { + "type": "integer", + "description": "Mögliche Qualifier für die Aggregationsverantwortung", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Zeitreihentyp": { + "type": "integer", + "description": "Codes der SummenzeitreihentypenDie nachfolgenden Codes sind in DE7111 zu nutzen:", + "x-enumNames": [ + "EGS", + "LGS", + "NZR", + "SES", + "SLS", + "TES", + "TLS", + "SLS_TLS", + "SES_TES" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Netzebene": { + "type": "integer", + "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", + "x-enumNames": [ + "NSP", + "MSP", + "HSP", + "HSS", + "MSP_NSP_UMSP", + "HSP_MSP_UMSP", + "HSS_HSP_UMSP", + "HD", + "MD", + "ND" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Zeitreihenprodukt": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Produkte von Summenzeitreihen modelliert.", + "additionalProperties": {}, + "properties": { + "identifikation": { + "type": "string", + "description": "Die OBIS-Kennzahl für das Produkt, die festlegt, welche auf die gemessene Größe mit dem Stand gemeldet wird. \n ", + "x-nullable": true + }, + "korrekturfaktor": { + "type": "number", + "description": "Korrekturfaktor der Zeitreihe\n ", + "format": "decimal", + "x-nullable": true + }, + "verbrauch": { + "description": "Der Verbrauch der Zeitreihe. Details Verbrauch", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauch" + } + ] + } + } + } + ] + }, + "Verbrauch": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung eines zeitlich abgegrenzten Verbrauchs.\n ", + "additionalProperties": {}, + "properties": { + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "wertermittlungsverfahren": { + "description": "Gibt an, ob es sich um eine PROGNOSE oder eine MESSUNG handelt.\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Wertermittlungsverfahren" + } + ] + }, + "messwertstatus": { + "description": "Enthält die Gültigkeit des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwertstatus" + } + ] + }, + "statuszusatzinformationen": { + "type": "array", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge", + "x-nullable": true, + "items": { + "$ref": "#/definitions/StatusZusatzInformation" + } + }, + "obiskennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für den Wert, die festlegt, welche Größe mit dem Stand gemeldet wird.\n ", + "x-example": "1-0:1.8.1\n " + }, + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.\n ", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an.\n ", + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "type": { + "description": "type", + "x-nullable": true, + "x-example": "arbeitleistungtagesparameterabhmalo | veranschlagtejahresmenge | TUMKundenwert", + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsmengetyp" + } + ] + }, + "tarifstufe": { + "description": "Tarifstufe", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifstufe" + } + ] + }, + "nutzungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einem Prozesszeitpunkt zuzuordnen. Dieser Prozesszeitpunkt kann entweder ein Zeitpunkt einer Stammdatenänderung sein(z. B.bei einem Gerätewechsel, in der die Änderung vor dem Versand des Zählerstandes übermittelt wurde) oder die Bestellung eines Wertes aufgrund eines eingetretenen Ereignisses(z.B. Lieferantenwechsel). Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B.Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + }, + "ausfuehrungszeitpunkt": { + "type": "string", + "description": "Wird verwendet, um einen Zählerstand eindeutig einer tatsächlichen Änderung zuzuordnen, z.B.bei einem Gerätewechsel oder Geräteparameteränderung der tatsächliche Zeitpunkt an dem die Änderung an der Messlokation durchgeführt wurde.Der Nutzungszeitpunkt ist für den Zählerstand der Zeitpunkt der für die weitere Verarbeitung relevant ist(z.B. Zuordnung bei Empfänger anhand der Zuordnungstupel).", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Wertermittlungsverfahren": { + "type": "integer", + "description": "Gibt an, ob es sich um eine Prognose oder eine Messung handelt, beispielsweise bei der Abbildung eines Verbrauchs.\n ", + "x-enumNames": ["PROGNOSE", "MESSUNG"], + "enum": [0, 1] + }, + "Messwertstatus": { + "type": "integer", + "description": "Gibt auskunft über die Gültigkeit des angegebenen Verbrauchswertes. Bildet MSCONS SG10 QTY 6063 ab. ", + "x-enumNames": [ + "ABGELESEN", + "ERSATZWERT", + "VOLAEUFIGERWERT", + "ANGABE_FUER_LIEFERSCHEIN", + "VORSCHLAGSWERT", + "NICHT_VERWENDBAR", + "PROGNOSEWERT", + "ENERGIEMENGESUMMIERT", + "FEHLT", + "GRUNDLAGE_POG_ERMITTLUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "StatusZusatzInformation": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält die Auflistung der STS Segmente Plausibilisierungshinweis, Ersatzwertbildungsverfahren,\nKorrekturgrund, Gasqualität, Tarif, Grundlage der Energiemenge.", + "additionalProperties": {}, + "properties": { + "art": { + "description": "Enthält die Zusatzinformation Art des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/StatusArt" + } + ] + }, + "status": { + "description": "Enthält die Zusatzinformation Status des angegebenen Wertes\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Status" + } + ] + } + } + } + ] + }, + "StatusArt": { + "type": "integer", + "description": "Represents the Type of Wert (MSCONS SG10 STS 9015)", + "x-enumNames": [ + "VERTRAG", + "MESSWERTQUALITAET", + "MESSKLASSIFIZIERUNG", + "PLAUSIBILISIERUNGSHINWEIS", + "ERSATZWERTBILDUNGSVERFAHREN", + "GRUND_ERSATZWERTBILDUNGSVERFAHREN", + "KORREKTURGRUND", + "GASQUALITAET" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7] + }, + "Status": { + "type": "integer", + "description": "Represents the Status Code (MSCONS SG10 STS 4405) ", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Verbrauchsmengetyp": { + "type": "integer", + "description": "type von Verbrauchsmenge", + "x-enumNames": [ + "ARBEITLEISTUNGTAGESPARAMETERABHMALO", + "VERANSCHLAGTEJAHRESMENGE", + "TUMKUNDENWERT" + ], + "enum": [0, 1, 2] + }, + "Tarifstufe": { + "type": "integer", + "description": "In IFTSTA 21035 \"Rückmeldung auf Lieferschein\" (IFTSTA SG16 QTY 6063) ", + "x-enumNames": [ + "TARIFSTUFE_0", + "TARIFSTUFE_1", + "TARIFSTUFE_2", + "TARIFSTUFE_3", + "TARIFSTUFE_4", + "TARIFSTUFE_5", + "TARIFSTUFE_6", + "TARIFSTUFE_7", + "TARIFSTUFE_8", + "TARIFSTUFE_9" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Summenzeitreihen BO", + "additionalProperties": {}, + "properties": { + "zaehlpunktId": { + "type": "string", + "description": "Für welchen MABIS-Zaehlpuunkt gelten diese Summenzeitreihendaten", + "x-nullable": true + }, + "bilanzierungsbeginn": { + "type": "string", + "description": "Inklusiver Start der Bilanzierung", + "format": "date-time", + "x-nullable": true + }, + "bilanzierungsende": { + "type": "string", + "description": "Exklusives Ende der Bilanzierung", + "format": "date-time", + "x-nullable": true + }, + "bilanzkreis": { + "type": "string", + "description": "Bilanzkreis, should obey IsValidEIC", + "x-nullable": true + }, + "bilanzierungsgebiet": { + "type": "string", + "description": "Bilanzierungsgebiet, dem das Netzgebiet zugeordnet ist - im Falle eines Strom Netzes.", + "x-nullable": true + }, + "regelzone": { + "type": "string", + "description": "Regelzone", + "x-nullable": true + }, + "bezeichnung": { + "description": "Bezeichnung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/BezeichnungSummenzeitreihe" + } + ] + }, + "bezugszeitraum": { + "description": "Bezugszeitraum (TAG,MONAT)", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "zeitreihentyp": { + "description": "Zeitreihentyp (SLS, TLS, etc.)", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitreihentyp" + } + ] + }, + "marktrolle": { + "description": "Verantwortliche Marktrolle\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "spannungsebene": { + "description": "Spannungsebene\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netzebene" + } + ] + }, + "produkte": { + "type": "array", + "description": "Produkte der Summenzeitreihe\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zeitreihenprodukt" + } + } + } + } + ] +} diff --git a/open-api-schemas/TechnischeRessource.json b/open-api-schemas/TechnischeRessource.json new file mode 100644 index 00000000..59a9cb51 --- /dev/null +++ b/open-api-schemas/TechnischeRessource.json @@ -0,0 +1,329 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "TechnischeRessource", + "definitions": { + "Menge": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Menge mit Wert und Einheit.", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + } + } + } + ] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "TechnischeRessourceNutzung": { + "type": "integer", + "description": "Art und Nutzung der Technischen Ressource", + "x-enumNames": ["STROMVERBRAUCHSART", "STROMERZEUGUNGSART", "SPEICHER"], + "enum": [0, 1, 2] + }, + "TechnischeRessourceVerbrauchsart": { + "type": "integer", + "description": "Verbrauchsart der Technischen Ressource.", + "x-enumNames": [ + "KRAFT_LICHT", + "WAERME", + "E_MOBILITAET", + "STRASSENBELEUCHTUNG" + ], + "enum": [0, 1, 2, 3] + }, + "Waermenutzung": { + "type": "integer", + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-enumNames": ["SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"], + "enum": [0, 1, 2] + }, + "EMobilitaetsart": { + "type": "integer", + "description": "Im Falle der E-Mobilität bei TechnischeRessourceNutzung, eine genauere Angabe über die Art der E-Mobilität zu definieren.", + "x-enumNames": ["WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"], + "enum": [0, 1, 2] + }, + "Erzeugungsart": { + "type": "integer", + "description": "Auflistung der Erzeugungsarten von Energie.", + "x-enumNames": [ + "KWK", + "WIND", + "SOLAR", + "KERNKRAFT", + "WASSER", + "GEOTHERMIE", + "BIOMASSE", + "KOHLE", + "GAS", + "SONSTIGE", + "SONSTIGE_EEG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] + }, + "Speicherart": { + "type": "integer", + "description": "Im Falle der Speicher bei TechnischeRessourceNutzung, eine genauere Angabe über die Art der Speicher zu definieren.", + "x-enumNames": [ + "WASSERSTOFFSPEICHER", + "PUMPSPEICHER", + "BATTERIESPEICHER", + "SONSTIGE_SPEICHERART" + ], + "enum": [0, 1, 2, 3] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Technische Ressource BO", + "additionalProperties": {}, + "properties": { + "technischeRessourceId": { + "type": "string", + "description": "Identifikationsnummer einer TechnischeRessource", + "default": "|null|", + "x-nullable": true + }, + "vorgelagerteMesslokationsId": { + "type": "string", + "description": "Vorgelagerte Messlokation ID\nBeispiel:\nRFF+Z34:DE00713739359S0000000000001222221'", + "x-nullable": true + }, + "zugeordneteMarktlokationsId": { + "type": "string", + "description": "Referenz auf die der Technischen Ressource Zugeordneten Marktlokation\nBeispiel:\nRFF+Z16:20072281644'", + "x-nullable": true + }, + "zugeordneteSteuerbareRessourceId": { + "type": "string", + "description": "Referenz auf die der Technischen Ressource zugeordneten Steuerbaren Ressource\nBeispiel:\nRFF+Z16:20072281644'", + "x-nullable": true + }, + "nennleistungAufnahme": { + "description": "Nennleistung (Aufnahme)\nBeispiel: QTY+Z43:100:KWT'", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "nennleistungAbgabe": { + "description": "Nennleistung (Abgabe)\nBeispiel: QTY+Z44:100:KWT'", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "speicherkapazitaet": { + "description": "Speicherkapazität\nBeispiel: QTY+Z42:100:KWH'", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "technischeRessourceNutzung": { + "description": "Art und Nutzung der Technischen Ressource\nBeispiel: CCI+Z17'\n Z17: Stromverbrauchsart\n Z50: Stromerzeugungsart\n Z56: Speicher", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/TechnischeRessourceNutzung" + } + ] + }, + "verbrauchsart": { + "description": "Verbrauchsart der Technischen Ressource\nBeispiel: CAV+Z64'\n Z64: Kraft/Licht\n Z65: Wärme\n ZE5: E-Mobilität\n ZA8: Straßenbeleuchtung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/TechnischeRessourceVerbrauchsart" + } + ] + }, + "waermenutzung": { + "description": "Wärmenutzung\nBeispiel: CAV+Z56'\n Z56: Speicherheizung\n Z57: Wärmepumpe\n Z61: Direktheizung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + }, + "erzeugungsart": { + "description": "Art der Erzeugung der Energie. Details Erzeugungsart\nBeispiel: CAV+ZF5'\nErzeugungsart:\n ZF5: Solar\n ZF6: Wind\n ZG0: Gas\n ZG1: Wasser\n ZG5: Sonstige Erzeugungsart", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Erzeugungsart" + } + ] + }, + "speicherart": { + "description": "Art der speicher. Details Speicherart\nBeispiel: CAV+ZF7'\nSpeicherart:\n ZF7: Wasserstoffspeicher\n ZF8: Pumpspeicher\n ZF9: Batteriespeicher\n ZG6: Sonstige Speicherart", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Speicherart" + } + ] + }, + "lokationsbuendelObjektcode": { + "type": "string", + "description": "Lokationsbuendel Code, der die Funktion dieses BOs an der Lokationsbuendelstruktur beschreibt.", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Tranche.json b/open-api-schemas/Tranche.json new file mode 100644 index 00000000..0535ec73 --- /dev/null +++ b/open-api-schemas/Tranche.json @@ -0,0 +1,215 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Tranche", + "definitions": { + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "MarktpartnerDetails": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Used in Marktlokation and Messlokation to represent data about MSB", + "additionalProperties": {}, + "properties": { + "rollencodenummer": { + "type": "string", + "description": "Rollencodenummer von Marktrolle", + "x-nullable": true + }, + "code": { + "type": "string", + "description": "Code von Marktrolle", + "x-nullable": true + }, + "marktrolle": { + "description": "Marktrolle. Details siehe Marktrolle", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "weiterverpflichtet": { + "type": "boolean", + "description": "Weiterverpflichtung des MSB />", + "x-nullable": true + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Objekt zur Aufnahme der Informationen zu einer Tranche\n ", + "additionalProperties": {}, + "properties": { + "trancheId": { + "type": "string", + "description": "Identifikationsnummer einer Tranche, an der Energie entweder\nverbraucht, oder erzeugt wird (Like MarktlokationsId Marktlokation)\n ", + "default": "|null|" + }, + "sparte": { + "description": "Sparte der Tranche, z.B. Gas oder Strom.", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "aufteilungsmenge": { + "type": "number", + "description": "Prozentualer Anteil der Tranche an der erzeugenden Marktlokation in Prozent mit 2 Nachkommastellen", + "format": "decimal", + "x-nullable": true + }, + "obisKennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für die Tranche, die festlegt, welche auf die gemessene Größe mit dem Stand gemeldet wird.\n ", + "x-nullable": true + }, + "marktrollen": { + "type": "array", + "description": "Zugeordnete Marktpartner\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/MarktpartnerDetails" + } + } + } + } + ] +} diff --git a/open-api-schemas/Vertrag.json b/open-api-schemas/Vertrag.json new file mode 100644 index 00000000..ca6459fb --- /dev/null +++ b/open-api-schemas/Vertrag.json @@ -0,0 +1,1194 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Vertrag", + "definitions": { + "Vertragsart": { + "type": "integer", + "description": "Aufzählung der Vertragsarten\n ", + "x-enumNames": [ + "ENERGIELIEFERVERTRAG", + "NETZNUTZUNGSVERTRAG", + "BILANZIERUNGSVERTRAG", + "MESSSTELLENBETRIEBSVERTRAG", + "BUENDELVERTRAG" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Vertragstatus": { + "type": "integer", + "description": "Abbildung einer Statusinformation für Verträge.\n ", + "x-enumNames": [ + "IN_ARBEIT", + "UEBERMITTELT", + "ANGENOMMEN", + "AKTIV", + "ABGELEHNT", + "WIDERRUFEN", + "STORNIERT", + "GEKUENDIGT", + "BEENDET" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Unterschrift": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Modellierung einer Unterschrift, z.B. für Verträge, Angebote etc.\nhttps://www.bo4e.de/dokumentation/komponenten/com-unterschrift\n ", + "additionalProperties": {}, + "properties": { + "ort": { + "type": "string", + "description": "Ort, an dem die Unterschrift geleistet wird\n ", + "x-nullable": true + }, + "datum": { + "type": "string", + "description": "Datum der Unterschrift\n ", + "format": "date-time", + "x-nullable": true + }, + "name": { + "type": "string", + "description": "Name des Unterschreibers\n ", + "x-nullable": true + } + } + } + ] + }, + "Vertragskonditionen": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung für Vertragskonditionen. Die Komponente wird sowohl im Vertrag als auch im Tarif verwendet.", + "additionalProperties": {}, + "properties": { + "beschreibung": { + "type": "string", + "description": "Freitext zur Beschreibung der Konditionen, z.B. \"Standardkonditionen Gas\"", + "x-nullable": true + }, + "anzahlAbschlaege": { + "type": "integer", + "description": "Anzahl der vereinbarten Abschläge pro Jahr, z.B. 12", + "format": "int32", + "x-nullable": true + }, + "vertragslaufzeit": { + "description": "Über diesen Zeitraum läuft der Vertrag. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "kuendigungsfrist": { + "description": "Innerhalb dieser Frist kann der Vertrag gekündigt werden. Details Zeitraum", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "vertragsverlaengerung": { + "description": "Falls der Vertrag nicht gekündigt wird, verlängert er sich automatisch um die hier angegebene Zeit. Details\nZeitraum\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "abschlagszyklus": { + "description": "In diesen Zyklen werden Abschläge gestellt. Details Zeitraum. Alternativ kann auch die Anzahl\nin den Konditionen angeben werden.\"\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "startAbrechnungsjahr": { + "type": "string", + "format": "date-time", + "x-nullable": true + }, + "geplanteTurnusablesung": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "turnusablesungIntervall": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "netznutzungsabrechnung": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeitraum" + } + ] + }, + "netznutzungsabrechnungIntervall": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "haushaltskunde": { + "type": "boolean", + "x-nullable": true + }, + "netznutzungsvertrag": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netznutzungsvertragsart" + } + ] + }, + "netznutzungszahler": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netznutzungszahler" + } + ] + }, + "netznutzungsabrechnungsvariante": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netznutzungsabrechnungsvariante" + } + ] + }, + "netznutzungsabrechnungsgrundlage": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Netznutzungsabrechnungsgrundlage" + } + ] + }, + "beinhaltetSingulaerGenutzteBetriebsmittel": { + "type": "boolean", + "description": "Singulär genutzte Betriebsmittel in der Netznutzungsabrechnung\nHier wird angegeben, ob in der Netznutzungsabrechnung der verbrauchenden Marktlokation singulär \ngenutzte Betriebsmittel abgerechnet werden.\n ", + "x-nullable": true + } + } + } + ] + }, + "Zeitraum": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende\nverwendet.\n ", + "additionalProperties": {}, + "properties": { + "einheit": { + "description": "Die Einheit in der die Dauer angeben ist. Z.B. Monate. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zeiteinheit" + } + ] + }, + "dauer": { + "type": "number", + "description": "Gibt die Anzahl der Zeiteinheiten an, z.B. 3 (Monate).", + "format": "decimal", + "x-nullable": true + }, + "startdatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum startet.", + "format": "date-time", + "x-nullable": true + }, + "enddatum": { + "type": "string", + "description": "Gibt Tag und Uhrzeit (falls vorhanden) an, wann der Zeitraum endet.", + "format": "date-time", + "x-nullable": true + }, + "startzeitpunkt": { + "type": "string", + "description": "The same value as Startdatum", + "format": "date-time", + "x-nullable": true + }, + "endzeitpunkt": { + "type": "string", + "description": "The same value as Enddatum", + "format": "date-time", + "x-nullable": true + } + } + } + ] + }, + "Zeiteinheit": { + "type": "integer", + "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", + "x-enumNames": [ + "SEKUNDE", + "MINUTE", + "STUNDE", + "VIERTEL_STUNDE", + "TAG", + "WOCHE", + "MONAT", + "QUARTAL", + "HALBJAHR", + "JAHR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Netznutzungsvertragsart": { + "type": "integer", + "description": "Art des Netznutzungsvertrags", + "x-enumNames": ["KUNDEN_NB", "LIEFERANTEN_NB"], + "enum": [0, 1] + }, + "Netznutzungszahler": { + "type": "integer", + "description": "Zahlung der Netznutzung", + "x-enumNames": ["KUNDE", "LIEFERANT"], + "enum": [0, 1] + }, + "Netznutzungsabrechnungsvariante": { + "type": "integer", + "description": "Netznutzungsabrechnungsvariante", + "x-enumNames": ["ARBEITSPREIS_GRUNDPREIS", "ARBEITSPREIS_LEISTUNGSPREIS"], + "enum": [0, 1] + }, + "Netznutzungsabrechnungsgrundlage": { + "type": "integer", + "description": "Netznutzungsabrechnungsgrundlage", + "x-enumNames": ["LIEFERSCHEIN", "ABWEICHENDE_GRUNDLAGE"], + "enum": [0, 1] + }, + "Vertragsteil": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung für einen Vertragsteil. Der Vertragsteil wird dazu verwendet, eine vertragliche Leistung in Bezug zu\neiner Lokation (Markt- oder Messlokation) festzulegen.\nhttps://www.bo4e.de/dokumentation/komponenten/com-vertragsteil\n ", + "additionalProperties": {}, + "properties": { + "vertragsteilbeginn": { + "type": "string", + "description": "Start der Gültigkeit des Vertragsteils.\n ", + "format": "date-time", + "x-nullable": true + }, + "vertragsteilende": { + "type": "string", + "description": "Ende der Gültigkeit des Vertragsteils.\n ", + "format": "date-time", + "x-nullable": true + }, + "lokation": { + "type": "string", + "description": "Der Identifier für diejenigen Markt- oder Messlokation, die zu diesem Vertragsteil gehören.\nVerträge für mehrere Lokationen werden mit mehreren Vertragsteilen abgebildet.\n ", + "x-nullable": true + }, + "vertraglichFixierteMenge": { + "description": "Für die Lokation festgeschriebene Abnahmemenge. Siehe COM Menge\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "minimaleAbnahmemenge": { + "description": "Für die Lokation festgelegte Mindestabnahmemenge. Siehe COM Menge\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "maximaleAbnahmemenge": { + "description": "Für die Lokation festgelegte maximale Abnahmemenge. Siehe COM Menge\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "jahresverbrauchsprognose": { + "description": "jahresverbrauchsprognose für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "kundenwert": { + "description": "kundenwert für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Menge" + } + ] + }, + "verbrauchsaufteilung": { + "type": "string", + "description": "verbrauchsaufteilung für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Menge": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Abbildung einer Menge mit Wert und Einheit.", + "additionalProperties": {}, + "properties": { + "wert": { + "type": "number", + "description": "Gibt den absoluten Wert der Menge an.", + "format": "decimal" + }, + "einheit": { + "description": "Gibt die Einheit zum jeweiligen Wert an. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + } + } + } + ] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Modell für die Abbildung von Vertragsbeziehungen. Das Objekt dient dazu, alle Arten von Verträgen, die in der\nEnergiewirtschaft Verwendung finden, abzubilden.\nhttps://www.bo4e.de/dokumentation/geschaeftsobjekte/bo-vertrag\n ", + "additionalProperties": {}, + "properties": { + "vertragsnummer": { + "type": "string", + "description": "Eine im Verwendungskontext eindeutige Nummer für den Vertrag\n ", + "x-nullable": true + }, + "beschreibung": { + "type": "string", + "description": "Beschreibung zum Vertrag\n ", + "x-nullable": true + }, + "vertragsart": { + "description": "Hier ist festgelegt, um welche Art von Vertrag es sich handelt. Z.B. Netznutzungvertrag. Details siehe ENUM\nVertragsart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Vertragsart" + } + ] + }, + "vertragstatus": { + "description": "Gibt den Status des Vertrags an. Siehe ENUM Vertragsstatus\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Vertragstatus" + } + ] + }, + "sparte": { + "description": "Unterscheidungsmöglichkeiten für die Sparte. Siehe ENUM Sparte\n ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "vertragsbeginn": { + "type": "string", + "description": "Gibt an, wann der Vertrag beginnt.\n ", + "format": "date-time" + }, + "vertragsende": { + "type": "string", + "description": "Gibt an, wann der Vertrag (voraussichtlich) endet oder beendet wurde.\n ", + "format": "date-time", + "x-nullable": true + }, + "vertragspartner1": { + "description": "Der \"erstgenannte\" Vertragspartner. In der Regel der Aussteller des Vertrags. Beispiel: \"Vertrag zwischen\nVertagspartner 1 ...\" Siehe BO Geschaeftspartner\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "vertragspartner2": { + "description": "Der \"zweitgenannte\" Vertragspartner. In der Regel der Empfänger des Vertrags. Beispiel \"Vertrag zwischen\nVertagspartner 1 und Vertragspartner 2\". Siehe BO Geschaeftspartner\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "unterzeichnervp1": { + "type": "array", + "description": "Unterzeichner des Vertragspartners1. Siehe COM Unterschrift\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Unterschrift" + } + }, + "unterzeichnervp2": { + "type": "array", + "description": "Unterzeichner des Vertragspartners2. Siehe COM Unterschrift\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Unterschrift" + } + }, + "vertragskonditionen": { + "description": "Festlegungen zu Laufzeiten und Kündigungsfristen. Details siehe COM Vertragskonditionen\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Vertragskonditionen" + } + ] + }, + "vertragsteile": { + "type": "array", + "description": "Der Vertragsteil wird dazu verwendet, eine vertragliche Leistung in Bezug zu einer Lokation (Markt- oder\nMesslokation) festzulegen. Details siehe COM Vertragsteil\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Vertragsteil" + } + }, + "gemeinderabatt": { + "type": "number", + "description": "gemeinderabatt für EDIFACT mapping.\n ", + "format": "decimal", + "x-nullable": true + }, + "korrespondenzpartner": { + "description": "korrespondenzpartner für EDIFACT mapping\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + } + } + } + ] +} diff --git a/open-api-schemas/Wechsel.json b/open-api-schemas/Wechsel.json new file mode 100644 index 00000000..fe56a089 --- /dev/null +++ b/open-api-schemas/Wechsel.json @@ -0,0 +1,359 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Wechsel", + "definitions": { + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Geraet": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden alle Geräte modelliert, die keine Zähler sind.", + "additionalProperties": {}, + "properties": { + "geraetenummer": { + "type": "string", + "description": "Die auf dem Geräte aufgedruckte Nummer, die vom MSB vergeben wird.", + "x-nullable": true + }, + "geraeteeigenschaften": { + "description": "Festlegung der Eigenschaften des Gerätes. Z.B. Wandler MS/NS. Details\nGeraeteeigenschaften\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraeteart": { + "description": "Festlegung der Art des Gerätes. Z.B. ZAEHLEINRICHTUNG\nGeraeteart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteart" + } + ] + } + } + } + ] + }, + "Geraeteeigenschaften": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden die Eigenschaften eines Gerätes in Bezug auf den Typ und weitere Merkmale\nmodelliert.\n ", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Der Typ eines Gerätes, beispielsweise Drehstromzähler. Details Geraetetyp", + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "geraetemerkmal": { + "description": "Weitere Merkmale des Geräts, zum Beispiel Mehrtarif, Eintarif etc.. Details Geraetemerkmal\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + } + } + } + ] + }, + "Geraetetyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42 + ] + }, + "Geraetemerkmal": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61 + ] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Geraeteart": { + "type": "integer", + "description": "Auflistung möglicher Geraetearten. This is more broadly defined as a Geraetetyp, so a Zaehleinrichtung as Gerateart could be a elektronischer Haushaltszähler as a Gerätetyp.", + "x-enumNames": [ + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Geschäftsobjekt wird der Wechsel eines Gerätes oder Zählers modelliert.\n ", + "additionalProperties": {}, + "properties": { + "sparte": { + "description": "Strom oder Gas. ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste an Geräten.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geraet" + } + }, + "wechseldatum": { + "type": "string", + "description": "Gibt an, wann der Wechsel (voraussichtlich) stattfinden wird.\n ", + "format": "date-time", + "x-nullable": true + }, + "vollstaendig": { + "type": "boolean", + "description": "Vollständiger Wechsel (ja/nein), defaults to ja", + "x-nullable": true + } + } + } + ] +} diff --git a/open-api-schemas/Zaehler.json b/open-api-schemas/Zaehler.json new file mode 100644 index 00000000..86fc0069 --- /dev/null +++ b/open-api-schemas/Zaehler.json @@ -0,0 +1,1450 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Zaehler", + "definitions": { + "Sparte": { + "type": "integer", + "description": "Unterscheidungsmöglichkeiten für die Sparte.", + "x-enumNames": [ + "STROM", + "GAS", + "FERNWAERME", + "NAHWAERME", + "WASSER", + "ABWASSER" + ], + "enum": [0, 1, 2, 3, 4, 5] + }, + "Zaehlerauspraegung": { + "type": "integer", + "description": "* Gibt an, ob es sich um einen Einrichtungs- oder Zweirichtungszähler handelt.", + "x-enumNames": ["EINRICHTUNGSZAEHLER", "ZWEIRICHTUNGSZAEHLER"], + "enum": [0, 1] + }, + "Zaehlertyp": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom, Gas und Wasser.\n ", + "x-enumNames": [ + "DREHSTROMZAEHLER", + "BALGENGASZAEHLER", + "DREHKOLBENZAEHLER", + "SMARTMETER", + "LEISTUNGSZAEHLER", + "MAXIMUMZAEHLER", + "TURBINENRADGASZAEHLER", + "ULTRASCHALLGASZAEHLER", + "WECHSELSTROMZAEHLER", + "WIRBELGASZAEHLER", + "MESSDATENREGISTRIERGERAET", + "ELEKTRONISCHERHAUSHALTSZAEHLER", + "SONDERAUSSTATTUNG", + "WASSERZAEHLER", + "MODERNEMESSEINRICHTUNG", + "NEUEMESSEINRICHTUNGGAS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Tarifart": { + "type": "integer", + "description": "", + "x-enumNames": [ + "EINTARIF", + "ZWEITARIF", + "MEHRTARIF", + "SMART_METER", + "LEISTUNGSGEMESSEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Zaehlwerk": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden Zählwerke modelliert.", + "additionalProperties": {}, + "properties": { + "zaehlwerkId": { + "type": "string", + "description": "Identifikation des Zählwerks (Registers) innerhalb des Zählers. Oftmals eine laufende Nummer hinter der\nZählernummer. Z.B. 47110815_1\n ", + "x-nullable": true + }, + "bezeichnung": { + "type": "string", + "description": "Zusätzliche Bezeichnung, z.B. Zählwerk_Wirkarbeit.", + "x-nullable": true + }, + "richtung": { + "description": "Die Energierichtung, Einspeisung oder Ausspeisung. Details Energierichtung", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Energierichtung" + } + ] + }, + "obisKennzahl": { + "type": "string", + "description": "Die OBIS-Kennzahl für das Zählwerk, die festlegt, welche auf die gemessene Größe mit dem Stand gemeldet wird.\nNur Zählwerkstände mit dieser OBIS-Kennzahl werden an diesem Zählwerk registriert. Beispiel:1-0:1.8.1 für\nelektrische Wirkarbeit.\n ", + "x-nullable": true + }, + "wandlerfaktor": { + "type": "number", + "description": "Mit diesem Faktor wird eine Zählerstandsdifferenz multipliziert, um zum eigentlichen Verbrauch im Zeitraum zu\nkommen.\n ", + "format": "decimal", + "x-nullable": true + }, + "einheit": { + "description": "Die Einheit der gemessenen Größe, z.B. kWh. Details Mengeneinheit", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Mengeneinheit" + } + ] + }, + "kennzahl": { + "type": "string", + "description": "Obis kennzahl", + "x-deprecated": true, + "x-deprecatedMessage": "Use existing obisKennzahl instead.", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "schwachlastfaehig", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + }, + "verwendungszwecke": { + "type": "array", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck" + } + }, + "verbrauchsart": { + "description": "Stromverbrauchsart/Verbrauchsart Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Verbrauchsart" + } + ] + }, + "unterbrechbarkeit": { + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Unterbrechbarkeit" + } + ] + }, + "waermenutzung": { + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Waermenutzung" + } + ] + }, + "konzessionsabgabe": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Konzessionsabgabe" + } + ] + }, + "steuerbefreit": { + "type": "boolean", + "x-nullable": true + }, + "vorkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "nachkommastelle": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "abrechnungsrelevant": { + "type": "boolean", + "x-nullable": true + }, + "anzahlAblesungen": { + "type": "integer", + "format": "int32", + "x-nullable": true + }, + "zaehlzeiten": { + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlzeitregister" + } + ] + }, + "konfiguration": { + "type": "string", + "description": "Konfiguration (iMSys) des Zählwerks", + "x-nullable": true + }, + "emobilitaetsart": { + "description": "Art der E-Mobilität\nDas Segment dient dazu, im Falle der E-Mobilität eine genauere Angabe über die Art der E-Mobilität zu definieren.\nBeispiel: CAV+Z87'\n ZE6: Wallbox: An der Marktlokation ist eine nicht öffentlliche Lademöglichkeit vorhanden\n Z87: E-Mobilitätsladesäule: Es handelt sich um eine öffentliche Ladesäule mit ggf. mehreren Ladeanschlüssen an der Marktlokation.\n ZE7: Ladepark: Es handelt sich um mehr als eine öffentliche Ladesäule an der Marktlokation", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/EMobilitaetsart" + } + ] + } + } + } + ] + }, + "Energierichtung": { + "type": "integer", + "description": "Spezifiziert die Energierichtung einer Markt- und/oder Messlokation.", + "x-enumNames": ["AUSSP", "EINSP"], + "enum": [0, 1] + }, + "Mengeneinheit": { + "type": "integer", + "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.\n ", + "x-enumNames": [ + "ZERO", + "WH", + "KW", + "ANZAHL", + "KUBIKMETER", + "STUNDE", + "TAG", + "MONAT", + "VAR", + "VARH", + "KWHK", + "JAHR", + "KWH", + "MW", + "KVAR", + "KVARH", + "MWH" + ], + "enum": [ + 0, 2, 3, 7, 11, 13, 17, 19, 23, 29, 40, 228, 2000, 3000, 23000, 29000, + 2000000 + ] + }, + "Schwachlastfaehig": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": ["NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"], + "enum": [0, 1] + }, + "Verwendungszweck": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Marktrolle\n ", + "additionalProperties": {}, + "properties": { + "marktrolle": { + "description": "rollencodenummer von Marktrolle\n ", + "oneOf": [ + { + "$ref": "#/definitions/Marktrolle" + } + ] + }, + "zweck": { + "type": "array", + "description": "code von Marktrolle\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Verwendungszweck2" + } + } + } + } + ] + }, + "Marktrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Marktteilnehmer einnehmen.", + "x-enumNames": [ + "NB", + "LF", + "MSB", + "MDL", + "DL", + "BKV", + "BIKO", + "UENB", + "KUNDE_SELBST_NN", + "MGV", + "EIV", + "RB", + "KUNDE", + "INTERESSENT", + "GMSB", + "AMSB" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + }, + "Verwendungszweck2": { + "type": "integer", + "description": "Verwendungungszweck der Werte Marktlokation", + "x-enumNames": [ + "NETZNUTZUNGSABRECHNUNG", + "BILANZKREISABRECHNUNG", + "MEHRMINDERMENGENABRECHNUNG", + "MEHRMINDERMBENGENABRECHNUNG", + "ENDKUNDENABRECHNUNG", + "BLINDARBEITABRECHNUNG_BETRIEBSFUEHRUNG", + "UEBERMITTLUNG_AN_DAS_HKNR", + "ERMITTLUNG_AUSGEGLICHENHEIT_BILANZKREIS" + ], + "enum": [0, 1, 2, 2, 3, 4, 5, 6] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Verbrauchsart": { + "type": "integer", + "description": "Verbrauchsart einer Marktlokation.", + "x-enumNames": ["KL", "KLW", "KLWS", "W", "WS"], + "enum": [0, 1, 2, 3, 4] + }, + "Unterbrechbarkeit": { + "type": "integer", + "description": "Stromverbrauchsart/Unterbrechbarkeit Marktlokation", + "x-enumNames": ["UV", "NUV"], + "enum": [0, 1] + }, + "Waermenutzung": { + "type": "integer", + "description": "Stromverbrauchsart/Wärmenutzung Marktlokation", + "x-enumNames": ["SPEICHERHEIZUNG", "WAERMEPUMPE", "DIREKTHEIZUNG"], + "enum": [0, 1, 2] + }, + "Konzessionsabgabe": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Konzessionsabgabe\n ", + "additionalProperties": {}, + "properties": { + "satz": { + "description": "Art der Abgabe\n ", + "oneOf": [ + { + "$ref": "#/definitions/AbgabeArt" + } + ] + }, + "kosten": { + "type": "number", + "description": "Konzessionsabgabe in E/kWh\n ", + "format": "decimal", + "x-nullable": true + }, + "kategorie": { + "type": "string", + "description": "Gebührenkategorie der Konzessionsabgabe\n ", + "x-nullable": true + } + } + } + ] + }, + "AbgabeArt": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": [ + "KAS", + "SA", + "SAS", + "TA", + "TAS", + "TK", + "TKS", + "TS", + "TSS" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "Zaehlzeitregister": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Ein Zählzeitregister beschreibt eine erweiterte Definition der Zählzeit in Bezug auf ein Register. Dabei werden alle Codes dazu vom Netzbetreiber vergeben.\n ", + "additionalProperties": {}, + "properties": { + "zaehlzeitDefinition": { + "type": "string", + "description": "Zählzeitdefinition\n ", + "x-nullable": true + }, + "register": { + "type": "string", + "description": "Zählzeitregister\n ", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "Schwachlastfähigkeit des Registers\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + } + } + } + ] + }, + "EMobilitaetsart": { + "type": "integer", + "description": "Im Falle der E-Mobilität bei TechnischeRessourceNutzung, eine genauere Angabe über die Art der E-Mobilität zu definieren.", + "x-enumNames": ["WALLBOX", "E_MOBILITAETSLADESAEULE", "LADEPARK"], + "enum": [0, 1, 2] + }, + "Geschaeftspartner": { + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Objekt können Geschäftspartner übertragen werden. Sowohl\nUnternehmen, als auch Privatpersonen können Geschäftspartner sein.\n ", + "additionalProperties": {}, + "properties": { + "anrede": { + "description": "Die Anrede für den GePa, Z.B. Herr. ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Anrede" + } + ] + }, + "title": { + "type": "string", + "description": "title of name\n ", + "x-deprecated": true, + "x-deprecatedMessage": "Please use anrede instead or Ansprechpartner.individuelleAnrede", + "x-nullable": true, + "x-example": "Dr." + }, + "name1": { + "type": "string", + "description": "Erster Teil des Namens. Hier kann der Firmenname oder bei Privatpersonen\nbeispielsweise der Nachname dargestellt werden. Beispiele: Yellow Strom GmbH\noder Hagen\n ", + "x-nullable": true + }, + "name2": { + "type": "string", + "description": "Zweiter Teil des Namens. Hier kann der eine Erweiterung zum Firmennamen oder\nbei Privatpersonen beispielsweise der Vorname dargestellt werden. Beispiele:\nBereich Süd oder Nina\n ", + "x-nullable": true + }, + "name3": { + "type": "string", + "description": "Dritter Teil des Namens. Hier können weitere Ergänzungen zum Firmennamen oder\nbei Privatpersonen Zusätze zum Namen dargestellt werden. Beispiele: und Afrika\noder Sängerin\n ", + "x-nullable": true + }, + "gewerbekennzeichnung": { + "type": "boolean", + "description": "Kennzeichnung ob es sich um einen Gewerbe/Unternehmen (gewerbeKennzeichnung = true)\noder eine Privatperson handelt. (gewerbeKennzeichnung = false)\n " + }, + "hrnummer": { + "type": "string", + "description": "Handelsregisternummer des Geschäftspartners", + "x-nullable": true + }, + "amtsgericht": { + "type": "string", + "description": "Amtsgericht bzw Handelsregistergericht, das die Handelsregisternummer herausgegeben hat", + "x-nullable": true + }, + "kontaktweg": { + "type": "array", + "description": "Bevorzugter Kontaktweg des Geschäftspartners.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Kontaktart" + } + }, + "umsatzsteuerId": { + "type": "string", + "description": "Die Steuer-ID des Geschäftspartners. Beispiel: DE 813281825", + "x-nullable": true + }, + "glaeubigerId": { + "type": "string", + "description": "* Die Gläubiger-ID welche im Zahlungsverkehr verwendet wird- Z.B. DE 47116789", + "x-nullable": true + }, + "eMailAdresse": { + "type": "string", + "description": "E-Mail-Adresse des Ansprechpartners. Z.B. info@mp-energie.de", + "x-nullable": true + }, + "website": { + "type": "string", + "description": "Internetseite des Marktpartners. Beispiel: www.mp-energie.de", + "x-nullable": true + }, + "geschaeftspartnerrolle": { + "type": "array", + "description": "Rolle, die der Geschäftspartner hat (z.B. Interessent, Kunde).", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geschaeftspartnerrolle" + } + }, + "partneradresse": { + "description": "Adresse des Geschäftspartners, an der sich der Hauptsitz befindet. Details \n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Adresse" + } + ] + }, + "grundlageZurVerringerungDerUmlagenNachEnfg": { + "description": "Grundlage zur Verringerung der Umlagen nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundlageZurVerringerungDerUmlagenNachEnfg" + } + ] + }, + "grundDerPrivilegierungNachEnFG": { + "description": "Grund der Privilegierung nach EnFG", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/GrundDerPrivilegierungNachEnFG" + } + ] + } + } + } + ] + }, + "Anrede": { + "type": "integer", + "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", + "x-enumNames": [ + "HERR", + "FRAU", + "EHELEUTE", + "FIRMA", + "INDIVIDUELL", + "FAMILIE", + "ERBENGEMEINSCHAFT", + "WOHNGEMEINSCHAFT", + "GRUNDSTUECKGEMEINSCHAFT", + "DR" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] + }, + "Kontaktart": { + "type": "integer", + "description": "Art des Kontaktes zwischen Geschäftspartnern.", + "x-enumNames": ["ANSCHREIBEN", "TELEFONAT", "FAX", "E_MAIL", "SMS"], + "enum": [0, 1, 2, 3, 4] + }, + "Geschaeftspartnerrolle": { + "type": "integer", + "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", + "x-enumNames": [ + "LIEFERANT", + "DIENSTLEISTER", + "KUNDE", + "INTERESSENT", + "MARKTPARTNER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Adresse": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Enthält eine Adresse, die für die meisten Zwecke verwendbar ist.", + "additionalProperties": {}, + "properties": { + "postleitzahl": { + "type": "string", + "description": "Die Postleitzahl. Beispiel: 41836" + }, + "ort": { + "type": "string", + "description": "Bezeichnung der Stadt. Beispiel Hückelhoven" + }, + "strasse": { + "type": "string", + "description": "Bezeichnung der Straße. Beispiel: Weserstraße", + "x-nullable": true + }, + "hausnummer": { + "type": "string", + "description": "Hausnummer inkl. Zusatz. Beispiel. 3, 4a etc.", + "x-nullable": true + }, + "postfach": { + "type": "string", + "description": "Im Falle einer Postfachadresse das Postfach. Damit werden Straße und\nHausnummer nicht berücksichtigt.Beispiel: Postfach 4711\n ", + "x-nullable": true + }, + "adresszusatz": { + "type": "string", + "description": "Zusatzhinweis zum Auffinden der Adresse, z.B. \"3. Stock linke Wohnung\"", + "x-nullable": true + }, + "coErgaenzung": { + "type": "string", + "description": "Im Falle einer c/o-Adresse steht in diesem Attribut die Anrede. Z.B. c/o\nVeronica Hauptmieterin.In diesem Fall enthält die folgende Adresse die Daten\nder in c/o adressierten Person oder Firma.\n ", + "x-nullable": true + }, + "landescode": { + "description": "Offizieller ISO-Landescode. Z.B. NL, Details Landescode", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Landescode" + } + ] + }, + "ortsteil": { + "type": "string", + "description": "Ortsteil für EDIFACT mapping\n ", + "x-nullable": true + } + } + } + ] + }, + "Landescode": { + "type": "integer", + "description": "Der ISO-Landescode.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, + 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, + 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, + 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, + 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, + 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, + 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, + 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, + 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, + 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, + 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, + 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, + 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, + 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, + 262, 263, 264, 265, 266 + ] + }, + "GrundlageZurVerringerungDerUmlagenNachEnfg": { + "type": "integer", + "description": "Grundlage zur Verringerung der Umlagen nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "KUNDE_ERFUELLT_VORAUSSETZUNG", + "KUNDE_ERFUELLT_VORAUSSETZUNG_NICHT", + "KEINE_ANGABE" + ], + "enum": [0, 1, 2] + }, + "GrundDerPrivilegierungNachEnFG": { + "type": "integer", + "description": "Grund der Privilegierung nach EnFG (UTILMD Strom)", + "x-enumNames": [ + "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" + ], + "enum": [0, 1, 2, 3, 4, 5, 6, 7, 8] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + }, + "Fernschaltung": { + "type": "integer", + "description": "Fernschaltung", + "x-enumNames": ["VORHANDEN", "NICHT_VORHANDEN"], + "enum": [0, 1] + }, + "Messwerterfassung": { + "type": "integer", + "description": "Messwerterfassung", + "x-enumNames": ["FERNAUSLESBAR", "MANUELL_AUSGELESENE"], + "enum": [0, 1] + }, + "ZaehlertypSpezifikation": { + "type": "integer", + "description": "Bei diesem Enum handelt es sich die Abbildung von Zählertypen der Sparten Strom und Gas.\n ", + "x-enumNames": [ + "EDL40", + "EDL21", + "SONSTIGER_EHZ", + "MME_STANDARD", + "MME_MEDA" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Befestigungsart": { + "type": "integer", + "description": "Befestigungsart", + "x-enumNames": [ + "STECKTECHNIK", + "DREIPUNKT", + "HUTSCHIENE", + "EINSTUTZEN", + "ZWEISTUTZEN" + ], + "enum": [0, 1, 2, 3, 4] + }, + "Geraetemerkmal": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, + 56, 57, 58, 59, 60, 61 + ] + }, + "Geraet": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden alle Geräte modelliert, die keine Zähler sind.", + "additionalProperties": {}, + "properties": { + "geraetenummer": { + "type": "string", + "description": "Die auf dem Geräte aufgedruckte Nummer, die vom MSB vergeben wird.", + "x-nullable": true + }, + "geraeteeigenschaften": { + "description": "Festlegung der Eigenschaften des Gerätes. Z.B. Wandler MS/NS. Details\nGeraeteeigenschaften\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteeigenschaften" + } + ] + }, + "geraeteart": { + "description": "Festlegung der Art des Gerätes. Z.B. ZAEHLEINRICHTUNG\nGeraeteart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraeteart" + } + ] + } + } + } + ] + }, + "Geraeteeigenschaften": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Mit dieser Komponente werden die Eigenschaften eines Gerätes in Bezug auf den Typ und weitere Merkmale\nmodelliert.\n ", + "additionalProperties": {}, + "properties": { + "geraetetyp": { + "description": "Der Typ eines Gerätes, beispielsweise Drehstromzähler. Details Geraetetyp", + "oneOf": [ + { + "$ref": "#/definitions/Geraetetyp" + } + ] + }, + "geraetemerkmal": { + "description": "Weitere Merkmale des Geräts, zum Beispiel Mehrtarif, Eintarif etc.. Details Geraetemerkmal\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + } + } + } + ] + }, + "Geraetetyp": { + "type": "integer", + "description": "Auflistung möglicher abzurechnender Gerätetypen.", + "x-enumNames": [ + "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" + ], + "enum": [ + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, + 38, 39, 40, 41, 42 + ] + }, + "Geraeteart": { + "type": "integer", + "description": "Auflistung möglicher Geraetearten. This is more broadly defined as a Geraetetyp, so a Zaehleinrichtung as Gerateart could be a elektronischer Haushaltszähler as a Gerätetyp.", + "x-enumNames": [ + "WANDLER", + "KOMMUNIKATIONSEINRICHTUNG", + "TECHNISCHE_STEUEREINRICHTUNG", + "MENGENUMWERTER", + "SMARTMETER_GATEWAY", + "STEUERBOX", + "ZAEHLEINRICHTUNG" + ], + "enum": [0, 1, 2, 3, 4, 5, 6] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Mit diesem Geschäftsobjekt wird die Information zu einem Zähler abgebildet.\n ", + "additionalProperties": {}, + "properties": { + "zaehlernummer": { + "type": "string", + "description": "Nummerierung des Zählers, vergeben durch den Messstellenbetreiber" + }, + "sparte": { + "description": "Strom oder Gas. ", + "oneOf": [ + { + "$ref": "#/definitions/Sparte" + } + ] + }, + "zaehlerauspraegung": { + "description": "Spezifikation die Richtung des Zählers betreffend.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlerauspraegung" + } + ] + }, + "zaehlertyp": { + "description": "Typisierung des Zählers\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Zaehlertyp" + } + ] + }, + "tarifart": { + "description": "Spezifikation bezüglich unterstützter Tarifarten.\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Tarifart" + } + ] + }, + "zaehlerkonstante": { + "type": "number", + "description": "Zählerkonstante auf dem Zähler.", + "format": "decimal", + "x-nullable": true + }, + "eichungBis": { + "type": "string", + "description": "Bis zu diesem Datum ist der Zähler geeicht.", + "format": "date-time", + "x-nullable": true + }, + "letzteEichung": { + "type": "string", + "description": "Zu diesem Datum fand die letzte Eichprüfung des Zählers statt.", + "format": "date-time", + "x-nullable": true + }, + "zaehlwerke": { + "type": "array", + "description": "Die Zählwerke des Zählers.\n\n ", + "minItems": 1, + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlwerk" + } + }, + "zaehlerhersteller": { + "description": "Der Hersteller des Zählers. Details Geschaeftspartner", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geschaeftspartner" + } + ] + }, + "gateway": { + "type": "string", + "description": "Referenz auf das Smartmeter-Gateway\n ", + "x-nullable": true + }, + "fernschaltung": { + "description": "Fernschaltung\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Fernschaltung" + } + ] + }, + "messwerterfassung": { + "description": "Messwerterfassung am Zählpunkt\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Messwerterfassung" + } + ] + }, + "zaehlertypspezifikation": { + "description": "Typisierung des Zählers (spezifikation für EHZ und MME)\n\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ZaehlertypSpezifikation" + } + ] + }, + "befestigungsart": { + "description": "Befestigungsart\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Befestigungsart" + } + ] + }, + "zaehlergroesse": { + "description": "Zaehlergroesse\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Geraetemerkmal" + } + ] + }, + "geraete": { + "type": "array", + "description": "Liste der Geräte, die zu diesem Zähler gehören.", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Geraet" + } + } + } + } + ] +} diff --git a/open-api-schemas/Zaehlzeitdefinition.json b/open-api-schemas/Zaehlzeitdefinition.json new file mode 100644 index 00000000..049d0f4b --- /dev/null +++ b/open-api-schemas/Zaehlzeitdefinition.json @@ -0,0 +1,329 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Zaehlzeitdefinition", + "definitions": { + "DefinitionenNotwendigkeit": { + "type": "integer", + "description": "Beschreibt, ob Definitionen notwendig sind", + "x-enumNames": [ + "ZAEHLZEITDEFINITIONEN_WERDEN_VERWENDET", + "ZAEHLZEITDEFINITIONEN_WERDEN_NICHT_VERWENDET", + "DEFINITIONEN_WERDEN_VERWENDET", + "DEFINITIONEN_WERDEN_NICHT_VERWENDET" + ], + "enum": [0, 1, 2, 3] + }, + "Zaehlzeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Zaehlzeit\n ", + "additionalProperties": {}, + "properties": { + "code": { + "type": "string", + "description": "Zählzeitdefinition\n ", + "x-nullable": true + }, + "haeufigkeit": { + "description": "Häufigkeit der Übermittlung\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/HaeufigkeitZaehlzeit" + } + ] + }, + "uebermittelbarkeit": { + "description": "Art der Übermittlung\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/UebermittelbarkeitZaehlzeit" + } + ] + }, + "ermittlungLeistungsmaximum": { + "description": "Ermittlung Leistungsmaximum\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ErmittlungLeistungsmaximum" + } + ] + }, + "istBestellbar": { + "type": "boolean", + "description": "Ist die Zählzeit bestellbar?\n ", + "x-nullable": true + }, + "typ": { + "description": "ZählzeitdefinitionTyp\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/ZaehlzeitdefinitionTyp" + } + ] + }, + "beschreibungTyp": { + "type": "string", + "description": "Beschreibung des ZählzeitdefinitionTyp\n ", + "x-nullable": true + } + } + } + ] + }, + "HaeufigkeitZaehlzeit": { + "type": "integer", + "description": "Häufigkeit der Übermittlung der Zählzeit", + "x-enumNames": ["EINMALIG", "JAEHRLICH"], + "enum": [0, 1] + }, + "UebermittelbarkeitZaehlzeit": { + "type": "integer", + "description": "Übermittelbarkeit der ausgerollten Zählzeit", + "x-enumNames": ["ELEKTRONISCH", "NICHT_ELEKTRONISCH"], + "enum": [0, 1] + }, + "ErmittlungLeistungsmaximum": { + "type": "integer", + "description": "Ermittlung des Leistungsmaximums bei atypischer Netznutzung", + "x-enumNames": [ + "VERWENDUNG_HOCHLASTFENSTER", + "KEINE_VERWENDUNG_HOCHLASTFENSTER" + ], + "enum": [0, 1] + }, + "ZaehlzeitdefinitionTyp": { + "type": "integer", + "description": "Zählzeitdefinitionstyp", + "x-enumNames": [ + "WAERMEPUMPE", + "NACHTSPEICHERHEIZUNG", + "SCHWACHLASTZEITFENSTER", + "SONSTIGE", + "HOCHLASTZEITFENSTER" + ], + "enum": [0, 1, 2, 3, 4] + }, + "COM": { + "type": "object", + "description": "The COM class is the abstract class from which all BO4E.COM classes are derived.\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "guidSerialized": { + "type": "string" + }, + "timestamp": { + "type": "string", + "description": "Store the latest timestamp (update from the database)\n ", + "format": "date-time", + "x-nullable": true + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to COM objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "Zaehlzeitregister": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Ein Zählzeitregister beschreibt eine erweiterte Definition der Zählzeit in Bezug auf ein Register. Dabei werden alle Codes dazu vom Netzbetreiber vergeben.\n ", + "additionalProperties": {}, + "properties": { + "zaehlzeitDefinition": { + "type": "string", + "description": "Zählzeitdefinition\n ", + "x-nullable": true + }, + "register": { + "type": "string", + "description": "Zählzeitregister\n ", + "x-nullable": true + }, + "schwachlastfaehig": { + "description": "Schwachlastfähigkeit des Registers\n ", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/Schwachlastfaehig" + } + ] + } + } + } + ] + }, + "Schwachlastfaehig": { + "type": "integer", + "description": "Schwachlastfähigkeit Marktlokation", + "x-enumNames": ["NICHT_SCHWACHLASTFAEHIG", "SCHWACHLASTFAEHIG"], + "enum": [0, 1] + }, + "AusgerollteZaehlzeit": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Ausgerollte Zaehlzeit\n ", + "additionalProperties": {}, + "properties": { + "aenderungszeitpunkt": { + "type": "string", + "description": "Angabe eines Zeitpunktes, zu dem der Wechsel auf ein neues aktives Zählzeitregister erfolgt.", + "format": "date-time" + }, + "register": { + "type": "string", + "description": "Zählzeitregister\n ", + "x-nullable": true + } + } + } + ] + }, + "BusinessObject": { + "type": "object", + "description": "General abstract class for Business Objects for Energy (BO4E)\n ", + "x-abstract": true, + "additionalProperties": {}, + "properties": { + "boTyp": { + "type": "string", + "description": "obligatory type of the business object in UPPER CASE\n ", + "x-nullable": true, + "x-example": "'MESSLOKATION',\n'MARKTLOKATION'\n " + }, + "versionStruktur": { + "type": "string", + "description": "obligatory version of the BO4E definition. Currently hard coded to 1\n ", + "x-nullable": true, + "x-example": 1 + }, + "guidSerialized": { + "type": "string", + "description": "protobuf serilization requires the Guid as string.\n " + }, + "timestamp": { + "type": "string", + "description": "Store the latest database update, is Datetime, because postgres doesn't handle datetimeoffset in a generated column\ngracefully\n ", + "format": "date-time", + "x-nullable": true + }, + "externeReferenzen": { + "type": "array", + "description": "Hier können IDs anderer Systeme hinterlegt werden (z.B. eine SAP-GP-Nummer) (Details siehe\nExterneReferenz)\n ", + "x-nullable": true, + "items": { + "$ref": "#/definitions/ExterneReferenz" + } + }, + "guid": { + "type": "string", + "description": "allows adding a GUID to Business Objects for tracking across systems\n ", + "format": "guid", + "x-nullable": true + } + } + }, + "ExterneReferenz": { + "allOf": [ + { + "$ref": "#/definitions/COM" + }, + { + "type": "object", + "description": "Viele Datenobjekte weisen in unterschiedlichen Systemen eine eindeutige ID (Kundennummer, GP-Nummer etc.) auf.\nBeim Austausch von Datenobjekten zwischen verschiedenen Systemen ist es daher hilfreich, sich die eindeutigen IDs\nder anzubindenden Systeme zu merken.\nDiese Komponente ermöglicht es, sich die SAP GP-Nummer zu merken, um diese bei SAP-Aufrufen als Parameter mitgeben\nzu können.\n ", + "additionalProperties": {}, + "properties": { + "exRefName": { + "type": "string", + "description": "Bezeichnung der externen Referenz (z.B. \"hochfrequenz integration services\")\n ", + "x-nullable": true + }, + "exRefWert": { + "type": "string", + "description": "Wert der externen Referenz (z.B. \"123456\"; \"4711\")\n ", + "x-nullable": true + } + } + } + ] + } + }, + "allOf": [ + { + "$ref": "#/definitions/BusinessObject" + }, + { + "type": "object", + "description": "Der NB bzw. LF nutzt Zählzeitdefinitionen für die Tarifierung von Werten.\nZaehlzeitdefinitionen werden in der Marktkommunikation mit Prüfidentifikator 25001 (UTILTS) übermittelt\nEine Zählzeitdefinition umfasst dabei eine Liste von möglichen Zählzeiten,\nden dazugehörigen Registern und der tatsächlich ausgerollten Zählzeit (wenn diese elektronisch übermittelt wird)", + "additionalProperties": {}, + "properties": { + "beginndatum": { + "type": "string", + "description": "Der inklusive Zeitpunkt ab dem die Zaehlzeitdefinitionen ausgerollt sind", + "format": "date-time", + "x-nullable": true + }, + "endedatum": { + "type": "string", + "description": "Der exklusive Zeitpunkt bis zu dem die Zaehlzeitdefinitionen ausgerollt sind", + "format": "date-time", + "x-nullable": true + }, + "version": { + "type": "string", + "description": "Version der Zählzeitdefinition als Datum\n ", + "format": "date-time" + }, + "notwendigkeit": { + "description": "Beschreibt ob eine Zaehlzeitdefinitionen notwendig ist", + "x-nullable": true, + "oneOf": [ + { + "$ref": "#/definitions/DefinitionenNotwendigkeit" + } + ] + }, + "zaehlzeiten": { + "type": "array", + "description": "Liste der Zählzeiten [1 - 99999]", + "x-nullable": true, + "items": { + "$ref": "#/definitions/Zaehlzeit" + } + }, + "zaehlzeitregister": { + "type": "array", + "description": "Liste der Zählzeitregister", + "items": { + "$ref": "#/definitions/Zaehlzeitregister" + } + }, + "ausgerollteZaehlzeiten": { + "type": "array", + "description": "Liste der ausgerollten Zählzeiten", + "items": { + "$ref": "#/definitions/AusgerollteZaehlzeit" + } + } + } + } + ] +}