| 1 | { |
| 2 | "$schema" : "http://json-schema.org/draft-03/schema#", |
| 3 | "id" : "http://json-schema.org/draft-03/schema#", |
| 4 | "type" : "object", |
| 5 | |
| 6 | "properties" : { |
| 7 | "type" : { |
| 8 | "type" : ["string", "array"], |
| 9 | "items" : { |
| 10 | "type" : ["string", {"$ref" : "#"}] |
| 11 | }, |
| 12 | "uniqueItems" : true, |
| 13 | "default" : "any" |
| 14 | }, |
| 15 | |
| 16 | "properties" : { |
| 17 | "type" : "object", |
| 18 | "additionalProperties" : {"$ref" : "#"}, |
| 19 | "default" : {} |
| 20 | }, |
| 21 | |
| 22 | "patternProperties" : { |
| 23 | "type" : "object", |
| 24 | "additionalProperties" : {"$ref" : "#"}, |
| 25 | "default" : {} |
| 26 | }, |
| 27 | |
| 28 | "additionalProperties" : { |
| 29 | "type" : [{"$ref" : "#"}, "boolean"], |
| 30 | "default" : {} |
| 31 | }, |
| 32 | |
| 33 | "items" : { |
| 34 | "type" : [{"$ref" : "#"}, "array"], |
| 35 | "items" : {"$ref" : "#"}, |
| 36 | "default" : {} |
| 37 | }, |
| 38 | |
| 39 | "additionalItems" : { |
| 40 | "type" : [{"$ref" : "#"}, "boolean"], |
| 41 | "default" : {} |
| 42 | }, |
| 43 | |
| 44 | "required" : { |
| 45 | "type" : "boolean", |
| 46 | "default" : false |
| 47 | }, |
| 48 | |
| 49 | "dependencies" : { |
| 50 | "type" : "object", |
| 51 | "additionalProperties" : { |
| 52 | "type" : ["string", "array", {"$ref" : "#"}], |
| 53 | "items" : { |
| 54 | "type" : "string" |
| 55 | } |
| 56 | }, |
| 57 | "default" : {} |
| 58 | }, |
| 59 | |
| 60 | "minimum" : { |
| 61 | "type" : "number" |
| 62 | }, |
| 63 | |
| 64 | "maximum" : { |
| 65 | "type" : "number" |
| 66 | }, |
| 67 | |
| 68 | "exclusiveMinimum" : { |
| 69 | "type" : "boolean", |
| 70 | "default" : false |
| 71 | }, |
| 72 | |
| 73 | "exclusiveMaximum" : { |
| 74 | "type" : "boolean", |
| 75 | "default" : false |
| 76 | }, |
| 77 | |
| 78 | "minItems" : { |
| 79 | "type" : "integer", |
| 80 | "minimum" : 0, |
| 81 | "default" : 0 |
| 82 | }, |
| 83 | |
| 84 | "maxItems" : { |
| 85 | "type" : "integer", |
| 86 | "minimum" : 0 |
| 87 | }, |
| 88 | |
| 89 | "uniqueItems" : { |
| 90 | "type" : "boolean", |
| 91 | "default" : false |
| 92 | }, |
| 93 | |
| 94 | "pattern" : { |
| 95 | "type" : "string", |
| 96 | "format" : "regex" |
| 97 | }, |
| 98 | |
| 99 | "minLength" : { |
| 100 | "type" : "integer", |
| 101 | "minimum" : 0, |
| 102 | "default" : 0 |
| 103 | }, |
| 104 | |
| 105 | "maxLength" : { |
| 106 | "type" : "integer" |
| 107 | }, |
| 108 | |
| 109 | "enum" : { |
| 110 | "type" : "array", |
| 111 | "minItems" : 1, |
| 112 | "uniqueItems" : true |
| 113 | }, |
| 114 | |
| 115 | "default" : { |
| 116 | "type" : "any" |
| 117 | }, |
| 118 | |
| 119 | "title" : { |
| 120 | "type" : "string" |
| 121 | }, |
| 122 | |
| 123 | "description" : { |
| 124 | "type" : "string" |
| 125 | }, |
| 126 | |
| 127 | "format" : { |
| 128 | "type" : "string" |
| 129 | }, |
| 130 | |
| 131 | "divisibleBy" : { |
| 132 | "type" : "number", |
| 133 | "minimum" : 0, |
| 134 | "exclusiveMinimum" : true, |
| 135 | "default" : 1 |
| 136 | }, |
| 137 | |
| 138 | "disallow" : { |
| 139 | "type" : ["string", "array"], |
| 140 | "items" : { |
| 141 | "type" : ["string", {"$ref" : "#"}] |
| 142 | }, |
| 143 | "uniqueItems" : true |
| 144 | }, |
| 145 | |
| 146 | "extends" : { |
| 147 | "type" : [{"$ref" : "#"}, "array"], |
| 148 | "items" : {"$ref" : "#"}, |
| 149 | "default" : {} |
| 150 | }, |
| 151 | |
| 152 | "id" : { |
| 153 | "type" : "string", |
| 154 | "format" : "uri" |
| 155 | }, |
| 156 | |
| 157 | "$ref" : { |
| 158 | "type" : "string", |
| 159 | "format" : "uri" |
| 160 | }, |
| 161 | |
| 162 | "$schema" : { |
| 163 | "type" : "string", |
| 164 | "format" : "uri" |
| 165 | } |
| 166 | }, |
| 167 | |
| 168 | "dependencies" : { |
| 169 | "exclusiveMinimum" : "minimum", |
| 170 | "exclusiveMaximum" : "maximum" |
| 171 | }, |
| 172 | |
| 173 | "default" : {} |
| 174 | } |