Json schema generator#
- esgvoc.apps.jsg.json_schema_generator.generate_json_schema(project_id: str) dict[source]#
- Generate json schema for the given project. - Parameters:
- project_id (str) – The id of the given project. 
- Returns:
- The root node of a json schema. 
- Return type:
- Raises:
- EsgvocValueError – On wrong information in catalog_specs. 
- EsgvocNotFoundError – On missing information in catalog_specs. 
- EsgvocNotImplementedError – On unexpected operations resulted in wrong information in catalog_specs). 
- EsgvocException – On json compliance error.