From ace582371fd9889fa2c10532f419efe4002444af Mon Sep 17 00:00:00 2001 From: Jakob Voss Date: Fri, 12 Jan 2024 08:21:41 +0100 Subject: [PATCH] Update vocabularies, add FIVS/FIVR --- test/server.js | 2 +- vocabularies.json | 30 +++++++++++++++++++++++++++++- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/test/server.js b/test/server.js index 9a02eab..5d190e5 100644 --- a/test/server.js +++ b/test/server.js @@ -22,7 +22,7 @@ describe("server", () => { () => chai.request(app).get("/voc") .then(res => { assert.equal(res.status,200) - assert.equal(res.body.length,14) + assert.equal(res.body.length,16) })) it("/databases should return databases", () => chai.request(app).get("/databases") diff --git a/vocabularies.json b/vocabularies.json index a04ebe9..103dcad 100644 --- a/vocabularies.json +++ b/vocabularies.json @@ -130,7 +130,7 @@ "http://www.wikidata.org/entity/Q29938469" ], "namespace": "http://uri.gbv.de/terminology/bk/", - "notationPattern": "0|1-2|3-4|5|7-8|[0-9]{2}(\\.[0-9]{2})?", + "notationPattern": "0|1-2|3-4|5|7-8|[0-9]{2}\\.[0-9]{2}", "prefLabel": { "de": "Basisklassifikation", "en": "Basic Classification" }, "uri": "http://bartoc.org/en/node/18785" }, @@ -148,5 +148,33 @@ "notationPattern": "(LD,)?[A-Z]([A-Z]( [0-9]+([a-z]|\\.[0-9]+)?( [A-Z][0-9]*)?)?)?( - [A-Z]([A-Z]( [0-9]+([a-z]|\\.[0-9]+)?( [A-Z][0-9]*)?)?)?)?", "prefLabel": { "de": "Regensburger Verbundklassifikation", "en": "Regensburger Association Classification" }, "uri": "http://bartoc.org/en/node/533" + }, + { + "ID": "^a(.+)", + "PICA": "045N", + "SRC": "^A(.+)", + "IKT": "8292", + "VOC": "fivr", + "identifier": [ + "https://uri.gbv.de/terminology/fivr/" + ], + "namespace": "https://uri.gbv.de/terminology/fivr/", + "notationPattern": "R[A-Z]([0-9][0-9](\\.[0-9][0-9])?)?", + "prefLabel": { "de": "FIV-Regionalklassifikation" }, + "uri": "http://bartoc.org/en/node/20447" + }, + { + "ID": "^a(.+)", + "PICA": "045N/01", + "SRC": "^A(.+)", + "VOC": "fivs", + "IKT": "8292", + "identifier": [ + "https://uri.gbv.de/terminology/fivs/" + ], + "namespace": "https://uri.gbv.de/terminology/fivs/", + "notationPattern": "S[A-Z]([0-9][0-9](\\.[0-9][0-9])?)?", + "prefLabel": { "de": "FIV-Sachklassifikation" }, + "uri": "http://bartoc.org/en/node/20446" } ]