Skip to content

Commit

Permalink
Add missing UniquenessRules
Browse files Browse the repository at this point in the history
Fixes #2260

Adds the following Uniqueness Rules:

Of the form:
Table.field -> uniqueIn

CollectingEvent.uniqueidentifier -> discipline
CollectionObject.uniqueidentifier -> collection
DisposalAgent.role/agent -> disposal
Extractor.agent -> dnasequence
Fundingagent.agentt -> collectingtrip
Locality.uniqueidentifier -> discipline
LocalityCitation.referencework -> locality
PcrPerson.agent -> dnasequence
Specifyuser.name -> (DATABASE)
  • Loading branch information
melton-jason committed Apr 10, 2023
1 parent e4abf6e commit 042579a
Showing 1 changed file with 56 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,18 @@
"discipline"
]
},
"CollectingEvent": {
"uniqueidentifier" : [
"discipline"
]
},
"CollectionObject":{
"catalognumber":[
"collection"
],
"uniqueidentifier" : [
"collection"
],
"guid":[
"institution"
]
Expand All @@ -96,11 +104,39 @@
"division"
]
},
"DisposalAgent" : {
"role":[
{
"field":"disposal",
"otherfields":[
"agent"
]
}
],
"agent":[
{
"field":"disposal",
"otherfields":[
"role"
]
}
]
},
"Division":{
"name":[
"institution"
]
},
"Extractor" : {
"agent" : [
"dnasequence"
]
},
"FundingAgent" : {
"agent" : [
"collectingtrip"
]
},
"Gift":{
"giftnumber":[
"discipline"
Expand Down Expand Up @@ -157,6 +193,21 @@
}
]
},
"Locality" : {
"uniqueidentifier" : [
"discipline"
]
},
"LocalityCitation" : {
"referencework" : [
"locality"
]
},
"PcrPerson" : {
"agent" : [
"dnasequence"
]
},
"Permit":{
"permitnumber":[
null
Expand Down Expand Up @@ -186,5 +237,10 @@
"spappresource":[
null
]
},
"SpecifyUser" : {
"name" : [
null
]
}
}

0 comments on commit 042579a

Please sign in to comment.