schema: add format:date for iso8601
this enables input:datetime for json editor
This commit is contained in:
parent
0a28944eea
commit
1491738fc2
|
|
@ -5,6 +5,7 @@
|
||||||
"iso8601": {
|
"iso8601": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "e.g. 2014-06-29",
|
"description": "e.g. 2014-06-29",
|
||||||
|
"format": "date",
|
||||||
"pattern": "^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$"
|
"pattern": "^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue