Skip to content

Commit

Permalink
Update content/2020-12/core/anchor.markdown
Browse files Browse the repository at this point in the history
Co-authored-by: Juan Cruz Viotti <[email protected]>
  • Loading branch information
AgniveshChaubey and jviotti authored Feb 15, 2024
1 parent 7f0a990 commit 26cae16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/2020-12/core/anchor.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ related:
---


The `$anchor` keyword is used to assign a unique identifier to a subschema within the scope of its containing schema. This identifier can then be referenced elsewhere in the schema using the `$ref` keyword.
The `$anchor` keyword is used to assign a unique identifier to a subschema within its schema resource. This identifier can then be referenced elsewhere using the `$ref` keyword.

* Its value must be a valid identifier starting with a letter and containing letters, digits, hyphens, underscores, colons, or periods.
* This keyword allows for the creation of plain name fragments, providing a flexible alternative to using JSON Pointer fragments which require knowledge of the schema's structure.
Expand Down

0 comments on commit 26cae16

Please sign in to comment.