Skip to content

Clarify the results of $ref and $recursiveRef #801

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 1 commit into from
Sep 16, 2019
Merged
Changes from all commits
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
13 changes: 12 additions & 1 deletion jsonschema-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,14 @@

<section title='Direct References with "$ref"' anchor="ref">
<t>
The "$ref" keyword is used to reference a statically identified schema.
The "$ref" keyword is an applicator that is used to reference a statically
identified schema. Its results are the results of the referenced schema.
<cref>
Note that this definition of how the results are determined means that
other keywords can appear alongside of "$ref" in the same schema object.
</cref>
</t>
<t>
The value of the "$ref" property MUST be a string which is a URI-Reference.
Resolved against the current URI base, it produces the URI of the schema
to apply.
Expand Down Expand Up @@ -1653,6 +1660,10 @@
when it is present), "$recursiveRef"'s behavior is identical to
that of "$ref".
</t>
<t>
As with "$ref", the results of this keyword are the results of the
referenced schema.
</t>
</section>
<section title='Enabling Recursion with "$recursiveAnchor"'>
<t>
Expand Down