Skip to content

Commit 54e7561

Browse files
evaluation does not always begin at a root schema resource
for example, if we start evaluating at "https://foo.com/schema.json#/$defs/Foo" and /$defs/Foo does not contain an $id keyword
1 parent d44325d commit 54e7561

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

jsonschema-core.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,8 +655,9 @@
655655
</t>
656656
<t>
657657
Other keywords may take into account the dynamic scope that exists during the
658-
evaluation of a schema. The outermost dynamic scope is the root schema of the
659-
schema document in which processing begins. The path from this root schema to
658+
evaluation of a schema. The outermost dynamic scope is the schema object at
659+
which processing begins, even if it is not a schema resource root.
660+
The path from this schema to
660661
any particular keyword (that includes any "$ref" and "$dynamicRef" keywords that
661662
may have been resolved) is considered the keyword's "validation path."
662663
</t>

0 commit comments

Comments
 (0)