Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 596 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 596 Bytes

JSONSchema2SHACL

The repository contains the source code for extracting and generating SHACL shapes from JSONSchema

Installation:

pip install jsonschema2shacl

Execution from CLI

To execute from command line run the following:

python3 -m jsonschema2shacl path_to_input_jsonschema.json

Execution as a library

If you want to include the module in your implementation:

import jsonschema2shacl
json_converter = JsonSchemaToShacl()
json_converter.translate(schema)

Authors