Skip to content

Commit 07d7c93

Browse files
committed
Update JSON Schema to draft 2019-09
1 parent 5db71f4 commit 07d7c93

14 files changed

+60
-45
lines changed

package-lock.json

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"edtf": "^4.6.0",
2323
"glob": "^11.0.0",
2424
"jsonld": "^8.3.2",
25-
"jsonld2rdf": "^0.3.0",
25+
"jsonld2rdf": "^0.5.1",
2626
"mocha": "^10.7.3"
2727
}
2828
}

schemas/annotation.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/annotation.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "Annotation",
55
"description": "Annotation adjusted from Web Annotation Data Model",
66
"type": "object",

schemas/bundle.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/bundle.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "JSKOS Concept Bundle",
55
"description": "A concept bundle is a group of concepts. Concept bundles can be used for mappings, composed concepts, and occurrences.",
66
"type": "object",

schemas/concept.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/concept.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "JSKOS Concept",
55
"description": "entities from a knowledge organization system",
66
"type": "object",

schemas/concordance.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/concordance.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "JSKOS Concordance",
55
"description": "curated collections of mappings",
66
"type": "object",

schemas/distribution.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/distribution.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "JSKOS Distribution",
55
"description": "available forms to access the content of an item",
66
"type": "object",

schemas/item.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/item.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "JSKOS Item",
55
"description": "named entities",
66
"type": "object",

schemas/mapping.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/mapping.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "JSKOS Concept Mapping",
55
"description": "A mapping represents a mapping between concepts of two concept schemes. It consists two concept bundles with additional metadata not fully defined yet.",
66
"type": "object",

schemas/occurrence.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$id": "https://gbv.github.io/jskos/occurrence.schema.json",
3-
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"$schema": "https://json-schema.org/draft/2019-09/schema",
44
"title": "JSKOS Concept Occurrence",
55
"description": "An occurrence gives the number of a times a concept (“occurrence”) or combination of concepts (“co-occurrence”) is used in a specific relation to entities from a particular database. For instance the occurrence could give the number of documents indexed with some term in a catalog. The field url typically includes a deep link into the database.",
66
"type": "object",

0 commit comments

Comments
 (0)