Skip to content

Commit

Permalink
Proposed 'dates' string allowed for either 'when' or 'timespans'
Browse files Browse the repository at this point in the history
  • Loading branch information
docuracy authored Feb 26, 2022
1 parent a6a0417 commit 422fb8d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion schemas/LP.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"additionalProperties": false
},
"when": {
"whenExtended": {
"type": "object",
"properties": {
"timespans": {
Expand Down Expand Up @@ -143,6 +143,16 @@
"timespans"
]
},
"when": {
"anyOf": [
{
"$ref": "#/definitions/whenExtended"
},
{
"$ref": "#/definitions/dates"
}
]
},
"lang": {
"description": "Two-letter ISO 639-1 language code of the referenced toponym or other textual element. See https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.",
"example": "en",
Expand Down

0 comments on commit 422fb8d

Please sign in to comment.