Skip to content

Commit

Permalink
Adjust array and item structure of modifiedBy #1340
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jun 5, 2024
1 parent cd99bd9 commit c551c6e
Showing 1 changed file with 18 additions and 15 deletions.
33 changes: 18 additions & 15 deletions src/test/resources/schemas/describedBy.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,22 +162,25 @@
"modifiedBy": {
"title": "Organization from which the record was last modified",
"type": "array",
"properties": {
"id": {
"title": "lobid-organisations URI",
"type": "string",
"format": "uri",
"pattern": "^http:\\/\\/lobid.org\\/organisations\\/\\D{1,4}-[A-Za-z0-9-:\\/]{1,11}"
"items": {
"properties": {
"id": {
"title": "lobid-organisations URI",
"type": "string",
"format": "uri",
"pattern": "^http:\\/\\/lobid.org\\/organisations\\/\\D{1,4}-[A-Za-z0-9-:\\/]{1,11}"
},
"label": {
"title": "label",
"type": "string"
}
},
"label": {
"title": "label",
"type": "string"
}
},
"required": [
"id",
"label"
]
"type": "object",
"required": [
"id",
"label"
]
}
}
},
"required": [
Expand Down

0 comments on commit c551c6e

Please sign in to comment.