-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improved for black, isort,... removed unsed validators
- Loading branch information
1 parent
c47bbe6
commit c2cb9f0
Showing
6 changed files
with
66 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"$defs": { | ||
"Mengeneinheit": { | ||
"description": "Einheit: Messgrößen, die per Messung oder Vorgabe ermittelt werden können.", | ||
"enum": [ | ||
"W", | ||
"WH", | ||
"KW", | ||
"KWH", | ||
"KVARH", | ||
"MW", | ||
"MWH", | ||
"STUECK", | ||
"KUBIKMETER", | ||
"SEKUNDE", | ||
"MINUTE", | ||
"STUNDE", | ||
"VIERTEL_STUNDE", | ||
"TAG", | ||
"WOCHE", | ||
"MONAT", | ||
"QUARTAL", | ||
"HALBJAHR", | ||
"JAHR", | ||
"PROZENT" | ||
], | ||
"title": "Mengeneinheit", | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"description": "Abbildung für ein Zeitintervall. Die Abbildung eines Zeitintervalls.\nZ.B. zur Anwendung als Raster in äquidistanten Zeitreihen/Lastgängen, beispielsweise 15 Minuten.\n\n.. raw:: html\n\n <object data=\"../_static/images/bo4e/com/Zeitintervall.svg\" type=\"image/svg+xml\"></object>\n\n.. HINT::\n `Zeitintervall JSON Schema <https://json-schema.app/view/%23?url=https://raw.githubusercontent.com/Hochfrequenz/BO4E-python/main/json_schemas/com/Zeitintervall.json>`_", | ||
"properties": { | ||
"_id": { | ||
"anyOf": [ | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
], | ||
"default": null, | ||
"title": " Id" | ||
}, | ||
"wert": { | ||
"title": "Wert", | ||
"type": "integer" | ||
}, | ||
"zeiteinheit": { | ||
"$ref": "#/$defs/Mengeneinheit" | ||
} | ||
}, | ||
"required": [ | ||
"wert", | ||
"zeiteinheit" | ||
], | ||
"title": "Zeitintervall", | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters