From e3278273132973f4b51196b9eb068bf3b7882004 Mon Sep 17 00:00:00 2001 From: Michael Hanke Date: Tue, 18 Jul 2023 21:47:33 +0200 Subject: [PATCH] Declare the publication type to use schema.org term Ping https://github.com/psychoinformatics-de/datalad-tabby/issues/54 with this override-based alternative --- .../tests/data/demorecord/tabbydemo_publications.ctx.jsonld | 2 +- .../tests/data/demorecord/tabbydemo_publications.override.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/datalad_tabby/tests/data/demorecord/tabbydemo_publications.ctx.jsonld b/datalad_tabby/tests/data/demorecord/tabbydemo_publications.ctx.jsonld index b2be8e9..5acaa30 100644 --- a/datalad_tabby/tests/data/demorecord/tabbydemo_publications.ctx.jsonld +++ b/datalad_tabby/tests/data/demorecord/tabbydemo_publications.ctx.jsonld @@ -1,5 +1,5 @@ { - "type": {"@id": "@type"}, + "type": "@type", "citation": "schema:citation", "date": "schema:Date", "doi": "bibo:doi" diff --git a/datalad_tabby/tests/data/demorecord/tabbydemo_publications.override.json b/datalad_tabby/tests/data/demorecord/tabbydemo_publications.override.json index 9e31bdc..e8d7d6e 100644 --- a/datalad_tabby/tests/data/demorecord/tabbydemo_publications.override.json +++ b/datalad_tabby/tests/data/demorecord/tabbydemo_publications.override.json @@ -1,3 +1,4 @@ { - "@id": "https://dx.doi.org/{doi[0]}" + "@id": "https://dx.doi.org/{doi[0]}", + "type": "schema:{type[0]}" }