diff options
Diffstat (limited to 'json/tests/draft2019-09/multipleOf.json')
-rw-r--r-- | json/tests/draft2019-09/multipleOf.json | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/json/tests/draft2019-09/multipleOf.json b/json/tests/draft2019-09/multipleOf.json index 25c25a9..94af169 100644 --- a/json/tests/draft2019-09/multipleOf.json +++ b/json/tests/draft2019-09/multipleOf.json @@ -1,7 +1,10 @@ [ { "description": "by int", - "schema": {"multipleOf": 2}, + "schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "multipleOf": 2 + }, "tests": [ { "description": "int by int", @@ -22,7 +25,10 @@ }, { "description": "by number", - "schema": {"multipleOf": 1.5}, + "schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "multipleOf": 1.5 + }, "tests": [ { "description": "zero is multiple of anything", @@ -43,7 +49,10 @@ }, { "description": "by small number", - "schema": {"multipleOf": 0.0001}, + "schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "multipleOf": 0.0001 + }, "tests": [ { "description": "0.0075 is multiple of 0.0001", @@ -59,7 +68,10 @@ }, { "description": "float division = inf", - "schema": {"type": "integer", "multipleOf": 0.123456789}, + "schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "type": "integer", "multipleOf": 0.123456789 + }, "tests": [ { "description": "always invalid, but naive implementations may raise an overflow error", |