diff --git a/src/app/features/metadata/constants/resource-type-options.const.ts b/src/app/features/metadata/constants/resource-type-options.const.ts index a70ed5381..e9919c8a2 100644 --- a/src/app/features/metadata/constants/resource-type-options.const.ts +++ b/src/app/features/metadata/constants/resource-type-options.const.ts @@ -1,30 +1,35 @@ +// `value` must be from resourceTypeGeneral controlled vocab in https://schema.datacite.org/meta/kernel-4/ +// see https://datacite-metadata-schema.readthedocs.io/en/4.6/appendices/appendix-1/resourceTypeGeneral/ export const RESOURCE_TYPE_OPTIONS = [ - { label: 'Audiovisual', value: 'audiovisual' }, - { label: 'Book', value: 'book' }, - { label: 'Book Chapter', value: 'book-chapter' }, - { label: 'Collection', value: 'collection' }, - { label: 'Computational Notebook', value: 'computational-notebook' }, - { label: 'Conference Paper', value: 'conference-paper' }, - { label: 'Conference Proceeding', value: 'conference-proceeding' }, - { label: 'Data Paper', value: 'data-paper' }, - { label: 'Dataset', value: 'dataset' }, - { label: 'Dissertation', value: 'dissertation' }, - { label: 'Event', value: 'event' }, - { label: 'Image', value: 'image' }, - { label: 'Interactive Resource', value: 'interactive-resource' }, - { label: 'Journal Article', value: 'journal-article' }, - { label: 'Model', value: 'model' }, - { label: 'Output Management Plan', value: 'output-management-plan' }, - { label: 'Peer Review', value: 'peer-review' }, - { label: 'Physical Object', value: 'physical-object' }, - { label: 'Preprint', value: 'preprint' }, - { label: 'Report', value: 'report' }, - { label: 'Service', value: 'service' }, - { label: 'Software', value: 'software' }, - { label: 'Sound', value: 'sound' }, - { label: 'Standard', value: 'standard' }, - { label: 'Text', value: 'text' }, - { label: 'Thesis', value: 'thesis' }, - { label: 'Workflow', value: 'workflow' }, - { label: 'Other', value: 'other' }, + { label: 'Audiovisual', value: 'Audiovisual' }, + { label: 'Book', value: 'Book' }, + { label: 'Book Chapter', value: 'BookChapter' }, + { label: 'Collection', value: 'Collection' }, + { label: 'Computational Notebook', value: 'ComputationalNotebook' }, + { label: 'Conference Paper', value: 'ConferencePaper' }, + { label: 'Conference Proceeding', value: 'ConferenceProceeding' }, + { label: 'Data Paper', value: 'DataPaper' }, + { label: 'Dataset', value: 'Dataset' }, + { label: 'Dissertation', value: 'Dissertation' }, + { label: 'Event', value: 'Event' }, + { label: 'Image', value: 'Image' }, + { label: 'Instrument', value: 'Instrument' }, + { label: 'Interactive Resource', value: 'InteractiveResource' }, + { label: 'Journal', value: 'Journal' }, + { label: 'Journal Article', value: 'JournalArticle' }, + { label: 'Model', value: 'Model' }, + { label: 'Output Management Plan', value: 'OutputManagementPlan' }, + { label: 'Peer Review', value: 'PeerReview' }, + { label: 'Physical Object', value: 'PhysicalObject' }, + { label: 'Preprint', value: 'Preprint' }, + { label: 'Project', value: 'Project' }, + { label: 'Report', value: 'Report' }, + { label: 'Service', value: 'Service' }, + { label: 'Software', value: 'Software' }, + { label: 'Sound', value: 'Sound' }, + { label: 'Standard', value: 'Standard' }, + { label: 'StudyRegistration', value: 'StudyRegistration' }, + { label: 'Text', value: 'Text' }, + { label: 'Workflow', value: 'Workflow' }, + { label: 'Other', value: 'Other' }, ];