Integer and Number JSON Schemas are immediately marked as incompatible without inspecting the other keywords in the schema. If a JSON Schema is of "type": "number" and has a "multipleOf" keyword value that is an integer, then it can be merged with a JSON Schema of "type": "integer" and should maintain the "multipleOf" keyword. For example:
Integer and Number JSON Schemas are immediately marked as incompatible without inspecting the other keywords in the schema. If a JSON Schema is of "type": "number" and has a "multipleOf" keyword value that is an integer, then it can be merged with a JSON Schema of "type": "integer" and should maintain the "multipleOf" keyword. For example:
can be merged into: