|
2 | 2 | { |
3 | 3 | "description": |
4 | 4 | "additionalProperties being false does not allow other properties", |
| 5 | + "specification": [ { "core":"10.3.2.3", "quote": "The value of \"additionalProperties\" MUST be a valid JSON Schema. Boolean \"false\" forbids everything." } ], |
5 | 6 | "schema": { |
6 | 7 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
7 | 8 | "properties": {"foo": {}, "bar": {}}, |
|
43 | 44 | }, |
44 | 45 | { |
45 | 46 | "description": "non-ASCII pattern with additionalProperties", |
| 47 | + "specification": [ { "core":"10.3.2.3"} ], |
46 | 48 | "schema": { |
47 | 49 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
48 | 50 | "patternProperties": {"^á": {}}, |
|
63 | 65 | }, |
64 | 66 | { |
65 | 67 | "description": "additionalProperties with schema", |
| 68 | + "specification": [ { "core":"10.3.2.3", "quote": "The value of \"additionalProperties\" MUST be a valid JSON Schema." } ], |
66 | 69 | "schema": { |
67 | 70 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
68 | 71 | "properties": {"foo": {}, "bar": {}}, |
|
87 | 90 | ] |
88 | 91 | }, |
89 | 92 | { |
90 | | - "description": |
91 | | - "additionalProperties can exist by itself", |
| 93 | + "description": "additionalProperties can exist by itself", |
| 94 | + "specification": [ { "core":"10.3.2.3", "quote": "With no other applicator applying to object instances. This validates all the instance values irrespective of their property names" } ], |
92 | 95 | "schema": { |
93 | 96 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
94 | 97 | "additionalProperties": {"type": "boolean"} |
|
108 | 111 | }, |
109 | 112 | { |
110 | 113 | "description": "additionalProperties are allowed by default", |
| 114 | + "specification": [ { "core":"10.3.2.3", "quote": "Omitting this keyword has the same assertion behavior as an empty schema." } ], |
111 | 115 | "schema": { |
112 | 116 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
113 | 117 | "properties": {"foo": {}, "bar": {}} |
|
122 | 126 | }, |
123 | 127 | { |
124 | 128 | "description": "additionalProperties does not look in applicators", |
| 129 | + "specification":[ { "core": "10.2", "quote": "Subschemas of applicator keywords evaluate the instance completely independently such that the results of one such subschema MUST NOT impact the results of sibling subschemas." } ], |
125 | 130 | "schema": { |
126 | 131 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
127 | 132 | "allOf": [ |
|
139 | 144 | }, |
140 | 145 | { |
141 | 146 | "description": "additionalProperties with null valued instance properties", |
| 147 | + "specification": [ { "core":"10.3.2.3" } ], |
142 | 148 | "schema": { |
143 | 149 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
144 | 150 | "additionalProperties": { |
|
0 commit comments