divisibleBy : Number
divisibleBy
NumberA numeric instance is valid only if division by this keyword’s value results in an integer.
Value | This keyword must be set to a number that is not equal to zero |
---|---|
Kind | Assertion |
Applies To | Number |
Dialect | Draft 3 |
Changed In | Draft 4 |
Introduced In | Draft 3 |
Vocabulary | Core |
Specification | https://json-schema.org/draft-03/draft-zyp-json-schema-03.pdf#5.24 |
Metaschema | http://json-schema.org/draft-03/schema# |
Official Tests | draft3/divisibleBy.json |
Default |
1
|
Annotation | None |
Affected By | None |
Affects | None |
Also See |
|