diff --git a/json_schemas/bo/Rechnung.json b/json_schemas/bo/Rechnung.json deleted file mode 100644 index cea234570..000000000 --- a/json_schemas/bo/Rechnung.json +++ /dev/null @@ -1,3196 +0,0 @@ -{ - "$defs": { - "Adresse": { - "additionalProperties": true, - "description": "Contains an address that can be used for most purposes.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Adresse.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Adresse JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Adresse.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "adresszusatz": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Adresszusatz" - }, - "coErgaenzung": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Coergaenzung" - }, - "hausnummer": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Hausnummer" - }, - "landescode": { - "anyOf": [ - { - "$ref": "#/$defs/Landescode" - }, - { - "type": "null" - } - ], - "default": "DE" - }, - "ort": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Ort" - }, - "ortsteil": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Ortsteil" - }, - "postfach": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Postfach" - }, - "postleitzahl": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Postleitzahl" - }, - "strasse": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Strasse" - } - }, - "title": "Adresse", - "type": "object" - }, - "Anrede": { - "description": "Übersicht möglicher Anreden, z.B. eines Geschäftspartners.", - "enum": [ - "HERR", - "FRAU", - "EHELEUTE", - "FIRMA", - "INDIVIDUELL" - ], - "title": "Anrede", - "type": "string" - }, - "ArithmetischeOperation": { - "description": "Mit dieser Aufzählung können arithmetische Operationen festgelegt werden.", - "enum": [ - "ADDITION", - "SUBTRAKTION", - "MULTIPLIKATION", - "DIVISION" - ], - "title": "ArithmetischeOperation", - "type": "string" - }, - "BDEWArtikelnummer": { - "description": "BDEW Artikelnummern", - "enum": [ - "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", - "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", - "AUSGLEICHSENERGIE_UNTERDECKUNG" - ], - "title": "BDEWArtikelnummer", - "type": "string" - }, - "Betrag": { - "additionalProperties": true, - "description": "Die Komponente wird dazu verwendet, Summenbeträge (beispielsweise in Angeboten und Rechnungen) als Geldbeträge\nabzubilden. Die Einheit ist dabei immer die Hauptwährung also Euro, Dollar etc…\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Betrag.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Betrag JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Betrag.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "waehrung": { - "anyOf": [ - { - "$ref": "#/$defs/Waehrungscode" - }, - { - "type": "null" - } - ], - "default": null - }, - "wert": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Wert" - } - }, - "title": "Betrag", - "type": "object" - }, - "Bilanzierungsmethode": { - "description": "Mit dieser Aufzählung kann zwischen den Bilanzierungsmethoden bzw. -grundlagen unterschieden werden.", - "enum": [ - "RLM", - "SLP", - "TLP_GEMEINSAM", - "TLP_GETRENNT", - "PAUSCHAL" - ], - "title": "Bilanzierungsmethode", - "type": "string" - }, - "Dienstleistung": { - "additionalProperties": true, - "description": "Abbildung einer abrechenbaren Dienstleistung.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Dienstleistung.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Dienstleistung JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Dienstleistung.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "bezeichnung": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Bezeichnung" - }, - "dienstleistungstyp": { - "anyOf": [ - { - "$ref": "#/$defs/Dienstleistungstyp" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "title": "Dienstleistung", - "type": "object" - }, - "Dienstleistungstyp": { - "description": "Auflistung möglicher abzurechnender Dienstleistungen.", - "enum": [ - "DATENBEREITSTELLUNG_TAEGLICH", - "DATENBEREITSTELLUNG_WOECHENTLICH", - "DATENBEREITSTELLUNG_MONATLICH", - "DATENBEREITSTELLUNG_JAEHRLICH", - "DATENBEREITSTELLUNG_HISTORISCHE_LG", - "DATENBEREITSTELLUNG_STUENDLICH", - "DATENBEREITSTELLUNG_VIERTELJAEHRLICH", - "DATENBEREITSTELLUNG_HALBJAEHRLICH", - "DATENBEREITSTELLUNG_MONATLICH_ZUSAETZLICH", - "DATENBEREITSTELLUNG_EINMALIG", - "AUSLESUNG_2X_TAEGLICH_FERNAUSLESUNG", - "AUSLESUNG_TAEGLICH_FERNAUSLESUNG", - "AUSLESUNG_MANUELL_MSB", - "AUSLESUNG_MONATLICH_FERNAUSLESUNG", - "AUSLESUNG_JAEHRLICH_FERNAUSLESUNG", - "AUSLESUNG_MDE", - "ABLESUNG_MONATLICH", - "ABLESUNG_VIERTELJAEHRLICH", - "ABLESUNG_HALBJAEHRLICH", - "ABLESUNG_JAEHRLICH", - "AUSLESUNG_FERNAUSLESUNG", - "ABLESUNG_ZUSAETZLICH_MSB", - "ABLESUNG_ZUSAETZLICH_KUNDE", - "AUSLESUNG_FERNAUSLESUNG_ZUSAETZLICH_MSB", - "AUSLESUNG_MOATLICH_FERNAUSLESUNG", - "AUSLESUNG_STUENDLICH_FERNAUSLESUNG", - "AUSLESUNG_TEMPERATURMENGENUMWERTER", - "AUSLESUNG_ZUSTANDSMENGENUMWERTER", - "AUSLESUNG_SYSTEMMENGENUMWERTER", - "AUSLESUNG_VORGANG", - "AUSLESUNG_KOMPAKTMENGENUMWERTER", - "SPERRUNG", - "ENTSPERRUNG", - "MAHNKOSTEN", - "INKASSOKOSTEN" - ], - "title": "Dienstleistungstyp", - "type": "string" - }, - "Energierichtung": { - "description": "Spezifiziert die Energierichtung einer Markt- und/oder Messlokation", - "enum": [ - "AUSSP", - "EINSP" - ], - "title": "Energierichtung", - "type": "string" - }, - "ExterneReferenz": { - "additionalProperties": true, - "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,\nsich die eindeutigen IDs der anzubindenden Systeme zu merken.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/ExterneReferenz.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `ExterneReferenz JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/ExterneReferenz.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "exRefName": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Exrefname" - }, - "exRefWert": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Exrefwert" - } - }, - "title": "ExterneReferenz", - "type": "object" - }, - "Gasqualitaet": { - "description": "Unterscheidung für hoch- und niedrig-kalorisches Gas.", - "enum": [ - "H_GAS", - "L_GAS" - ], - "title": "Gasqualitaet", - "type": "string" - }, - "Gebiettyp": { - "description": "List of possible Gebiettypen.", - "enum": [ - "REGELZONE", - "MARKTGEBIET", - "BILANZIERUNGSGEBIET", - "VERTEILNETZ", - "TRANSPORTNETZ", - "REGIONALNETZ", - "AREALNETZ", - "GRUNDVERSORGUNGSGEBIET", - "VERSORGUNGSGEBIET" - ], - "title": "Gebiettyp", - "type": "string" - }, - "Geokoordinaten": { - "additionalProperties": true, - "description": "This component provides the geo-coordinates for a location.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Geokoordinaten.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Geokoordinaten JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Geokoordinaten.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "breitengrad": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Breitengrad" - }, - "laengengrad": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Laengengrad" - } - }, - "title": "Geokoordinaten", - "type": "object" - }, - "Geraetetyp": { - "description": "Auflistung möglicher abzurechnender Gerätetypen.", - "enum": [ - "WECHSELSTROMZAEHLER", - "DREHSTROMZAEHLER", - "ZWEIRICHTUNGSZAEHLER", - "RLM_ZAEHLER", - "BALGENGASZAEHLER", - "MAXIMUMZAEHLER", - "MULTIPLEXANLAGE", - "PAUSCHALANLAGE", - "VERSTAERKERANLAGE", - "SUMMATIONSGERAET", - "IMPULSGEBER", - "EDL_21_ZAEHLERAUFSATZ", - "VIER_QUADRANTEN_LASTGANGZAEHLER", - "MENGENUMWERTER", - "STROMWANDLER", - "SPANNUNGSWANDLER", - "KOMBIMESSWANDLER", - "BLOCKSTROMWANDLER", - "DATENLOGGER", - "KOMMUNIKATIONSANSCHLUSS", - "MODEM", - "TELEKOMMUNIKATIONSEINRICHTUNG", - "DREHKOLBENGASZAEHLER", - "TURBINENRADGASZAEHLER", - "ULTRASCHALLZAEHLER", - "WIRBELGASZAEHLER", - "MODERNE_MESSEINRICHTUNG", - "INTELLIGENTES_MESSYSTEM", - "ELEKTRONISCHER_HAUSHALTSZAEHLER", - "STEUEREINRICHTUNG", - "TARIFSCHALTGERAET", - "RUNDSTEUEREMPFAENGER", - "OPTIONALE_ZUS_ZAEHLEINRICHTUNG", - "MESSWANDLERSATZ_IMS_MME", - "KOMBIMESSWANDLER_IMS_MME", - "TARIFSCHALTGERAET_IMS_MME", - "RUNDSTEUEREMPFAENGER_IMS_MME", - "TEMPERATUR_KOMPENSATION", - "HOECHSTBELASTUNGS_ANZEIGER", - "SONSTIGES_GERAET", - "PREPAYMENTZAEHLER", - "EDL_21", - "96_H_ZAEHLER", - "EDL_40_ZAEHLERAUFSATZ", - "EDL_40" - ], - "title": "Geraetetyp", - "type": "string" - }, - "Geschaeftspartner": { - "additionalProperties": true, - "description": "Mit diesem Objekt können Geschäftspartner übertragen werden.\nSowohl Unternehmen, als auch Privatpersonen können Geschäftspartner sein.\nHinweis: Marktteilnehmer haben ein eigenes BO, welches sich von diesem BO ableitet.\nHier sollte daher keine Zuordnung zu Marktrollen erfolgen.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/bo/Geschaeftspartner.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Geschaeftspartner JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/bo/Geschaeftspartner.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "_typ": { - "anyOf": [ - { - "$ref": "#/$defs/Typ" - }, - { - "type": "null" - } - ], - "default": "GESCHAEFTSPARTNER" - }, - "amtsgericht": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Amtsgericht" - }, - "anrede": { - "anyOf": [ - { - "$ref": "#/$defs/Anrede" - }, - { - "type": "null" - } - ], - "default": null - }, - "eMailAdresse": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Emailadresse" - }, - "externeReferenzen": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/ExterneReferenz" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Externereferenzen" - }, - "geschaeftspartnerrolle": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Geschaeftspartnerrolle" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Geschaeftspartnerrolle" - }, - "glaeubigerId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Glaeubigerid" - }, - "hrnummer": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Hrnummer" - }, - "istGewerbe": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Istgewerbe" - }, - "kontaktweg": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Kontaktart" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Kontaktweg" - }, - "name1": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Name1" - }, - "name2": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Name2" - }, - "name3": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Name3" - }, - "partneradresse": { - "anyOf": [ - { - "$ref": "#/$defs/Adresse" - }, - { - "type": "null" - } - ], - "default": null - }, - "umsatzsteuerId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Umsatzsteuerid" - }, - "versionstruktur": { - "default": "2", - "title": "Versionstruktur", - "type": "string" - }, - "website": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Website" - } - }, - "title": "Geschaeftspartner", - "type": "object" - }, - "Geschaeftspartnerrolle": { - "description": "Diese Rollen kann ein Geschäftspartner einnehmen.", - "enum": [ - "LIEFERANT", - "DIENSTLEISTER", - "KUNDE", - "INTERESSENT", - "MARKTPARTNER" - ], - "title": "Geschaeftspartnerrolle", - "type": "string" - }, - "Hardware": { - "additionalProperties": true, - "description": "Abbildung einer abrechenbaren Hardware\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Hardware.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Hardware JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Hardware.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "bezeichnung": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Bezeichnung" - }, - "geraetetyp": { - "anyOf": [ - { - "$ref": "#/$defs/Geraetetyp" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "title": "Hardware", - "type": "object" - }, - "Katasteradresse": { - "additionalProperties": true, - "description": "Dient der Adressierung über die Liegenschafts-Information.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Katasteradresse.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Katasteradresse JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Katasteradresse.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "flurstueck": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Flurstueck" - }, - "gemarkungFlur": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Gemarkungflur" - } - }, - "title": "Katasteradresse", - "type": "object" - }, - "Kontaktart": { - "description": "Art des Kontaktes zwischen Geschäftspartnern.", - "enum": [ - "ANSCHREIBEN", - "TELEFONAT", - "FAX", - "E_MAIL", - "SMS" - ], - "title": "Kontaktart", - "type": "string" - }, - "Kundentyp": { - "description": "Auflistung der Typen von Endkunden. Daraus kann das Verbrauchsprofil abgeleitet werden.", - "enum": [ - "GEWERBE", - "PRIVAT", - "LANDWIRT", - "SONSTIGE", - "HAUSHALT", - "DIREKTHEIZUNG", - "GEMEINSCHAFT_MFH", - "KIRCHE", - "KWK", - "LADESAEULE", - "BELEUCHTUNG_OEFFENTLICH", - "BELEUCHTUNG_STRASSE", - "SPEICHERHEIZUNG", - "UNTERBR_EINRICHTUNG", - "WAERMEPUMPE" - ], - "title": "Kundentyp", - "type": "string" - }, - "Landescode": { - "enum": [ - "AF", - "AX", - "AL", - "DZ", - "AS", - "AD", - "AO", - "AI", - "AQ", - "AG", - "AR", - "AM", - "AW", - "AU", - "AT", - "AZ", - "BS", - "BH", - "BD", - "BB", - "BY", - "BE", - "BZ", - "BJ", - "BM", - "BT", - "BO", - "BQ", - "BA", - "BW", - "BV", - "BR", - "IO", - "BN", - "BG", - "BF", - "BI", - "KH", - "CM", - "CA", - "CV", - "KY", - "CF", - "TD", - "CL", - "CN", - "CX", - "CC", - "CO", - "KM", - "CG", - "CD", - "CK", - "CR", - "CI", - "HR", - "CU", - "CW", - "CY", - "CZ", - "DK", - "DJ", - "DM", - "DO", - "EC", - "EG", - "SV", - "GQ", - "ER", - "EE", - "ET", - "FK", - "FO", - "FJ", - "FI", - "FR", - "GF", - "PF", - "TF", - "GA", - "GM", - "GE", - "DE", - "GH", - "GI", - "GR", - "GL", - "GD", - "GP", - "GU", - "GT", - "GG", - "GN", - "GW", - "GY", - "HT", - "HM", - "VA", - "HN", - "HK", - "HU", - "IS", - "IN", - "ID", - "IR", - "IQ", - "IE", - "IM", - "IL", - "IT", - "JM", - "JP", - "JE", - "JO", - "KZ", - "KE", - "KI", - "KP", - "KR", - "XK", - "KW", - "KG", - "LA", - "LV", - "LB", - "LS", - "LR", - "LY", - "LI", - "LT", - "LU", - "MO", - "MK", - "MG", - "MW", - "MY", - "MV", - "ML", - "MT", - "MH", - "MQ", - "MR", - "MU", - "YT", - "MX", - "FM", - "MD", - "MC", - "MN", - "ME", - "MS", - "MA", - "MZ", - "MM", - "NA", - "NR", - "NP", - "NL", - "NC", - "NZ", - "NI", - "NE", - "NG", - "NU", - "NF", - "MP", - "NO", - "OM", - "PK", - "PW", - "PS", - "PA", - "PG", - "PY", - "PE", - "PH", - "PN", - "PL", - "PT", - "PR", - "QA", - "RE", - "RO", - "RU", - "RW", - "BL", - "SH", - "KN", - "LC", - "MF", - "PM", - "VC", - "WS", - "SM", - "ST", - "SA", - "SN", - "RS", - "SC", - "SL", - "SG", - "SX", - "SK", - "SI", - "SB", - "SO", - "ZA", - "GS", - "SS", - "ES", - "LK", - "SD", - "SR", - "SJ", - "SZ", - "SE", - "CH", - "SY", - "TW", - "TJ", - "TZ", - "TH", - "TL", - "TG", - "TK", - "TO", - "TT", - "TN", - "TR", - "TM", - "TC", - "TV", - "UG", - "UA", - "AE", - "GB", - "US", - "UM", - "UY", - "UZ", - "VU", - "VE", - "VN", - "VG", - "VI", - "WF", - "EH", - "YE", - "ZM", - "ZW" - ], - "title": "Landescode", - "type": "string" - }, - "Marktlokation": { - "additionalProperties": true, - "description": "Object containing information about a Marktlokation\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/bo/Marktlokation.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Marktlokation JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/bo/Marktlokation.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "_typ": { - "anyOf": [ - { - "$ref": "#/$defs/Typ" - }, - { - "type": "null" - } - ], - "default": "MARKTLOKATION" - }, - "bilanzierungsgebiet": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Bilanzierungsgebiet" - }, - "bilanzierungsmethode": { - "anyOf": [ - { - "$ref": "#/$defs/Bilanzierungsmethode" - }, - { - "type": "null" - } - ], - "default": null - }, - "endkunde": { - "anyOf": [ - { - "$ref": "#/$defs/Geschaeftspartner" - }, - { - "type": "null" - } - ], - "default": null - }, - "energierichtung": { - "anyOf": [ - { - "$ref": "#/$defs/Energierichtung" - }, - { - "type": "null" - } - ], - "default": null - }, - "externeReferenzen": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/ExterneReferenz" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Externereferenzen" - }, - "gasqualitaet": { - "anyOf": [ - { - "$ref": "#/$defs/Gasqualitaet" - }, - { - "type": "null" - } - ], - "default": null - }, - "gebietstyp": { - "anyOf": [ - { - "$ref": "#/$defs/Gebiettyp" - }, - { - "type": "null" - } - ], - "default": null - }, - "geoadresse": { - "anyOf": [ - { - "$ref": "#/$defs/Geokoordinaten" - }, - { - "type": "null" - } - ], - "default": null - }, - "grundversorgercodenr": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Grundversorgercodenr" - }, - "istUnterbrechbar": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Istunterbrechbar" - }, - "katasterinformation": { - "anyOf": [ - { - "$ref": "#/$defs/Katasteradresse" - }, - { - "type": "null" - } - ], - "default": null - }, - "kundengruppen": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Kundentyp" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Kundengruppen" - }, - "lokationsadresse": { - "anyOf": [ - { - "$ref": "#/$defs/Adresse" - }, - { - "type": "null" - } - ], - "default": null - }, - "marktlokationsId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Marktlokationsid" - }, - "netzbetreibercodenr": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Netzbetreibercodenr" - }, - "netzebene": { - "anyOf": [ - { - "$ref": "#/$defs/Netzebene" - }, - { - "type": "null" - } - ], - "default": null - }, - "netzgebietsnr": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Netzgebietsnr" - }, - "sparte": { - "anyOf": [ - { - "$ref": "#/$defs/Sparte" - }, - { - "type": "null" - } - ], - "default": null - }, - "verbrauchsart": { - "anyOf": [ - { - "$ref": "#/$defs/Verbrauchsart" - }, - { - "type": "null" - } - ], - "default": null - }, - "versionstruktur": { - "default": "2", - "title": "Versionstruktur", - "type": "string" - }, - "zugehoerigeMesslokation": { - "anyOf": [ - { - "$ref": "#/$defs/Messlokationszuordnung" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "title": "Marktlokation", - "type": "object" - }, - "Menge": { - "additionalProperties": true, - "description": "Abbildung einer Menge mit Wert und Einheit.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Menge.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Menge JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Menge.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "einheit": { - "anyOf": [ - { - "$ref": "#/$defs/Mengeneinheit" - }, - { - "type": "null" - } - ], - "default": null - }, - "wert": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Wert" - } - }, - "title": "Menge", - "type": "object" - }, - "Mengeneinheit": { - "description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.", - "enum": [ - "W", - "WH", - "KW", - "KWH", - "KVARH", - "MW", - "MWH", - "STUECK", - "KUBIKMETER", - "STUNDE", - "TAG", - "MONAT", - "JAHR", - "PROZENT" - ], - "title": "Mengeneinheit", - "type": "string" - }, - "Messlokation": { - "additionalProperties": true, - "description": "Object containing information about a Messlokation\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/bo/Messlokation.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Messlokation JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/bo/Messlokation.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "_typ": { - "anyOf": [ - { - "$ref": "#/$defs/Typ" - }, - { - "type": "null" - } - ], - "default": "MESSLOKATION" - }, - "externeReferenzen": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/ExterneReferenz" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Externereferenzen" - }, - "geoadresse": { - "anyOf": [ - { - "$ref": "#/$defs/Geokoordinaten" - }, - { - "type": "null" - } - ], - "default": null - }, - "geraete": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Hardware" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Geraete" - }, - "grundzustaendigerMsbCodenr": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Grundzustaendigermsbcodenr" - }, - "grundzustaendigerMsbimCodenr": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Grundzustaendigermsbimcodenr" - }, - "katasterinformation": { - "anyOf": [ - { - "$ref": "#/$defs/Katasteradresse" - }, - { - "type": "null" - } - ], - "default": null - }, - "messadresse": { - "anyOf": [ - { - "$ref": "#/$defs/Adresse" - }, - { - "type": "null" - } - ], - "default": null - }, - "messdienstleistung": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Dienstleistung" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Messdienstleistung" - }, - "messgebietnr": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Messgebietnr" - }, - "messlokationsId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Messlokationsid" - }, - "messlokationszaehler": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Zaehler" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Messlokationszaehler" - }, - "netzebeneMessung": { - "anyOf": [ - { - "$ref": "#/$defs/Netzebene" - }, - { - "type": "null" - } - ], - "default": null - }, - "sparte": { - "anyOf": [ - { - "$ref": "#/$defs/Sparte" - }, - { - "type": "null" - } - ], - "default": null - }, - "versionstruktur": { - "default": "2", - "title": "Versionstruktur", - "type": "string" - } - }, - "title": "Messlokation", - "type": "object" - }, - "Messlokationszuordnung": { - "additionalProperties": true, - "description": "Mit dieser Komponente werden Messlokationen zu Marktlokationen zugeordnet.\nDabei kann eine arithmetische Operation (Addition, Subtraktion, Multiplikation, Division) angegeben werden,\nmit der die Messlokation zum Verbrauch der Marktlokation beiträgt.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Messlokationszuordnung.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Messlokationszuordnung JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Messlokationszuordnung.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "arithmetik": { - "anyOf": [ - { - "$ref": "#/$defs/ArithmetischeOperation" - }, - { - "type": "null" - } - ], - "default": null - }, - "gueltigBis": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Gueltigbis" - }, - "gueltigSeit": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Gueltigseit" - }, - "messlokationsId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Messlokationsid" - } - }, - "title": "Messlokationszuordnung", - "type": "object" - }, - "Netzebene": { - "description": "Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.", - "enum": [ - "NSP", - "MSP", - "HSP", - "HSS", - "MSP_NSP_UMSP", - "HSP_MSP_UMSP", - "HSS_HSP_UMSP", - "HD", - "MD", - "ND" - ], - "title": "Netzebene", - "type": "string" - }, - "NetznutzungRechnungsart": { - "description": "Abbildung verschiedener in der INVOIC angegebenen Rechnungsarten.", - "enum": [ - "HANDELSRECHNUNG", - "SELBSTAUSGESTELLT" - ], - "title": "NetznutzungRechnungsart", - "type": "string" - }, - "NetznutzungRechnungstyp": { - "description": "Abbildung verschiedener in der INVOIC angegebenen Rechnungstypen.", - "enum": [ - "ABSCHLUSSRECHNUNG", - "ABSCHLAGSRECHNUNG", - "TURNUSRECHNUNG", - "MONATSRECHNUNG", - "WIMRECHNUNG", - "ZWISCHENRECHNUNG", - "INTEGRIERTE_13TE_RECHNUNG", - "ZUSAETZLICHE_13TE_RECHNUNG", - "MEHRMINDERMENGENRECHNUNG" - ], - "title": "NetznutzungRechnungstyp", - "type": "string" - }, - "Preis": { - "additionalProperties": true, - "description": "Abbildung eines Preises mit Wert, Einheit, Bezugswert und Status.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Preis.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Preis JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Preis.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "bezugswert": { - "anyOf": [ - { - "$ref": "#/$defs/Mengeneinheit" - }, - { - "type": "null" - } - ], - "default": null - }, - "einheit": { - "anyOf": [ - { - "$ref": "#/$defs/Waehrungseinheit" - }, - { - "type": "null" - } - ], - "default": null - }, - "status": { - "anyOf": [ - { - "$ref": "#/$defs/Preisstatus" - }, - { - "type": "null" - } - ], - "default": null - }, - "wert": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Wert" - } - }, - "title": "Preis", - "type": "object" - }, - "Preisstatus": { - "description": "Statusinformation für Preise", - "enum": [ - "VORLAEUFIG", - "ENDGUELTIG" - ], - "title": "Preisstatus", - "type": "string" - }, - "Rechnungsposition": { - "additionalProperties": true, - "description": "Über Rechnungspositionen werden Rechnungen strukturiert.\nIn einem Rechnungsteil wird jeweils eine in sich geschlossene Leistung abgerechnet.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Rechnungsposition.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Rechnungsposition JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Rechnungsposition.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "artikelId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Artikelid" - }, - "artikelnummer": { - "anyOf": [ - { - "$ref": "#/$defs/BDEWArtikelnummer" - }, - { - "type": "null" - } - ], - "default": null - }, - "einzelpreis": { - "anyOf": [ - { - "$ref": "#/$defs/Preis" - }, - { - "type": "null" - } - ], - "default": null - }, - "lieferungBis": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Lieferungbis" - }, - "lieferungVon": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Lieferungvon" - }, - "lokationsId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Lokationsid" - }, - "positionsMenge": { - "anyOf": [ - { - "$ref": "#/$defs/Menge" - }, - { - "type": "null" - } - ], - "default": null - }, - "positionsnummer": { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Positionsnummer" - }, - "positionstext": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Positionstext" - }, - "teilrabattNetto": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "teilsummeNetto": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "teilsummeSteuer": { - "anyOf": [ - { - "$ref": "#/$defs/Steuerbetrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "zeitbezogeneMenge": { - "anyOf": [ - { - "$ref": "#/$defs/Menge" - }, - { - "type": "null" - } - ], - "default": null - }, - "zeiteinheit": { - "anyOf": [ - { - "$ref": "#/$defs/Zeiteinheit" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "title": "Rechnungsposition", - "type": "object" - }, - "Rechnungsstatus": { - "description": "Abbildung verschiedener Zustände, die im Rahmen der Rechnungsbearbeitung durchlaufen werden.", - "enum": [ - "UNGEPRUEFT", - "GEPRUEFT_OK", - "GEPRUEFT_FEHLERHAFT", - "GEBUCHT", - "BEZAHLT" - ], - "title": "Rechnungsstatus", - "type": "string" - }, - "Rechnungstyp": { - "description": "Abbildung verschiedener Rechnungstypen zur Kennzeichnung von Rechnungen", - "enum": [ - "ENDKUNDENRECHNUNG", - "NETZNUTZUNGSRECHNUNG", - "MEHRMINDERMENGENRECHNUNG", - "MESSSTELLENBETRIEBSRECHNUNG", - "BESCHAFFUNGSRECHNUNG", - "AUSGLEICHSENERGIERECHNUNG" - ], - "title": "Rechnungstyp", - "type": "string" - }, - "Sparte": { - "description": "Unterscheidungsmöglichkeiten für die Sparte.", - "enum": [ - "STROM", - "GAS", - "FERNWAERME", - "NAHWAERME", - "WASSER", - "ABWASSER", - "STROM_UND_GAS" - ], - "title": "Sparte", - "type": "string" - }, - "Steuerbetrag": { - "additionalProperties": true, - "description": "Abbildung eines Steuerbetrages.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Steuerbetrag.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Steuerbetrag JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Steuerbetrag.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "basiswert": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Basiswert" - }, - "steuerkennzeichen": { - "anyOf": [ - { - "$ref": "#/$defs/Steuerkennzeichen" - }, - { - "type": "null" - } - ], - "default": null - }, - "steuerwert": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Steuerwert" - }, - "waehrung": { - "anyOf": [ - { - "$ref": "#/$defs/Waehrungscode" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "title": "Steuerbetrag", - "type": "object" - }, - "Steuerkennzeichen": { - "description": "Zur Kennzeichnung verschiedener Steuersätze und Verfahren.", - "enum": [ - "UST_0", - "UST_19", - "UST_16", - "UST_7", - "VST_0", - "VST_19", - "VST_7", - "RCV" - ], - "title": "Steuerkennzeichen", - "type": "string" - }, - "Tarifart": { - "description": "Die Tarifart wird verwendet zur Charakterisierung von Zählern und daraus resultierenden Tarifen.", - "enum": [ - "EINTARIF", - "ZWEITARIF", - "MEHRTARIF", - "SMART_METER", - "LEISTUNGSGEMESSEN" - ], - "title": "Tarifart", - "type": "string" - }, - "Typ": { - "description": "Auflistung sämtlicher existierender Geschäftsobjekte.", - "enum": [ - "ANGEBOT", - "ANSPRECHPARTNER", - "AUSSCHREIUNG", - "BUENDELVERTRAG", - "ENERGIEMENGE", - "FREMDKOSTEN", - "GESCHAEFTSOBJEKT", - "GESCHAEFTSPARTNER", - "KOSTEN", - "LASTGANG", - "LASTGANG_KOMPAKT", - "MARKTLOKATION", - "MESSLOKATION", - "MARKTTEILNEHMER", - "NETZNUTZUNGSRECHNUNG", - "PREISBLATT", - "PREISBLATTDIENSTLEISTUNG", - "PREISBLATTHARDWARE", - "PREISBLATTKONZESSIONSABGABE", - "PREISBLATTMESSUNG", - "PREISBLATTNETZNUTZUNG", - "PREISBLATTUMLAGEN", - "RECHNUNG", - "REGION", - "REGIONALTARIF", - "STANDORTEIGENSCHAFTEN", - "TARIF", - "TARIFINFO", - "TARIFKOSTEN", - "TARIFPREISBLATT", - "VERTRAG", - "ZAEHLER", - "ZEITREIHE" - ], - "title": "Typ", - "type": "string" - }, - "Verbrauchsart": { - "description": "Verbrauchsart einer Marktlokation.", - "enum": [ - "KL", - "KLW", - "KLWS", - "W", - "WS" - ], - "title": "Verbrauchsart", - "type": "string" - }, - "Waehrungscode": { - "description": "Aufzählung der Währungscodes.", - "enum": [ - "AED", - "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" - ], - "title": "Waehrungscode", - "type": "string" - }, - "Waehrungseinheit": { - "description": "In diesem Enum werden die Währungen und ihre Untereinheiten definiert, beispielsweise für die Verwendung in Preisen.", - "enum": [ - "EUR", - "CT" - ], - "title": "Waehrungseinheit", - "type": "string" - }, - "Zaehler": { - "additionalProperties": true, - "description": "Object containing information about a meter/\"Zaehler\".\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/bo/Zaehler.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Zaehler JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/bo/Zaehler.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "_typ": { - "anyOf": [ - { - "$ref": "#/$defs/Typ" - }, - { - "type": "null" - } - ], - "default": "ZAEHLER" - }, - "eichungBis": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Eichungbis" - }, - "externeReferenzen": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/ExterneReferenz" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Externereferenzen" - }, - "letzteEichung": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Letzteeichung" - }, - "sparte": { - "anyOf": [ - { - "$ref": "#/$defs/Sparte" - }, - { - "type": "null" - } - ], - "default": null - }, - "tarifart": { - "anyOf": [ - { - "$ref": "#/$defs/Tarifart" - }, - { - "type": "null" - } - ], - "default": null - }, - "versionstruktur": { - "default": "2", - "title": "Versionstruktur", - "type": "string" - }, - "zaehlerauspraegung": { - "anyOf": [ - { - "$ref": "#/$defs/Zaehlerauspraegung" - }, - { - "type": "null" - } - ], - "default": null - }, - "zaehlerhersteller": { - "anyOf": [ - { - "$ref": "#/$defs/Geschaeftspartner" - }, - { - "type": "null" - } - ], - "default": null - }, - "zaehlerkonstante": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Zaehlerkonstante" - }, - "zaehlernummer": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Zaehlernummer" - }, - "zaehlertyp": { - "anyOf": [ - { - "$ref": "#/$defs/Zaehlertyp" - }, - { - "type": "null" - } - ], - "default": null - }, - "zaehlwerke": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Zaehlwerk" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Zaehlwerke" - } - }, - "title": "Zaehler", - "type": "object" - }, - "Zaehlerauspraegung": { - "description": "Gibt an, ob es sich um einen Einrichtungs- oder Zweirichtungszähler handelt.", - "enum": [ - "EINRICHTUNGSZAEHLER", - "ZWEIRICHTUNGSZAEHLER" - ], - "title": "Zaehlerauspraegung", - "type": "string" - }, - "Zaehlertyp": { - "description": "Bei diesem Enum handelt es sich um die Abbildung von Zählertypen der Sparten Strom und Gas.", - "enum": [ - "DREHSTROMZAEHLER", - "BALGENGASZAEHLER", - "DREHKOLBENZAEHLER", - "SMARTMETER", - "LEISTUNGSZAEHLER", - "MAXIMUMZAEHLER", - "TURBINENRADGASZAEHLER", - "ULTRASCHALLGASZAEHLER", - "WECHSELSTROMZAEHLER" - ], - "title": "Zaehlertyp", - "type": "string" - }, - "Zaehlwerk": { - "additionalProperties": true, - "description": "Mit dieser Komponente werden Zählwerke modelliert.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Zaehlwerk.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Zaehlwerk JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Zaehlwerk.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "bezeichnung": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Bezeichnung" - }, - "einheit": { - "anyOf": [ - { - "$ref": "#/$defs/Mengeneinheit" - }, - { - "type": "null" - } - ], - "default": null - }, - "obisKennzahl": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Obiskennzahl" - }, - "richtung": { - "anyOf": [ - { - "$ref": "#/$defs/Energierichtung" - }, - { - "type": "null" - } - ], - "default": null - }, - "wandlerfaktor": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Wandlerfaktor" - }, - "zaehlwerkId": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Zaehlwerkid" - } - }, - "title": "Zaehlwerk", - "type": "object" - }, - "Zeiteinheit": { - "description": "Auflistung möglicher Einheiten zur Verwendung in zeitbezogenen Angaben.", - "enum": [ - "SEKUNDE", - "MINUTE", - "STUNDE", - "VIERTEL_STUNDE", - "TAG", - "WOCHE", - "MONAT", - "QUARTAL", - "HALBJAHR", - "JAHR" - ], - "title": "Zeiteinheit", - "type": "string" - }, - "Zeitraum": { - "additionalProperties": true, - "description": "Diese Komponente wird zur Abbildung von Zeiträumen in Form von Dauern oder der Angabe von Start und Ende verwendet.\nEs muss daher eine der drei Möglichkeiten angegeben sein:\n- Einheit und Dauer oder\n- Zeitraum: Startdatum bis Enddatum oder\n- Zeitraum: Startzeitpunkt (Datum und Uhrzeit) bis Endzeitpunkt (Datum und Uhrzeit)\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Zeitraum.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Zeitraum JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Zeitraum.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "dauer": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Dauer" - }, - "einheit": { - "anyOf": [ - { - "$ref": "#/$defs/Zeiteinheit" - }, - { - "type": "null" - } - ], - "default": null - }, - "enddatum": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Enddatum" - }, - "endzeitpunkt": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Endzeitpunkt" - }, - "startdatum": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Startdatum" - }, - "startzeitpunkt": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Startzeitpunkt" - } - }, - "title": "Zeitraum", - "type": "object" - } - }, - "additionalProperties": true, - "description": "Modell für die Abbildung von Rechnungen und Netznutzungsrechnungen im Kontext der Energiewirtschaft;\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/bo/Rechnung.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Rechnung JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/bo/Rechnung.json>`_", - "properties": { - "_id": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": " Id" - }, - "_typ": { - "anyOf": [ - { - "$ref": "#/$defs/Typ" - }, - { - "type": "null" - } - ], - "default": "RECHNUNG" - }, - "externeReferenzen": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/ExterneReferenz" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Externereferenzen" - }, - "faelligkeitsdatum": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Faelligkeitsdatum" - }, - "gesamtbrutto": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "gesamtnetto": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "gesamtsteuer": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "istOriginal": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Istoriginal" - }, - "istSimuliert": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Istsimuliert" - }, - "istStorno": { - "anyOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Iststorno" - }, - "marktlokation": { - "anyOf": [ - { - "$ref": "#/$defs/Marktlokation" - }, - { - "type": "null" - } - ], - "default": null - }, - "messlokation": { - "anyOf": [ - { - "$ref": "#/$defs/Messlokation" - }, - { - "type": "null" - } - ], - "default": null - }, - "netznutzungrechnungsart": { - "anyOf": [ - { - "$ref": "#/$defs/NetznutzungRechnungsart" - }, - { - "type": "null" - } - ], - "default": null - }, - "netznutzungrechnungstyp": { - "anyOf": [ - { - "$ref": "#/$defs/NetznutzungRechnungstyp" - }, - { - "type": "null" - } - ], - "default": null - }, - "originalRechnungsnummer": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Originalrechnungsnummer" - }, - "rabattBrutto": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "rechnungsdatum": { - "anyOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Rechnungsdatum" - }, - "rechnungsempfaenger": { - "anyOf": [ - { - "$ref": "#/$defs/Geschaeftspartner" - }, - { - "type": "null" - } - ], - "default": null - }, - "rechnungsersteller": { - "anyOf": [ - { - "$ref": "#/$defs/Geschaeftspartner" - }, - { - "type": "null" - } - ], - "default": null - }, - "rechnungsnummer": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Rechnungsnummer" - }, - "rechnungsperiode": { - "anyOf": [ - { - "$ref": "#/$defs/Zeitraum" - }, - { - "type": "null" - } - ], - "default": null - }, - "rechnungspositionen": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Rechnungsposition" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Rechnungspositionen" - }, - "rechnungsstatus": { - "anyOf": [ - { - "$ref": "#/$defs/Rechnungsstatus" - }, - { - "type": "null" - } - ], - "default": null - }, - "rechnungstitel": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Rechnungstitel" - }, - "rechnungstyp": { - "anyOf": [ - { - "$ref": "#/$defs/Rechnungstyp" - }, - { - "type": "null" - } - ], - "default": null - }, - "sparte": { - "anyOf": [ - { - "$ref": "#/$defs/Sparte" - }, - { - "type": "null" - } - ], - "default": null - }, - "steuerbetraege": { - "anyOf": [ - { - "items": { - "$ref": "#/$defs/Steuerbetrag" - }, - "type": "array" - }, - { - "type": "null" - } - ], - "default": null, - "title": "Steuerbetraege" - }, - "versionstruktur": { - "default": "2", - "title": "Versionstruktur", - "type": "string" - }, - "vorausgezahlt": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - }, - "zuZahlen": { - "anyOf": [ - { - "$ref": "#/$defs/Betrag" - }, - { - "type": "null" - } - ], - "default": null - } - }, - "title": "Rechnung", - "type": "object" -}