Skip to content

Commit 63f3dc1

Browse files
authored
Merge pull request #462 from handrews/wording
Improve wording with feedback from awwright
2 parents 19b5d50 + 8fba211 commit 63f3dc1

File tree

2 files changed

+20
-8
lines changed

2 files changed

+20
-8
lines changed

jsonschema-core.xml

+14-3
Original file line numberDiff line numberDiff line change
@@ -436,10 +436,21 @@
436436
</t>
437437
<t>
438438
<cref>
439-
While this pattern is likely to remain best practice for schema authoring,
440-
implementation behavior is subject to be revised or liberalized in future
441-
drafts.
439+
Using multiple "$schema" keywords in the same document would imply that the
440+
vocabulary and therefore behavior can change within a document. This would
441+
necessitate resolving a number of implementation concerns that have not yet
442+
been clearly defined. So, while the pattern of using "$schema" only in root
443+
schemas is likely to remain the best practice for schema authoring,
444+
implementation behavior is subject to be revised or liberalized in
445+
future drafts.
442446
</cref>
447+
<!--
448+
In particular, the process of validating an instance, including validating a
449+
schema as an instance against its meta-schema, only allows for a single set
450+
of rules across the entire instance document. There is no equivalent of
451+
changing the meta-schema partway through the validation for non-schema
452+
instances.
453+
-->
443454
</t>
444455
<t>
445456
Values for this property are defined in other documents and by other parties.

jsonschema-hyperschema.xml

+6-5
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,10 @@
182182
in the Link Description Object.
183183
</t>
184184
<t hangText="generic user agent">
185-
A user agent which is only aware of standardized link relations,
186-
media types, URI schemes, and protocols. It may have an extensible
187-
architecture to allow adding support for standards beyond the core
188-
set of which it is aware.
185+
A user agent which can be used to interact with any resource, from
186+
any server, from among the standardized link relations, media types,
187+
URI schemes, and protocols that it supports; though it may be
188+
extendible to specially handle particular profiles of media types.
189189
</t>
190190
<t hangText="client application">
191191
An application which uses a hypermedia system for a specific
@@ -1788,7 +1788,8 @@ Link: <https://schema.example.com/entry> rel=describedBy
17881788
</figure>
17891789
<t>
17901790
Notice the "href*" keywords in place of "targetUri". These are three
1791-
possible "targetUri" values covering different sorts of input:
1791+
possible kinds of "targetUri" values covering different sorts of input. Here
1792+
are examples of each:
17921793
<list style="hanging">
17931794
<t hangText="No additional or changed input:">
17941795
"mailto:[email protected]?subject=The%20Awesome%20Thing"

0 commit comments

Comments
 (0)