-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from collectionspace/bugfix
Bugfix for template generation; ohc changes
- Loading branch information
Showing
77 changed files
with
164,094 additions
and
11 deletions.
There are no files selected for viewing
116,458 changes: 116,458 additions & 0 deletions
116,458
data/config_holder/lyrasis_hosted_profiles/ohc_1-0-6.json
Large diffs are not rendered by default.
Oops, something went wrong.
348 changes: 348 additions & 0 deletions
348
data/mapper_manifests/lyrasis_hosted_profiles/release_7_0/ohc_1-0-6.json
Large diffs are not rendered by default.
Oops, something went wrong.
954 changes: 954 additions & 0 deletions
954
data/mappers/lyrasis_hosted_profiles/release_7_0/ohc_1-0-6/ohc_1-0-6_acquisition.json
Large diffs are not rendered by default.
Oops, something went wrong.
159 changes: 159 additions & 0 deletions
159
data/mappers/lyrasis_hosted_profiles/release_7_0/ohc_1-0-6/ohc_1-0-6_authorityhierarchy.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |
Oops, something went wrong.