diff --git a/jsonschema-core.xml b/jsonschema-core.xml index a8ddb9d5..d67b3d1e 100644 --- a/jsonschema-core.xml +++ b/jsonschema-core.xml @@ -2912,7 +2912,8 @@ Content-Type: application/json; - Multiple schemas are whitespace separated: + Multiple schemas are whitespace separated, and indicate that the + instance conforms to all of the listed schemas:
@@ -2924,6 +2925,35 @@ Content-Type: application/json;
+ + Media type parameters are also used in HTTP's Accept request header: + + +
+ + + +
+ + + As with Content-Type, multiple schema parameters in the same string + requests an instance that conforms to all of the listed schemas. + + + + Unlike Content-Type, Accept can contain multiple values to + indicate that the client can accept several media types. + In the above example, note that the two media types differ + only by their schema parameter values. This requests an + application/json representation that conforms to at least one + of the identified schemas. + + This paragraph assumes that we can register a "schema" link relation.