{
  "openapi": "3.1.0",
  "info": {
    "title": "START_ERHEBUNG_MESSWERTE (MSB)",
    "version": "202610",
    "description": "Das Ereignis `START_ERHEBUNG_MESSWERTE` der Marktrolle MSB als eigenständige Spezifikation, abgeleitet aus der Auslöser-API der Formatversion 202610. Genau ein Pfad: `POST /inbound`; das Ereignis ergibt sich aus `zusatzdaten.eventname` im Rumpf."
  },
  "servers": [
    {
      "description": "Fake Env",
      "url": "https://api.macoapp.de"
    }
  ],
  "tags": [
    {
      "name": "START_ERHEBUNG_MESSWERTE"
    }
  ],
  "paths": {
    "/inbound": {
      "post": {
        "deprecated": false,
        "description": "Trigger-Event **START_ERHEBUNG_MESSWERTE** der Marktrolle MSB.\n\n**Startet diese Rollensichten** (12):\n\n- [Anforderung und Bereitstellung von Messwerten — MSB](/prozessdoku/202610/MSB/geli-gas-2-0-anforderung-und-bereitstellung-von-messwerten)\n- [Aufbereitung und Übermittlung von Werten vom MSB der Marktlokation — MSB-MALO](/prozessdoku/202610/MSB/WiM-Teil2-aufbereitung-und-uebermittlung-von-werten-vom-msb-der-marktlokation)\n- [Aufbereitung und Übermittlung von Werten vom MSB der Messlokation — MSB-MELO](/prozessdoku/202610/MSB--MSB-MELO/WiM-Teil2-aufbereitung-und-uebermittlung-von-werten-vom-msb-der-messlokation)\n- [Außerturnusmäßige Messwertübermittlung — MSB](/prozessdoku/202610/MSB/geli-gas-2-0-ausserturnusmassige-messwertubermittlung)\n- [Gerätewechsel — MSBN (AWH WiM Gas 2.0)](/prozessdoku/202610/MSB--MSBN/awh-wim-gas-2-0-geratewechsel)\n- [Gerätewechsel — MSBN (WiM Strom Teil 1)](/prozessdoku/202610/MSB--MSBN/WiM-Teil1-geraetewechsel)\n- [Geräteübernahme — MSBA](/prozessdoku/202610/MSB--MSBA/WiM-Teil1-geraeteuebernahme)\n- [Geschäftsdatenanfrage — MSB](/prozessdoku/202610/MSB/GPKE-Teil4-geschaeftsdatenanfrage)\n- [Turnusmäßige/Regelmäßige Messwertübermittlung — MSB](/prozessdoku/202610/MSB/geli-gas-2-0-turnusmassige-regelmassige-messwertubermittlung)\n- [Übermittlung von Werten nach Typ 2 vom MSB an NB oder LF — MSB](/prozessdoku/202610/MSB/WiM-Teil2-uebermittlung-von-werten-nach-typ-2-vom-msb-an-nb-oder-lf)\n- [Übermittlung von Werten vom MSB an ESA — MSB](/prozessdoku/202610/MSB/WiM-Teil2-uebermittlung-von-werten-vom-msb-an-esa)\n- [Übermittlung von Werten vom MSB an NB — MSB](/prozessdoku/202610/MSB/awh-wim-gas-2-0-ubermittlung-von-werten-vom-msb-an-nb)\n\n<a href=\"/apis/einzeln/202610/msb/START_ERHEBUNG_MESSWERTE.json\" data-maco=\"einzelschema\" download target=\"_blank\">Schema nur dieses Ereignisses herunterladen</a> (OpenAPI, JSON).\n\n<Hinweisbereich>\n\nDer Aufruf geht tatsächlich an `POST /inbound`; das Event ergibt sich aus `zusatzdaten.eventname` im Rumpf. Diese Seite trennt eine von 104 Rumpfvarianten heraus, damit sie einzeln lesbar und ausprobierbar sind.\n\n</Hinweisbereich>",
        "operationId": "trigger_MSB_START_ERHEBUNG_MESSWERTE",
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MSB_START_ERHEBUNG_MESSWERTE"
              }
            }
          }
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event_responses_success"
                }
              }
            },
            "description": "Erfolg | Success"
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event_response_fail"
                }
              }
            },
            "description": "Fehler | Fail"
          }
        },
        "security": [
          {
            "bearer": []
          }
        ],
        "summary": "START_ERHEBUNG_MESSWERTE (MSB)",
        "tags": [
          "START_ERHEBUNG_MESSWERTE"
        ],
        "x-actual-endpoint": "POST /inbound",
        "x-event-source": "event/202610/[MSB]_START_ERHEBUNG_MESSWERTE.yaml",
        "x-handbuchsatz": true
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "type": "http"
      }
    },
    "schemas": {
      "Lokationstyp": {
        "description": "Gibt an, ob es sich um eine Markt- oder Messlokation handelt",
        "enum": [
          "MALO",
          "MELO",
          "NELO",
          "TECHNISCHE_RESSOURCE"
        ],
        "title": "Lokationstyp",
        "type": "string"
      },
      "MSB_START_ERHEBUNG_MESSWERTE": {
        "properties": {
          "stammdaten": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PI_13002__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13007__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13008__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13009__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13016__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13017__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13018__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13019__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13025__stammdaten"
              },
              {
                "$ref": "#/components/schemas/PI_13027__stammdaten"
              }
            ]
          },
          "transaktionsdaten": {
            "properties": {
              "absender": {
                "properties": {
                  "rollencodenummer": {
                    "$ref": "#/components/schemas/rollencodenummer"
                  }
                },
                "type": "object"
              },
              "anfrageReferenz": {
                "$ref": "#/components/schemas/anfrageReferenz"
              },
              "empfaenger": {
                "properties": {
                  "rollencodenummer": {
                    "$ref": "#/components/schemas/rollencodenummer"
                  }
                },
                "type": "object"
              },
              "kategorie": {
                "$ref": "#/components/schemas/kategorie"
              },
              "lokationsTyp": {
                "$ref": "#/components/schemas/lokationsTyp"
              },
              "pruefidentifikator": {
                "description": "Wird dynamisch im Event-Prozess ermittelt (Entscheidungsgrundlage: kategorie, sparte, typ). Ein vom Sender mitgegebener Wert wird ignoriert. Im Topic mögliche Prüfis — 13002, 13007, 13008, 13009, 13016, 13017, 13018, 13019, 13025, 13027.",
                "examples": [
                  "13002",
                  "13007",
                  "13008",
                  "13009",
                  "13016",
                  "13017",
                  "13018",
                  "13019",
                  "13025",
                  "13027"
                ]
              },
              "sparte": {
                "$ref": "#/components/schemas/sparte"
              },
              "typ": {
                "$ref": "#/components/schemas/typ"
              }
            },
            "required": [
              "absender",
              "anfrageReferenz",
              "empfaenger",
              "kategorie",
              "lokationsTyp",
              "sparte",
              "typ"
            ],
            "type": "object"
          },
          "zusatzdaten": {
            "properties": {
              "eventname": {
                "const": "START_ERHEBUNG_MESSWERTE",
                "default": "START_ERHEBUNG_MESSWERTE",
                "type": "string"
              },
              "prozessId": {
                "type": "string"
              }
            },
            "required": [
              "prozessId",
              "eventname"
            ],
            "type": "object"
          }
        },
        "required": [
          "stammdaten",
          "transaktionsdaten",
          "zusatzdaten"
        ],
        "type": "object"
      },
      "Messwertstatus": {
        "description": "Der Status eines Zählerstandes",
        "enum": [
          "ABGELESEN",
          "ERSATZWERT",
          "VORSCHLAGSWERT",
          "NICHT_VERWENDBAR",
          "PROGNOSEWERT",
          "ENERGIEMENGESUMMIERT",
          "VOLAEUFIGERWERT",
          "FEHLT",
          "ANGABE_FUER_LIEFERSCHEIN",
          "GRUNDLAGE_POG_ERMITTLUNG"
        ],
        "title": "Messwertstatus",
        "type": "string"
      },
      "PI_13002__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13002__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          },
          "ZAEHLER": {
            "items": {
              "$ref": "#/components/schemas/PI_13002__stammdaten__ZAEHLER"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE",
          "ZAEHLER"
        ],
        "type": "object",
        "title": "13002"
      },
      "PI_13002__stammdaten__ENERGIEMENGE": {
        "properties": {
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13002__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "referenzStammdatenmeldungMsb": {
            "$ref": "#/components/schemas/referenzStammdatenmeldungMsb",
            "x-edifact-segment": [
              "SG1.RFF+Z30"
            ]
          }
        },
        "required": [
          "energieverbrauch",
          "lokationsId"
        ],
        "type": "object"
      },
      "PI_13002__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "ablesedatum": {
            "$ref": "#/components/schemas/ablesedatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+9"
            ]
          },
          "ausfuehrungszeitpunkt": {
            "$ref": "#/components/schemas/ausfuehrungszeitpunkt",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+60"
            ]
          },
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "nutzungszeitpunkt": {
            "$ref": "#/components/schemas/nutzungszeitpunkt",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+7"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13002__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "messwertstatus",
          "obiskennzahl",
          "position",
          "wert"
        ],
        "type": "object"
      },
      "PI_13002__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13002__stammdaten__ZAEHLER": {
        "properties": {
          "zaehlernummer": {
            "$ref": "#/components/schemas/zaehlernummer",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG7.RFF+MG"
            ]
          }
        },
        "required": [
          "zaehlernummer"
        ],
        "type": "object"
      },
      "PI_13007__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13007__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13007"
      },
      "PI_13007__stammdaten__ENERGIEMENGE": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+164"
            ]
          },
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13007__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "fertigstellungsdatum": {
            "$ref": "#/components/schemas/fertigstellungsdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+293"
            ]
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+163"
            ]
          }
        },
        "required": [
          "enddatum",
          "energieverbrauch",
          "fertigstellungsdatum",
          "lokationsId",
          "startdatum"
        ],
        "type": "object"
      },
      "PI_13007__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13007__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "enddatum",
          "messwertstatus",
          "obiskennzahl",
          "position",
          "startdatum",
          "wert"
        ],
        "type": "object"
      },
      "PI_13007__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13008__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13008__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13008"
      },
      "PI_13008__stammdaten__ENERGIEMENGE": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+164"
            ]
          },
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13008__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+163"
            ]
          }
        },
        "required": [
          "enddatum",
          "energieverbrauch",
          "lokationsId",
          "startdatum"
        ],
        "type": "object"
      },
      "PI_13008__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13008__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "enddatum",
          "messwertstatus",
          "obiskennzahl",
          "position",
          "startdatum",
          "wert"
        ],
        "type": "object"
      },
      "PI_13008__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13009__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13009__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13009"
      },
      "PI_13009__stammdaten__ENERGIEMENGE": {
        "properties": {
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13009__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          }
        },
        "required": [
          "energieverbrauch",
          "lokationsId"
        ],
        "type": "object"
      },
      "PI_13009__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "leistungsperiode": {
            "$ref": "#/components/schemas/leistungsperiode",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+306"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13009__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "messwertstatus",
          "obiskennzahl",
          "position",
          "wert"
        ],
        "type": "object"
      },
      "PI_13009__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z31",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13016__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13016__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13016"
      },
      "PI_13016__stammdaten__ENERGIEMENGE": {
        "properties": {
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13016__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          }
        },
        "required": [
          "energieverbrauch",
          "lokationsId"
        ],
        "type": "object"
      },
      "PI_13016__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].DTM+164"
            ]
          },
          "leistungsperiode": {
            "$ref": "#/components/schemas/leistungsperiode",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].DTM+306"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18]"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13016__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18]"
            ]
          }
        },
        "required": [
          "messwertstatus",
          "obiskennzahl",
          "position",
          "wert"
        ],
        "type": "object"
      },
      "PI_13016__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY+[220|67|Z18].STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13017__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13017__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          },
          "ZAEHLER": {
            "items": {
              "$ref": "#/components/schemas/PI_13017__stammdaten__ZAEHLER"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13017"
      },
      "PI_13017__stammdaten__ENERGIEMENGE": {
        "properties": {
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13017__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172",
              "SG5.NAD+DP.SG6.LOC+172.SG7.RFF+AGK"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          }
        },
        "required": [
          "energieverbrauch",
          "lokationsId"
        ],
        "type": "object"
      },
      "PI_13017__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "ablesedatum": {
            "$ref": "#/components/schemas/ablesedatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+9"
            ]
          },
          "ausfuehrungszeitpunkt": {
            "$ref": "#/components/schemas/ausfuehrungszeitpunkt",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+60"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "nutzungszeitpunkt": {
            "$ref": "#/components/schemas/nutzungszeitpunkt",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+7"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13017__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "messwertstatus",
          "nutzungszeitpunkt",
          "obiskennzahl",
          "position",
          "wert"
        ],
        "type": "object"
      },
      "PI_13017__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13017__stammdaten__ZAEHLER": {
        "properties": {
          "zaehlernummer": {
            "$ref": "#/components/schemas/zaehlernummer",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG7.RFF+MG"
            ]
          }
        },
        "type": "object"
      },
      "PI_13018__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13018__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13018"
      },
      "PI_13018__stammdaten__ENERGIEMENGE": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+164"
            ]
          },
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13018__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+163"
            ]
          }
        },
        "required": [
          "enddatum",
          "energieverbrauch",
          "lokationsId",
          "startdatum"
        ],
        "type": "object"
      },
      "PI_13018__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13018__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "enddatum",
          "messwertstatus",
          "obiskennzahl",
          "position",
          "startdatum",
          "wert"
        ],
        "type": "object"
      },
      "PI_13018__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13019__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13019__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13019"
      },
      "PI_13019__stammdaten__ENERGIEMENGE": {
        "properties": {
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13019__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172",
              "SG5.NAD+DP.SG6.LOC+172.SG7.RFF+AGK"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          }
        },
        "required": [
          "energieverbrauch",
          "lokationsId"
        ],
        "type": "object"
      },
      "PI_13019__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13019__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "enddatum",
          "messwertstatus",
          "obiskennzahl",
          "position",
          "startdatum",
          "wert"
        ],
        "type": "object"
      },
      "PI_13019__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+10",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+10",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13025__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13025__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13025"
      },
      "PI_13025__stammdaten__ENERGIEMENGE": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+164"
            ]
          },
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13025__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.DTM+163"
            ]
          }
        },
        "required": [
          "enddatum",
          "energieverbrauch",
          "lokationsId",
          "startdatum"
        ],
        "type": "object"
      },
      "PI_13025__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "statuszusatzinformationen": {
            "items": {
              "$ref": "#/components/schemas/PI_13025__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen"
            },
            "type": "array"
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "enddatum",
          "messwertstatus",
          "obiskennzahl",
          "position",
          "startdatum",
          "wert"
        ],
        "type": "object"
      },
      "PI_13025__stammdaten__ENERGIEMENGE__energieverbrauch__statuszusatzinformationen": {
        "properties": {
          "art": {
            "$ref": "#/components/schemas/art",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          },
          "status": {
            "$ref": "#/components/schemas/status",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z32",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z33",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z34",
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.STS+Z40"
            ]
          }
        },
        "type": "object"
      },
      "PI_13027__stammdaten": {
        "properties": {
          "ENERGIEMENGE": {
            "items": {
              "$ref": "#/components/schemas/PI_13027__stammdaten__ENERGIEMENGE"
            },
            "type": "array"
          }
        },
        "required": [
          "ENERGIEMENGE"
        ],
        "type": "object",
        "title": "13027"
      },
      "PI_13027__stammdaten__ENERGIEMENGE": {
        "properties": {
          "energieverbrauch": {
            "items": {
              "$ref": "#/components/schemas/PI_13027__stammdaten__ENERGIEMENGE__energieverbrauch"
            },
            "type": "array"
          },
          "konfiguration": {
            "$ref": "#/components/schemas/konfiguration",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          },
          "lokationsId": {
            "$ref": "#/components/schemas/lokationsId",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172"
            ]
          }
        },
        "required": [
          "energieverbrauch",
          "lokationsId"
        ],
        "type": "object"
      },
      "PI_13027__stammdaten__ENERGIEMENGE__energieverbrauch": {
        "properties": {
          "enddatum": {
            "$ref": "#/components/schemas/enddatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+164"
            ]
          },
          "messwertstatus": {
            "$ref": "#/components/schemas/messwertstatus",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          },
          "nutzungszeitpunkt": {
            "$ref": "#/components/schemas/nutzungszeitpunkt",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+7"
            ]
          },
          "obiskennzahl": {
            "$ref": "#/components/schemas/obiskennzahl",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.PIA+5"
            ]
          },
          "position": {
            "$ref": "#/components/schemas/position",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN"
            ]
          },
          "startdatum": {
            "$ref": "#/components/schemas/startdatum",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY.DTM+163"
            ]
          },
          "wert": {
            "$ref": "#/components/schemas/wert",
            "x-edifact-segment": [
              "SG5.NAD+DP.SG6.LOC+172.SG9.LIN.SG10.QTY"
            ]
          }
        },
        "required": [
          "messwertstatus",
          "obiskennzahl",
          "position",
          "wert"
        ],
        "type": "object"
      },
      "Sparte": {
        "description": "Sparte",
        "enum": [
          "STROM",
          "GAS",
          "FERNWAERME",
          "NAHWAERME",
          "WASSER",
          "ABWASSER"
        ],
        "title": "Sparte",
        "type": "string"
      },
      "Status": {
        "description": "Status",
        "enum": [
          "KUNDENSELBSTABLESUNG",
          "LEERSTAND",
          "REALER_ZAEHLERUEBERLAUF_GEPRUEFT",
          "PLAUSIBEL_WG_KONTROLLABLESUNG",
          "PLAUSIBEL_WG_KUNDENHINWEIS",
          "AUSTAUSCH_DES_ERSATZWERTES",
          "RECHENWERT",
          "BASIS_MME",
          "VERGLEICHSMESSUNG_GEEICHT",
          "VERGLEICHSMESSUNG_NICHT_GEEICHT",
          "MESSWERTNACHBILDUNG_AUS_GEEICHTEN_WERTEN",
          "MESSWERTNACHBILDUNG_AUS_NICHT_GEEICHTEN_WERTEN",
          "INTERPOLATION",
          "HALTEWERT",
          "BILANZIERUNG_NETZABSCHNITT",
          "HISTORISCHE_MESSWERTE",
          "STATISTISCHE_METHODE",
          "AUFTEILUNG",
          "VERWENDUNG_VON_WERTEN_DES_STOERMENGENZAEHLWERKS",
          "UMGANGS_UND_KORREKTURMENGEN",
          "ANGABEN_MESSLOKATION",
          "KEIN_ZUGANG",
          "KOMMUNIKATIONSSTOERUNG",
          "NETZAUSFALL",
          "SPANNUNGSAUSFALL",
          "STATUS_GERAETEWECHSEL",
          "KALIBRIERUNG",
          "GERAET_ARBEITET_AUSSERHALB_DER_BETRIEBSBEDINGUNGEN",
          "MESSEINRICHTUNG_GESTOERT_DEFEKT",
          "UNSICHERHEIT_MESSUNG",
          "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",
          "IMPULSWERTIGKEIT_NICHT_AUSREICHEND",
          "ENERGIEMENGE_IN_UNGEMESSENEM_ZEITINTERVALL",
          "ENERGIEMENGE_AUS_DEM_UNGEPAIRTEN_ZEITINTERVALL",
          "WARTUNGSARBEITEN_AN_GEEICHTEM_MESSGERAET",
          "GESTOERTE_WERTE",
          "WARTUNGSARBEITEN_AN_EICHRECHTSKONFORMEN_MESSGERAETEN",
          "KONSISTENZ_UND_SYNCHRONPRUEFUNG",
          "GRUND_ANGABEN_MESSLOKATION",
          "ANFORDERUNG_IN_DIE_VERGANGENHEIT_ZUM_ANGEFORDERTEN_ZEITPUNKT_LIEGT_KEIN_WERT_VOR",
          "UMSTELLUNG_GASQUALITAET",
          "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",
          "GESCHEITERT",
          "AUSGEBAUT"
        ],
        "title": "Status",
        "type": "string"
      },
      "TechnischeRessourceArt": {
        "description": "TechnischeRessourceArt",
        "enum": [
          "STROMERZEUGUNG",
          "STROMVERBRAUCH",
          "SPEICHER"
        ],
        "title": "TechnischeRessourceArt",
        "type": "string"
      },
      "ablesedatum": {
        "description": "ablesedatum",
        "format": "date-time",
        "type": "string"
      },
      "anfrageReferenz": {
        "description": "Beantragungsnummer / RFF+AGI",
        "type": "string"
      },
      "art": {
        "$ref": "#/components/schemas/TechnischeRessourceArt"
      },
      "ausfuehrungszeitpunkt": {
        "description": "ausfuehrungszeitpunkt",
        "format": "date-time",
        "type": "string"
      },
      "enddatum": {
        "description": "enddatum",
        "format": "date-time",
        "type": "string"
      },
      "event_response_fail": {
        "description": "Fehlermeldung auf Prozessdaten API Aufruf | Error message on process data API call",
        "properties": {
          "errorCode": {
            "description": "Error identifier",
            "example": "400",
            "type": "string"
          },
          "message": {
            "description": "Technische Meldung | Technische Meldung",
            "example": "Validation Failed",
            "type": "string"
          }
        },
        "type": "object"
      },
      "event_responses_success": {
        "description": "Erfolgsmeldung auf Prozessdaten API Aufruf | Success message on process data API call",
        "properties": {
          "businessKey": {
            "description": "Einzigartige Kennung des Geschäftsprozesses | Unique identifier of the business process",
            "format": "uuid",
            "type": "string"
          },
          "message": {
            "description": "Nachricht mit Details zum ausgelösten Event | Message with details about the triggered event",
            "example": "received event XXXXXXXXXXXX with id at 2024-08-08T12:58:22Z and started process with businessKey 4c7170ed-3518-41ee-8582-39ab65b00107",
            "type": "string"
          }
        },
        "required": [
          "businessKey",
          "message"
        ],
        "type": "object"
      },
      "fertigstellungsdatum": {
        "description": "fertigstellungsdatum",
        "format": "date-time",
        "type": "string"
      },
      "kategorie": {
        "description": "Qualifier aus dem Beginn der EDIFact Nachricht / BGM",
        "type": "string"
      },
      "konfiguration": {
        "description": "Konfiguration (iMSys) des Zählwerks",
        "type": "string"
      },
      "leistungsperiode": {
        "description": "leistungsperiode",
        "type": "string"
      },
      "lokationsId": {
        "description": "Für welche Markt- oder Messlokation gilt diese Anfrage.",
        "type": "string"
      },
      "lokationsTyp": {
        "$ref": "#/components/schemas/Lokationstyp",
        "description": "Typ der Lokation"
      },
      "messwertstatus": {
        "$ref": "#/components/schemas/Messwertstatus"
      },
      "nutzungszeitpunkt": {
        "description": "nutzungszeitpunkt",
        "format": "date-time",
        "type": "string"
      },
      "obiskennzahl": {
        "description": "obiskennzahl",
        "type": "string"
      },
      "position": {
        "description": "position",
        "type": "integer"
      },
      "referenzStammdatenmeldungMsb": {
        "description": "referenzStammdatenmeldungMsb",
        "type": "string"
      },
      "rollencodenummer": {
        "description": "Gibt die Codenummer der Marktrolle an.",
        "type": "string"
      },
      "sparte": {
        "$ref": "#/components/schemas/Sparte",
        "description": "Enthält Informationen über die Sparte"
      },
      "startdatum": {
        "description": "startdatum",
        "format": "date-time",
        "type": "string"
      },
      "status": {
        "$ref": "#/components/schemas/Status"
      },
      "typ": {
        "description": "Alter FW - OBSOLET",
        "type": "string"
      },
      "wert": {
        "description": "Wert",
        "format": "float",
        "type": "number"
      },
      "zaehlernummer": {
        "description": "Nummerierung des Zählers, vergeben durch den Messstellenbetreiber",
        "type": "string"
      }
    }
  }
}