Json schema generator#
- class esgvoc.apps.jsg.json_schema_generator.JsonPropertiesVisitor(project_id: str)[source]#
- esgvoc.apps.jsg.json_schema_generator.generate_json_schema(project_id: str) str [source]#
Generate json schema for the given project.
- Parameters:
project_id (str) – The id of the given project.
- Returns:
The content of a json schema
- Return type:
- Raises:
EsgvocNotFoundError – On missing information
EsgvocNotImplementedError – On unexpected operations