-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: Generating Schema #22
Comments
Never mind - looks reasonably valid |
I did a comparison against the schema file generated from the model repo, and it looks like it is just missing the I'll do some digging in the code to see if there is a parameter or something I missed. |
Found the code requiring the context: shacl2code/src/shacl2code/main.py Line 104 in ae7ba4e
|
Correct. |
I attempted to use the shal2code to generate a JSON Schema with the latest SPDX 3.0.1 model.
The output did not include any namespaces - is this an expected argument to shacl2code?
The URI's also don't look right - they look like they are missing the
/
's.The schema processor I'm using in Java also complained about missing def's for the classes. e.g.:
Attached is the input and the output.
The command I used was:
spdx-model.json-ld.txt
spdx-schema.json.txt
The text was updated successfully, but these errors were encountered: