Skip to content

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

Closed
paulveitch opened this issue Jun 2, 2014 · 10 comments
Closed

Json hyperschema support #56

paulveitch opened this issue Jun 2, 2014 · 10 comments
Assignees
Labels
missing test A request to add a test to the suite that is currently not covered elsewhere.

Comments

@paulveitch
Copy link

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?

@Julian
Copy link
Member

Julian commented Jun 2, 2014

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?

@paulveitch
Copy link
Author

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

@Julian
Copy link
Member

Julian commented Jun 2, 2014

What would a test look like / check for there?
On Jun 2, 2014 5:12 PM, "paulveitch" [email protected] wrote:

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


Reply to this email directly or view it on GitHub
#56 (comment)
.

@paulveitch
Copy link
Author

I'll work up a couple of examples and come back to you to show you what I have in mind.

@geraintluff
Copy link
Contributor

+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.

@Julian
Copy link
Member

Julian commented Nov 20, 2016

Closing, but if anyone figures out a thing that actually should be verified about the hyper schema, feel free to follow up.

@Julian Julian closed this as completed Nov 20, 2016
@awwright
Copy link
Member

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.

@Julian Julian reopened this Nov 21, 2016
@awwright awwright added the missing test A request to add a test to the suite that is currently not covered elsewhere. label Nov 21, 2016
@handrews
Copy link
Contributor

See also json-schema-org/json-schema-spec#413

@handrews handrews self-assigned this Sep 25, 2017
@handrews
Copy link
Contributor

I'm actively working on this.

@Julian
Copy link
Member

Julian commented May 12, 2018

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 :)

@Julian Julian closed this as completed May 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing test A request to add a test to the suite that is currently not covered elsewhere.
Projects
None yet
Development

No branches or pull requests

5 participants