From 734b0ea05fca939723f2c634e37beb241d679020 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Sun, 16 Dec 2018 19:23:28 -0800 Subject: [PATCH] "headerSchema" should use array values This matches "targetHints" --- jsonschema-hyperschema.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jsonschema-hyperschema.xml b/jsonschema-hyperschema.xml index 5ee98637..f7741632 100644 --- a/jsonschema-hyperschema.xml +++ b/jsonschema-hyperschema.xml @@ -812,8 +812,12 @@ The exact mapping of the JSON data model into the headers is protocol-dependent. However, in most cases this schema SHOULD specify a type of "object", and the property names SHOULD be - lower-cased forms of the control data field names. See the - "JSON Hyper-Schema and HTTP" section + lower-cased forms of the control data field names. As with + "targetHints", the values SHOULD be described as arrays to + allow for multiple values, even if only one value is expected. + + + See the "JSON Hyper-Schema and HTTP" section for detailed guidance on using this keyword with HTTP and analogous protocols.