4 "additionalProperties being false does not allow other properties",
6 "properties": {"foo": {}, "bar": {}},
7 "patternProperties": { "^v": {} },
8 "additionalProperties": false
12 "description": "no additional properties is valid",
17 "description": "an additional property is invalid",
18 "data": {"foo" : 1, "bar" : 2, "quux" : "boom"},
22 "description": "ignores non-objects",
27 "description": "patternProperties are not additional properties",
28 "data": {"foo":1, "vroom": 2},
35 "additionalProperties allows a schema which should validate",
37 "properties": {"foo": {}, "bar": {}},
38 "additionalProperties": {"type": "boolean"}
42 "description": "no additional properties is valid",
47 "description": "an additional valid property is valid",
48 "data": {"foo" : 1, "bar" : 2, "quux" : true},
52 "description": "an additional invalid property is invalid",
53 "data": {"foo" : 1, "bar" : 2, "quux" : 12},
59 "description": "additionalProperties are allowed by default",
60 "schema": {"properties": {"foo": {}, "bar": {}}},
63 "description": "additional properties are allowed",
64 "data": {"foo": 1, "bar": 2, "quux": true},