Skip to content

Commit e4ddc4b

Browse files
committed
Allow boolean values for top level schemaObjects
Signed-off-by: Mike Ralphson <[email protected]>
1 parent f8c48b6 commit e4ddc4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versions/3.1.1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2306,7 +2306,7 @@ $ref: definitions.yaml#/Pet
23062306
#### <a name="schemaObject"></a>Schema Object
23072307

23082308
The Schema Object allows the definition of input and output data types.
2309-
These types can be objects, but also primitives and arrays. This object is a superset of the [JSON Schema Specification Draft 2020-12](https://tools.ietf.org/html/draft-bhutton-json-schema-00).
2309+
These types can be objects, but also primitives and arrays. This object is a superset of the [JSON Schema Specification Draft 2020-12](https://tools.ietf.org/html/draft-bhutton-json-schema-00). The empty schema (which allows any instance to validate) MAY be represented by the `boolean` value `true` and a schema which allows no instance to validate MAY be represented by the `boolean` value `false`.
23102310

23112311
For more information about the properties, see [JSON Schema Core](https://tools.ietf.org/html/draft-bhutton-json-schema-00) and [JSON Schema Validation](https://tools.ietf.org/html/draft-bhutton-json-schema-validation-00).
23122312

0 commit comments

Comments
 (0)