-
-
Notifications
You must be signed in to change notification settings - Fork 217
Json hyperschema support #56
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
Comments
I know very little about the Hyperschema, but I don't think there's really anything in there that's related to verification? @geraintluff can confirm -- but what sorts of things do you think are testable there? |
The main elements I want to support are the mediaType schema element and the links element. In particular the URI templates, specified here: http://tools.ietf.org/html/rfc6570 |
What would a test look like / check for there?
|
I'll work up a couple of examples and come back to you to show you what I have in mind. |
+1 for this. The hyper-schema stuff is mostly interpretation not validation, so writing tests for it (that work with a variety of libraries) might be harder, but it'd be great to see something for it. |
Closing, but if anyone figures out a thing that actually should be verified about the hyper schema, feel free to follow up. |
I think this might be useful... A test would probably look like an instance, a schema, then a list of triples or link relations that are expected. |
See also json-schema-org/json-schema-spec#413 |
I'm actively working on this. |
Going to close this as a duplicate now of #203 (though I guess technically it's that one that's a duplicate of this one which came first), but just so there's one place to look for anyone asking this question, go there :) |
Is there a plan to add support for Json Hyperschema: http://json-schema.org/latest/json-schema-hypermedia.html
If not, is there any objection if I add a new folder to the draft 4 folder for hyperschema specific tests and add my own tests?
The text was updated successfully, but these errors were encountered: