summaryrefslogtreecommitdiffstats
path: root/tests/auto/partition/json-validation/integer-boundaries-schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/partition/json-validation/integer-boundaries-schema.json')
-rw-r--r--tests/auto/partition/json-validation/integer-boundaries-schema.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/auto/partition/json-validation/integer-boundaries-schema.json b/tests/auto/partition/json-validation/integer-boundaries-schema.json
new file mode 100644
index 00000000..5575d28e
--- /dev/null
+++ b/tests/auto/partition/json-validation/integer-boundaries-schema.json
@@ -0,0 +1,22 @@
+{
+ "description": "Check numbers boundaries",
+ "type": "object",
+ "properties": {
+ "oneOrLess": {
+ "type": "number",
+ "maximum": 1
+ },
+ "lessThenOne": {
+ "type": "number",
+ "exclusiveMaximum": 1
+ },
+ "oneOrMore": {
+ "type": "number",
+ "minimum": 1
+ },
+ "moreThenOne": {
+ "type": "number",
+ "exclusiveMinimum": 1
+ }
+ }
+}