Open mjp0 opened 5 years ago
@0fork Thanks for your question. This project does not have a mechanism for auto-generating JSON Schema files at this time. Currently, the files are under the /schema/
folder with extension .jsd
, and must be hand-coded, so if you have an addition to make, pull requests are welcome.
I’m looking into finding a way to have .jsd
files generated from the Schema.org API, but it’s low priority for me as I have other things on my plate. For now, you can download the Vocabulary Definition Files in a format that meets your needs.
Thanks for submitting this issue, and I’ll leave it open as a task for auto-generating .jsd
files.
@chharvey ok, thanks for the reply. I also have my hands full at the moment and I can ignore validation for now, but this is something that I'll definitely need so I'll take a look at this later on.
Validating datatypes themselves should be rather straightforward. I guess the biggest time sink will be the code that creates and traverses the graph for all schema entities needed.
A quick question - I want to generate the full schema.org vocabulary for validation so can I somehow generate my own jsd files with this?