From 3e05ff6c887dd12a2520ce89e552a8023462ac64 Mon Sep 17 00:00:00 2001
From: Austin Wright <aaa@bzfx.net>
Date: Sun, 11 Dec 2016 12:20:13 -0700
Subject: [PATCH] Validation meta-schema: Implement
 "exclusiveMaximum"/"exclusiveMinimum" changes

---
 schema.json | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/schema.json b/schema.json
index d44cd480..4c125ed2 100644
--- a/schema.json
+++ b/schema.json
@@ -46,22 +46,19 @@
         "default": {},
         "multipleOf": {
             "type": "number",
-            "minimum": 0,
-            "exclusiveMinimum": true
+            "exclusiveMinimum": 0
         },
         "maximum": {
             "type": "number"
         },
         "exclusiveMaximum": {
-            "type": "boolean",
-            "default": false
+            "type": ["number", "boolean"]
         },
         "minimum": {
             "type": "number"
         },
         "exclusiveMinimum": {
-            "type": "boolean",
-            "default": false
+            "type": ["number", "boolean"]
         },
         "maxLength": { "$ref": "#/definitions/positiveInteger" },
         "minLength": { "$ref": "#/definitions/positiveIntegerDefault0" },
@@ -147,9 +144,5 @@
         "oneOf": { "$ref": "#/definitions/schemaArray" },
         "not": { "$ref": "#" }
     },
-    "dependencies": {
-        "exclusiveMaximum": [ "maximum" ],
-        "exclusiveMinimum": [ "minimum" ]
-    },
     "default": {}
 }