schema: add format:date for iso8601

this enables input:datetime for json editor
This commit is contained in:
Reorx 2023-02-03 01:03:30 +08:00
parent 0a28944eea
commit 1491738fc2
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@
"iso8601": {
"type": "string",
"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})$"
}
},