Commit 4f6d9122 authored by amarcic's avatar amarcic
Browse files

changed anticipated value of hasTimespan.begin/end.at etc. from number to...

changed anticipated value of hasTimespan.begin/end.at etc. from number to string; added pattern to match strings containing numbers
parent 3dc1a626
......@@ -79,13 +79,22 @@
"type": "object",
"properties": {
"at": {
"type": "number"
"anyOf": [
{"type": "string","pattern": "^(-?[0-9]+)$"},
{"const": "not specified"}
]
},
"notBefore": {
"type": "number"
"anyOf": [
{"type": "string","pattern": "^(-?[0-9]+)$"},
{"const": "not specified"}
]
},
"notAfter": {
"type": "number"
"anyOf": [
{"type": "string","pattern": "^(-?[0-9]+)$"},
{"const": "not specified"}
]
},
"isImprecise": {
"type": "boolean"
......@@ -96,13 +105,22 @@
"type": "object",
"properties": {
"at": {
"type": "number"
"anyOf": [
{"type": "string","pattern": "^(-?[0-9]+)$"},
{"const": "not specified"}
]
},
"notBefore": {
"type": "number"
"anyOf": [
{"type": "string","pattern": "^(-?[0-9]+)$"},
{"const": "not specified"}
]
},
"notAfter": {
"type": "number"
"anyOf": [
{"type": "string","pattern": "^(-?[0-9]+)$"},
{"const": "not specified"}
]
},
"isImprecise": {
"type": "boolean"
......
Supports Markdown
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