Skip to content

Commit

Permalink
documents: store identifiers
Browse files Browse the repository at this point in the history
* Closes rero#1885.

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
  • Loading branch information
rerowep and rerowep committed May 11, 2021
1 parent cb94dba commit 9d38cae
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Organisation",
"title": "Corporate body",
"type": "object",
"additionalProperties": false,
"propertiesOrder": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Link to organisation entity",
"title": "Link to corporate body entity",
"type": "object",
"additionalProperties": false,
"propertiesOrder": [
Expand All @@ -26,7 +26,7 @@
}
},
"$ref": {
"title": "Organisation",
"title": "Corporate body",
"type": "string",
"pattern": "^https://mef.rero.ch/api/gnd|idref|rero/.*?$",
"form": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,24 @@
{
"value": "bf:Local",
"label": "bf:local"
},
{
"value": "GND",
"label": "GND"
},
{
"value": "IdRef",
"label": "IdRef"
},
{
"value": "RERO",
"label": "RERO"
},
{
"value": "RERO-RAMEAU",
"label": "RERO-RAMEAU"
}

],
"templateOptions": {
"itemCssClass": "col-lg-4"
Expand All @@ -26,25 +43,28 @@
}
}
},
"source": {
"title": "Source",
"value": {
"title": "Value",
"type": "string",
"minLength": 1,
"form": {
"hide": true,
"templateOptions": {
"itemCssClass": "col-lg-4"
},
"expressionProperties": {
"templateOptions.required": "true"
}
}
},
"value": {
"title": "Value",
"source": {
"title": "Source",
"type": "string",
"minLength": 1,
"form": {
"templateOptions": {
"itemCssClass": "col"
"itemCssClass": "col-lg-4"
},
"hideExpression": "model.type !== 'bf:Local'",
"expressionProperties": {
"templateOptions.required": "true"
}
Expand Down

0 comments on commit 9d38cae

Please sign in to comment.