Commit e92dfd5b authored by Bastien Durel's avatar Bastien Durel
Browse files

datetime pattern

parent ae252201
......@@ -26,11 +26,13 @@
"properties": {
"start-datetime": {
"$id": "#/properties/date-range/properties/start-datetime",
"type": "string"
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]*)?$"
},
"end-datetime": {
"$id": "#/properties/date-range/properties/end-datetime",
"type": "string"
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\.[0-9]*)?$"
}
}
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment