Skip to content

Commit 27dd4ee

Browse files
authored
Merge pull request #696 from handrews/array-headers
"headerSchema" should use array values
2 parents ba2c0b6 + 734b0ea commit 27dd4ee

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

jsonschema-hyperschema.xml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -812,8 +812,12 @@
812812
The exact mapping of the JSON data model into the headers is
813813
protocol-dependent. However, in most cases this schema SHOULD
814814
specify a type of "object", and the property names SHOULD be
815-
lower-cased forms of the control data field names. See the
816-
<xref target="HTTP">"JSON Hyper-Schema and HTTP"</xref> section
815+
lower-cased forms of the control data field names. As with
816+
"targetHints", the values SHOULD be described as arrays to
817+
allow for multiple values, even if only one value is expected.
818+
</t>
819+
<t>
820+
See the <xref target="HTTP">"JSON Hyper-Schema and HTTP"</xref> section
817821
for detailed guidance on using this keyword with HTTP and
818822
analogous protocols.
819823
</t>

0 commit comments

Comments
 (0)