@twin.org/standards-ld-contexts 0.0.3-next.6 → 0.0.3-next.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,96 @@
1
+ {
2
+ "@context": {
3
+ "odrl": "http://www.w3.org/ns/odrl/2/",
4
+ "Policy": "odrl:Policy",
5
+ "Rule": "odrl:Rule",
6
+ "profile": {
7
+ "@type": "@id",
8
+ "@id": "odrl:profile"
9
+ },
10
+ "prohibit": "odrl:prohibit",
11
+ "Agreement": "odrl:Agreement",
12
+ "Assertion": "odrl:Assertion",
13
+ "Offer": "odrl:Offer",
14
+ "Set": "odrl:Set",
15
+ "Asset": "odrl:Asset",
16
+ "hasPolicy": {
17
+ "@type": "@id",
18
+ "@id": "odrl:hasPolicy"
19
+ },
20
+ "target": {
21
+ "@type": "@id",
22
+ "@id": "odrl:target"
23
+ },
24
+ "assignee": {
25
+ "@type": "@id",
26
+ "@id": "odrl:assignee"
27
+ },
28
+ "assigner": {
29
+ "@type": "@id",
30
+ "@id": "odrl:assigner"
31
+ },
32
+ "Action": "odrl:Action",
33
+ "action": {
34
+ "@type": "@vocab",
35
+ "@id": "odrl:action"
36
+ },
37
+ "Permission": "odrl:Permission",
38
+ "permission": {
39
+ "@type": "@id",
40
+ "@id": "odrl:permission",
41
+ "@container": "@set"
42
+ },
43
+ "Prohibition": "odrl:Prohibition",
44
+ "prohibition": {
45
+ "@type": "@id",
46
+ "@id": "odrl:prohibition",
47
+ "@container": "@set"
48
+ },
49
+ "obligation": {
50
+ "@type": "@id",
51
+ "@id": "odrl:obligation",
52
+ "@container": "@set"
53
+ },
54
+ "use": "odrl:use",
55
+ "Duty": "odrl:Duty",
56
+ "duty": {
57
+ "@type": "@id",
58
+ "@id": "odrl:duty",
59
+ "@container": "@set"
60
+ },
61
+ "Constraint": "odrl:Constraint",
62
+ "constraint": {
63
+ "@type": "@id",
64
+ "@id": "odrl:constraint",
65
+ "@container": "@set"
66
+ },
67
+ "Operator": "odrl:Operator",
68
+ "operator": {
69
+ "@type": "@vocab",
70
+ "@id": "odrl:operator"
71
+ },
72
+ "RightOperand": "odrl:RightOperand",
73
+ "rightOperand": "odrl:rightOperand",
74
+ "LeftOperand": "odrl:LeftOperand",
75
+ "leftOperand": {
76
+ "@type": "@vocab",
77
+ "@id": "odrl:leftOperand"
78
+ },
79
+ "eq": "odrl:eq",
80
+ "gt": "odrl:gt",
81
+ "gteq": "odrl:gteq",
82
+ "lt": "odrl:lt",
83
+ "lteq": "odrl:lteq",
84
+ "neq": "odrl:neq",
85
+ "isA": "odrl:isA",
86
+ "hasPart": "odrl:hasPart",
87
+ "isPartOf": "odrl:isPartOf",
88
+ "isAllOf": "odrl:isAllOf",
89
+ "isAnyOf": "odrl:isAnyOf",
90
+ "isNoneOf": "odrl:isNoneOf",
91
+ "or": "odrl:or",
92
+ "xone": "odrl:xone",
93
+ "and": "odrl:and",
94
+ "andSequence": "odrl:andSequence"
95
+ }
96
+ }
@@ -7,6 +7,7 @@ import dcmitype from "./ldContexts/dublin-core-dcmitype.json" with { type: "json
7
7
  import dcTerms from "./ldContexts/dublin-core-terms.json" with { type: "json" };
8
8
  import foaf from "./ldContexts/foaf.json" with { type: "json" };
9
9
  import gaiaX2411 from "./ldContexts/gaia-x-v24.11.json" with { type: "json" };
10
+ import odrlDataspaceProtocol from "./ldContexts/odrl-dataspace-protocol.json" with { type: "json" };
10
11
  import schemaOrg from "./ldContexts/schema.org.json" with { type: "json" };
11
12
  import unCefact from "./ldContexts/un-cefact-vocab.json" with { type: "json" };
12
13
  import w3cActivityStreams from "./ldContexts/w3c-activity-streams.json" with { type: "json" };
@@ -31,23 +32,28 @@ export const LD_CONTEXTS = {
31
32
  // W3C DCAT
32
33
  "http://www.w3.org/ns/dcat#": w3cDcat,
33
34
  "https://www.w3.org/ns/dcat.jsonld": w3cDcat,
35
+ "http://www.w3.org/ns/dcat.jsonld": w3cDcat,
34
36
  // W3C ODRL
35
37
  "http://www.w3.org/ns/odrl.jsonld": w3cOdrl,
36
38
  // W3C Activity Streams
37
39
  "https://www.w3.org/ns/activitystreams#": w3cActivityStreams,
40
+ "https://www.w3.org/ns/activitystreams": w3cActivityStreams,
38
41
  // W3C Credentials
39
42
  "https://www.w3.org/ns/credentials/v2": w3cVc,
40
43
  "https://w3id.org/security/suites/jws-2020/v1": w3IdJws,
41
44
  // UN/CEFACT
42
45
  "https://vocabulary.uncefact.org": unCefact,
46
+ "https://vocabulary.uncefact.org/unece-context.jsonld": unCefact,
47
+ "https://vocabulary.uncefact.org/unece-context-D23B.jsonld": unCefact,
43
48
  // Dublin Core
44
49
  "http://purl.org/dc/terms/": dcTerms,
45
50
  "http://purl.org/dc/dcmitype/": dcmitype,
46
51
  "https://schema.twindev.org/dublin-core/terms.jsonld": dcTerms,
47
52
  "https://schema.twindev.org/dublin-core/dcmitype.jsonld": dcmitype,
48
- // IDS Contract Negotiation
53
+ // Data Space Protocol
49
54
  "https://w3id.org/dspace/2024/1/context.json": dataspaceProtocol,
50
55
  "https://w3id.org/dspace/2025/1/context.jsonld": dataspaceProtocol,
56
+ "https://w3id.org/dspace/2025/1/odrl-profile.jsonld": odrlDataspaceProtocol,
51
57
  // Foaf
52
58
  "https://schema.twindev.org/foaf/": foaf,
53
59
  "https://schema.twindev.org/foaf/types.jsonld": foaf,
@@ -1 +1 @@
1
- {"version":3,"file":"ldContexts.js","sourceRoot":"","sources":["../../src/ldContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,iBAAiB,MAAM,sCAAsC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC3F,OAAO,QAAQ,MAAM,wCAAwC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACpF,OAAO,OAAO,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AkB;IAClB,sCAAsC,EAAE,KAAK;IAC7C,8CAA8C,EAAE,OAAO;IAEvD,YAAY;IACZ,iCAAiC,EAAE,QAAQ;IAE3C,cAAc;IACd,2BAA2B,EAAE,OAAO;IACpC,8BAA8B,EAAE,QAAQ;IACxC,qDAAqD,EAAE,OAAO;IAC9D,wDAAwD,EAAE,QAAQ;IAElE,2BAA2B;IAC3B,6CAA6C,EAAE,iBAAiB;IAChE,+CAA+C,EAAE,iBAAiB;IAElE,OAAO;IACP,kCAAkC,EAAE,IAAI;IACxC,8CAA8C,EAAE,IAAI;IACpD,4BAA4B,EAAE,IAAI;IAElC,UAAU;IACV,qCAAqC,EAAE,MAAM;IAC7C,iDAAiD,EAAE,MAAM;IACzD,uCAAuC,EAAE,MAAM;CAC/C,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,6BAA6B;IAClD,KAAK,MAAM,GAAG,IAAI,WAAW,EAAE,CAAC;QAC/B,MAAM,eAAe,CAAC,gBAAgB,CAAC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/D,CAAC;AACF,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,yBAAyB,CAAC,GAAW;IAC1D,IAAI,EAAE,CAAC,KAAK,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;QAChC,MAAM,IAAI,YAAY,CAAC,WAAW,EAAE,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACzD,CAAC;IACD,MAAM,eAAe,CAAC,gBAAgB,CAAC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/D,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { GeneralError, Is } from \"@twin.org/core\";\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport dataspaceProtocol from \"./ldContexts/dataspace-protocol.json\" with { type: \"json\" };\nimport dcmitype from \"./ldContexts/dublin-core-dcmitype.json\" with { type: \"json\" };\nimport dcTerms from \"./ldContexts/dublin-core-terms.json\" with { type: \"json\" };\nimport foaf from \"./ldContexts/foaf.json\" with { type: \"json\" };\nimport gaiaX2411 from \"./ldContexts/gaia-x-v24.11.json\" with { type: \"json\" };\nimport schemaOrg from \"./ldContexts/schema.org.json\" with { type: \"json\" };\nimport unCefact from \"./ldContexts/un-cefact-vocab.json\" with { type: \"json\" };\nimport w3cActivityStreams from \"./ldContexts/w3c-activity-streams.json\" with { type: \"json\" };\nimport w3cDcat from \"./ldContexts/w3c-dcat.json\" with { type: \"json\" };\nimport w3cOdrl from \"./ldContexts/w3c-odrl.json\" with { type: \"json\" };\nimport w3cRdf from \"./ldContexts/w3c-rdf.json\" with { type: \"json\" };\nimport w3cVc from \"./ldContexts/w3c-vc-data-model-v2.json\" with { type: \"json\" };\nimport w3IdJws from \"./ldContexts/w3id-jws-2020-v1.json\" with { type: \"json\" };\n\n/**\n * Map of all the ld contexts by their URL.\n */\nexport const LD_CONTEXTS: { [id: string]: unknown } = {\n\t// schema.org\n\t\"https://schema.org\": schemaOrg,\n\t\"http://schema.org\": schemaOrg,\n\t\"https://schema.org/docs/jsonldcontext.jsonld\": schemaOrg,\n\n\t// Gaia-X\n\t\"https://w3id.org/gaia-x/2411\": gaiaX2411,\n\t\"https://w3id.org/gaia-x/2411#\": gaiaX2411,\n\n\t\"https://schema.twindev.org/gaia-x-loire/\": gaiaX2411,\n\t\"https://schema.twindev.org/gaia-x-loire/types.jsonld\": gaiaX2411,\n\n\t// W3C DCAT\n\t\"http://www.w3.org/ns/dcat#\": w3cDcat,\n\t\"https://www.w3.org/ns/dcat.jsonld\": w3cDcat,\n\n\t// W3C ODRL\n\t\"http://www.w3.org/ns/odrl.jsonld\": w3cOdrl,\n\n\t// W3C Activity Streams\n\t\"https://www.w3.org/ns/activitystreams#\": w3cActivityStreams,\n\n\t// W3C Credentials\n\t\"https://www.w3.org/ns/credentials/v2\": w3cVc,\n\t\"https://w3id.org/security/suites/jws-2020/v1\": w3IdJws,\n\n\t// UN/CEFACT\n\t\"https://vocabulary.uncefact.org\": unCefact,\n\n\t// Dublin Core\n\t\"http://purl.org/dc/terms/\": dcTerms,\n\t\"http://purl.org/dc/dcmitype/\": dcmitype,\n\t\"https://schema.twindev.org/dublin-core/terms.jsonld\": dcTerms,\n\t\"https://schema.twindev.org/dublin-core/dcmitype.jsonld\": dcmitype,\n\n\t// IDS Contract Negotiation\n\t\"https://w3id.org/dspace/2024/1/context.json\": dataspaceProtocol,\n\t\"https://w3id.org/dspace/2025/1/context.jsonld\": dataspaceProtocol,\n\n\t// Foaf\n\t\"https://schema.twindev.org/foaf/\": foaf,\n\t\"https://schema.twindev.org/foaf/types.jsonld\": foaf,\n\t\"http://xmlns.com/foaf/0.1/\": foaf,\n\n\t// W3C RDF\n\t\"https://schema.twindev.org/w3c-rdf/\": w3cRdf,\n\t\"https://schema.twindev.org/w3c-rdf/types.jsonld\": w3cRdf,\n\t\"http://www.w3.org/2000/01/rdf-schema#\": w3cRdf\n};\n\n/**\n * Add all the contexts to the document cache.\n */\nexport async function addAllContextsToDocumentCache(): Promise<void> {\n\tfor (const url in LD_CONTEXTS) {\n\t\tawait JsonLdProcessor.documentCacheAdd(url, LD_CONTEXTS[url]);\n\t}\n}\n\n/**\n * Add a context to the document cache.\n * @param url The URL of the context to add to the cache.\n */\nexport async function addContextToDocumentCache(url: string): Promise<void> {\n\tif (Is.empty(LD_CONTEXTS[url])) {\n\t\tthrow new GeneralError(\"ldContext\", \"missing\", { url });\n\t}\n\tawait JsonLdProcessor.documentCacheAdd(url, LD_CONTEXTS[url]);\n}\n"]}
1
+ {"version":3,"file":"ldContexts.js","sourceRoot":"","sources":["../../src/ldContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,YAAY,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,M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C,CAAC,EAAE,CAAC;QAChC,MAAM,IAAI,YAAY,CAAC,WAAW,EAAE,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACzD,CAAC;IACD,MAAM,eAAe,CAAC,gBAAgB,CAAC,GAAG,EAAE,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC;AAC/D,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { GeneralError, Is } from \"@twin.org/core\";\nimport { JsonLdProcessor } from \"@twin.org/data-json-ld\";\nimport dataspaceProtocol from \"./ldContexts/dataspace-protocol.json\" with { type: \"json\" };\nimport dcmitype from \"./ldContexts/dublin-core-dcmitype.json\" with { type: \"json\" };\nimport dcTerms from \"./ldContexts/dublin-core-terms.json\" with { type: \"json\" };\nimport foaf from \"./ldContexts/foaf.json\" with { type: \"json\" };\nimport gaiaX2411 from \"./ldContexts/gaia-x-v24.11.json\" with { type: \"json\" };\nimport odrlDataspaceProtocol from \"./ldContexts/odrl-dataspace-protocol.json\" with { type: \"json\" };\nimport schemaOrg from \"./ldContexts/schema.org.json\" with { type: \"json\" };\nimport unCefact from \"./ldContexts/un-cefact-vocab.json\" with { type: \"json\" };\nimport w3cActivityStreams from \"./ldContexts/w3c-activity-streams.json\" with { type: \"json\" };\nimport w3cDcat from \"./ldContexts/w3c-dcat.json\" with { type: \"json\" };\nimport w3cOdrl from \"./ldContexts/w3c-odrl.json\" with { type: \"json\" };\nimport w3cRdf from \"./ldContexts/w3c-rdf.json\" with { type: \"json\" };\nimport w3cVc from \"./ldContexts/w3c-vc-data-model-v2.json\" with { type: \"json\" };\nimport w3IdJws from \"./ldContexts/w3id-jws-2020-v1.json\" with { type: \"json\" };\n\n/**\n * Map of all the ld contexts by their URL.\n */\nexport const LD_CONTEXTS: { [id: string]: unknown } = {\n\t// schema.org\n\t\"https://schema.org\": schemaOrg,\n\t\"http://schema.org\": schemaOrg,\n\t\"https://schema.org/docs/jsonldcontext.jsonld\": schemaOrg,\n\n\t// Gaia-X\n\t\"https://w3id.org/gaia-x/2411\": gaiaX2411,\n\t\"https://w3id.org/gaia-x/2411#\": gaiaX2411,\n\n\t\"https://schema.twindev.org/gaia-x-loire/\": gaiaX2411,\n\t\"https://schema.twindev.org/gaia-x-loire/types.jsonld\": gaiaX2411,\n\n\t// W3C DCAT\n\t\"http://www.w3.org/ns/dcat#\": w3cDcat,\n\t\"https://www.w3.org/ns/dcat.jsonld\": w3cDcat,\n\t\"http://www.w3.org/ns/dcat.jsonld\": w3cDcat,\n\n\t// W3C ODRL\n\t\"http://www.w3.org/ns/odrl.jsonld\": w3cOdrl,\n\n\t// W3C Activity Streams\n\t\"https://www.w3.org/ns/activitystreams#\": w3cActivityStreams,\n\t\"https://www.w3.org/ns/activitystreams\": w3cActivityStreams,\n\n\t// W3C Credentials\n\t\"https://www.w3.org/ns/credentials/v2\": w3cVc,\n\t\"https://w3id.org/security/suites/jws-2020/v1\": w3IdJws,\n\n\t// UN/CEFACT\n\t\"https://vocabulary.uncefact.org\": unCefact,\n\t\"https://vocabulary.uncefact.org/unece-context.jsonld\": unCefact,\n\t\"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\": unCefact,\n\n\t// Dublin Core\n\t\"http://purl.org/dc/terms/\": dcTerms,\n\t\"http://purl.org/dc/dcmitype/\": dcmitype,\n\t\"https://schema.twindev.org/dublin-core/terms.jsonld\": dcTerms,\n\t\"https://schema.twindev.org/dublin-core/dcmitype.jsonld\": dcmitype,\n\n\t// Data Space Protocol\n\t\"https://w3id.org/dspace/2024/1/context.json\": dataspaceProtocol,\n\t\"https://w3id.org/dspace/2025/1/context.jsonld\": dataspaceProtocol,\n\n\t\"https://w3id.org/dspace/2025/1/odrl-profile.jsonld\": odrlDataspaceProtocol,\n\n\t// Foaf\n\t\"https://schema.twindev.org/foaf/\": foaf,\n\t\"https://schema.twindev.org/foaf/types.jsonld\": foaf,\n\t\"http://xmlns.com/foaf/0.1/\": foaf,\n\n\t// W3C RDF\n\t\"https://schema.twindev.org/w3c-rdf/\": w3cRdf,\n\t\"https://schema.twindev.org/w3c-rdf/types.jsonld\": w3cRdf,\n\t\"http://www.w3.org/2000/01/rdf-schema#\": w3cRdf\n};\n\n/**\n * Add all the contexts to the document cache.\n */\nexport async function addAllContextsToDocumentCache(): Promise<void> {\n\tfor (const url in LD_CONTEXTS) {\n\t\tawait JsonLdProcessor.documentCacheAdd(url, LD_CONTEXTS[url]);\n\t}\n}\n\n/**\n * Add a context to the document cache.\n * @param url The URL of the context to add to the cache.\n */\nexport async function addContextToDocumentCache(url: string): Promise<void> {\n\tif (Is.empty(LD_CONTEXTS[url])) {\n\t\tthrow new GeneralError(\"ldContext\", \"missing\", { url });\n\t}\n\tawait JsonLdProcessor.documentCacheAdd(url, LD_CONTEXTS[url]);\n}\n"]}
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/standards-ld-contexts - Changelog
2
2
 
3
+ ## [0.0.3-next.8](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.7...standards-ld-contexts-v0.0.3-next.8) (2026-01-08)
4
+
5
+
6
+ ### Features
7
+
8
+ * add ds protocol catalog dataset ([#86](https://github.com/twinfoundation/standards/issues/86)) ([45600e6](https://github.com/twinfoundation/standards/commit/45600e6cba212d85e250cb12cbdcb712d8db0e52))
9
+
10
+ ## [0.0.3-next.7](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.6...standards-ld-contexts-v0.0.3-next.7) (2026-01-06)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * refine local LD Contexts ([#84](https://github.com/twinfoundation/standards/issues/84)) ([785e359](https://github.com/twinfoundation/standards/commit/785e359ad6895fcb97197ca707915651fe3ae79c))
16
+
3
17
  ## [0.0.3-next.6](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.5...standards-ld-contexts-v0.0.3-next.6) (2025-12-03)
4
18
 
5
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-ld-contexts",
3
- "version": "0.0.3-next.6",
3
+ "version": "0.0.3-next.8",
4
4
  "description": "Local copies of standard LD contexts which can be used for offline development",
5
5
  "repository": {
6
6
  "type": "git",