Skip to content

Commit

Permalink
documents: add identifiedBy subfield on some fields
Browse files Browse the repository at this point in the history
* Adds `identifiedBy` on relationships, series statement and work access point fields.
* Closes #2275.
* Closes #2388.

Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
Garfield-fr committed Oct 6, 2021
1 parent c102649 commit 587d5ff
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@
"type": "object",
"additionalProperties": false,
"propertiesOrder": [
"label"
"label",
"identifiedBy"
],
"required": [
"label"
Expand All @@ -252,6 +253,9 @@
"label": {
"type": "string",
"minLength": 1
},
"identifiedBy": {
"$ref": "https://bib.rero.ch/schemas/documents/document_identified_by-v0.0.1.json#/identifiedBy"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"propertiesOrder": [
"seriesTitle",
"seriesEnumeration",
"subseriesStatement"
"subseriesStatement",
"identifiedBy"
],
"additionalProperties": false,
"properties": {
Expand Down Expand Up @@ -80,6 +81,9 @@
"form": {
"hide": true
}
},
"identifiedBy": {
"$ref": "https://bib.rero.ch/schemas/documents/document_identified_by-v0.0.1.json#/identifiedBy"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"form_subdivision",
"medium_of_performance_for_music",
"arranged_statement_for_music",
"key_for_music"
"key_for_music",
"identifiedBy"
],
"required": [
"title"
Expand Down Expand Up @@ -142,6 +143,9 @@
"title": "Key (music)",
"type": "string",
"minLength": 1
},
"identifiedBy": {
"$ref": "https://bib.rero.ch/schemas/documents/document_identifier-v0.0.1.json#/identifier_contribution"
}
}
}
Expand Down
Loading

0 comments on commit 587d5ff

Please sign in to comment.