You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not entirely consistent as it was a late change.
In most cases, we want to be talking about schema resources, and the root object within a schema resource. We only want to talk about documents when we mean the actual text (or octet stream, I suppose is what it technically is), no matter how many resources are contained in it.
We should also make sure that keywords confined to a root object ($schema, $recursiveAnchor, $vocabulary) are confined to the root of the correct thing. I think that should be the resource root, not the document root, even if (as is currently the case) we note that switching the $schema value within the same document does not have well-defined behavior (that's in a CREF).
The text was updated successfully, but these errors were encountered:
It's not entirely consistent as it was a late change.
In most cases, we want to be talking about schema resources, and the root object within a schema resource. We only want to talk about documents when we mean the actual text (or octet stream, I suppose is what it technically is), no matter how many resources are contained in it.
We should also make sure that keywords confined to a root object (
$schema
,$recursiveAnchor
,$vocabulary
) are confined to the root of the correct thing. I think that should be the resource root, not the document root, even if (as is currently the case) we note that switching the$schema
value within the same document does not have well-defined behavior (that's in a CREF).The text was updated successfully, but these errors were encountered: