Skip to content

Commit 47f4680

Browse files
committed
Update draft4/schema to match current version of official draft-04/schema
fixes java-json-tools#401
1 parent d265c6b commit 47f4680

File tree

1 file changed

+4
-5
lines changed
  • src/main/resources/draftv4

1 file changed

+4
-5
lines changed

src/main/resources/draftv4/schema

+4-5
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,10 @@
2828
"type": "object",
2929
"properties": {
3030
"id": {
31-
"type": "string",
32-
"format": "uri"
31+
"type": "string"
3332
},
3433
"$schema": {
35-
"type": "string",
36-
"format": "uri"
34+
"type": "string"
3735
},
3836
"title": {
3937
"type": "string"
@@ -137,6 +135,7 @@
137135
}
138136
]
139137
},
138+
"format": { "type": "string" },
140139
"allOf": { "$ref": "#/definitions/schemaArray" },
141140
"anyOf": { "$ref": "#/definitions/schemaArray" },
142141
"oneOf": { "$ref": "#/definitions/schemaArray" },
@@ -147,4 +146,4 @@
147146
"exclusiveMinimum": [ "minimum" ]
148147
},
149148
"default": {}
150-
}
149+
}

0 commit comments

Comments
 (0)