diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-10-25 11:31:53 +0200 |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-10-25 11:31:53 +0200 |
commit | 79ab0a667e9d9d11cc1de0f3ed21a37f5c2909ee (patch) | |
tree | defc8568b03b974ec7b306f9e32dab38d97951e9 /tests/auto/daemon/json-validation/required-schema.json |
Long live QtJsonDb!
Diffstat (limited to 'tests/auto/daemon/json-validation/required-schema.json')
-rw-r--r-- | tests/auto/daemon/json-validation/required-schema.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/auto/daemon/json-validation/required-schema.json b/tests/auto/daemon/json-validation/required-schema.json new file mode 100644 index 00000000..881e295b --- /dev/null +++ b/tests/auto/daemon/json-validation/required-schema.json @@ -0,0 +1,12 @@ +{ + "description": "check if a required property exists", + "type": "object", + "properties": { + "important": { + "required": true + }, + "notimportant": { + "required": false + } + } +} |