- schow no contributor in oai if no contributor is defined

- add contributor_type during creating the dataset
This commit is contained in:
Arno Kaimbacher 2020-05-04 13:50:23 +02:00
parent 76bdfcdf92
commit 3a2336adad
23 changed files with 434 additions and 316 deletions

View file

@ -22,8 +22,31 @@ return [
'mimetypes_allowed' => [
"pdf" => "application/pdf",
"txt|asc|c|cc|h|srt" => "text/plain",
"htm|html" => "text/html",
"htm|html" => "text/html",
"png" => "image/png",
"jpg|jpeg|jpe" => "image/jpeg",
]
"jpg|jpeg|jpe" => "image/jpeg",
],
'contributor_types' => [
'contact_person' => 'ContactPerson',
'data_collector' => 'DataCollector',
'data_curator' => 'DataCurator',
'data_manager' => 'DataManager',
'Distributor' => 'Distributor',
'editor' => 'Editor',
'hosting_institution' => 'HostingInstitution',
'producer' => 'Producer',
'poroject_leader' => 'ProjectLeader',
'project_manager' => 'ProjectManager',
'project_member' => 'ProjectMember',
'registration_agency' => 'RegistrationAgency',
'registration_authority' => 'RegistrationAuthority',
'related_person' => 'RelatedPerson',
'researcher' => 'Researcher',
'research_group' => 'ResearchGroup',
'rights_holder' => 'RightsHolder',
'sponsor' => 'Sponsor',
'supervisor' => 'Supervisor',
'work_package_leader' => 'WorkPackageLeader',
'other' => 'Other',
],
];