diff options
Diffstat (limited to 'tests/auto/partition/json-validation/array-items-schema.json')
-rw-r--r-- | tests/auto/partition/json-validation/array-items-schema.json | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/auto/partition/json-validation/array-items-schema.json b/tests/auto/partition/json-validation/array-items-schema.json new file mode 100644 index 00000000..c155ccd9 --- /dev/null +++ b/tests/auto/partition/json-validation/array-items-schema.json @@ -0,0 +1,24 @@ +{ + "description": "Check specification of array:items (5.5)", + "type": "object", + "properties": { + "empty": { + "description": "that is a stupid edge case, but it should work", + "items": {} + }, + "number": { + "items": { + "type": "number", + "maximum": 10 + } + }, + "object": { + "items": { + "properties": { + "id": { "type": "integer", "required" : true }, + "foo": { "type": "string"} + } + } + } + } +}
\ No newline at end of file |