Skip to content

Commit 19b5d50

Browse files
authored
Merge pull request #470 from dlax/hyperschema-minor-edits
A couple of edits/fixes in hyperschema spec
2 parents d163932 + 2609c89 commit 19b5d50

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jsonschema-hyperschema.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1289,7 +1289,7 @@ for varname in templateData:
12891289
</t>
12901290
<t>
12911291
This section provides guidance on how to use each common HTTP method with a link,
1292-
and how colletion resources impose additional constraints on HTTP POST.
1292+
and how collection resources impose additional constraints on HTTP POST.
12931293
Additionally, guidance is provided on hinting at HTTP response header values and
12941294
describing possible HTTP request headers that are relevant to the given resource.
12951295
</t>
@@ -1635,7 +1635,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
16351635
input, as well as using them alongside of resolving the URI Template with
16361636
input. Unlike HTML forms, which require either constructing a URI or
16371637
sending a payload, but do not allow not both at once, JSON Hyper-Schema can
1638-
describe both sorts of input to for the same operation on the same link.
1638+
describe both sorts of input for the same operation on the same link.
16391639
</t>
16401640
<t>
16411641
The "submissionSchema" and "submissionMediaType" fields are for
@@ -1650,7 +1650,7 @@ Link: <https://schema.example.com/entry> rel=describedBy
16501650
a message for sending. Since there is no concept of a retrievable,
16511651
replaceable, or deletable target resource, "targetSchema" and
16521652
"targetMediaType" are not used. Non-representation payloads are
1653-
described by "submissionSchema" and "submission MediaType".
1653+
described by "submissionSchema" and "submissionMediaType".
16541654
</t>
16551655
<t>
16561656
Therefore, we use "submissionMediaType" to indicate a multipart/alternative

0 commit comments

Comments
 (0)