Skip to content

Reference validation from hyper-schema #365

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

Merged
merged 2 commits into from
Aug 23, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions jsonschema-hyperschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@
</t>

<t>
This specification will use the terminology defined by the
<xref target="json-schema">JSON Schema core specification</xref>. It is advised that
readers have a copy of this specification.
This specification will use the concepts, syntax, and terminology defined by the
<xref target="json-schema">JSON Schema core</xref> and
<xref target="json-schema-validation">JSON Schema validation</xref> specifications.
It is advised that readers have a copy of these specifications.
</t>
</section>

Expand Down Expand Up @@ -234,7 +235,7 @@

<section title="Meta-schema">
<t>
The current URI for the JSON Schema Validation is
The current URI for the JSON Hyper-Schema meta-schema is
&lt;http://json-schema.org/draft-06/hyper-schema#&gt;.
</t>
</section>
Expand Down Expand Up @@ -464,7 +465,7 @@
</cref>
</t>
<t>
There are several ways that a client can use data can with a link:
There are several ways that a client can use data with a link:
<list>
<t> URI Template variables resolved from server-supplied instance data </t>
<t> URI Template variables resolved from user agent data </t>
Expand Down Expand Up @@ -1188,7 +1189,17 @@ GET /foo/
</author>
<date year="2016" month="October"/>
</front>
<seriesInfo name="Internet-Draft" value="draft-wright-json-schema-00" />
<seriesInfo name="Internet-Draft" value="draft-wright-json-schema-validation-01" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks wrong. The "json-schema" reference points to the "core" document not the "validation" one. Copy/paste error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, good catch, will fix.

</reference>
<reference anchor="json-schema-validation">
<front>
<title>JSON Schema Validation: A Vocabulary for Structural Validation of JSON</title>
<author initials="A." surname="Wright">
<organization/>
</author>
<date year="2016" month="October"/>
</front>
<seriesInfo name="Internet-Draft" value="draft-wright-json-schema-validation-01" />
</reference>
</references>
<references title="Informative References">
Expand Down