Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
None
Description
multipleOf
The value of "multipleOf" MUST be a number, strictly greater than 0.
https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.2.1
Case:
SET @schema = '{ |
"multipleOf": 0
|
}'; |
SELECT JSON_SCHEMA_VALID(@schema, '2'); |
Expected that there will be a warning, but actual result is:
JSON_SCHEMA_VALID(@schema, '2') |
0
|
Also maybe a value like 0.1("multipleOf": 0.1) needs to be checked but I'm not sure
Attachments
Issue Links
- is caused by
-
MDEV-27128 Implement JSON Schema Validation FUNCTION
- Closed