Add schemaurl def

Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
Fabio José 2019-01-21 09:11:26 -02:00
parent 8dae385eaa
commit d02f21c923
1 changed files with 7 additions and 0 deletions

View File

@ -32,6 +32,9 @@
"time": { "time": {
"$ref": "#/definitions/time" "$ref": "#/definitions/time"
}, },
"schemaurl": {
"$ref": "#/definitions/schemaurl"
},
"type": { "type": {
"$ref": "#/definitions/type" "$ref": "#/definitions/type"
}, },
@ -58,6 +61,10 @@
"format": "date-time", "format": "date-time",
"type": "string" "type": "string"
}, },
"schemaurl": {
"type": "string",
"format": "uri"
},
"type": { "type": {
"type": "string", "type": "string",
"minLength": 1 "minLength": 1