Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ The available language bindings can be viewed by running:
shacl2code list
```

### Generating the JSON Schema file

`shacl2code` can generate a JSON schema with the following command:
```shell
shacl2code generate -i spdx-model.json-ld -u spdx-context.jsonld https://spdx.org/rdf/3.0.1/spdx-context.jsonld jsonschema -o json-schema-3.0.1.json
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

```

Note that the spdx-context.jsonld file should match the model described in the spdx-model.json-ld file.

## Developing

Developing on `shacl2code` is best done using a virtual environment. You can
Expand Down