diff --git a/invenio_rdm_records/fixtures/data/vocabularies/resource_types.yaml b/invenio_rdm_records/fixtures/data/vocabularies/resource_types.yaml index 7da95aee14..f8ee3d94df 100644 --- a/invenio_rdm_records/fixtures/data/vocabularies/resource_types.yaml +++ b/invenio_rdm_records/fixtures/data/vocabularies/resource_types.yaml @@ -549,6 +549,25 @@ tags: - depositable - linkable +- id: publication-studyregistration + icon: file alternate + props: + csl: article + datacite_general: StudyRegistration + datacite_type: "" + openaire_resourceType: "0038" + openaire_type: publication + eurepo: info:eu-repo/semantics/other + schema.org: https://schema.org/other + subtype: publication-studyregistration + type: publication + marc21_type: publication + marc21_subtype: studyregistration + title: + en: Study Registration + tags: + - depositable + - linkable - id: publication-other icon: file alternate props: @@ -577,8 +596,8 @@ icon: columns props: csl: graphic - datacite_general: Text - datacite_type: Poster + datacite_general: Poster + datacite_type: "" openaire_resourceType: "0004" openaire_type: publication eurepo: info:eu-repo/semantics/conferencePoster @@ -601,8 +620,8 @@ icon: group props: csl: speech - datacite_general: Text - datacite_type: Presentation + datacite_general: Presentation + datacite_type: "" openaire_resourceType: "0004" openaire_type: publication eurepo: info:eu-repo/semantics/lecture @@ -1053,3 +1072,25 @@ tags: - depositable - linkable +- id: project + icon: sitemap + props: + datacite_general: Project + datacite_type: "" + subtype: "" + type: project + title: + en: Project + tags: + - linkable +- id: instrument + icon: wrench + props: + datacite_general: Instrument + datacite_type: "" + subtype: "" + type: instrument + title: + en: Instrument + tags: + - linkable diff --git a/tests/fixtures/data/vocabularies/resource_types.yaml b/tests/fixtures/data/vocabularies/resource_types.yaml index 1e20e9576b..f8ee3d94df 100644 --- a/tests/fixtures/data/vocabularies/resource_types.yaml +++ b/tests/fixtures/data/vocabularies/resource_types.yaml @@ -10,9 +10,15 @@ schema.org: https://schema.org/CreativeWork subtype: "" type: publication + marc21_type: publication + marc21_subtype: "" title: en: Publication + sv: Publikation de: Publikation + es: Publicación + cs: Publikace + ar: منشور tags: - depositable - linkable @@ -28,9 +34,15 @@ schema.org: https://schema.org/Collection subtype: publication-annotationcollection type: publication + marc21_type: publication + marc21_subtype: annotationcollection title: en: Annotation collection + sv: Annoteringssamling de: Anmerkungssammlung + es: Colección de anotaciones + cs: Kolekce anotací + ar: مجموعة حواشي تفسيريّة tags: - depositable - linkable @@ -46,9 +58,15 @@ schema.org: https://schema.org/Book subtype: publication-book type: publication + marc21_type: publication + marc21_subtype: book title: en: Book + sv: Bok de: Buch + es: Libro + cs: Kniha + ar: كتاب tags: - depositable - linkable @@ -64,9 +82,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-section type: publication + marc21_type: publication + marc21_subtype: section title: en: Book chapter + sv: Bokkapitel de: Buchkapitel + es: Capítulo de libro + cs: Kapitola v knize + ar: فصل من كتاب tags: - depositable - linkable @@ -82,9 +106,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-conferencepaper type: publication + marc21_type: publication + marc21_subtype: conferencepaper title: en: Conference paper + sv: Konferensbidrag de: Konferenzbeitrag + es: Ponencia de conferencia + cs: Konferenční příspěvek + ar: ورقة بمؤتمر tags: - depositable - linkable @@ -100,9 +130,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-conferenceproceeding type: publication + marc21_type: publication + marc21_subtype: conferenceproceeding title: en: Conference proceeding + sv: Konferenshandling de: Tagungsband + es: Actas de congreso + cs: Sborník konference + ar: مداخلة بمؤتمر tags: - depositable - linkable @@ -118,9 +154,15 @@ schema.org: https://schema.org/CreativeWork subtype: publication-datamanagementplan type: publication + marc21_type: publication + marc21_subtype: datamanagementplan title: en: Output management plan + sv: Outputhanteringsplan de: Outputmanagementplan + es: Plan de gestión de resultados + cs: Plán správy dat + ar: مخرجات مخطط تصرّف tags: - depositable - linkable @@ -136,9 +178,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-journal type: publication + marc21_type: publication + marc21_subtype: journal title: en: Journal + sv: Tidskrift de: Zeitschrift + es: Revista + cs: Časopis + ar: دوريّة tags: - depositable - linkable @@ -154,9 +202,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-article type: publication + marc21_type: publication + marc21_subtype: article title: en: Journal article + sv: Tidskriftsartikel de: Zeitschriftenartikel + es: Artículo de revista + cs: Článek v časopise + ar: مقال بدوريّة tags: - depositable - linkable @@ -172,9 +226,15 @@ schema.org: https://schema.org/CreativeWork subtype: publication-patent type: publication + marc21_type: publication + marc21_subtype: patent title: en: Patent + sv: Patent de: Patent + es: Patente + cs: Patent + ar: براءة اختراع tags: - depositable - linkable @@ -190,9 +250,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-peerreview type: publication + marc21_type: publication + marc21_subtype: peerreview title: en: Peer review + sv: Peer review de: Peer Review + es: Revisión por pares + cs: Recenze + ar: محكّم tags: - depositable - linkable @@ -208,9 +274,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-preprint type: publication + marc21_type: publication + marc21_subtype: preprint title: en: Preprint + sv: Preprint de: Preprint + es: Preimpresión + cs: Preprint + ar: مقال مقبول للنّشر tags: - depositable - linkable @@ -226,9 +298,15 @@ schema.org: https://schema.org/CreativeWork subtype: publication-deliverable type: publication + marc21_type: publication + marc21_subtype: deliverable title: en: Project deliverable + sv: Projektresultat de: Projektergebnis + es: Entregable de proyecto + cs: Výstup projektu + ar: مخرجات المشروع tags: - depositable - linkable @@ -244,9 +322,15 @@ schema.org: https://schema.org/CreativeWork subtype: publication-milestone type: publication + marc21_type: publication + marc21_subtype: milestone title: en: Project milestone + sv: Milstolpe för projektet de: Projektmeilenstein + es: Hito de proyecto + cs: Mezník projektu + ar: مخطط مشروع tags: - depositable - linkable @@ -262,9 +346,15 @@ schema.org: https://schema.org/CreativeWork subtype: publication-proposal type: publication + marc21_type: publication + marc21_subtype: proposal title: en: Proposal + sv: Förslag de: Antrag + es: Propuesta + cs: Návrh + ar: إقتراح tags: - depositable - linkable @@ -280,9 +370,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-report type: publication + marc21_type: publication + marc21_subtype: report title: en: Report + sv: Rapport de: Bericht + es: Informe + cs: Zpráva + ar: تقرير tags: - depositable - linkable @@ -298,9 +394,15 @@ schema.org: https://schema.org/CreativeWork subtype: publication-softwaredocumentation type: publication + marc21_type: publication + marc21_subtype: softwaredocumentation title: en: Software documentation + sv: Mjukvarudokumentation de: Softwaredokumentation + es: Documentación de software + cs: Dokumentace softwaru + ar: وثائق برنامج حاسوب tags: - depositable - linkable @@ -316,9 +418,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-taxonomictreatment type: publication + marc21_type: publication + marc21_subtype: taxonomictreatment title: en: Taxonomic treatment + sv: Taxonomisk behandling de: Taxonomische Behandlung + es: Tratamiento taxonómico + cs: Taxonomické zpracování + ar: معالجة تصنيفيّة tags: - depositable - linkable @@ -334,9 +442,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-technicalnote type: publication + marc21_type: publication + marc21_subtype: technicalnote title: en: Technical note + sv: Technical note de: Technical Note + es: Nota técnica + cs: Technická poznámka + ar: توضيح تقني tags: - depositable - linkable @@ -352,9 +466,15 @@ schema.org: https://schema.org/ScholarlyArticle subtype: publication-workingpaper type: publication + marc21_type: publication + marc21_subtype: workingpaper title: en: Working paper + sv: Arbetsdokument de: Arbeitspapier + es: Documento de trabajo + cs: Pracovní dokument + ar: ورقة عمل tags: - depositable - linkable @@ -362,17 +482,23 @@ icon: file alternate props: csl: article - datacite_general: Text - datacite_type: Data paper + datacite_general: DataPaper + datacite_type: "" openaire_resourceType: "0031" openaire_type: publication eurepo: info:eu-repo/semantics/workingPaper schema.org: https://schema.org/ScholarlyArticle subtype: publication-datapaper type: publication + marc21_type: publication + marc21_subtype: datapaper title: en: Data paper + sv: Datadokument de: Datenpapier + es: Artículo de datos + cs: Datový článek + ar: ورقة بيانات tags: - depositable - linkable @@ -388,9 +514,14 @@ schema.org: https://schema.org/Thesis subtype: publication-dissertation type: publication + marc21_type: publication + marc21_subtype: dissertation title: en: Thesis + sv: Avhandling de: Abschlussarbeit + cs: Závěrečná práce + ar: أطروحة tags: - depositable - linkable @@ -406,9 +537,34 @@ schema.org: https://schema.org/other subtype: publication-standard type: publication + marc21_type: publication + marc21_subtype: standard title: en: Standard + sv: Standard de: Standard + es: Estándard + cs: Standard + ar: معيار + tags: + - depositable + - linkable +- id: publication-studyregistration + icon: file alternate + props: + csl: article + datacite_general: StudyRegistration + datacite_type: "" + openaire_resourceType: "0038" + openaire_type: publication + eurepo: info:eu-repo/semantics/other + schema.org: https://schema.org/other + subtype: publication-studyregistration + type: publication + marc21_type: publication + marc21_subtype: studyregistration + title: + en: Study Registration tags: - depositable - linkable @@ -424,9 +580,15 @@ schema.org: https://schema.org/CreativeWork subtype: publication-other type: publication + marc21_type: publication + marc21_subtype: other title: en: Other + sv: Övrig de: Sonstige + es: Otro + cs: Jiné + ar: آخر tags: - depositable - linkable @@ -434,17 +596,23 @@ icon: columns props: csl: graphic - datacite_general: Text - datacite_type: Poster + datacite_general: Poster + datacite_type: "" openaire_resourceType: "0004" openaire_type: publication eurepo: info:eu-repo/semantics/conferencePoster schema.org: https://schema.org/CreativeWork subtype: "" type: poster + marc21_type: poster + marc21_subtype: "" title: en: Poster + sv: Poster de: Poster + es: Póster + cs: Poster + ar: معلّقة tags: - depositable - linkable @@ -452,17 +620,23 @@ icon: group props: csl: speech - datacite_general: Text - datacite_type: Presentation + datacite_general: Presentation + datacite_type: "" openaire_resourceType: "0004" openaire_type: publication eurepo: info:eu-repo/semantics/lecture schema.org: https://schema.org/PresentationDigitalDocument subtype: "" type: presentation + marc21_type: presentation + marc21_subtype: "" title: en: Presentation + sv: Presentation de: Präsentation + es: Presentación + cs: Prezentace + ar: عرض تقديمي tags: - depositable - linkable @@ -478,9 +652,15 @@ schema.org: https://schema.org/Event subtype: "" type: event + marc21_type: event + marc21_subtype: "" title: en: Event + sv: Evenemang de: Veranstaltung + es: Evento + cs: Událost + ar: فعاليّة/حدث tags: - depositable - linkable @@ -496,9 +676,15 @@ schema.org: https://schema.org/Dataset subtype: "" type: dataset + marc21_type: dataset + marc21_subtype: "" title: en: Dataset + sv: Dataset de: Datensatz + es: Conjunto de datos + cs: Datová sada + ar: مجموعة بيانات tags: - depositable - linkable @@ -514,9 +700,15 @@ schema.org: https://schema.org/ImageObject subtype: "" type: image + marc21_type: image + marc21_subtype: "" title: en: Image + sv: Bild de: Bild + es: Imagen + cs: Obrázek + ar: صورة tags: - depositable - linkable @@ -532,9 +724,15 @@ schema.org: https://schema.org/ImageObject subtype: image-figure type: image + marc21_type: image + marc21_subtype: figure title: en: Figure + sv: Figur de: Abbildung + es: Figura + cs: Schéma + ar: رسم tags: - depositable - linkable @@ -550,9 +748,15 @@ schema.org: https://schema.org/ImageObject subtype: image-plot type: image + marc21_type: image + marc21_subtype: plot title: en: Plot + sv: Plot de: Plot + es: Gráfico de imagen + cs: Graf + ar: رسم بالنّقط tags: - depositable - linkable @@ -568,9 +772,15 @@ schema.org: https://schema.org/ImageObject subtype: image-drawing type: image + marc21_type: image + marc21_subtype: drawing title: en: Drawing + sv: Ritning de: Zeichnung + es: Dibujo + cs: Kresba + ar: رسم تخطيطي tags: - depositable - linkable @@ -586,9 +796,15 @@ schema.org: https://schema.org/ImageObject subtype: image-diagram type: image + marc21_type: image + marc21_subtype: diagram title: en: Diagram + sv: Diagram de: Diagramm + es: Diagrama + cs: Diagram + ar: رسم بياني tags: - depositable - linkable @@ -604,9 +820,15 @@ schema.org: https://schema.org/Photograph subtype: image-photo type: image + marc21_type: image + marc21_subtype: photo title: en: Photo + sv: Foto de: Foto + es: Foto + cs: Fotografie + ar: صورة فوتوغرافيّة tags: - depositable - linkable @@ -622,9 +844,15 @@ schema.org: https://schema.org/ImageObject subtype: image-other type: image + marc21_type: image + marc21_subtype: other title: en: Other + sv: Övrig de: Sonstiges + es: Otro + cs: Jiné + ar: آخر/صورة tags: - depositable - linkable @@ -640,9 +868,15 @@ schema.org: https://schema.org/CreativeWork subtype: "" type: model + marc21_type: model + marc21_subtype: "" title: en: Model + sv: Modell de: Modell + es: Modelo + cs: Model + ar: أنموذج tags: - depositable - linkable @@ -658,9 +892,15 @@ schema.org: https://schema.org/MediaObject subtype: "" type: video + marc21_type: video + marc21_subtype: "" title: en: Video de: Video + sv: Video + es: Video + cs: Video + ar: فيديو tags: - depositable - linkable @@ -676,9 +916,15 @@ schema.org: https://schema.org/MediaObject subtype: "" type: audio + marc21_type: audio + marc21_subtype: "" title: en: Audio de: Audio + sv: Audio + es: Audio + cs: Audio + ar: صوت tags: - depositable - linkable @@ -694,9 +940,15 @@ schema.org: https://schema.org/SoftwareSourceCode subtype: "" type: software + marc21_type: software + marc21_subtype: "" title: en: Software + sv: Mjukvara de: Software + es: Software + cs: Software + ar: برنامج حاسوب tags: - depositable - linkable @@ -705,16 +957,22 @@ props: csl: speech datacite_general: InteractiveResource - datacite_type: Interactive resource + datacite_type: "" openaire_resourceType: "0010" openaire_type: other eurepo: info:eu-repo/semantics/lecture schema.org: https://schema.org/CreativeWork subtype: "" type: lesson + marc21_type: lesson + marc21_subtype: "" title: en: Lesson + sv: Lektion de: Unterrichtseinheit + es: Lección + cs: Lekce + ar: درس tags: - depositable - linkable @@ -730,9 +988,15 @@ schema.org: https://schema.org/SoftwareSourceCode subtype: software-computationalnotebook type: software + marc21_type: software + marc21_subtype: computationalnotebook title: en: Computational notebook + sv: Computational notebook de: Computational Notebook + es: Cuaderno de cálculo + cs: Výpočetní notebook + ar: دفتر تبصيرات ممكنن tags: - depositable - linkable @@ -748,9 +1012,15 @@ schema.org: https://schema.org/CreativeWork subtype: "" type: other + marc21_type: other + marc21_subtype: "" title: en: Other + sv: Övrig de: Sonstige + es: Otro + cs: Jiné + ar: آخر tags: - depositable - linkable @@ -766,9 +1036,15 @@ schema.org: https://schema.org/CreativeWork subtype: "" type: physicalobject + marc21_type: physicalobject + marc21_subtype: "" title: en: Physical object + sv: Fysiskt objekt de: Physikalisches Objekt + es: Objeto físico + cs: Fyzický objekt + ar: شيئ مادّي tags: - depositable - linkable @@ -784,9 +1060,37 @@ schema.org: https://schema.org/CreativeWork subtype: "" type: workflow + marc21_type: workflow + marc21_subtype: "" title: en: Workflow + sv: Workflow de: Workflow + es: Flujo + cs: Workflow + ar: إجراءات سير العمل tags: - depositable - linkable +- id: project + icon: sitemap + props: + datacite_general: Project + datacite_type: "" + subtype: "" + type: project + title: + en: Project + tags: + - linkable +- id: instrument + icon: wrench + props: + datacite_general: Instrument + datacite_type: "" + subtype: "" + type: instrument + title: + en: Instrument + tags: + - linkable