| keyword |
exclusiveMaximum |
| signature |
Boolean |
| value |
This keyword must be set to a boolean value |
| summary |
When [`maximum`](/draft3/core/maximum) is present and this keyword is set to true, the numeric instance must be less than the value in [`maximum`](/draft3/core/maximum). |
| kind |
|
| instance |
|
| specification |
https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.12 |
| metaschema |
http://json-schema.org/draft-03/schema# |
| default |
|
| tests |
draft3/maximum.json |
draft3/optional/bignum.json |
|
| introduced_in |
draft3 |
| changed_in |
|
| index |
-99935 |
| affects |
| vocabulary |
keyword |
core |
maximum |
|
|
| related |
| vocabulary |
keyword |
core |
exclusiveMinimum |
|
| vocabulary |
keyword |
core |
maximum |
|
| vocabulary |
keyword |
core |
minimum |
|
| vocabulary |
keyword |
core |
divisibleBy |
|
|
{{<schema Schema with 'exclusiveMaximum' keyword>}}
{
"$schema": "http://json-schema.org/draft-03/schema#",
"type": "number",
"maximum": 3.0,
"exclusiveMaximum": true
}
{{}}
{{<instance-pass A numeric instance less than the maximum with the exclusiveMaximum keyword defined is valid>}}
2.2
{{}}
{{<instance-fail A numeric instance greater than or equal to the maximum with the exclusiveMaximum keyword defined is invalid>}}
3.0
{{}}