Skip to content

Commit a1fa9cf

Browse files
draft-3: patch kept, all other diffs to official meta schema are treated as mistakes: changed to become in sync with official draft-03
1 parent da22f21 commit a1fa9cf

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

jsonschema/schemas/draft3.json

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
"properties": {
1717
"type": "object",
18-
"additionalProperties": {"type": "object", "$ref": "#"},
18+
"additionalProperties" : {"$ref" : "#"},
1919
"default": {}
2020
},
2121

@@ -47,7 +47,7 @@
4747
},
4848

4949
"dependencies": {
50-
"type": ["string", "array", "object"],
50+
"type" : "object",
5151
"additionalProperties": {
5252
"type": ["string", "array", {"$ref": "#"}],
5353
"items": {
@@ -157,11 +157,6 @@
157157
"format": "uri"
158158
},
159159

160-
"maxDecimal": {
161-
"minimum": 0,
162-
"type": "number"
163-
},
164-
165160
"$schema": {
166161
"type": "string",
167162
"format": "uri"
@@ -171,6 +166,7 @@
171166
"dependencies": {
172167
"exclusiveMinimum": "minimum",
173168
"exclusiveMaximum": "maximum"
174-
}
169+
},
175170

171+
"default" : {}
176172
}

0 commit comments

Comments
 (0)