Skip to content

citiususc/jsonschema2shacl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python library that creates SHACL shapes from JSON Schema

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages