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 2019-09
Changed In None
Introduced In Draft 4
Vocabulary Validation
Specification https://json-schema.org/draft/2019-09/draft-handrews-json-schema-validation-02#rfc.section.6.2.1
Metaschema https://json-schema.org/draft/2019-09/meta/validation
Official Tests draft2019-09/multipleOf.json
Default 1
Annotation None
Affected By None
Affects None
Also See