From 67c3aacd329f457f657bd8cd8006bef354cd403c Mon Sep 17 00:00:00 2001 From: Agnivesh Chaubey Date: Thu, 15 Feb 2024 20:46:28 +0530 Subject: [PATCH] Update content/2020-12/core/anchor.markdown Co-authored-by: Juan Cruz Viotti --- content/2020-12/core/anchor.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/2020-12/core/anchor.markdown b/content/2020-12/core/anchor.markdown index a3622206..51050dde 100644 --- a/content/2020-12/core/anchor.markdown +++ b/content/2020-12/core/anchor.markdown @@ -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