Skip to content

Commit

Permalink
Merge pull request #83 from collectionspace/bugfix
Browse files Browse the repository at this point in the history
Bugfix for template generation; ohc changes
  • Loading branch information
kspurgin authored Nov 3, 2021
2 parents a35c4cc + ac1f942 commit bf9e3b4
Show file tree
Hide file tree
Showing 77 changed files with 164,094 additions and 11 deletions.
116,458 changes: 116,458 additions & 0 deletions data/config_holder/lyrasis_hosted_profiles/ohc_1-0-6.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
{
"config": {
"profile_basename": "ohc",
"version": "1-0-6",
"recordtype": "authorityhierarchy",
"document_name": "relations",
"service_name": "Relations",
"service_path": "relations",
"service_type": "relation",
"object_name": "Authority Hierarchy Relation",
"ns_uri": {
"relations_common": "http://collectionspace.org/services/relation"
},
"identifier_field": "subjectCsid",
"search_field": "term"
},
"docstructure": {
"relations_common": {
"subjectCsid": {
},
"relationshipType": {
},
"objectCsid": {
}
}
},
"mappings": [
{
"fieldname": "termType",
"transforms": {
},
"source_type": "optionlist",
"source_name": "fakeProfileAuthorityTypes",
"namespace": "relations_common",
"xpath": [

],
"data_type": "string",
"repeats": "n",
"in_repeating_group": "n",
"opt_list_values": [
"citationauthorities",
"conceptauthorities",
"locationauthorities",
"orgauthorities",
"personauthorities",
"placeauthorities",
"taxonomyauthority",
"workauthorities"
],
"datacolumn": "term_type",
"required": "y in template"
},
{
"fieldname": "termSubType",
"transforms": {
},
"source_type": "optionlist",
"source_name": "fakeProfileAuthoritySubtypes",
"namespace": "relations_common",
"xpath": [

],
"data_type": "string",
"repeats": "n",
"in_repeating_group": "n",
"opt_list_values": [
"activity",
"archculture",
"citation",
"common_ta",
"cona_work",
"concept",
"ethculture",
"ethfilecode",
"location",
"material_ca",
"nomenclature",
"occasion",
"offsite_sla",
"organization",
"person",
"place",
"taxon",
"tgn_place",
"ulan_oa",
"ulan_pa",
"work",
"worldcat"
],
"datacolumn": "term_subtype",
"required": "y in template"
},
{
"fieldname": "subjectCsid",
"transforms": {
"special": [
"term_to_csid"
]
},
"source_type": "na",
"source_name": null,
"namespace": "relations_common",
"xpath": [

],
"data_type": "string",
"repeats": "n",
"in_repeating_group": "n",
"opt_list_values": [

],
"datacolumn": "narrower_term",
"required": "y"
},
{
"fieldname": "relationshipType",
"transforms": {
},
"source_type": "na",
"source_name": null,
"namespace": "relations_common",
"xpath": [

],
"data_type": "string",
"repeats": "n",
"in_repeating_group": "n",
"opt_list_values": [

],
"datacolumn": "relationshiptype",
"required": "y",
"to_template": false
},
{
"fieldname": "objectCsid",
"transforms": {
"special": [
"term_to_csid"
]
},
"source_type": "na",
"source_name": null,
"namespace": "relations_common",
"xpath": [

],
"data_type": "string",
"repeats": "n",
"in_repeating_group": "n",
"opt_list_values": [

],
"datacolumn": "broader_term",
"required": "y"
}
]
}
Loading

0 comments on commit bf9e3b4

Please sign in to comment.