From c3a8610f1112cd2d1fb91c3a73b789a3dc108597 Mon Sep 17 00:00:00 2001 From: David Harsha Date: Mon, 27 Jan 2025 18:02:05 -0800 Subject: [PATCH] Update fixtures using Ruby 3.4 Looks like they improved the format. --- test/fixtures/draft2019-09.json | 4831 ++++++++--------------------- test/fixtures/draft2020-12.json | 5062 ++++++++----------------------- test/fixtures/draft4.json | 2383 ++++----------- test/fixtures/draft6.json | 2991 +++++------------- test/fixtures/draft7.json | 3722 ++++++----------------- 5 files changed, 4949 insertions(+), 14040 deletions(-) diff --git a/test/fixtures/draft2019-09.json b/test/fixtures/draft2019-09.json index 92aecea..66baaca 100644 --- a/test/fixtures/draft2019-09.json +++ b/test/fixtures/draft2019-09.json @@ -1,9 +1,7 @@ { "JSON-Schema-Test-Suite/tests/draft2019-09/additionalItems.json": [ [ - [ - - ], + [], [ { "data": "foo", @@ -15,8 +13,7 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "items": [ - { - } + {} ], "additionalItems": { "type": "integer" @@ -27,9 +24,7 @@ ] ], [ - [ - - ], + [], [ { "data": "2", @@ -70,23 +65,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": 4, @@ -96,12 +81,9 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "items": [ - { - }, - { - }, - { - } + {}, + {}, + {} ], "additionalItems": false }, @@ -110,22 +92,14 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -164,9 +138,7 @@ ] ], [ - [ - - ], + [], [ { "data": "y", @@ -200,8 +172,7 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "items": [ - { - } + {} ], "additionalItems": false }, @@ -215,29 +186,22 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "items": [ - { - } + {} ], "additionalItems": false }, "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/additionalProperties.json": [ [ - [ - - ], + [], [ { "data": "boom", @@ -247,37 +211,24 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "patternProperties": { - "^v": { - } + "^v": {} }, "additionalProperties": false }, "type": "schema" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -287,8 +238,7 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "patternProperties": { - "^á": { - } + "^á": {} }, "additionalProperties": false }, @@ -297,12 +247,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 12, @@ -314,10 +260,8 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "additionalProperties": { "type": "boolean" @@ -328,9 +272,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -350,9 +292,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -368,8 +308,7 @@ "allOf": [ { "properties": { - "foo": { - } + "foo": {} } } ], @@ -382,14 +321,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "available", @@ -421,16 +356,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -448,16 +380,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -475,16 +404,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -497,9 +423,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/allOf.json": [ [ - [ - - ], + [], [ { "data": { @@ -638,9 +562,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -957,9 +879,7 @@ ] ], [ - [ - - ], + [], [ { "data": 35, @@ -984,9 +904,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -1039,19 +957,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -1063,8 +975,7 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "allOf": [ - { - }, + {}, { "type": "number" } @@ -1075,9 +986,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -1092,8 +1001,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "number" @@ -1101,9 +1009,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -1467,16 +1373,12 @@ "type": "multipleOf" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/anchor.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -1501,9 +1403,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -1530,9 +1430,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -1563,9 +1461,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -1603,15 +1499,9 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/anyOf.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 1.5, @@ -1688,9 +1578,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -1737,14 +1625,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -1779,15 +1663,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "quux", @@ -1860,17 +1738,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 123, @@ -1898,33 +1770,15 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/boolean_schema.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ [ @@ -1991,8 +1845,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": false, "schema_pointer": "", @@ -2014,9 +1867,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": false, "schema_pointer": "", @@ -2028,9 +1879,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/const.json": [ [ - [ - - ], + [], [ { "data": 5, @@ -2065,12 +1914,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -2122,9 +1967,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2181,9 +2024,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -2202,9 +2043,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -2239,9 +2078,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -2276,9 +2113,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2325,9 +2160,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2374,9 +2207,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2423,9 +2254,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2488,16 +2317,11 @@ "type": "const" } ], - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -2513,9 +2337,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -2563,17 +2385,11 @@ "type": "const" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -2590,9 +2406,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 2.0, @@ -2627,9 +2441,7 @@ ] ], [ - [ - - ], + [], [ { "data": 9007199254740991, @@ -2646,9 +2458,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 9.007199254740991e+15, @@ -2667,9 +2477,7 @@ ] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -2690,15 +2498,9 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/contains.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -2725,9 +2527,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -2745,17 +2545,11 @@ "type": "contains" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -2783,14 +2577,10 @@ ] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -2826,9 +2616,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -2842,9 +2630,7 @@ "type": "contains" } ], - [ - - ] + [] ], [ [ @@ -2915,9 +2701,7 @@ "type": "multipleOf" } ], - [ - - ], + [], [ { "data": 1, @@ -2985,14 +2769,10 @@ ] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -3014,96 +2794,48 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/content.json": [ [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/default.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 5, @@ -3128,16 +2860,12 @@ "type": "maximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/defs.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -3269,9 +2997,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } } }, @@ -3404,9 +3130,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } } }, @@ -3417,15 +3141,9 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/dependentRequired.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3452,37 +3170,19 @@ "type": "dependentRequired" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3571,12 +3271,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -3646,12 +3342,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/dependentSchemas.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "quux", @@ -3754,20 +3446,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -3805,14 +3489,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -3919,14 +3599,12 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo": { - } + "foo": {} }, "dependentSchemas": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3935,9 +3613,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 1, @@ -3947,14 +3623,12 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo": { - } + "foo": {} }, "dependentSchemas": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3963,16 +3637,12 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/enum.json": [ [ - [ - - ], + [], [ { "data": 4, @@ -3999,9 +3669,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -4011,9 +3679,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -4026,9 +3692,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -4049,9 +3713,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -4064,9 +3726,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -4076,9 +3736,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -4091,9 +3749,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -4106,9 +3762,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -4120,12 +3774,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "test", @@ -4150,9 +3800,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foot", @@ -4217,9 +3865,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -4275,8 +3921,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -4327,12 +3972,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "abc", @@ -4357,9 +3998,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -4402,9 +4041,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -4459,9 +4096,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -4504,9 +4139,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -4581,12 +4214,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4615,12 +4244,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4643,12 +4268,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4677,17 +4298,11 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -4712,9 +4327,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMaximum.json": [ [ - [ - - ], + [], [ { "data": 3.0, @@ -4747,16 +4360,12 @@ "type": "exclusiveMaximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/exclusiveMinimum.json": [ [ - [ - - ], + [], [ { "data": 1.1, @@ -4789,422 +4398,178 @@ "type": "exclusiveMinimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/format.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/if-then-else.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": -100, @@ -5225,17 +4590,11 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -5258,9 +4617,7 @@ ] ], [ - [ - - ], + [], [ { "data": -100, @@ -5284,9 +4641,7 @@ "type": "minimum" } ], - [ - - ], + [], [ { "data": 3, @@ -5312,17 +4667,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "else", @@ -5367,17 +4716,11 @@ "type": "const" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "no", @@ -5428,9 +4771,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/infinite-loop-detection.json": [ [ - [ - - ], + [], [ { "data": "a string", @@ -5499,9 +4840,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/items.json": [ [ - [ - - ], + [], [ { "data": "x", @@ -5519,17 +4858,11 @@ "type": "integer" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -5572,26 +4905,14 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -5629,14 +4950,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -5653,14 +4970,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -5820,8 +5133,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "/0/0", "schema": { "type": "object", @@ -5874,14 +5186,10 @@ } } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "1", @@ -6081,31 +5389,21 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/maxContains.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6125,9 +5423,7 @@ "type": "contains" } ], - [ - - ], + [], [ { "data": [ @@ -6153,9 +5449,7 @@ "type": "maxContains" } ], - [ - - ], + [], [ { "data": [ @@ -6184,9 +5478,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -6216,9 +5508,7 @@ [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6240,9 +5530,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6264,9 +5552,7 @@ "type": "minContains" } ], - [ - - ], + [], [ { "data": [ @@ -6300,12 +5586,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/maxItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -6326,14 +5608,10 @@ "type": "maxItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -6358,12 +5636,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/maxLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -6380,17 +5654,11 @@ "type": "maxLength" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -6411,12 +5679,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/maxProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -6437,20 +5701,12 @@ "type": "maxProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -6473,9 +5729,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -6498,12 +5752,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/maximum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3.5, @@ -6520,20 +5770,12 @@ "type": "maximum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 300.5, @@ -6554,19 +5796,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/minContains.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6586,9 +5822,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6654,22 +5888,14 @@ "type": "minContains" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6689,9 +5915,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6805,15 +6029,9 @@ "type": "minContains" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ [ @@ -6862,16 +6080,12 @@ "type": "minContains" } ], - [ - - ] + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6893,9 +6107,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -6995,16 +6207,12 @@ "type": "maxContains" } ], - [ - - ] + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -7026,9 +6234,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -7207,20 +6413,12 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -7252,17 +6450,11 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/minItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -7276,19 +6468,13 @@ "type": "minItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -7306,12 +6492,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/minLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "f", @@ -7328,9 +6510,7 @@ "type": "minLength" } ], - [ - - ], + [], [ { "data": "💩", @@ -7349,9 +6529,7 @@ ] ], [ - [ - - ], + [], [ { "data": "f", @@ -7372,16 +6550,11 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/minProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -7395,24 +6568,15 @@ "type": "minProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -7430,12 +6594,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/minimum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 0.6, @@ -7452,23 +6612,13 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": -2.0001, @@ -7501,16 +6651,12 @@ "type": "minimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/multipleOf.json": [ [ - [ - - ], + [], [ { "data": 7, @@ -7527,17 +6673,11 @@ "type": "multipleOf" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 35, @@ -7556,9 +6696,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0.00751, @@ -7597,16 +6735,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/not.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -7629,9 +6763,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -7686,12 +6818,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -7731,25 +6859,21 @@ "data": 1, "data_pointer": "/foo", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "/properties/foo", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { "foo": { - "not": { - } + "not": {} } } }, "type": "not" } ], - [ - - ] + [] ], [ [ @@ -7758,14 +6882,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -7776,14 +6898,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -7794,14 +6914,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -7812,14 +6930,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -7830,14 +6946,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -7850,33 +6964,28 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -7889,34 +6998,28 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -8023,8 +7126,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -8058,9 +7160,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -8076,43 +7176,21 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -8157,12 +7235,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/oneOf.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -8299,9 +7373,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -8362,9 +7434,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -8442,12 +7512,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -8581,9 +7647,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -8594,8 +7658,7 @@ { "type": "number" }, - { - } + {} ] }, "schema_pointer": "", @@ -8605,8 +7668,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "oneOf" @@ -8691,12 +7753,8 @@ } } ], - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -8747,12 +7805,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -8899,9 +7953,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -8929,9 +7981,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/anchor.json": [ [ - [ - - ], + [], [ { "data": { @@ -9024,9 +8074,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": 1, @@ -9119,20 +8167,12 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/bignum.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -9153,9 +8193,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -9176,9 +8214,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -9221,27 +8257,17 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/dependencies-compatibility.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -9273,37 +8299,19 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -9408,12 +8416,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -9491,12 +8495,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "quux", @@ -9599,20 +8599,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -9650,14 +8642,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -9775,9 +8763,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -9798,9 +8784,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -9821,9 +8805,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -9844,14 +8826,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "߀", @@ -9908,17 +8886,11 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "é", @@ -9957,38 +8929,18 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\u0001", @@ -10189,23 +9141,13 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "LES HIVERS DE MON ENFANCE ÉTAIENT DES SAISONS LONGUES, LONGUES. NOUS VIVIONS EN TROIS LIEUX: L'ÉCOLE, L'ÉGLISE ET LA PATINOIRE; MAIS LA VRAIE VIE ÉTAIT SUR LA PATINOIRE.", @@ -10224,9 +9166,7 @@ ] ], [ - [ - - ], + [], [ { "data": "Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.", @@ -10309,14 +9249,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -10351,9 +9287,7 @@ ] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -10370,20 +9304,12 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "PAS DE VRAIE VIE", @@ -10403,9 +9329,7 @@ ] ], [ - [ - - ], + [], [ { "data": "pas de vraie vie", @@ -10493,14 +9417,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -10537,9 +9457,7 @@ ] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -10557,56 +9475,28 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/float-overflow.json": [ [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date-time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "1998-12-31T23:59:61Z", @@ -10719,9 +9609,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2013-350T01:01:01", @@ -10806,30 +9694,14 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/date.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2020-01-32", @@ -10846,9 +9718,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2021-02-29", @@ -10865,9 +9735,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-02-30", @@ -10884,9 +9752,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-03-32", @@ -10903,9 +9769,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-04-31", @@ -10922,9 +9786,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-05-32", @@ -10941,9 +9803,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-06-31", @@ -10960,9 +9820,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-07-32", @@ -10979,9 +9837,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-08-32", @@ -10998,9 +9854,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-09-31", @@ -11017,9 +9871,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-10-32", @@ -11036,9 +9888,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-11-31", @@ -11055,9 +9905,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-12-32", @@ -11202,9 +10050,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1963-06-1৪", @@ -11289,27 +10135,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/duration.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "PT1D", @@ -11422,30 +10254,14 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "P1Y2W", @@ -11498,27 +10314,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/email.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -11535,15 +10337,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ".test@example.com", @@ -11576,9 +10372,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "te..st@example.com", @@ -11599,45 +10393,29 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/hostname.json": [ [ + [], + [], + [], + [], + [], + [], + [], + [], [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - { - "data": "-a-host-name-that-starts-with--", - "data_pointer": "", - "schema": { - "$schema": "https://json-schema.org/draft/2019-09/schema", - "format": "hostname" - }, - "schema_pointer": "", - "root_schema": { - "$schema": "https://json-schema.org/draft/2019-09/schema", - "format": "hostname" - }, - "type": "format" - } + { + "data": "-a-host-name-that-starts-with--", + "data_pointer": "", + "schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "format": "hostname" + }, + "schema_pointer": "", + "root_schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "format": "hostname" + }, + "type": "format" + } ], [ { @@ -11751,9 +10529,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl.com", @@ -11770,46 +10546,22 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-email.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -11826,9 +10578,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2962", @@ -11849,27 +10599,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/idn-hostname.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "〮실례.테스트", @@ -11934,9 +10670,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "xn--X", @@ -12065,12 +10799,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "ـߺ", @@ -12167,9 +10897,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "α͵S", @@ -12202,9 +10930,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "A׳ב", @@ -12237,9 +10963,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "A״ב", @@ -12272,9 +10996,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "def・abc", @@ -12307,15 +11029,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "ب٠۰", @@ -12332,12 +11048,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "क‍ष", @@ -12370,55 +11082,25 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv4.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "127.0.0.0.1", @@ -12515,9 +11197,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1২7.0.0.1", @@ -12554,27 +11234,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/ipv6.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "12345::", @@ -12591,9 +11257,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "::abcef", @@ -12642,15 +11306,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ":2:3:4:5:6:7:8", @@ -12699,9 +11357,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1::d6::42", @@ -12718,12 +11374,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "1::2:192.168.256.1", @@ -12756,9 +11408,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:::8", @@ -12775,9 +11425,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:6:7", @@ -12906,9 +11554,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "100:100:100:100:100:100:255.255.255.255.255", @@ -12977,33 +11623,15 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri-reference.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\\\\WINDOWS\\filëßåré", @@ -13020,12 +11648,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "#ƒräg\\mênt", @@ -13046,39 +11670,17 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/iri.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334", @@ -13147,27 +11749,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/json-pointer.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "/foo/bar~", @@ -13184,63 +11772,25 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "#", @@ -13421,27 +11971,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "^(abc]", @@ -13462,36 +11998,16 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/relative-json-pointer.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "/foo/bar", @@ -13604,34 +12120,18 @@ "type": "format" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "008:030:006Z", @@ -13680,9 +12180,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "22:59:60Z", @@ -13715,9 +12213,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "22:59:60+00:00", @@ -13750,12 +12246,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "23:59:60+01:00", @@ -13788,12 +12280,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "23:59:60-01:00", @@ -13826,18 +12314,10 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": "08:30:06-8:000", @@ -13854,9 +12334,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "24:00:00Z", @@ -14101,58 +12579,26 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/unknown.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-reference.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\\\\WINDOWS\\fileshare", @@ -14169,12 +12615,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "#frag\\ment", @@ -14190,115 +12632,59 @@ }, "type": "format" } - ] - ] - ], - "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-template.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - { - "data": "http://example.com/dictionary/{term:1}/{term", - "data_pointer": "", - "schema": { - "$schema": "https://json-schema.org/draft/2019-09/schema", - "format": "uri-template" - }, - "schema_pointer": "", - "root_schema": { - "$schema": "https://json-schema.org/draft/2019-09/schema", - "format": "uri-template" - }, - "type": "format" - } - ], - [ - - ], - [ - - ] - ] - ], - "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + ] + ] + ], + "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri-template.json": [ + [ + [], + [], + [], + [], + [], + [], + [], [ - + { + "data": "http://example.com/dictionary/{term:1}/{term", + "data_pointer": "", + "schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "format": "uri-template" + }, + "schema_pointer": "", + "root_schema": { + "$schema": "https://json-schema.org/draft/2019-09/schema", + "format": "uri-template" + }, + "type": "format" + } ], + [], + [] + ] + ], + "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uri.json": [ + [ + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "//foo.bar/?baz=qux#quux", @@ -14415,36 +12801,16 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/format/uuid.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2eb8aa08-aa98-11ea-b4aa-73b441d1638", @@ -14557,28 +12923,16 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/id.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1, @@ -14671,9 +13025,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/no-schema.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -14688,22 +13040,14 @@ "type": "minLength" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/non-bmp-regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "🐉", @@ -14770,15 +13114,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "hello", @@ -14821,9 +13159,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/refOfUnknownKeyword.json": [ [ - [ - - ], + [], [ { "data": true, @@ -14848,9 +13184,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -14877,9 +13211,7 @@ ] ], [ - [ - - ], + [], [ { "data": 42, @@ -14905,9 +13237,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/optional/unknownKeyword.json": [ [ - [ - - ], + [], [ { "data": null, @@ -15240,9 +13570,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/pattern.json": [ [ - [ - - ], + [], [ { "data": "abc", @@ -15259,39 +13587,21 @@ "type": "pattern" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/patternProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "bar", @@ -15347,26 +13657,14 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "bar", @@ -15455,9 +13753,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -15480,9 +13776,7 @@ "type": "boolean" } ], - [ - - ], + [], [ { "data": 3, @@ -15507,9 +13801,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -15558,25 +13850,18 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/properties.json": [ [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -15598,9 +13883,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "type": "integer" @@ -15620,8 +13903,7 @@ "type": "integer" }, { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -15641,20 +13923,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": [ @@ -15694,9 +13968,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "minItems": 2 @@ -15725,14 +13997,10 @@ "type": "minItems" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "/fxo", "schema": { "minItems": 2 @@ -15761,12 +14029,8 @@ "type": "minItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -15800,12 +14064,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 2, @@ -15840,9 +14100,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -16039,20 +14297,12 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -16142,16 +14392,12 @@ "type": "number" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/propertyNames.json": [ [ - [ - - ], + [], [ { "data": "foobar", @@ -16169,23 +14415,13 @@ "type": "maxLength" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "aaA", @@ -16203,17 +14439,11 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -16229,19 +14459,13 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/recursiveRef.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": false, @@ -16280,12 +14504,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -16447,9 +14667,7 @@ "type": "object" } ], - [ - - ], + [], [ { "data": { @@ -16657,29 +14875,15 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -16845,9 +15049,7 @@ "type": "object" } ], - [ - - ], + [], [ { "data": { @@ -17060,12 +15262,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -17227,9 +15425,7 @@ "type": "object" } ], - [ - - ], + [], [ { "data": { @@ -17555,9 +15751,7 @@ "type": "object" } ], - [ - - ], + [], [ { "data": { @@ -17834,9 +16028,7 @@ "type": "object" } ], - [ - - ], + [], [ { "data": { @@ -17994,9 +16186,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1.1, @@ -18052,9 +16242,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1.1, @@ -18112,12 +16300,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/ref.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": false, @@ -18156,9 +16340,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -18183,9 +16365,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -18318,20 +16498,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -18360,9 +16532,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -18420,9 +16590,7 @@ ] ], [ - [ - - ], + [], [ { "data": -1, @@ -18547,9 +16715,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } } }, @@ -18558,9 +16724,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -18582,9 +16746,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -18611,9 +16773,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -18634,9 +16794,7 @@ ] ], [ - [ - - ], + [], [ { "data": "string is invalid", @@ -18689,9 +16847,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -18813,9 +16969,7 @@ "type": "enum" } ], - [ - - ] + [] ], [ [ @@ -18880,9 +17034,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -18947,14 +17099,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -18991,9 +17139,7 @@ ] ], [ - [ - - ], + [], [ { "data": 50, @@ -19027,9 +17173,7 @@ ] ], [ - [ - - ], + [], [ { "data": 50, @@ -19064,9 +17208,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19099,9 +17241,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19130,9 +17270,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19161,9 +17299,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19192,9 +17328,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19223,9 +17357,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19253,9 +17385,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19285,9 +17415,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -19336,9 +17464,7 @@ "type": "integer" } ], - [ - - ] + [] ], [ [ @@ -19361,9 +17487,7 @@ "type": "integer" } ], - [ - - ] + [] ], [ [ @@ -19386,14 +17510,10 @@ "type": "integer" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": 12, @@ -19423,9 +17543,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19449,9 +17567,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19475,9 +17591,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19508,9 +17622,7 @@ ] ], [ - [ - - ], + [], [ { "data": 8, @@ -19547,9 +17659,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/refRemote.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -19568,9 +17678,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19595,9 +17703,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19624,9 +17730,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19651,9 +17755,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19672,9 +17774,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19693,9 +17793,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19714,12 +17812,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -19816,14 +17910,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -19866,9 +17956,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -19891,9 +17979,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -19916,9 +18002,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -19942,14 +18026,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -19979,9 +18059,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/required.json": [ [ - [ - - ], + [], [ { "data": { @@ -19991,10 +18069,8 @@ "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -20004,10 +18080,8 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -20021,30 +18095,18 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -20088,16 +18150,11 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20226,19 +18283,13 @@ } } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/type.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -20289,8 +18340,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20306,9 +18356,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20356,15 +18404,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -20399,8 +18441,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20416,9 +18457,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20498,19 +18537,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20526,9 +18558,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20624,14 +18654,10 @@ "type": "object" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20729,8 +18755,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20744,9 +18769,7 @@ "type": "array" } ], - [ - - ], + [], [ { "data": true, @@ -20863,8 +18886,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20880,9 +18902,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -20896,12 +18916,8 @@ "type": "boolean" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": null, @@ -21002,8 +19018,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -21019,9 +19034,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -21067,17 +19080,11 @@ "type": "null" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -21102,8 +19109,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -21125,9 +19131,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", @@ -21193,9 +19197,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -21218,12 +19220,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 123, @@ -21292,15 +19290,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 123, @@ -21353,17 +19345,11 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/unevaluatedItems.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -21379,12 +19365,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 42, @@ -21404,14 +19386,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "bar", @@ -21432,9 +19410,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -21457,9 +19433,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -21486,14 +19460,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": true, @@ -21524,12 +19494,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "yes", @@ -21557,25 +19523,15 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 42, @@ -21613,9 +19569,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 42, @@ -21655,9 +19609,7 @@ ] ], [ - [ - - ], + [], [ { "data": 42, @@ -21726,9 +19678,7 @@ ] ], [ - [ - - ], + [], [ { "data": "else", @@ -21774,9 +19724,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 42, @@ -21824,9 +19772,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -21845,9 +19791,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -21879,9 +19823,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -21913,9 +19855,7 @@ ] ], [ - [ - - ], + [], [ { "data": "too many", @@ -21981,9 +19921,7 @@ ] ], [ - [ - - ], + [], [ { "data": "test", @@ -22022,34 +19960,18 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "b", @@ -22074,20 +19996,12 @@ ], "JSON-Schema-Test-Suite/tests/draft2019-09/unevaluatedProperties.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "fo", @@ -22110,9 +20024,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -22129,9 +20041,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22153,9 +20063,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22177,17 +20085,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22218,9 +20120,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22251,25 +20151,15 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "not-baz", @@ -22321,9 +20211,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": "not-quux", @@ -22377,9 +20265,7 @@ ] ], [ - [ - - ], + [], [ { "data": "quux", @@ -22456,9 +20342,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22503,9 +20387,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": "else", @@ -22652,9 +20534,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": "else", @@ -22691,9 +20571,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22830,9 +20708,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22866,9 +20742,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22893,9 +20767,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22927,9 +20799,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22961,9 +20831,7 @@ ] ], [ - [ - - ], + [], [ { "data": "b", @@ -23052,20 +20920,12 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -23140,9 +21000,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -23247,9 +21105,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -23278,9 +21134,7 @@ ] ], [ - [ - - ], + [], [ { "data": "test", @@ -23348,9 +21202,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 1, @@ -23437,21 +21289,14 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/y", "schema": false, "schema_pointer": "/unevaluatedProperties", @@ -23468,13 +21313,10 @@ "type": "schema" } ], - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/x/y", "schema": false, "schema_pointer": "/unevaluatedProperties", @@ -23491,13 +21333,10 @@ "type": "schema" } ], - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/x/x/y", "schema": false, "schema_pointer": "/unevaluatedProperties", @@ -23518,8 +21357,7 @@ [ [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -23582,8 +21420,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -23952,18 +21789,10 @@ "type": "schema" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": { @@ -24142,8 +21971,7 @@ [ [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24230,8 +22058,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24318,8 +22145,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24406,8 +22232,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24494,8 +22319,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24580,8 +22404,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24668,18 +22491,10 @@ } } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": { @@ -26424,12 +24239,8 @@ "type": "schema" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": 1, @@ -27698,12 +25509,8 @@ "type": "schema" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -27853,34 +25660,18 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "b", @@ -27903,9 +25694,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -27937,16 +25726,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -27964,16 +25750,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -27982,16 +25765,12 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2019-09/uniqueItems.json": [ [ - [ - - ], + [], [ { "data": [ @@ -28051,15 +25830,9 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -28080,9 +25853,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28131,9 +25902,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28165,9 +25934,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28217,39 +25984,23 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": [ - { - }, + {}, [ 1 ], true, null, - { - }, + {}, 1 ], "data_pointer": "", @@ -28265,9 +26016,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28293,20 +26042,12 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -28377,12 +26118,8 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -28459,12 +26196,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -28563,91 +26296,37 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": null, @@ -28693,12 +26372,8 @@ "type": "schema" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -28717,9 +26392,7 @@ "type": "number" } ], - [ - - ] + [] ] ] } diff --git a/test/fixtures/draft2020-12.json b/test/fixtures/draft2020-12.json index 49c7c65..4d5b0a0 100644 --- a/test/fixtures/draft2020-12.json +++ b/test/fixtures/draft2020-12.json @@ -1,9 +1,7 @@ { "JSON-Schema-Test-Suite/tests/draft2020-12/additionalProperties.json": [ [ - [ - - ], + [], [ { "data": "boom", @@ -13,37 +11,24 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "patternProperties": { - "^v": { - } + "^v": {} }, "additionalProperties": false }, "type": "schema" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -53,8 +38,7 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "patternProperties": { - "^á": { - } + "^á": {} }, "additionalProperties": false }, @@ -63,12 +47,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 12, @@ -80,10 +60,8 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "additionalProperties": { "type": "boolean" @@ -94,9 +72,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -116,9 +92,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -134,8 +108,7 @@ "allOf": [ { "properties": { - "foo": { - } + "foo": {} } } ], @@ -148,14 +121,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "available", @@ -187,16 +156,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -214,16 +180,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -241,16 +204,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -263,9 +223,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/allOf.json": [ [ - [ - - ], + [], [ { "data": { @@ -404,9 +362,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -723,9 +679,7 @@ ] ], [ - [ - - ], + [], [ { "data": 35, @@ -750,9 +704,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -805,19 +757,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -829,8 +775,7 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "allOf": [ - { - }, + {}, { "type": "number" } @@ -841,9 +786,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -858,8 +801,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "number" @@ -867,9 +809,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -1233,16 +1173,12 @@ "type": "multipleOf" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/anchor.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -1267,9 +1203,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -1296,9 +1230,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -1329,9 +1261,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -1369,15 +1299,9 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/anyOf.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 1.5, @@ -1454,9 +1378,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -1503,14 +1425,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -1545,15 +1463,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "quux", @@ -1626,17 +1538,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 123, @@ -1664,33 +1570,15 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/boolean_schema.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ [ @@ -1757,8 +1645,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": false, "schema_pointer": "", @@ -1780,9 +1667,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": false, "schema_pointer": "", @@ -1794,9 +1679,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/const.json": [ [ - [ - - ], + [], [ { "data": 5, @@ -1831,12 +1714,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -1888,9 +1767,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -1947,9 +1824,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -1968,9 +1843,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -2005,9 +1878,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -2042,9 +1913,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2091,9 +1960,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2140,9 +2007,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2189,9 +2054,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2254,16 +2117,11 @@ "type": "const" } ], - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -2279,9 +2137,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -2329,17 +2185,11 @@ "type": "const" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -2356,9 +2206,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 2.0, @@ -2393,9 +2241,7 @@ ] ], [ - [ - - ], + [], [ { "data": 9007199254740991, @@ -2412,9 +2258,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 9.007199254740991e+15, @@ -2433,9 +2277,7 @@ ] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -2456,15 +2298,9 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/contains.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -2491,9 +2327,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -2511,17 +2345,11 @@ "type": "contains" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -2549,14 +2377,10 @@ ] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -2592,9 +2416,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -2608,9 +2430,7 @@ "type": "contains" } ], - [ - - ] + [] ], [ [ @@ -2681,9 +2501,7 @@ "type": "multipleOf" } ], - [ - - ], + [], [ { "data": 1, @@ -2751,14 +2569,10 @@ ] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -2780,96 +2594,48 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/content.json": [ [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/default.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 5, @@ -2894,16 +2660,12 @@ "type": "maximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/defs.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -3035,9 +2797,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } } }, @@ -3170,9 +2930,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } } }, @@ -3183,15 +2941,9 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/dependentRequired.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3218,37 +2970,19 @@ "type": "dependentRequired" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3337,12 +3071,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -3412,12 +3142,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/dependentSchemas.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "quux", @@ -3520,20 +3246,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -3571,14 +3289,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -3685,14 +3399,12 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo": { - } + "foo": {} }, "dependentSchemas": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3701,9 +3413,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 1, @@ -3713,14 +3423,12 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo": { - } + "foo": {} }, "dependentSchemas": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3729,16 +3437,12 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/dynamicRef.json": [ [ - [ - - ], + [], [ { "data": 42, @@ -3767,9 +3471,7 @@ ] ], [ - [ - - ], + [], [ { "data": 42, @@ -3798,9 +3500,7 @@ ] ], [ - [ - - ], + [], [ { "data": 42, @@ -3829,9 +3529,7 @@ ] ], [ - [ - - ], + [], [ { "data": 42, @@ -3944,14 +3642,10 @@ "type": "number" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": 42, @@ -3994,24 +3688,16 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "fail", @@ -4058,14 +3744,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -4206,9 +3888,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -4313,9 +3993,7 @@ "type": "null" } ], - [ - - ] + [] ], [ [ @@ -4352,9 +4030,7 @@ "type": "schema" } ], - [ - - ] + [] ], [ [ @@ -4514,9 +4190,7 @@ } } ], - [ - - ] + [] ], [ [ @@ -4688,9 +4362,7 @@ } } ], - [ - - ] + [] ], [ [ @@ -4862,14 +4534,10 @@ } } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -4897,9 +4565,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -4926,9 +4592,7 @@ ] ], [ - [ - - ], + [], [ { "data": "value", @@ -4985,9 +4649,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/enum.json": [ [ - [ - - ], + [], [ { "data": 4, @@ -5014,9 +4676,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -5026,9 +4686,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -5041,9 +4699,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -5064,9 +4720,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -5079,9 +4733,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -5091,9 +4743,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -5106,9 +4756,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -5121,9 +4769,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -5135,12 +4781,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "test", @@ -5165,9 +4807,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foot", @@ -5232,9 +4872,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -5290,8 +4928,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -5342,12 +4979,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "abc", @@ -5372,9 +5005,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -5417,9 +5048,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -5474,9 +5103,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -5519,9 +5146,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -5596,12 +5221,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -5630,12 +5251,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -5658,12 +5275,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -5692,17 +5305,11 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -5727,9 +5334,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/exclusiveMaximum.json": [ [ - [ - - ], + [], [ { "data": 3.0, @@ -5762,16 +5367,12 @@ "type": "exclusiveMaximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/exclusiveMinimum.json": [ [ - [ - - ], + [], [ { "data": 1.1, @@ -5804,510 +5405,222 @@ "type": "exclusiveMinimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/format.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ], + [ + [], + [], + [], + [], + [], + [], + [] + ] + ], + "JSON-Schema-Test-Suite/tests/draft2020-12/if-then-else.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [] ], [ + [], [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - + { + "data": -100, + "data_pointer": "", + "schema": { + "minimum": -10 + }, + "schema_pointer": "/then", + "root_schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "if": { + "exclusiveMaximum": 0 + }, + "then": { + "minimum": -10 + } + }, + "type": "minimum" + } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ] - ], - "JSON-Schema-Test-Suite/tests/draft2020-12/if-then-else.json": [ - [ - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - { - "data": -100, - "data_pointer": "", - "schema": { - "minimum": -10 - }, - "schema_pointer": "/then", - "root_schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "if": { - "exclusiveMaximum": 0 - }, - "then": { - "minimum": -10 - } - }, - "type": "minimum" - } - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -6330,9 +5643,7 @@ ] ], [ - [ - - ], + [], [ { "data": -100, @@ -6356,9 +5667,7 @@ "type": "minimum" } ], - [ - - ], + [], [ { "data": 3, @@ -6384,17 +5693,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "else", @@ -6439,17 +5742,11 @@ "type": "const" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "no", @@ -6500,9 +5797,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/infinite-loop-detection.json": [ [ - [ - - ], + [], [ { "data": "a string", @@ -6571,9 +5866,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/items.json": [ [ - [ - - ], + [], [ { "data": "x", @@ -6591,20 +5884,12 @@ "type": "integer" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -6642,14 +5927,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -6809,8 +6090,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "/0/0", "schema": { "type": "object", @@ -6863,14 +6143,10 @@ } } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "1", @@ -7070,18 +6346,10 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": 4, @@ -7091,12 +6359,9 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "prefixItems": [ - { - }, - { - }, - { - } + {}, + {}, + {} ], "items": false }, @@ -7131,14 +6396,10 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "y", @@ -7172,8 +6433,7 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "prefixItems": [ - { - } + {} ], "items": false }, @@ -7187,39 +6447,28 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "prefixItems": [ - { - } + {} ], "items": false }, "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] - ], - "JSON-Schema-Test-Suite/tests/draft2020-12/maxContains.json": [ - [ - [ - - ], - [ - - ] + ], + "JSON-Schema-Test-Suite/tests/draft2020-12/maxContains.json": [ + [ + [], + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -7239,9 +6488,7 @@ "type": "contains" } ], - [ - - ], + [], [ { "data": [ @@ -7267,9 +6514,7 @@ "type": "maxContains" } ], - [ - - ], + [], [ { "data": [ @@ -7298,9 +6543,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -7330,9 +6573,7 @@ [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -7354,9 +6595,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -7378,9 +6617,7 @@ "type": "minContains" } ], - [ - - ], + [], [ { "data": [ @@ -7414,12 +6651,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/maxItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -7440,14 +6673,10 @@ "type": "maxItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -7472,12 +6701,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/maxLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -7494,17 +6719,11 @@ "type": "maxLength" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -7525,12 +6744,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/maxProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -7551,20 +6766,12 @@ "type": "maxProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -7587,9 +6794,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -7612,12 +6817,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/maximum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3.5, @@ -7634,20 +6835,12 @@ "type": "maximum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 300.5, @@ -7668,19 +6861,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/minContains.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -7700,9 +6887,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -7768,22 +6953,14 @@ "type": "minContains" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -7803,9 +6980,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -7919,15 +7094,9 @@ "type": "minContains" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ [ @@ -7976,16 +7145,12 @@ "type": "minContains" } ], - [ - - ] + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8007,9 +7172,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8109,16 +7272,12 @@ "type": "maxContains" } ], - [ - - ] + [] ], [ [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8140,9 +7299,7 @@ "type": "contains" }, { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8321,20 +7478,12 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -8366,17 +7515,11 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/minItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8390,19 +7533,13 @@ "type": "minItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8420,12 +7557,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/minLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "f", @@ -8442,9 +7575,7 @@ "type": "minLength" } ], - [ - - ], + [], [ { "data": "💩", @@ -8463,9 +7594,7 @@ ] ], [ - [ - - ], + [], [ { "data": "f", @@ -8486,16 +7615,11 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/minProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8509,24 +7633,15 @@ "type": "minProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -8544,12 +7659,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/minimum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 0.6, @@ -8566,23 +7677,13 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": -2.0001, @@ -8615,16 +7716,12 @@ "type": "minimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/multipleOf.json": [ [ - [ - - ], + [], [ { "data": 7, @@ -8641,17 +7738,11 @@ "type": "multipleOf" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 35, @@ -8670,9 +7761,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0.00751, @@ -8711,16 +7800,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/not.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -8743,9 +7828,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -8800,12 +7883,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -8845,25 +7924,21 @@ "data": 1, "data_pointer": "/foo", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "/properties/foo", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { "foo": { - "not": { - } + "not": {} } } }, "type": "not" } ], - [ - - ] + [] ], [ [ @@ -8872,14 +7947,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -8890,14 +7963,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -8908,14 +7979,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -8926,14 +7995,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -8944,14 +8011,12 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -8964,33 +8029,28 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -9003,34 +8063,28 @@ "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "not": { - } + "not": {} }, "type": "not" } @@ -9137,8 +8191,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -9172,9 +8225,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -9190,43 +8241,21 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -9271,12 +8300,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/oneOf.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -9411,11 +8436,9 @@ ] }, "type": "string" - } - ], - [ - + } ], + [], [ { "data": "foo", @@ -9476,9 +8499,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -9556,12 +8577,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -9695,9 +8712,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -9708,8 +8723,7 @@ { "type": "number" }, - { - } + {} ] }, "schema_pointer": "", @@ -9719,8 +8733,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "oneOf" @@ -9805,12 +8818,8 @@ } } ], - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -9861,12 +8870,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -10013,9 +9018,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -10043,9 +9046,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/anchor.json": [ [ - [ - - ], + [], [ { "data": { @@ -10138,9 +9139,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": 1, @@ -10233,20 +9232,12 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/bignum.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -10267,9 +9258,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -10290,9 +9279,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -10315,22 +9302,14 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/cross-draft.json": [ [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/dependencies-compatibility.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -10362,37 +9341,19 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -10497,12 +9458,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -10580,12 +9537,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "quux", @@ -10688,20 +9641,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -10739,14 +9684,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -10846,9 +9787,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/dynamicRef.json": [ [ - [ - - ], + [], [ { "data": "value", @@ -10923,9 +9862,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -10946,9 +9883,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -10969,9 +9904,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -10992,14 +9925,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "߀", @@ -11056,17 +9985,11 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "é", @@ -11105,38 +10028,18 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\u0001", @@ -11337,23 +10240,13 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "LES HIVERS DE MON ENFANCE ÉTAIENT DES SAISONS LONGUES, LONGUES. NOUS VIVIONS EN TROIS LIEUX: L'ÉCOLE, L'ÉGLISE ET LA PATINOIRE; MAIS LA VRAIE VIE ÉTAIT SUR LA PATINOIRE.", @@ -11372,9 +10265,7 @@ ] ], [ - [ - - ], + [], [ { "data": "Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.", @@ -11457,14 +10348,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -11499,9 +10386,7 @@ ] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -11518,20 +10403,12 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "PAS DE VRAIE VIE", @@ -11551,9 +10428,7 @@ ] ], [ - [ - - ], + [], [ { "data": "pas de vraie vie", @@ -11641,14 +10516,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -11685,9 +10556,7 @@ ] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -11705,56 +10574,28 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/float-overflow.json": [ [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/date-time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "1998-12-31T23:59:61Z", @@ -11867,9 +10708,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2013-350T01:01:01", @@ -11954,30 +10793,14 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/date.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2020-01-32", @@ -11994,9 +10817,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2021-02-29", @@ -12013,9 +10834,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-02-30", @@ -12032,9 +10851,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-03-32", @@ -12051,9 +10868,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-04-31", @@ -12070,9 +10885,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-05-32", @@ -12089,9 +10902,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-06-31", @@ -12108,9 +10919,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-07-32", @@ -12127,9 +10936,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-08-32", @@ -12146,9 +10953,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-09-31", @@ -12165,9 +10970,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-10-32", @@ -12184,9 +10987,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-11-31", @@ -12203,9 +11004,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-12-32", @@ -12350,9 +11149,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1963-06-1৪", @@ -12424,40 +11221,26 @@ "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "format": "date" - }, - "schema_pointer": "", - "root_schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "format": "date" - }, - "type": "format" - } - ] - ] - ], - "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/duration.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + }, + "schema_pointer": "", + "root_schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "date" + }, + "type": "format" + } + ] + ] + ], + "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/duration.json": [ + [ + [], + [], + [], + [], + [], + [], + [], [ { "data": "PT1D", @@ -12570,30 +11353,14 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "P1Y2W", @@ -12666,27 +11433,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/email.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -12703,30 +11456,14 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": ".test@example.com", @@ -12759,9 +11496,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "te..st@example.com", @@ -12814,30 +11549,14 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/hostname.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "-a-host-name-that-starts-with--", @@ -12966,9 +11685,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl.com", @@ -12985,46 +11702,22 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/idn-email.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -13041,9 +11734,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2962", @@ -13064,27 +11755,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/idn-hostname.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "〮실례.테스트", @@ -13149,9 +11826,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "xn--X", @@ -13280,12 +11955,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "ـߺ", @@ -13382,9 +12053,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "α͵S", @@ -13417,9 +12086,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "A׳ב", @@ -13452,9 +12119,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "A״ב", @@ -13487,9 +12152,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "def・abc", @@ -13522,15 +12185,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "ب٠۰", @@ -13547,12 +12204,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "क‍ष", @@ -13585,55 +12238,25 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/ipv4.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "127.0.0.0.1", @@ -13730,9 +12353,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1২7.0.0.1", @@ -13769,27 +12390,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/ipv6.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "12345::", @@ -13806,9 +12413,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "::abcef", @@ -13857,15 +12462,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ":2:3:4:5:6:7:8", @@ -13914,9 +12513,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1::d6::42", @@ -13933,12 +12530,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "1::2:192.168.256.1", @@ -13971,9 +12564,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:::8", @@ -13990,9 +12581,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:6:7", @@ -14121,9 +12710,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "100:100:100:100:100:100:255.255.255.255.255", @@ -14192,33 +12779,15 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/iri-reference.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\\\\WINDOWS\\filëßåré", @@ -14235,12 +12804,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "#ƒräg\\mênt", @@ -14258,42 +12823,20 @@ } ] ] - ], - "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/iri.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + ], + "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/iri.json": [ + [ + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334", @@ -14362,27 +12905,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/json-pointer.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "/foo/bar~", @@ -14399,63 +12928,25 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "#", @@ -14636,27 +13127,13 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "^(abc]", @@ -14677,36 +13154,16 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/relative-json-pointer.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "/foo/bar", @@ -14819,34 +13276,18 @@ "type": "format" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "008:030:006Z", @@ -14895,9 +13336,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "22:59:60Z", @@ -14930,9 +13369,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "22:59:60+00:00", @@ -14965,12 +13402,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "23:59:60+01:00", @@ -15003,12 +13436,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "23:59:60-01:00", @@ -15041,18 +13470,10 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": "08:30:06-8:000", @@ -15069,9 +13490,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "24:00:00Z", @@ -15316,58 +13735,26 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/unknown.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/uri-reference.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\\\\WINDOWS\\fileshare", @@ -15384,136 +13771,76 @@ "type": "format" } ], + [], + [], [ - - ], - [ - - ], - [ - { - "data": "#frag\\ment", - "data_pointer": "", - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "format": "uri-reference" - }, - "schema_pointer": "", - "root_schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "format": "uri-reference" - }, - "type": "format" - } - ] - ] - ], - "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/uri-template.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - { - "data": "http://example.com/dictionary/{term:1}/{term", - "data_pointer": "", - "schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "format": "uri-template" - }, - "schema_pointer": "", - "root_schema": { - "$schema": "https://json-schema.org/draft/2020-12/schema", - "format": "uri-template" - }, - "type": "format" - } - ], - [ - - ], - [ - - ] - ] - ], - "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/uri.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + { + "data": "#frag\\ment", + "data_pointer": "", + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "uri-reference" + }, + "schema_pointer": "", + "root_schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "uri-reference" + }, + "type": "format" + } + ] + ] + ], + "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/uri-template.json": [ + [ + [], + [], + [], + [], + [], + [], + [], [ - + { + "data": "http://example.com/dictionary/{term:1}/{term", + "data_pointer": "", + "schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "uri-template" + }, + "schema_pointer": "", + "root_schema": { + "$schema": "https://json-schema.org/draft/2020-12/schema", + "format": "uri-template" + }, + "type": "format" + } ], + [], + [] + ] + ], + "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/uri.json": [ + [ + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "//foo.bar/?baz=qux#quux", @@ -15630,36 +13957,16 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format/uuid.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2eb8aa08-aa98-11ea-b4aa-73b441d1638", @@ -15772,25 +14079,15 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/format-assertion.json": [ [ - [ - - ], + [], [ { "data": "not-an-ipv4", @@ -15811,9 +14108,7 @@ ] ], [ - [ - - ], + [], [ { "data": "not-an-ipv4", @@ -15836,12 +14131,8 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/id.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1, @@ -15934,9 +14225,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/no-schema.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -15951,22 +14240,14 @@ "type": "minLength" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/non-bmp-regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "🐉", @@ -16033,15 +14314,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "hello", @@ -16084,9 +14359,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/refOfUnknownKeyword.json": [ [ - [ - - ], + [], [ { "data": true, @@ -16111,9 +14384,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -16140,9 +14411,7 @@ ] ], [ - [ - - ], + [], [ { "data": 42, @@ -16168,9 +14437,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/optional/unknownKeyword.json": [ [ - [ - - ], + [], [ { "data": null, @@ -16503,9 +14770,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/pattern.json": [ [ - [ - - ], + [], [ { "data": "abc", @@ -16522,39 +14787,21 @@ "type": "pattern" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/patternProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "bar", @@ -16610,26 +14857,14 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "bar", @@ -16718,9 +14953,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -16743,9 +14976,7 @@ "type": "boolean" } ], - [ - - ], + [], [ { "data": 3, @@ -16770,9 +15001,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -16821,21 +15050,15 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/prefixItems.json": [ [ - [ - - ], + [], [ { "data": "foo", @@ -16878,23 +15101,13 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -16911,30 +15124,21 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/properties.json": [ [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -16956,9 +15160,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "type": "integer" @@ -16978,8 +15180,7 @@ "type": "integer" }, { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -16999,20 +15200,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": [ @@ -17052,9 +15245,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "minItems": 2 @@ -17083,14 +15274,10 @@ "type": "minItems" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "/fxo", "schema": { "minItems": 2 @@ -17119,12 +15306,8 @@ "type": "minItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -17158,12 +15341,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 2, @@ -17198,9 +15377,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -17397,20 +15574,12 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -17500,16 +15669,12 @@ "type": "number" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/propertyNames.json": [ [ - [ - - ], + [], [ { "data": "foobar", @@ -17527,26 +15692,14 @@ "type": "maxLength" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -17562,19 +15715,13 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/ref.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": false, @@ -17613,9 +15760,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -17640,9 +15785,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -17775,20 +15918,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -17817,9 +15952,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -17877,9 +16010,7 @@ ] ], [ - [ - - ], + [], [ { "data": -1, @@ -18004,9 +16135,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } } }, @@ -18015,9 +16144,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -18039,9 +16166,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -18068,9 +16193,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -18091,9 +16214,7 @@ ] ], [ - [ - - ], + [], [ { "data": "string is invalid", @@ -18146,9 +16267,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -18270,9 +16389,7 @@ "type": "enum" } ], - [ - - ] + [] ], [ [ @@ -18337,9 +16454,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -18404,14 +16519,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -18448,9 +16559,7 @@ ] ], [ - [ - - ], + [], [ { "data": 50, @@ -18484,9 +16593,7 @@ ] ], [ - [ - - ], + [], [ { "data": 50, @@ -18521,9 +16628,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18556,9 +16661,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18587,9 +16690,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18618,9 +16719,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18649,9 +16748,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18680,9 +16777,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18710,9 +16805,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18742,9 +16835,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -18793,9 +16884,7 @@ "type": "integer" } ], - [ - - ] + [] ], [ [ @@ -18818,9 +16907,7 @@ "type": "integer" } ], - [ - - ] + [] ], [ [ @@ -18843,14 +16930,10 @@ "type": "integer" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": 12, @@ -18880,9 +16963,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -18906,9 +16987,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -18932,9 +17011,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -18967,9 +17044,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/refRemote.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -18988,9 +17063,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19015,9 +17088,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19044,9 +17115,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19071,9 +17140,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19092,9 +17159,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19113,9 +17178,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -19134,12 +17197,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -19236,14 +17295,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -19286,9 +17341,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -19311,9 +17364,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -19336,9 +17387,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -19362,14 +17411,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -19399,9 +17444,7 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/required.json": [ [ - [ - - ], + [], [ { "data": { @@ -19411,10 +17454,8 @@ "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -19424,10 +17465,8 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -19441,30 +17480,18 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -19508,16 +17535,11 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -19646,19 +17668,13 @@ } } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/type.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -19709,8 +17725,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -19726,9 +17741,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -19776,15 +17789,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -19819,8 +17826,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -19836,9 +17842,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -19918,19 +17922,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -19946,9 +17943,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20044,14 +18039,10 @@ "type": "object" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20149,8 +18140,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20164,9 +18154,7 @@ "type": "array" } ], - [ - - ], + [], [ { "data": true, @@ -20283,8 +18271,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20300,9 +18287,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20316,12 +18301,8 @@ "type": "boolean" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": null, @@ -20422,8 +18403,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20439,9 +18419,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20487,17 +18465,11 @@ "type": "null" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -20522,8 +18494,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20545,9 +18516,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", @@ -20613,9 +18582,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -20638,12 +18605,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 123, @@ -20712,15 +18675,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 123, @@ -20773,17 +18730,11 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/unevaluatedItems.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -20799,12 +18750,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 42, @@ -20824,14 +18771,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "bar", @@ -20852,14 +18795,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -20918,9 +18857,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -20951,12 +18888,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "yes", @@ -20984,25 +18917,15 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 42, @@ -21040,9 +18963,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 42, @@ -21082,9 +19003,7 @@ ] ], [ - [ - - ], + [], [ { "data": 42, @@ -21153,9 +19072,7 @@ ] ], [ - [ - - ], + [], [ { "data": "else", @@ -21201,9 +19118,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 42, @@ -21251,9 +19166,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -21272,9 +19185,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -21306,9 +19217,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -21340,9 +19249,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -21412,9 +19319,7 @@ ] ], [ - [ - - ], + [], [ { "data": "test", @@ -21453,9 +19358,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -21525,9 +19428,7 @@ ] ], [ - [ - - ], + [], [ { "data": 7, @@ -21559,18 +19460,10 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": "b", @@ -21941,34 +19834,18 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "b", @@ -21993,20 +19870,12 @@ ], "JSON-Schema-Test-Suite/tests/draft2020-12/unevaluatedProperties.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "fo", @@ -22029,9 +19898,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -22048,9 +19915,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22072,9 +19937,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22096,17 +19959,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22137,9 +19994,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22170,25 +20025,15 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "not-baz", @@ -22240,9 +20085,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": "not-quux", @@ -22296,9 +20139,7 @@ ] ], [ - [ - - ], + [], [ { "data": "quux", @@ -22375,9 +20216,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22422,9 +20261,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": "else", @@ -22571,9 +20408,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": "else", @@ -22610,9 +20445,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22749,9 +20582,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22785,9 +20616,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -22812,9 +20641,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22846,9 +20673,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22880,9 +20705,7 @@ ] ], [ - [ - - ], + [], [ { "data": "baz", @@ -22975,20 +20798,12 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -23063,9 +20878,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -23170,9 +20983,7 @@ ] ], [ - [ - - ], + [], [ { "data": "bar", @@ -23201,9 +21012,7 @@ ] ], [ - [ - - ], + [], [ { "data": "test", @@ -23271,9 +21080,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 1, @@ -23360,21 +21167,14 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/y", "schema": false, "schema_pointer": "/unevaluatedProperties", @@ -23391,13 +21191,10 @@ "type": "schema" } ], - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/x/y", "schema": false, "schema_pointer": "/unevaluatedProperties", @@ -23414,13 +21211,10 @@ "type": "schema" } ], - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/x/x/y", "schema": false, "schema_pointer": "/unevaluatedProperties", @@ -23441,8 +21235,7 @@ [ [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -23505,8 +21298,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -23875,18 +21667,10 @@ "type": "schema" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": { @@ -24065,8 +21849,7 @@ [ [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24153,8 +21936,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24241,8 +22023,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24329,8 +22110,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24417,8 +22197,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24503,8 +22282,7 @@ } }, { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -24591,18 +22369,10 @@ } } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": { @@ -26347,12 +24117,8 @@ "type": "schema" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": 1, @@ -27621,12 +25387,8 @@ "type": "schema" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -27776,34 +25538,18 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "b", @@ -27826,9 +25572,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -27860,16 +25604,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -27887,16 +25628,13 @@ "root_schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { - "foo2": { - } + "foo2": {} }, "dependentSchemas": { - "foo": { - }, + "foo": {}, "foo2": { "properties": { - "bar": { - } + "bar": {} } } }, @@ -27905,16 +25643,12 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft2020-12/uniqueItems.json": [ [ - [ - - ], + [], [ { "data": [ @@ -27974,15 +25708,9 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -28003,9 +25731,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28054,9 +25780,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28088,9 +25812,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28140,39 +25862,23 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": [ - { - }, + {}, [ 1 ], true, null, - { - }, + {}, 1 ], "data_pointer": "", @@ -28188,9 +25894,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -28216,20 +25920,12 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -28300,12 +25996,8 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -28382,12 +26074,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -28486,91 +26174,37 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": null, @@ -28616,12 +26250,8 @@ "type": "schema" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -28640,9 +26270,7 @@ "type": "number" } ], - [ - - ] + [] ] ] } diff --git a/test/fixtures/draft4.json b/test/fixtures/draft4.json index c59edb8..f481dba 100644 --- a/test/fixtures/draft4.json +++ b/test/fixtures/draft4.json @@ -1,9 +1,7 @@ { "JSON-Schema-Test-Suite/tests/draft4/additionalItems.json": [ [ - [ - - ], + [], [ { "data": "foo", @@ -14,8 +12,7 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": { "type": "integer" @@ -26,23 +23,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": 4, @@ -51,12 +38,9 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - }, - { - }, - { - } + {}, + {}, + {} ], "additionalItems": false }, @@ -65,22 +49,14 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -118,9 +94,7 @@ ] ], [ - [ - - ], + [], [ { "data": "y", @@ -152,8 +126,7 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": false }, @@ -166,29 +139,22 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": false }, "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/additionalProperties.json": [ [ - [ - - ], + [], [ { "data": "boom", @@ -197,37 +163,24 @@ "schema_pointer": "/additionalProperties", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "patternProperties": { - "^v": { - } + "^v": {} }, "additionalProperties": false }, "type": "schema" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -236,8 +189,7 @@ "schema_pointer": "/additionalProperties", "root_schema": { "patternProperties": { - "^á": { - } + "^á": {} }, "additionalProperties": false }, @@ -246,12 +198,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 12, @@ -262,10 +210,8 @@ "schema_pointer": "/additionalProperties", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "additionalProperties": { "type": "boolean" @@ -276,9 +222,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -297,9 +241,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -314,8 +256,7 @@ "allOf": [ { "properties": { - "foo": { - } + "foo": {} } } ], @@ -328,16 +269,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/allOf.json": [ [ - [ - - ], + [], [ { "data": { @@ -473,9 +410,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -786,9 +721,7 @@ ] ], [ - [ - - ], + [], [ { "data": 35, @@ -812,19 +745,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -835,8 +762,7 @@ "schema_pointer": "/allOf/1", "root_schema": { "allOf": [ - { - }, + {}, { "type": "number" } @@ -847,9 +773,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -863,8 +787,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "number" @@ -872,9 +795,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -1225,22 +1146,14 @@ "type": "multipleOf" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/anyOf.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 1.5, @@ -1313,9 +1226,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -1360,15 +1271,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "quux", @@ -1439,17 +1344,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 123, @@ -1476,25 +1375,15 @@ ], "JSON-Schema-Test-Suite/tests/draft4/default.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 5, @@ -1518,16 +1407,12 @@ "type": "maximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/definitions.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -1604,8 +1489,7 @@ "description": { "type": "string" }, - "default": { - }, + "default": {}, "multipleOf": { "type": "number", "minimum": 0, @@ -1644,8 +1528,7 @@ "$ref": "#" } ], - "default": { - } + "default": {} }, "items": { "anyOf": [ @@ -1656,8 +1539,7 @@ "$ref": "#/definitions/schemaArray" } ], - "default": { - } + "default": {} }, "maxItems": { "$ref": "#/definitions/positiveInteger" @@ -1687,32 +1569,28 @@ "$ref": "#" } ], - "default": { - } + "default": {} }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -1771,8 +1649,7 @@ "minimum" ] }, - "default": { - } + "default": {} }, "type": "enum" }, @@ -1848,8 +1725,7 @@ "description": { "type": "string" }, - "default": { - }, + "default": {}, "multipleOf": { "type": "number", "minimum": 0, @@ -1888,8 +1764,7 @@ "$ref": "#" } ], - "default": { - } + "default": {} }, "items": { "anyOf": [ @@ -1900,8 +1775,7 @@ "$ref": "#/definitions/schemaArray" } ], - "default": { - } + "default": {} }, "maxItems": { "$ref": "#/definitions/positiveInteger" @@ -1931,32 +1805,28 @@ "$ref": "#" } ], - "default": { - } + "default": {} }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -2015,8 +1885,7 @@ "minimum" ] }, - "default": { - } + "default": {} }, "type": "array" } @@ -2025,15 +1894,9 @@ ], "JSON-Schema-Test-Suite/tests/draft4/dependencies.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -2063,26 +1926,14 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -2181,12 +2032,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "quux", @@ -2287,15 +2134,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -2479,14 +2320,12 @@ "schema_pointer": "/dependencies/foo/additionalProperties", "root_schema": { "properties": { - "foo": { - } + "foo": {} }, "dependencies": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -2495,9 +2334,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 1, @@ -2506,14 +2343,12 @@ "schema_pointer": "/dependencies/foo/additionalProperties", "root_schema": { "properties": { - "foo": { - } + "foo": {} }, "dependencies": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -2522,16 +2357,12 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/enum.json": [ [ - [ - - ], + [], [ { "data": 4, @@ -2556,9 +2387,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -2567,9 +2396,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -2581,9 +2408,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -2603,9 +2428,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -2617,9 +2440,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -2629,9 +2450,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -2643,9 +2462,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -2657,9 +2474,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -2671,12 +2486,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "test", @@ -2699,9 +2510,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foot", @@ -2764,9 +2573,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -2820,8 +2627,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "object", @@ -2870,12 +2676,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "abc", @@ -2898,9 +2700,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -2939,9 +2739,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2992,9 +2790,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -3033,9 +2829,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -3104,12 +2898,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -3136,12 +2926,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -3162,12 +2948,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -3194,17 +2976,11 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -3227,131 +3003,57 @@ ], "JSON-Schema-Test-Suite/tests/draft4/format.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/infinite-loop-detection.json": [ [ - [ - - ], + [], [ { "data": "a string", @@ -3418,9 +3120,7 @@ ], "JSON-Schema-Test-Suite/tests/draft4/items.json": [ [ - [ - - ], + [], [ { "data": "x", @@ -3437,17 +3137,11 @@ "type": "integer" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -3488,23 +3182,13 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": [ @@ -3661,8 +3345,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "/0/0", "schema": { "type": "object", @@ -3714,14 +3397,10 @@ } } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "1", @@ -3914,24 +3593,16 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/maxItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -3950,19 +3621,13 @@ "type": "maxItems" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/maxLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -3977,22 +3642,14 @@ "type": "maxLength" } ], - [ - - ], - [ - - ] + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/maxProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -4011,20 +3668,12 @@ "type": "maxProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -4045,12 +3694,8 @@ ], "JSON-Schema-Test-Suite/tests/draft4/maximum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3.5, @@ -4065,20 +3710,12 @@ "type": "maximum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 300.5, @@ -4095,12 +3732,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3.5, @@ -4117,14 +3750,10 @@ "type": "maximum" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": 3.0, @@ -4145,17 +3774,11 @@ ], "JSON-Schema-Test-Suite/tests/draft4/minItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "minItems": 1 @@ -4167,19 +3790,13 @@ "type": "minItems" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/minLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "f", @@ -4194,9 +3811,7 @@ "type": "minLength" } ], - [ - - ], + [], [ { "data": "💩", @@ -4215,16 +3830,11 @@ ], "JSON-Schema-Test-Suite/tests/draft4/minProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "minProperties": 1 @@ -4236,25 +3846,15 @@ "type": "minProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/minimum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 0.6, @@ -4269,17 +3869,11 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 0.6, @@ -4296,14 +3890,10 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": 1.1, @@ -4322,18 +3912,10 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": -2.0001, @@ -4362,16 +3944,12 @@ "type": "minimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/multipleOf.json": [ [ - [ - - ], + [], [ { "data": 7, @@ -4386,17 +3964,11 @@ "type": "multipleOf" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 35, @@ -4413,9 +3985,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0.00751, @@ -4464,16 +4034,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/not.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -4494,9 +4060,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -4547,12 +4111,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -4590,24 +4150,20 @@ "data": 1, "data_pointer": "/foo", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "/properties/foo", "root_schema": { "properties": { "foo": { - "not": { - } + "not": {} } } }, "type": "not" } ], - [ - - ] + [] ], [ [ @@ -4615,13 +4171,11 @@ "data": 1, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -4631,13 +4185,11 @@ "data": "foo", "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -4647,13 +4199,11 @@ "data": true, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -4663,13 +4213,11 @@ "data": false, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -4679,13 +4227,11 @@ "data": null, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -4697,30 +4243,25 @@ }, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -4732,50 +4273,38 @@ ], "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/oneOf.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -4904,9 +4433,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -4939,12 +4466,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -5074,9 +4597,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -5086,8 +4607,7 @@ { "type": "number" }, - { - } + {} ] }, "schema_pointer": "", @@ -5096,8 +4616,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "oneOf" @@ -5180,12 +4699,8 @@ } } ], - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -5234,12 +4749,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -5251,10 +4762,8 @@ "oneOf": [ { "properties": { - "bar": { - }, - "baz": { - } + "bar": {}, + "baz": {} }, "required": [ "bar" @@ -5262,8 +4771,7 @@ }, { "properties": { - "foo": { - } + "foo": {} }, "required": [ "foo" @@ -5276,10 +4784,8 @@ "oneOf": [ { "properties": { - "bar": { - }, - "baz": { - } + "bar": {}, + "baz": {} }, "required": [ "bar" @@ -5287,8 +4793,7 @@ }, { "properties": { - "foo": { - } + "foo": {} }, "required": [ "foo" @@ -5307,10 +4812,8 @@ "data_pointer": "", "schema": { "properties": { - "bar": { - }, - "baz": { - } + "bar": {}, + "baz": {} }, "required": [ "bar" @@ -5321,10 +4824,8 @@ "oneOf": [ { "properties": { - "bar": { - }, - "baz": { - } + "bar": {}, + "baz": {} }, "required": [ "bar" @@ -5332,8 +4833,7 @@ }, { "properties": { - "foo": { - } + "foo": {} }, "required": [ "foo" @@ -5355,8 +4855,7 @@ "data_pointer": "", "schema": { "properties": { - "foo": { - } + "foo": {} }, "required": [ "foo" @@ -5367,10 +4866,8 @@ "oneOf": [ { "properties": { - "bar": { - }, - "baz": { - } + "bar": {}, + "baz": {} }, "required": [ "bar" @@ -5378,8 +4875,7 @@ }, { "properties": { - "foo": { - } + "foo": {} }, "required": [ "foo" @@ -5397,9 +4893,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -5426,20 +4920,12 @@ ], "JSON-Schema-Test-Suite/tests/draft4/optional/bignum.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -5458,9 +4944,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -5481,9 +4965,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -5522,9 +5004,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -5543,9 +5023,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -5564,9 +5042,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -5585,14 +5061,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "߀", @@ -5643,17 +5115,11 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "é", @@ -5688,38 +5154,18 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\u0001", @@ -5898,23 +5344,13 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "LES HIVERS DE MON ENFANCE ÉTAIENT DES SAISONS LONGUES, LONGUES. NOUS VIVIONS EN TROIS LIEUX: L'ÉCOLE, L'ÉGLISE ET LA PATINOIRE; MAIS LA VRAIE VIE ÉTAIT SUR LA PATINOIRE.", @@ -5931,9 +5367,7 @@ ] ], [ - [ - - ], + [], [ { "data": "Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.", @@ -6006,14 +5440,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -6044,9 +5474,7 @@ ] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -6061,20 +5489,12 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "PAS DE VRAIE VIE", @@ -6084,8 +5504,7 @@ "root_schema": { "type": "object", "patternProperties": { - "\\p{Letter}cole": { - } + "\\p{Letter}cole": {} }, "additionalProperties": false }, @@ -6094,9 +5513,7 @@ ] ], [ - [ - - ], + [], [ { "data": "pas de vraie vie", @@ -6106,8 +5523,7 @@ "root_schema": { "type": "object", "patternProperties": { - "\\wcole": { - } + "\\wcole": {} }, "additionalProperties": false }, @@ -6123,8 +5539,7 @@ "root_schema": { "type": "object", "patternProperties": { - "\\wcole": { - } + "\\wcole": {} }, "additionalProperties": false }, @@ -6140,8 +5555,7 @@ "root_schema": { "type": "object", "patternProperties": { - "\\wcole": { - } + "\\wcole": {} }, "additionalProperties": false }, @@ -6159,8 +5573,7 @@ "root_schema": { "type": "object", "patternProperties": { - "[a-z]cole": { - } + "[a-z]cole": {} }, "additionalProperties": false }, @@ -6176,22 +5589,17 @@ "root_schema": { "type": "object", "patternProperties": { - "[a-z]cole": { - } + "[a-z]cole": {} }, "additionalProperties": false }, "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -6201,8 +5609,7 @@ "root_schema": { "type": "object", "patternProperties": { - "^\\d+$": { - } + "^\\d+$": {} }, "additionalProperties": false }, @@ -6218,8 +5625,7 @@ "root_schema": { "type": "object", "patternProperties": { - "^\\d+$": { - } + "^\\d+$": {} }, "additionalProperties": false }, @@ -6228,9 +5634,7 @@ ] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -6240,64 +5644,35 @@ "root_schema": { "type": "object", "patternProperties": { - "^\\p{digit}+$": { - } + "^\\p{digit}+$": {} }, "additionalProperties": false }, "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/optional/float-overflow.json": [ [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/optional/format/date-time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "1998-12-31T23:59:61Z", @@ -6396,9 +5771,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2013-350T01:01:01", @@ -6461,39 +5834,25 @@ "data_pointer": "", "schema": { "format": "date-time" - }, - "schema_pointer": "", - "root_schema": { - "format": "date-time" - }, - "type": "format" - } - ] - ] - ], - "JSON-Schema-Test-Suite/tests/draft4/optional/format/email.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + }, + "schema_pointer": "", + "root_schema": { + "format": "date-time" + }, + "type": "format" + } + ] + ] + ], + "JSON-Schema-Test-Suite/tests/draft4/optional/format/email.json": [ + [ + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -6508,15 +5867,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ".test@example.com", @@ -6545,9 +5898,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "te..st@example.com", @@ -6566,30 +5917,14 @@ ], "JSON-Schema-Test-Suite/tests/draft4/optional/format/hostname.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "-a-host-name-that-starts-with--", @@ -6702,9 +6037,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl.com", @@ -6719,43 +6052,21 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/optional/format/ipv4.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "127.0.0.0.1", @@ -6840,9 +6151,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1২7.0.0.1", @@ -6875,27 +6184,13 @@ ], "JSON-Schema-Test-Suite/tests/draft4/optional/format/ipv6.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "12345::", @@ -6910,9 +6205,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "::abcef", @@ -6955,15 +6248,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ":2:3:4:5:6:7:8", @@ -7006,9 +6293,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1::d6::42", @@ -7023,12 +6308,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "1::2:192.168.256.1", @@ -7057,9 +6338,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:::8", @@ -7074,9 +6353,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:6:7", @@ -7189,9 +6466,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "100:100:100:100:100:100:255.255.255.255.255", @@ -7252,88 +6527,36 @@ ], "JSON-Schema-Test-Suite/tests/draft4/optional/format/unknown.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/optional/format/uri.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "//foo.bar/?baz=qux#quux", @@ -7436,12 +6659,8 @@ ], "JSON-Schema-Test-Suite/tests/draft4/optional/id.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1, @@ -7532,15 +6751,9 @@ ], "JSON-Schema-Test-Suite/tests/draft4/optional/non-bmp-regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "🐉", @@ -7599,15 +6812,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "hello", @@ -7666,9 +6873,7 @@ ], "JSON-Schema-Test-Suite/tests/draft4/pattern.json": [ [ - [ - - ], + [], [ { "data": "abc", @@ -7683,39 +6888,21 @@ "type": "pattern" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/patternProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "bar", @@ -7768,26 +6955,14 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "bar", @@ -7872,9 +7047,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -7896,9 +7069,7 @@ "type": "boolean" } ], - [ - - ], + [], [ { "data": 3, @@ -7922,20 +7093,15 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/properties.json": [ [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -7956,9 +7122,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "type": "integer" @@ -7977,8 +7141,7 @@ "type": "integer" }, { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -7997,20 +7160,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": [ @@ -8049,9 +7204,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "minItems": 2 @@ -8079,14 +7232,10 @@ "type": "minItems" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "/fxo", "schema": { "minItems": 2 @@ -8114,12 +7263,8 @@ "type": "minItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -8152,9 +7297,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -8345,20 +7488,12 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -8445,19 +7580,13 @@ "type": "number" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/ref.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": false, @@ -8494,9 +7623,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -8520,9 +7647,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -8651,20 +7776,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -8696,12 +7813,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "string", @@ -8762,14 +7875,10 @@ "type": "number" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": -1, @@ -8839,8 +7948,7 @@ "description": { "type": "string" }, - "default": { - }, + "default": {}, "multipleOf": { "type": "number", "minimum": 0, @@ -8879,8 +7987,7 @@ "$ref": "#" } ], - "default": { - } + "default": {} }, "items": { "anyOf": [ @@ -8891,8 +7998,7 @@ "$ref": "#/definitions/schemaArray" } ], - "default": { - } + "default": {} }, "maxItems": { "$ref": "#/definitions/positiveInteger" @@ -8922,32 +8028,28 @@ "$ref": "#" } ], - "default": { - } + "default": {} }, "definitions": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -9006,17 +8108,14 @@ "minimum" ] }, - "default": { - } + "default": {} }, "type": "minimum" } ] ], [ - [ - - ], + [], [ { "data": 2, @@ -9037,9 +8136,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -9065,9 +8162,7 @@ ] ], [ - [ - - ], + [], [ { "data": "string is invalid", @@ -9119,9 +8214,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -9147,9 +8240,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9177,9 +8268,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9245,14 +8334,10 @@ "type": "enum" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -9288,9 +8373,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9317,9 +8400,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9346,9 +8427,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9380,9 +8459,7 @@ ], "JSON-Schema-Test-Suite/tests/draft4/refRemote.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -9399,9 +8476,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9425,9 +8500,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9451,9 +8524,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9470,9 +8541,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9489,9 +8558,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -9508,12 +8575,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -9582,9 +8645,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -9612,9 +8673,7 @@ ], "JSON-Schema-Test-Suite/tests/draft4/required.json": [ [ - [ - - ], + [], [ { "data": { @@ -9623,10 +8682,8 @@ "data_pointer": "", "schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -9635,10 +8692,8 @@ "schema_pointer": "", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -9652,25 +8707,15 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -9712,16 +8757,11 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -9842,16 +8882,12 @@ } } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft4/type.json": [ [ - [ - - ], + [], [ { "data": 1.1, @@ -9896,8 +8932,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "integer" @@ -9911,9 +8946,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "integer" @@ -9955,15 +8988,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -9994,8 +9021,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "number" @@ -10009,9 +9035,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "number" @@ -10081,19 +9105,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "string" @@ -10107,9 +9124,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "string" @@ -10193,14 +9208,10 @@ "type": "object" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "object" @@ -10286,8 +9297,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "array" @@ -10299,9 +9309,7 @@ "type": "array" } ], - [ - - ], + [], [ { "data": true, @@ -10404,8 +9412,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "boolean" @@ -10419,9 +9426,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "boolean" @@ -10433,12 +9438,8 @@ "type": "boolean" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": null, @@ -10527,8 +9528,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "null" @@ -10542,9 +9542,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "null" @@ -10584,17 +9582,11 @@ "type": "null" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -10617,8 +9609,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": [ @@ -10638,9 +9629,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": [ @@ -10700,9 +9689,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -10723,12 +9710,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 123, @@ -10791,15 +9774,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 123, @@ -10848,9 +9825,7 @@ ], "JSON-Schema-Test-Suite/tests/draft4/uniqueItems.json": [ [ - [ - - ], + [], [ { "data": [ @@ -10904,15 +9879,9 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -10931,9 +9900,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -10978,9 +9945,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -11010,9 +9975,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -11058,39 +10021,23 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": [ - { - }, + {}, [ 1 ], true, null, - { - }, + {}, 1 ], "data_pointer": "", @@ -11104,9 +10051,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -11130,20 +10075,12 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -11210,12 +10147,8 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -11288,12 +10221,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -11387,91 +10316,37 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": null, diff --git a/test/fixtures/draft6.json b/test/fixtures/draft6.json index 4b48ee5..af51dbd 100644 --- a/test/fixtures/draft6.json +++ b/test/fixtures/draft6.json @@ -1,9 +1,7 @@ { "JSON-Schema-Test-Suite/tests/draft6/additionalItems.json": [ [ - [ - - ], + [], [ { "data": "foo", @@ -14,8 +12,7 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": { "type": "integer" @@ -26,9 +23,7 @@ ] ], [ - [ - - ], + [], [ { "data": "2", @@ -67,23 +62,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": 4, @@ -92,12 +77,9 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - }, - { - }, - { - } + {}, + {}, + {} ], "additionalItems": false }, @@ -106,22 +88,14 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -159,9 +133,7 @@ ] ], [ - [ - - ], + [], [ { "data": "y", @@ -193,8 +165,7 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": false }, @@ -207,29 +178,22 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": false }, "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/additionalProperties.json": [ [ - [ - - ], + [], [ { "data": "boom", @@ -238,37 +202,24 @@ "schema_pointer": "/additionalProperties", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "patternProperties": { - "^v": { - } + "^v": {} }, "additionalProperties": false }, "type": "schema" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -277,8 +228,7 @@ "schema_pointer": "/additionalProperties", "root_schema": { "patternProperties": { - "^á": { - } + "^á": {} }, "additionalProperties": false }, @@ -287,12 +237,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 12, @@ -303,10 +249,8 @@ "schema_pointer": "/additionalProperties", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "additionalProperties": { "type": "boolean" @@ -317,9 +261,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -338,9 +280,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -355,8 +295,7 @@ "allOf": [ { "properties": { - "foo": { - } + "foo": {} } } ], @@ -369,16 +308,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/allOf.json": [ [ - [ - - ], + [], [ { "data": { @@ -514,9 +449,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -827,9 +760,7 @@ ] ], [ - [ - - ], + [], [ { "data": 35, @@ -853,9 +784,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -905,19 +834,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -928,8 +851,7 @@ "schema_pointer": "/allOf/1", "root_schema": { "allOf": [ - { - }, + {}, { "type": "number" } @@ -940,9 +862,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -956,8 +876,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "number" @@ -965,9 +884,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -1318,22 +1235,14 @@ "type": "multipleOf" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/anyOf.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 1.5, @@ -1406,9 +1315,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -1453,14 +1360,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -1493,15 +1396,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "quux", @@ -1572,17 +1469,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 123, @@ -1609,33 +1500,15 @@ ], "JSON-Schema-Test-Suite/tests/draft6/boolean_schema.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ [ @@ -1702,8 +1575,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": false, "schema_pointer": "", @@ -1725,9 +1597,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": false, "schema_pointer": "", @@ -1739,9 +1609,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/const.json": [ [ - [ - - ], + [], [ { "data": 5, @@ -1772,12 +1640,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -1825,9 +1689,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -1880,9 +1742,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -1899,9 +1759,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -1932,9 +1790,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -1965,9 +1821,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2010,9 +1864,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2055,9 +1907,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2100,9 +1950,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2159,16 +2007,11 @@ "type": "const" } ], - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "const": 0 @@ -2182,9 +2025,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "const": 0 @@ -2226,17 +2067,11 @@ "type": "const" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -2251,9 +2086,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 2.0, @@ -2284,9 +2117,7 @@ ] ], [ - [ - - ], + [], [ { "data": 9007199254740991, @@ -2301,9 +2132,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 9.007199254740991e+15, @@ -2320,9 +2149,7 @@ ] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -2341,15 +2168,9 @@ ], "JSON-Schema-Test-Suite/tests/draft6/contains.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -2374,9 +2195,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "contains": { @@ -2392,17 +2211,11 @@ "type": "contains" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -2428,14 +2241,10 @@ ] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "contains": true @@ -2467,9 +2276,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "contains": false @@ -2481,9 +2288,7 @@ "type": "contains" } ], - [ - - ] + [] ], [ [ @@ -2550,9 +2355,7 @@ "type": "multipleOf" } ], - [ - - ], + [], [ { "data": 1, @@ -2616,32 +2419,20 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/default.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 5, @@ -2665,16 +2456,12 @@ "type": "maximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/definitions.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -2734,9 +2521,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } }, "type": [ @@ -2762,12 +2547,10 @@ "description": { "type": "string" }, - "default": { - }, + "default": {}, "examples": { "type": "array", - "items": { - } + "items": {} }, "multipleOf": { "type": "number", @@ -2807,8 +2590,7 @@ "$ref": "#/definitions/schemaArray" } ], - "default": { - } + "default": {} }, "maxItems": { "$ref": "#/definitions/nonNegativeInteger" @@ -2840,16 +2622,14 @@ "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", @@ -2859,8 +2639,7 @@ "propertyNames": { "format": "regex" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -2878,8 +2657,7 @@ "propertyNames": { "$ref": "#" }, - "const": { - }, + "const": {}, "enum": { "type": "array", "minItems": 1, @@ -2916,8 +2694,7 @@ "$ref": "#" } }, - "default": { - } + "default": {} }, "type": "enum" }, @@ -2976,9 +2753,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } }, "type": [ @@ -3004,12 +2779,10 @@ "description": { "type": "string" }, - "default": { - }, + "default": {}, "examples": { "type": "array", - "items": { - } + "items": {} }, "multipleOf": { "type": "number", @@ -3049,8 +2822,7 @@ "$ref": "#/definitions/schemaArray" } ], - "default": { - } + "default": {} }, "maxItems": { "$ref": "#/definitions/nonNegativeInteger" @@ -3082,16 +2854,14 @@ "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", @@ -3101,8 +2871,7 @@ "propertyNames": { "format": "regex" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -3120,8 +2889,7 @@ "propertyNames": { "$ref": "#" }, - "const": { - }, + "const": {}, "enum": { "type": "array", "minItems": 1, @@ -3158,8 +2926,7 @@ "$ref": "#" } }, - "default": { - } + "default": {} }, "type": "array" } @@ -3168,15 +2935,9 @@ ], "JSON-Schema-Test-Suite/tests/draft6/dependencies.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3206,37 +2967,19 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3335,12 +3078,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "quux", @@ -3441,9 +3180,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -3479,20 +3216,12 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3676,14 +3405,12 @@ "schema_pointer": "/dependencies/foo/additionalProperties", "root_schema": { "properties": { - "foo": { - } + "foo": {} }, "dependencies": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3692,9 +3419,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 1, @@ -3703,14 +3428,12 @@ "schema_pointer": "/dependencies/foo/additionalProperties", "root_schema": { "properties": { - "foo": { - } + "foo": {} }, "dependencies": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3719,16 +3442,12 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/enum.json": [ [ - [ - - ], + [], [ { "data": 4, @@ -3753,9 +3472,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -3764,9 +3481,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3778,9 +3493,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3800,9 +3513,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3814,9 +3525,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3826,9 +3535,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -3840,9 +3547,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3854,9 +3559,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3868,12 +3571,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "test", @@ -3896,9 +3595,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foot", @@ -3961,9 +3658,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -4017,8 +3712,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "object", @@ -4067,12 +3761,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "abc", @@ -4095,9 +3785,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -4136,9 +3824,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -4189,9 +3875,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -4230,9 +3914,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -4301,12 +3983,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4333,12 +4011,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4359,12 +4033,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4391,17 +4061,11 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -4424,9 +4088,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/exclusiveMaximum.json": [ [ - [ - - ], + [], [ { "data": 3.0, @@ -4455,16 +4117,12 @@ "type": "exclusiveMaximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/exclusiveMinimum.json": [ [ - [ - - ], + [], [ { "data": 1.1, @@ -4493,198 +4151,86 @@ "type": "exclusiveMinimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/format.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/infinite-loop-detection.json": [ [ - [ - - ], + [], [ { "data": "a string", @@ -4751,9 +4297,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/items.json": [ [ - [ - - ], + [], [ { "data": "x", @@ -4770,17 +4314,11 @@ "type": "integer" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -4821,26 +4359,14 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4875,14 +4401,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -4898,14 +4420,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -5062,8 +4580,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "/0/0", "schema": { "type": "object", @@ -5115,14 +4632,10 @@ } } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "1", @@ -5315,24 +4828,16 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/maxItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -5351,14 +4856,10 @@ "type": "maxItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -5381,12 +4882,8 @@ ], "JSON-Schema-Test-Suite/tests/draft6/maxLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -5401,17 +4898,11 @@ "type": "maxLength" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -5430,12 +4921,8 @@ ], "JSON-Schema-Test-Suite/tests/draft6/maxProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -5454,20 +4941,12 @@ "type": "maxProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -5488,9 +4967,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -5511,12 +4988,8 @@ ], "JSON-Schema-Test-Suite/tests/draft6/maximum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3.5, @@ -5531,20 +5004,12 @@ "type": "maximum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 300.5, @@ -5563,17 +5028,11 @@ ], "JSON-Schema-Test-Suite/tests/draft6/minItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "minItems": 1 @@ -5585,19 +5044,13 @@ "type": "minItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "minItems": 1.0 @@ -5613,12 +5066,8 @@ ], "JSON-Schema-Test-Suite/tests/draft6/minLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "f", @@ -5633,9 +5082,7 @@ "type": "minLength" } ], - [ - - ], + [], [ { "data": "💩", @@ -5652,9 +5099,7 @@ ] ], [ - [ - - ], + [], [ { "data": "f", @@ -5673,16 +5118,11 @@ ], "JSON-Schema-Test-Suite/tests/draft6/minProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "minProperties": 1 @@ -5694,24 +5134,15 @@ "type": "minProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "minProperties": 1.0 @@ -5727,12 +5158,8 @@ ], "JSON-Schema-Test-Suite/tests/draft6/minimum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 0.6, @@ -5747,23 +5174,13 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": -2.0001, @@ -5792,16 +5209,12 @@ "type": "minimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/multipleOf.json": [ [ - [ - - ], + [], [ { "data": 7, @@ -5816,17 +5229,11 @@ "type": "multipleOf" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 35, @@ -5843,9 +5250,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0.00751, @@ -5880,16 +5285,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/not.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -5910,9 +5311,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -5963,12 +5362,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -6006,24 +5401,20 @@ "data": 1, "data_pointer": "/foo", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "/properties/foo", "root_schema": { "properties": { "foo": { - "not": { - } + "not": {} } } }, "type": "not" } ], - [ - - ] + [] ], [ [ @@ -6031,13 +5422,11 @@ "data": 1, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6047,13 +5436,11 @@ "data": "foo", "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6063,13 +5450,11 @@ "data": true, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6079,13 +5464,11 @@ "data": false, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6095,13 +5478,11 @@ "data": null, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6113,30 +5494,25 @@ }, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6148,31 +5524,25 @@ ], "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6267,8 +5637,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "not": true @@ -6298,9 +5667,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "not": true @@ -6314,48 +5681,24 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/oneOf.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -6484,9 +5827,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -6543,9 +5884,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -6618,12 +5957,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -6753,9 +6088,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -6765,8 +6098,7 @@ { "type": "number" }, - { - } + {} ] }, "schema_pointer": "", @@ -6775,8 +6107,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "oneOf" @@ -6859,12 +6190,8 @@ } } ], - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -6913,12 +6240,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -7061,9 +6384,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -7090,20 +6411,12 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/bignum.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -7122,9 +6435,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -7143,9 +6454,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -7182,9 +6491,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -7203,9 +6510,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -7224,9 +6529,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -7245,14 +6548,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "߀", @@ -7303,17 +6602,11 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "é", @@ -7348,38 +6641,18 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\u0001", @@ -7558,23 +6831,13 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "LES HIVERS DE MON ENFANCE ÉTAIENT DES SAISONS LONGUES, LONGUES. NOUS VIVIONS EN TROIS LIEUX: L'ÉCOLE, L'ÉGLISE ET LA PATINOIRE; MAIS LA VRAIE VIE ÉTAIT SUR LA PATINOIRE.", @@ -7591,9 +6854,7 @@ ] ], [ - [ - - ], + [], [ { "data": "Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.", @@ -7666,14 +6927,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -7704,9 +6961,7 @@ ] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -7721,20 +6976,12 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "PAS DE VRAIE VIE", @@ -7753,9 +7000,7 @@ ] ], [ - [ - - ], + [], [ { "data": "pas de vraie vie", @@ -7838,14 +7083,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -7880,9 +7121,7 @@ ] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -7899,56 +7138,28 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/optional/float-overflow.json": [ [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/date-time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "1998-12-31T23:59:61Z", @@ -8047,9 +7258,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2013-350T01:01:01", @@ -8124,27 +7333,13 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/email.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -8159,15 +7354,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ".test@example.com", @@ -8196,9 +7385,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "te..st@example.com", @@ -8217,30 +7404,14 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/hostname.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "-a-host-name-that-starts-with--", @@ -8353,9 +7524,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl.com", @@ -8370,43 +7539,21 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/ipv4.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "127.0.0.0.1", @@ -8491,9 +7638,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1২7.0.0.1", @@ -8526,27 +7671,13 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/ipv6.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "12345::", @@ -8561,9 +7692,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "::abcef", @@ -8606,15 +7735,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ":2:3:4:5:6:7:8", @@ -8657,9 +7780,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1::d6::42", @@ -8674,12 +7795,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "1::2:192.168.256.1", @@ -8708,9 +7825,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:::8", @@ -8725,9 +7840,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:6:7", @@ -8840,9 +7953,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "100:100:100:100:100:100:255.255.255.255.255", @@ -8903,27 +8014,13 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/json-pointer.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "/foo/bar~", @@ -8938,63 +8035,25 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "#", @@ -9151,60 +8210,28 @@ ] ] ], - "JSON-Schema-Test-Suite/tests/draft6/optional/format/unknown.json": [ - [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + "JSON-Schema-Test-Suite/tests/draft6/optional/format/unknown.json": [ + [ + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/uri-reference.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\\\\WINDOWS\\fileshare", @@ -9219,12 +8246,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "#frag\\ment", @@ -9243,27 +8266,13 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/uri-template.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "http://example.com/dictionary/{term:1}/{term", @@ -9278,73 +8287,31 @@ "type": "format" } ], - [ - - ], - [ - - ] + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/optional/format/uri.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "//foo.bar/?baz=qux#quux", @@ -9447,12 +8414,8 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/id.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1, @@ -9541,9 +8504,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -9620,9 +8581,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -9701,15 +8660,9 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/non-bmp-regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "🐉", @@ -9768,15 +8721,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "hello", @@ -9817,9 +8764,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/optional/unknownKeyword.json": [ [ - [ - - ], + [], [ { "data": null, @@ -10146,9 +9091,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/pattern.json": [ [ - [ - - ], + [], [ { "data": "abc", @@ -10163,39 +9106,21 @@ "type": "pattern" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/patternProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "bar", @@ -10248,26 +9173,14 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "bar", @@ -10352,9 +9265,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -10376,9 +9287,7 @@ "type": "boolean" } ], - [ - - ], + [], [ { "data": 3, @@ -10402,9 +9311,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -10450,25 +9357,18 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/properties.json": [ [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -10489,9 +9389,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "type": "integer" @@ -10510,8 +9408,7 @@ "type": "integer" }, { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -10530,20 +9427,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": [ @@ -10582,9 +9471,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "minItems": 2 @@ -10612,14 +9499,10 @@ "type": "minItems" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "/fxo", "schema": { "minItems": 2 @@ -10647,12 +9530,8 @@ "type": "minItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -10685,12 +9564,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 2, @@ -10723,9 +9598,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -10916,20 +9789,12 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -11016,16 +9881,12 @@ "type": "number" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/propertyNames.json": [ [ - [ - - ], + [], [ { "data": "foobar", @@ -11042,23 +9903,13 @@ "type": "maxLength" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "aaA", @@ -11075,17 +9926,11 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -11100,19 +9945,13 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/ref.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": false, @@ -11149,9 +9988,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -11175,9 +10012,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -11306,20 +10141,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -11351,12 +10178,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "string", @@ -11417,14 +10240,10 @@ "type": "number" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": -1, @@ -11477,9 +10296,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } }, "type": [ @@ -11505,12 +10322,10 @@ "description": { "type": "string" }, - "default": { - }, + "default": {}, "examples": { "type": "array", - "items": { - } + "items": {} }, "multipleOf": { "type": "number", @@ -11550,8 +10365,7 @@ "$ref": "#/definitions/schemaArray" } ], - "default": { - } + "default": {} }, "maxItems": { "$ref": "#/definitions/nonNegativeInteger" @@ -11583,16 +10397,14 @@ "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", @@ -11602,8 +10414,7 @@ "propertyNames": { "format": "regex" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -11621,8 +10432,7 @@ "propertyNames": { "$ref": "#" }, - "const": { - }, + "const": {}, "enum": { "type": "array", "minItems": 1, @@ -11659,17 +10469,14 @@ "$ref": "#" } }, - "default": { - } + "default": {} }, "type": "minimum" } ] ], [ - [ - - ], + [], [ { "data": 2, @@ -11690,9 +10497,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -11718,9 +10523,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -11744,9 +10547,7 @@ ] ], [ - [ - - ], + [], [ { "data": "string is invalid", @@ -11798,9 +10599,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -11826,9 +10625,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -11856,9 +10653,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -11887,9 +10682,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -11989,9 +10782,7 @@ "type": "enum" } ], - [ - - ] + [] ], [ [ @@ -12070,9 +10861,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -12151,14 +10940,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": 12, @@ -12189,9 +10974,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -12219,9 +11002,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -12249,9 +11030,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -12279,9 +11058,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -12309,9 +11086,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -12338,9 +11113,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -12369,9 +11142,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -12404,9 +11175,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12433,9 +11202,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12462,9 +11229,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12496,9 +11261,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/refRemote.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -12515,9 +11278,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12541,9 +11302,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12567,9 +11326,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12586,9 +11343,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12605,9 +11360,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -12624,12 +11377,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -12726,14 +11475,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -12773,14 +11518,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -12810,9 +11551,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/required.json": [ [ - [ - - ], + [], [ { "data": { @@ -12821,10 +11560,8 @@ "data_pointer": "", "schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -12833,10 +11570,8 @@ "schema_pointer": "", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -12850,30 +11585,18 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -12915,16 +11638,11 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -13045,19 +11763,13 @@ } } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft6/type.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -13102,8 +11814,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "integer" @@ -13117,9 +11828,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "integer" @@ -13161,15 +11870,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -13200,8 +11903,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "number" @@ -13215,9 +11917,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "number" @@ -13287,19 +11987,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "string" @@ -13313,9 +12006,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "string" @@ -13399,14 +12090,10 @@ "type": "object" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "object" @@ -13492,8 +12179,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "array" @@ -13505,9 +12191,7 @@ "type": "array" } ], - [ - - ], + [], [ { "data": true, @@ -13610,8 +12294,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "boolean" @@ -13625,9 +12308,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "boolean" @@ -13639,12 +12320,8 @@ "type": "boolean" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": null, @@ -13733,8 +12410,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "null" @@ -13748,9 +12424,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "null" @@ -13790,17 +12464,11 @@ "type": "null" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -13823,8 +12491,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": [ @@ -13844,9 +12511,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": [ @@ -13906,9 +12571,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -13929,12 +12592,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 123, @@ -13997,15 +12656,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 123, @@ -14054,9 +12707,7 @@ ], "JSON-Schema-Test-Suite/tests/draft6/uniqueItems.json": [ [ - [ - - ], + [], [ { "data": [ @@ -14110,15 +12761,9 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -14137,9 +12782,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -14184,9 +12827,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -14216,9 +12857,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -14264,39 +12903,23 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": [ - { - }, + {}, [ 1 ], true, null, - { - }, + {}, 1 ], "data_pointer": "", @@ -14310,9 +12933,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -14336,20 +12957,12 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -14416,12 +13029,8 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -14494,12 +13103,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -14593,91 +13198,37 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": null, diff --git a/test/fixtures/draft7.json b/test/fixtures/draft7.json index 05aebab..b4ba652 100644 --- a/test/fixtures/draft7.json +++ b/test/fixtures/draft7.json @@ -1,9 +1,7 @@ { "JSON-Schema-Test-Suite/tests/draft7/additionalItems.json": [ [ - [ - - ], + [], [ { "data": "foo", @@ -14,8 +12,7 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": { "type": "integer" @@ -26,9 +23,7 @@ ] ], [ - [ - - ], + [], [ { "data": "2", @@ -67,23 +62,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": 4, @@ -92,12 +77,9 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - }, - { - }, - { - } + {}, + {}, + {} ], "additionalItems": false }, @@ -106,22 +88,14 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -159,9 +133,7 @@ ] ], [ - [ - - ], + [], [ { "data": "y", @@ -193,8 +165,7 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": false }, @@ -207,29 +178,22 @@ "schema_pointer": "/additionalItems", "root_schema": { "items": [ - { - } + {} ], "additionalItems": false }, "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/additionalProperties.json": [ [ - [ - - ], + [], [ { "data": "boom", @@ -238,37 +202,24 @@ "schema_pointer": "/additionalProperties", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "patternProperties": { - "^v": { - } + "^v": {} }, "additionalProperties": false }, "type": "schema" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -277,8 +228,7 @@ "schema_pointer": "/additionalProperties", "root_schema": { "patternProperties": { - "^á": { - } + "^á": {} }, "additionalProperties": false }, @@ -287,12 +237,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 12, @@ -303,10 +249,8 @@ "schema_pointer": "/additionalProperties", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "additionalProperties": { "type": "boolean" @@ -317,9 +261,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -338,9 +280,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -355,8 +295,7 @@ "allOf": [ { "properties": { - "foo": { - } + "foo": {} } } ], @@ -369,16 +308,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/allOf.json": [ [ - [ - - ], + [], [ { "data": { @@ -514,9 +449,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -827,9 +760,7 @@ ] ], [ - [ - - ], + [], [ { "data": 35, @@ -853,9 +784,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -905,19 +834,13 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -928,8 +851,7 @@ "schema_pointer": "/allOf/1", "root_schema": { "allOf": [ - { - }, + {}, { "type": "number" } @@ -940,9 +862,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -956,8 +876,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "number" @@ -965,9 +884,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -1318,22 +1235,14 @@ "type": "multipleOf" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/anyOf.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 1.5, @@ -1406,9 +1315,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -1453,14 +1360,10 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ [ @@ -1493,15 +1396,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "quux", @@ -1572,17 +1469,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 123, @@ -1609,33 +1500,15 @@ ], "JSON-Schema-Test-Suite/tests/draft7/boolean_schema.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ [ @@ -1702,8 +1575,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": false, "schema_pointer": "", @@ -1725,9 +1597,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": false, "schema_pointer": "", @@ -1739,9 +1609,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/const.json": [ [ - [ - - ], + [], [ { "data": 5, @@ -1772,12 +1640,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -1825,9 +1689,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -1880,9 +1742,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -1899,9 +1759,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -1932,9 +1790,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -1965,9 +1821,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2010,9 +1864,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -2055,9 +1907,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2100,9 +1950,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -2159,16 +2007,11 @@ "type": "const" } ], - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "const": 0 @@ -2182,9 +2025,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "const": 0 @@ -2226,17 +2067,11 @@ "type": "const" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 2, @@ -2251,9 +2086,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 2.0, @@ -2284,9 +2117,7 @@ ] ], [ - [ - - ], + [], [ { "data": 9007199254740991, @@ -2301,9 +2132,7 @@ "type": "const" } ], - [ - - ], + [], [ { "data": 9.007199254740991e+15, @@ -2320,9 +2149,7 @@ ] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -2341,15 +2168,9 @@ ], "JSON-Schema-Test-Suite/tests/draft7/contains.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -2374,9 +2195,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "contains": { @@ -2392,17 +2211,11 @@ "type": "contains" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -2428,14 +2241,10 @@ ] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "contains": true @@ -2467,9 +2276,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "contains": false @@ -2481,9 +2288,7 @@ "type": "contains" } ], - [ - - ] + [] ], [ [ @@ -2550,9 +2355,7 @@ "type": "multipleOf" } ], - [ - - ], + [], [ { "data": 1, @@ -2616,14 +2419,10 @@ ] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "contains": { @@ -2643,32 +2442,20 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/default.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": 5, @@ -2692,16 +2479,12 @@ "type": "maximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/definitions.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -2761,9 +2544,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } }, "type": [ @@ -2875,16 +2656,14 @@ "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", @@ -2894,8 +2673,7 @@ "propertyNames": { "format": "regex" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -3025,9 +2803,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } }, "type": [ @@ -3139,16 +2915,14 @@ "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", @@ -3158,8 +2932,7 @@ "propertyNames": { "format": "regex" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -3239,15 +3012,9 @@ ], "JSON-Schema-Test-Suite/tests/draft7/dependencies.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3277,37 +3044,19 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ] - ], - [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [] + ], + [ + [], + [], + [], [ { "data": { @@ -3406,12 +3155,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "quux", @@ -3512,9 +3257,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -3550,20 +3293,12 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": { @@ -3747,14 +3482,12 @@ "schema_pointer": "/dependencies/foo/additionalProperties", "root_schema": { "properties": { - "foo": { - } + "foo": {} }, "dependencies": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3763,9 +3496,7 @@ "type": "schema" } ], - [ - - ], + [], [ { "data": 1, @@ -3774,14 +3505,12 @@ "schema_pointer": "/dependencies/foo/additionalProperties", "root_schema": { "properties": { - "foo": { - } + "foo": {} }, "dependencies": { "foo": { "properties": { - "bar": { - } + "bar": {} }, "additionalProperties": false } @@ -3790,16 +3519,12 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/enum.json": [ [ - [ - - ], + [], [ { "data": 4, @@ -3824,9 +3549,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -3835,9 +3558,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3849,9 +3570,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3871,9 +3590,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3885,9 +3602,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3897,9 +3612,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -3911,9 +3624,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3925,9 +3636,7 @@ "enum": [ 6, "foo", - [ - - ], + [], true, { "foo": 12 @@ -3939,12 +3648,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "test", @@ -3967,9 +3672,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foot", @@ -4032,9 +3735,7 @@ "type": "enum" } ], - [ - - ], + [], [ { "data": { @@ -4088,8 +3789,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "object", @@ -4138,12 +3838,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "abc", @@ -4166,9 +3862,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0, @@ -4207,9 +3901,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -4260,9 +3952,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -4301,9 +3991,7 @@ ] ], [ - [ - - ], + [], [ { "data": [ @@ -4372,12 +4060,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4404,12 +4088,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4430,12 +4110,8 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -4462,17 +4138,11 @@ "type": "enum" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "hellothere", @@ -4495,9 +4165,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/exclusiveMaximum.json": [ [ - [ - - ], + [], [ { "data": 3.0, @@ -4526,16 +4194,12 @@ "type": "exclusiveMaximum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/exclusiveMinimum.json": [ [ - [ - - ], + [], [ { "data": 1.1, @@ -4564,382 +4228,162 @@ "type": "exclusiveMinimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/format.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] - ], + [], + [], + [], + [], + [], + [] + ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/if-then-else.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": -100, @@ -4959,17 +4403,11 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -4991,9 +4429,7 @@ ] ], [ - [ - - ], + [], [ { "data": -100, @@ -5016,9 +4452,7 @@ "type": "minimum" } ], - [ - - ], + [], [ { "data": 3, @@ -5043,17 +4477,11 @@ ] ], [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "else", @@ -5096,17 +4524,11 @@ "type": "const" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "no", @@ -5155,9 +4577,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/infinite-loop-detection.json": [ [ - [ - - ], + [], [ { "data": "a string", @@ -5224,9 +4644,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/items.json": [ [ - [ - - ], + [], [ { "data": "x", @@ -5243,17 +4661,11 @@ "type": "integer" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -5294,26 +4706,14 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -5348,14 +4748,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -5371,14 +4767,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -5535,8 +4927,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "/0/0", "schema": { "type": "object", @@ -5588,14 +4979,10 @@ } } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "1", @@ -5788,24 +5175,16 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/maxItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -5824,14 +5203,10 @@ "type": "maxItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": [ @@ -5854,12 +5229,8 @@ ], "JSON-Schema-Test-Suite/tests/draft7/maxLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -5874,17 +5245,11 @@ "type": "maxLength" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -5903,12 +5268,8 @@ ], "JSON-Schema-Test-Suite/tests/draft7/maxProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -5927,20 +5288,12 @@ "type": "maxProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": { @@ -5961,9 +5314,7 @@ ] ], [ - [ - - ], + [], [ { "data": { @@ -5984,12 +5335,8 @@ ], "JSON-Schema-Test-Suite/tests/draft7/maximum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3.5, @@ -6004,20 +5351,12 @@ "type": "maximum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 300.5, @@ -6036,17 +5375,11 @@ ], "JSON-Schema-Test-Suite/tests/draft7/minItems.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "minItems": 1 @@ -6058,19 +5391,13 @@ "type": "minItems" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "minItems": 1.0 @@ -6086,12 +5413,8 @@ ], "JSON-Schema-Test-Suite/tests/draft7/minLength.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "f", @@ -6106,9 +5429,7 @@ "type": "minLength" } ], - [ - - ], + [], [ { "data": "💩", @@ -6125,9 +5446,7 @@ ] ], [ - [ - - ], + [], [ { "data": "f", @@ -6146,16 +5465,11 @@ ], "JSON-Schema-Test-Suite/tests/draft7/minProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "minProperties": 1 @@ -6167,24 +5481,15 @@ "type": "minProperties" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "minProperties": 1.0 @@ -6200,12 +5505,8 @@ ], "JSON-Schema-Test-Suite/tests/draft7/minimum.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 0.6, @@ -6220,23 +5521,13 @@ "type": "minimum" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": -2.0001, @@ -6265,16 +5556,12 @@ "type": "minimum" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/multipleOf.json": [ [ - [ - - ], + [], [ { "data": 7, @@ -6289,17 +5576,11 @@ "type": "multipleOf" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 35, @@ -6316,9 +5597,7 @@ ] ], [ - [ - - ], + [], [ { "data": 0.00751, @@ -6353,16 +5632,12 @@ ] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/not.json": [ [ - [ - - ], + [], [ { "data": 1, @@ -6383,9 +5658,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -6436,12 +5709,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -6479,24 +5748,20 @@ "data": 1, "data_pointer": "/foo", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "/properties/foo", "root_schema": { "properties": { "foo": { - "not": { - } + "not": {} } } }, "type": "not" } ], - [ - - ] + [] ], [ [ @@ -6504,13 +5769,11 @@ "data": 1, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6520,13 +5783,11 @@ "data": "foo", "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6536,13 +5797,11 @@ "data": true, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6552,13 +5811,11 @@ "data": false, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6568,13 +5825,11 @@ "data": null, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6586,30 +5841,25 @@ }, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6621,31 +5871,25 @@ ], "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { - "not": { - } + "not": {} }, "schema_pointer": "", "root_schema": { - "not": { - } + "not": {} }, "type": "not" } @@ -6740,8 +5984,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "not": true @@ -6771,9 +6014,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "not": true @@ -6787,48 +6028,24 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/oneOf.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 3, @@ -6957,9 +6174,7 @@ "type": "string" } ], - [ - - ], + [], [ { "data": "foo", @@ -7016,9 +6231,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -7091,12 +6304,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -7226,9 +6435,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -7238,8 +6445,7 @@ { "type": "number" }, - { - } + {} ] }, "schema_pointer": "", @@ -7248,8 +6454,7 @@ { "type": "number" }, - { - } + {} ] }, "type": "oneOf" @@ -7332,12 +6537,8 @@ } } ], - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -7386,12 +6587,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -7534,9 +6731,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -7563,20 +6758,12 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/bignum.json": [ [ - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -7595,9 +6782,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -7616,9 +6801,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -7639,9 +6822,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/content.json": [ [ - [ - - ], + [], [ { "data": "{:}", @@ -7656,14 +6837,10 @@ "type": "contentMediaType" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "eyJmb28iOi%iYmFyIn0K", @@ -7678,14 +6855,10 @@ "type": "contentEncoding" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "ezp9Cg==", @@ -7718,9 +6891,7 @@ "type": "contentEncoding" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/cross-draft.json": [ @@ -7753,9 +6924,7 @@ "type": "dependentRequired" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/ecmascript-regex.json": [ @@ -7776,9 +6945,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -7797,9 +6964,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -7818,9 +6983,7 @@ "type": "pattern" } ], - [ - - ] + [] ], [ [ @@ -7839,14 +7002,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "߀", @@ -7897,17 +7056,11 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], + [], [ { "data": "é", @@ -7942,38 +7095,18 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\u0001", @@ -8152,23 +7285,13 @@ "type": "pattern" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "LES HIVERS DE MON ENFANCE ÉTAIENT DES SAISONS LONGUES, LONGUES. NOUS VIVIONS EN TROIS LIEUX: L'ÉCOLE, L'ÉGLISE ET LA PATINOIRE; MAIS LA VRAIE VIE ÉTAIT SUR LA PATINOIRE.", @@ -8185,9 +7308,7 @@ ] ], [ - [ - - ], + [], [ { "data": "Les hivers de mon enfance étaient des saisons longues, longues. Nous vivions en trois lieux: l'école, l'église et la patinoire; mais la vraie vie était sur la patinoire.", @@ -8260,14 +7381,10 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -8298,9 +7415,7 @@ ] ], [ - [ - - ], + [], [ { "data": "-%#", @@ -8315,20 +7430,12 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "PAS DE VRAIE VIE", @@ -8347,9 +7454,7 @@ ] ], [ - [ - - ], + [], [ { "data": "pas de vraie vie", @@ -8432,14 +7537,10 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -8474,9 +7575,7 @@ ] ], [ - [ - - ], + [], [ { "data": "spending the year dead for tax reasons", @@ -8493,56 +7592,28 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/float-overflow.json": [ [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/date-time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "1998-12-31T23:59:61Z", @@ -8641,9 +7712,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2013-350T01:01:01", @@ -8718,30 +7787,14 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/date.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2020-01-32", @@ -8756,9 +7809,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2021-02-29", @@ -8773,9 +7824,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-02-30", @@ -8790,9 +7839,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-03-32", @@ -8807,9 +7854,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-04-31", @@ -8824,9 +7869,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-05-32", @@ -8841,9 +7884,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-06-31", @@ -8858,9 +7899,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-07-32", @@ -8875,9 +7914,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-08-32", @@ -8892,9 +7929,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-09-31", @@ -8909,9 +7944,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-10-32", @@ -8926,9 +7959,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-11-31", @@ -8943,9 +7974,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2020-12-32", @@ -9072,9 +8101,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1963-06-1৪", @@ -9149,27 +8176,13 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/email.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -9184,15 +8197,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ".test@example.com", @@ -9221,9 +8228,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "te..st@example.com", @@ -9242,30 +8247,14 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/hostname.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "-a-host-name-that-starts-with--", @@ -9378,9 +8367,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl.com", @@ -9395,43 +8382,21 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-email.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "2962", @@ -9446,9 +8411,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "2962", @@ -9467,27 +8430,13 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/idn-hostname.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "〮실례.테스트", @@ -9544,9 +8493,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "xn--X", @@ -9659,12 +8606,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "ـߺ", @@ -9749,9 +8692,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "α͵S", @@ -9780,9 +8721,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "A׳ב", @@ -9811,9 +8750,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "A״ב", @@ -9842,9 +8779,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "def・abc", @@ -9873,15 +8808,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "ب٠۰", @@ -9896,12 +8825,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "क‍ष", @@ -9930,52 +8855,24 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv4.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "127.0.0.0.1", @@ -10060,9 +8957,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1২7.0.0.1", @@ -10095,27 +8990,13 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/ipv6.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "12345::", @@ -10130,9 +9011,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "::abcef", @@ -10175,15 +9054,9 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": ":2:3:4:5:6:7:8", @@ -10226,9 +9099,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1::d6::42", @@ -10243,12 +9114,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "1::2:192.168.256.1", @@ -10277,9 +9144,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:::8", @@ -10294,9 +9159,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "1:2:3:4:5:6:7", @@ -10409,9 +9272,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "100:100:100:100:100:100:255.255.255.255.255", @@ -10472,33 +9333,15 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/iri-reference.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\\\\WINDOWS\\filëßåré", @@ -10513,12 +9356,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "#ƒräg\\mênt", @@ -10537,39 +9376,17 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/iri.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "http://2001:0db8:85a3:0000:0000:8a2e:0370:7334", @@ -10630,27 +9447,13 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/json-pointer.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "/foo/bar~", @@ -10665,63 +9468,25 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "#", @@ -10880,27 +9645,13 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "^(abc]", @@ -10919,36 +9670,16 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/relative-json-pointer.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "/foo/bar", @@ -11047,34 +9778,18 @@ "type": "format" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/time.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "008:030:006Z", @@ -11117,9 +9832,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "22:59:60Z", @@ -11148,9 +9861,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "22:59:60+00:00", @@ -11179,12 +9890,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "23:59:60+01:00", @@ -11213,12 +9920,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "23:59:60-01:00", @@ -11247,18 +9950,10 @@ "type": "format" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": "08:30:06-8:000", @@ -11273,9 +9968,7 @@ "type": "format" } ], - [ - - ], + [], [ { "data": "24:00:00Z", @@ -11490,58 +10183,26 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/unknown.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-reference.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "\\\\WINDOWS\\fileshare", @@ -11556,12 +10217,8 @@ "type": "format" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "#frag\\ment", @@ -11580,27 +10237,13 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/uri-template.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": "http://example.com/dictionary/{term:1}/{term", @@ -11615,73 +10258,31 @@ "type": "format" } ], - [ - - ], - [ - - ] + [], + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/optional/format/uri.json": [ [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], [ { "data": "//foo.bar/?baz=qux#quux", @@ -11784,12 +10385,8 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/id.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1, @@ -11878,9 +10475,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -11912,9 +10507,7 @@ ] ], [ - [ - - ], + [], [ { "data": 1, @@ -11948,15 +10541,9 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/non-bmp-regex.json": [ [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "🐉", @@ -12015,15 +10602,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "hello", @@ -12064,9 +10645,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/optional/unknownKeyword.json": [ [ - [ - - ], + [], [ { "data": null, @@ -12393,9 +10972,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/pattern.json": [ [ - [ - - ], + [], [ { "data": "abc", @@ -12410,39 +10987,21 @@ "type": "pattern" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/patternProperties.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": "bar", @@ -12495,26 +11054,14 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "bar", @@ -12599,9 +11146,7 @@ ] ], [ - [ - - ], + [], [ { "data": null, @@ -12623,9 +11168,7 @@ "type": "boolean" } ], - [ - - ], + [], [ { "data": 3, @@ -12649,9 +11192,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -12697,25 +11238,18 @@ "type": "schema" } ], - [ - - ] + [] ], [ - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/properties.json": [ [ - [ - - ], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -12736,9 +11270,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "type": "integer" @@ -12757,8 +11289,7 @@ "type": "integer" }, { - "data": { - }, + "data": {}, "data_pointer": "/bar", "schema": { "type": "string" @@ -12777,20 +11308,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": [ @@ -12829,9 +11352,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "/foo", "schema": { "minItems": 2 @@ -12859,14 +11380,10 @@ "type": "minItems" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "/fxo", "schema": { "minItems": 2 @@ -12894,12 +11411,8 @@ "type": "minItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": "foo", @@ -12932,12 +11445,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 2, @@ -12970,9 +11479,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -13163,20 +11670,12 @@ ] ], [ - [ - - ] + [] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -13263,16 +11762,12 @@ "type": "number" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/propertyNames.json": [ [ - [ - - ], + [], [ { "data": "foobar", @@ -13289,23 +11784,13 @@ "type": "maxLength" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "aaA", @@ -13322,17 +11807,11 @@ "type": "pattern" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ] + [], + [] ], [ [ @@ -13347,19 +11826,13 @@ "type": "schema" } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/ref.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": false, @@ -13396,9 +11869,7 @@ ] ], [ - [ - - ], + [], [ { "data": true, @@ -13422,9 +11893,7 @@ ] ], [ - [ - - ], + [], [ { "data": "foo", @@ -13553,20 +12022,12 @@ "type": "integer" } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -13598,12 +12059,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": "string", @@ -13664,14 +12121,10 @@ "type": "number" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": -1, @@ -13724,9 +12177,7 @@ "type": "string" }, "uniqueItems": true, - "default": [ - - ] + "default": [] } }, "type": [ @@ -13838,16 +12289,14 @@ "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "properties": { "type": "object", "additionalProperties": { "$ref": "#" }, - "default": { - } + "default": {} }, "patternProperties": { "type": "object", @@ -13857,8 +12306,7 @@ "propertyNames": { "format": "regex" }, - "default": { - } + "default": {} }, "dependencies": { "type": "object", @@ -13936,9 +12384,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -13959,9 +12405,7 @@ ] ], [ - [ - - ], + [], [ { "data": 2, @@ -13987,9 +12431,7 @@ ] ], [ - [ - - ] + [] ], [ [ @@ -14013,9 +12455,7 @@ ] ], [ - [ - - ], + [], [ { "data": "string is invalid", @@ -14067,9 +12507,7 @@ ] ], [ - [ - - ], + [], [ { "data": "1", @@ -14095,9 +12533,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14125,9 +12561,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14156,9 +12590,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14258,9 +12690,7 @@ "type": "enum" } ], - [ - - ] + [] ], [ [ @@ -14339,9 +12769,7 @@ "type": "string" } ], - [ - - ] + [] ], [ [ @@ -14420,14 +12848,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -14463,9 +12887,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -14496,9 +12918,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -14526,9 +12946,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -14556,9 +12974,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -14586,9 +13002,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -14616,9 +13030,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -14645,9 +13057,7 @@ ] ], [ - [ - - ], + [], [ { "data": 12, @@ -14701,9 +13111,7 @@ "type": "integer" } ], - [ - - ] + [] ], [ [ @@ -14731,9 +13139,7 @@ "type": "integer" } ], - [ - - ] + [] ], [ [ @@ -14761,14 +13167,10 @@ "type": "integer" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": 12, @@ -14801,9 +13203,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14830,9 +13230,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14859,9 +13257,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14893,9 +13289,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/refRemote.json": [ [ - [ - - ], + [], [ { "data": "a", @@ -14912,9 +13306,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14938,9 +13330,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14964,9 +13354,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -14983,9 +13371,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -15002,9 +13388,7 @@ ] ], [ - [ - - ], + [], [ { "data": "a", @@ -15021,12 +13405,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": { @@ -15123,14 +13503,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "foo", @@ -15170,14 +13546,10 @@ "type": "string" } ], - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": "a", @@ -15207,9 +13579,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/required.json": [ [ - [ - - ], + [], [ { "data": { @@ -15218,10 +13588,8 @@ "data_pointer": "", "schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -15230,10 +13598,8 @@ "schema_pointer": "", "root_schema": { "properties": { - "foo": { - }, - "bar": { - } + "foo": {}, + "bar": {} }, "required": [ "foo" @@ -15247,30 +13613,18 @@ } } ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [] ], [ - [ - - ] + [] ], [ - [ - - ] + [] ], [ - [ - - ], + [], [ { "data": { @@ -15312,16 +13666,11 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "required": [ @@ -15442,19 +13791,13 @@ } } ], - [ - - ] + [] ] ], "JSON-Schema-Test-Suite/tests/draft7/type.json": [ [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -15499,8 +13842,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "integer" @@ -15514,9 +13856,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "integer" @@ -15558,15 +13898,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": "foo", @@ -15597,8 +13931,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "number" @@ -15612,9 +13945,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "number" @@ -15684,19 +14015,12 @@ "type": "string" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "string" @@ -15710,9 +14034,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "string" @@ -15796,14 +14118,10 @@ "type": "object" } ], - [ - - ], + [], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "object" @@ -15889,8 +14207,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "array" @@ -15902,9 +14219,7 @@ "type": "array" } ], - [ - - ], + [], [ { "data": true, @@ -16007,8 +14322,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "boolean" @@ -16022,9 +14336,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "boolean" @@ -16036,12 +14348,8 @@ "type": "boolean" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": null, @@ -16130,8 +14438,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": "null" @@ -16145,9 +14452,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": "null" @@ -16187,17 +14492,11 @@ "type": "null" } ], - [ - - ] + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 1.1, @@ -16220,8 +14519,7 @@ ], [ { - "data": { - }, + "data": {}, "data_pointer": "", "schema": { "type": [ @@ -16241,9 +14539,7 @@ ], [ { - "data": [ - - ], + "data": [], "data_pointer": "", "schema": { "type": [ @@ -16303,9 +14599,7 @@ ] ], [ - [ - - ], + [], [ { "data": 123, @@ -16326,12 +14620,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": 123, @@ -16394,15 +14684,9 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": 123, @@ -16451,9 +14735,7 @@ ], "JSON-Schema-Test-Suite/tests/draft7/uniqueItems.json": [ [ - [ - - ], + [], [ { "data": [ @@ -16507,15 +14789,9 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], [ { "data": [ @@ -16534,9 +14810,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -16581,9 +14855,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -16613,9 +14885,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -16661,39 +14931,23 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], + [], + [], + [], [ { "data": [ - { - }, + {}, [ 1 ], true, null, - { - }, + {}, 1 ], "data_pointer": "", @@ -16707,9 +14961,7 @@ "type": "uniqueItems" } ], - [ - - ], + [], [ { "data": [ @@ -16733,20 +14985,12 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ] + [], + [] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -16813,12 +15057,8 @@ "type": "uniqueItems" } ], - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -16891,12 +15131,8 @@ ] ], [ - [ - - ], - [ - - ], + [], + [], [ { "data": [ @@ -16990,91 +15226,37 @@ ] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ], - [ - - ] + [], + [], + [], + [], + [], + [], + [], + [] ], [ - [ - - ], - [ - - ], - [ - - ], - [ - - ], + [], + [], + [], + [], [ { "data": null,