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 26cae16 commit 67c3aac
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 @@ -24,7 +24,7 @@ The `$anchor` keyword is used to assign a unique identifier to a subschema withi
* 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.
* By using `$anchor`, schemas can be written with reusable components that aren't tied to specific structural locations.
* These subschemas with named anchor are derived from the nearest `$id` or document base URI.
* An anchor is resolved against the base URI of its schema resource

## Examples

Expand Down

0 comments on commit 67c3aac

Please sign in to comment.