multipleOf : Number

multipleOf

Number

A 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 greater than zero
Kind Assertion
Applies To Number
Dialect Draft 7
Changed In None
Introduced In Draft 4
Vocabulary Validation
Specification https://json-schema.org/draft-07/draft-handrews-json-schema-validation-01#rfc.section.6.2.1
Metaschema http://json-schema.org/draft-07/schema#
Official Tests draft7/multipleOf.json
Default 1
Annotation None
Affected By None
Affects None
Also See