Verified Commit 5d6ffe27 authored by deniss.marinuks's avatar deniss.marinuks
Browse files

updated timestamp regex

parent 6ac71d36
......@@ -19,11 +19,11 @@
"properties": {
"start": {
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\+[0-9]{2}:?[0-9]{2})$"
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\+[0-9]{2}:?[0-9]{2}$"
},
"stop": {
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\+[0-9]{2}:?[0-9]{2})$"
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\+[0-9]{2}:?[0-9]{2}$"
}
},
"required": [
......@@ -117,4 +117,4 @@
"sourceFiles",
"files"
]
}
\ No newline at end of file
}
......@@ -15,7 +15,7 @@
},
"timestamp": {
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\\+[0-9]{2}:?[0-9]{2})$"
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\\+[0-9]{2}:?[0-9]{2}$"
},
"status": {
"type": "object",
......@@ -99,4 +99,4 @@
"location",
"status"
]
}
\ No newline at end of file
}
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