Draft json schema's (very early stage) #28
Replies: 3 comments 1 reply
-
|
Your branch currently has JSON schema draft 04, but there are newer versions of JSON schema available. I suggest upgrading to a newer version, such as 2020-12 which glTF is using. So the start of the node schema would look like this: |
Beta Was this translation helpful? Give feedback.
-
|
I've made some additions to the json schema here : https://github.com/devhelpr/ocwg-spec/tree/json-schema-draft/schema Currently I am still following the spec (although I've already added a resource property on the root level which I haven't specified further) and I've used https://json-schema.hyperjump.io/ to validate the schema.. although an issue that I ran into was that I've now got separate schema files in a similar setup as gtlf. But for hyperjump to work I needed to put everything in one schema using $defs and $refs. If anyone knows a better way then please let me know. |
Beta Was this translation helpful? Give feedback.
-
|
The schema exists now! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've started some initial work on the json schema based on the glTF specs : https://github.com/devhelpr/ocwg-spec/tree/json-schema-draft/schema .
It's still very early stage off course, but always good to make a start with these kind of things and continue iterating :-)
Greetings,
Maikel
Beta Was this translation helpful? Give feedback.
All reactions