Open mmccool opened 3 years ago
Need to define:
Another point:
type
keywords like int8
, uint16
, etc. I think this will be hard to be done in the @context of a JSON-LD file. Can't we have a field that is an array for the shapes and another for the schemas which content of both is a set of URLs where to find the documents (schemas or shapes) ?
I have been looking for a specification of how SHACL files are supposed to be distributed. I haven't found anything but do understand there is a convention so if anyone has information on that it would be great, or knows of a contact we can ask...
Anyway, my general thought was that we would not ADD new things to @context
(or the TD/TM), but would define rules for how the various validation files can be fetched given the URL in the @context
. Possibilities include:
https://example.org/myvocab/
in the @context
, perhaps we can say that the JSON Schema can always be found at https://example.org/myvocab/schema.json
or the like.We could also do both.
It would be useful to have a convention to relate context URLs to validation files, including JSON Schemas and SHACL, in addition to ontology files. Also, we should set up the context URLs so that fetching from them produces actual ontology definitions (at least) and our "baseline" context URLs should also satisfy the conventions suggested (via SHOULD) for extensions.