@twin.org/standards-ld-contexts 0.0.3-next.6 → 0.0.3-next.60
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.
- package/README.md +2 -2
- package/dist/es/ldContexts/dataspace-protocol-2024.json +57 -0
- package/dist/es/ldContexts/gs1-epcis.json +593 -0
- package/dist/es/ldContexts/gs1-vocab.json +59070 -0
- package/dist/es/ldContexts/odrl-dataspace-protocol.json +96 -0
- package/dist/es/ldContexts/schema.org.json +139 -1
- package/dist/es/ldContexts/w3c-data-integrity-v2.json +81 -0
- package/dist/es/ldContexts/w3c-odrl.json +1 -1
- package/dist/es/ldContexts/w3c-vc-data-model-v1.json +231 -0
- package/dist/es/ldContexts/w3id-cid-v1.json +113 -0
- package/dist/es/ldContexts/w3id-did-v1.json +57 -0
- package/dist/es/ldContexts/w3id-ed25519-v1.json +93 -0
- package/dist/es/ldContexts/w3id-multikey-v1.json +35 -0
- package/dist/es/ldContexts.js +66 -27
- package/dist/es/ldContexts.js.map +1 -1
- package/docs/changelog.md +403 -1
- package/docs/examples.md +19 -1
- package/package.json +2 -2
- /package/dist/es/ldContexts/{dataspace-protocol.json → dataspace-protocol-2025.json} +0 -0
- /package/dist/es/ldContexts/{un-cefact-vocab.json → un-cefact-d23b.json} +0 -0
|
@@ -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,
|
|
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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AM,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 dataspaceProtocol2024 from \"./ldContexts/dataspace-protocol-2024.json\" with { type: \"json\" };\nimport dataspaceProtocol2025 from \"./ldContexts/dataspace-protocol-2025.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 gs1epcis from \"./ldContexts/gs1-epcis.json\" with { type: \"json\" };\nimport gs1vocab from \"./ldContexts/gs1-vocab.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 unCefactD23B from \"./ldContexts/un-cefact-d23b.json\" with { type: \"json\" };\nimport w3cActivityStreams from \"./ldContexts/w3c-activity-streams.json\" with { type: \"json\" };\nimport w3cDataIntegrityV2 from \"./ldContexts/w3c-data-integrity-v2.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 w3cVcV1 from \"./ldContexts/w3c-vc-data-model-v1.json\" with { type: \"json\" };\nimport w3cVcV2 from \"./ldContexts/w3c-vc-data-model-v2.json\" with { type: \"json\" };\nimport w3idCidV1 from \"./ldContexts/w3id-cid-v1.json\" with { type: \"json\" };\nimport w3idDidV1 from \"./ldContexts/w3id-did-v1.json\" with { type: \"json\" };\nimport w3idEd25519V1 from \"./ldContexts/w3id-ed25519-v1.json\" with { type: \"json\" };\nimport w3idJwsV1 from \"./ldContexts/w3id-jws-2020-v1.json\" with { type: \"json\" };\nimport w3idMultiKeyV1 from \"./ldContexts/w3id-multikey-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// Data Space Protocol\n\t\"https://w3id.org/dspace/2024/1/\": dataspaceProtocol2024,\n\t\"https://w3id.org/dspace/2024/1/context.json\": dataspaceProtocol2024,\n\t\"https://w3id.org/dspace/2024/1/context.jsonld\": dataspaceProtocol2024,\n\t\"https://w3id.org/dspace/2025/1/\": dataspaceProtocol2025,\n\t\"https://w3id.org/dspace/2025/1/context.json\": dataspaceProtocol2025,\n\t\"https://w3id.org/dspace/2025/1/context.jsonld\": dataspaceProtocol2025,\n\t\"https://schema.twindev.org/dataspace-protocol/\": dataspaceProtocol2025,\n\t\"https://w3id.org/dspace/2025/1/odrl-profile.jsonld\": odrlDataspaceProtocol,\n\n\t// DCSA does not have JSON-LD context definitions\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// 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// Gaia-X\n\t\"https://w3id.org/gaia-x/2411\": gaiaX2411,\n\t\"https://w3id.org/gaia-x/2411#\": gaiaX2411,\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// GS1 EPCIS\n\t\"https://ref.gs1.org/epcis/\": gs1epcis,\n\t\"https://ref.gs1.org/epcis\": gs1epcis,\n\t\"https://ref.gs1.org/standards/epcis/2.0.0/epcis-context.jsonld\": gs1epcis,\n\n\t// GS1 Vocab\n\t\"https://gs1.org/voc/\": gs1vocab,\n\t\"https://ref.gs1.org/voc/data/gs1Voc.jsonld\": gs1vocab,\n\n\t// schema.org\n\t\"https://schema.org\": schemaOrg,\n\t\"http://schema.org\": schemaOrg,\n\t\"https://schema.org/\": schemaOrg,\n\t\"http://schema.org/\": schemaOrg,\n\t\"https://schema.org/docs/jsonldcontext.jsonld\": schemaOrg,\n\n\t// UN/CEFACT\n\t\"https://vocabulary.uncefact.org\": unCefactD23B,\n\t\"https://vocabulary.uncefact.org/\": unCefactD23B,\n\t\"https://vocabulary.uncefact.org/unece-context.jsonld\": unCefactD23B,\n\t\"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\": unCefactD23B,\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\t\"https://www.w3.org/ns/activitystreams.jsonld\": w3cActivityStreams,\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 DID\n\t\"https://www.w3.org/ns/did/v1\": w3idDidV1,\n\t\"https://www.w3.org/2018/credentials/v1\": w3cVcV1,\n\t\"https://www.w3.org/ns/credentials/v2\": w3cVcV2,\n\t\"https://w3id.org/security/suites/jws-2020/v1\": w3idJwsV1,\n\t\"https://w3id.org/security/suites/ed25519-2020/v1\": w3idEd25519V1,\n\t\"https://w3id.org/security/data-integrity/v2\": w3cDataIntegrityV2,\n\t\"https://www.w3.org/ns/cid/v1\": w3idCidV1,\n\t\"https://w3id.org/security/multikey/v1\": w3idMultiKeyV1,\n\n\t// W3C ODRL\n\t\"http://www.w3.org/ns/odrl/2/\": w3cOdrl,\n\t\"http://www.w3.org/ns/odrl.jsonld\": w3cOdrl,\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,4 +1,406 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.0.3-next.60](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.59...standards-ld-contexts-v0.0.3-next.60) (2026-04-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [0.0.3-next.59](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.58...standards-ld-contexts-v0.0.3-next.59) (2026-04-07)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
16
|
+
|
|
17
|
+
## [0.0.3-next.58](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.57...standards-ld-contexts-v0.0.3-next.58) (2026-03-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Miscellaneous Chores
|
|
21
|
+
|
|
22
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
23
|
+
|
|
24
|
+
## [0.0.3-next.57](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.56...standards-ld-contexts-v0.0.3-next.57) (2026-03-20)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Miscellaneous Chores
|
|
28
|
+
|
|
29
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
30
|
+
|
|
31
|
+
## [0.0.3-next.56](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.55...standards-ld-contexts-v0.0.3-next.56) (2026-03-20)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Miscellaneous Chores
|
|
35
|
+
|
|
36
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
37
|
+
|
|
38
|
+
## [0.0.3-next.55](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.54...standards-ld-contexts-v0.0.3-next.55) (2026-03-19)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* update to new ts-ts-schema and generic constructs ([4dff991](https://github.com/twinfoundation/standards/commit/4dff991fb70de4320668641ed94abf8e9b06acad))
|
|
44
|
+
* use local LD contexts in tests instead of remote ones ([#201](https://github.com/twinfoundation/standards/issues/201)) ([7d6c6ea](https://github.com/twinfoundation/standards/commit/7d6c6ea7b952fb9e2240ff252f8ce85c42d78985))
|
|
45
|
+
|
|
46
|
+
## [0.0.3-next.54](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.53...standards-ld-contexts-v0.0.3-next.54) (2026-03-12)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Miscellaneous Chores
|
|
50
|
+
|
|
51
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
52
|
+
|
|
53
|
+
## [0.0.3-next.53](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.52...standards-ld-contexts-v0.0.3-next.53) (2026-03-11)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Miscellaneous Chores
|
|
57
|
+
|
|
58
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
59
|
+
|
|
60
|
+
## [0.0.3-next.52](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.51...standards-ld-contexts-v0.0.3-next.52) (2026-03-10)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Miscellaneous Chores
|
|
64
|
+
|
|
65
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
66
|
+
|
|
67
|
+
## [0.0.3-next.51](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.50...standards-ld-contexts-v0.0.3-next.51) (2026-03-10)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Miscellaneous Chores
|
|
71
|
+
|
|
72
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
73
|
+
|
|
74
|
+
## [0.0.3-next.50](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.49...standards-ld-contexts-v0.0.3-next.50) (2026-03-09)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Miscellaneous Chores
|
|
78
|
+
|
|
79
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
80
|
+
|
|
81
|
+
## [0.0.3-next.49](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.48...standards-ld-contexts-v0.0.3-next.49) (2026-03-06)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### Miscellaneous Chores
|
|
85
|
+
|
|
86
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
87
|
+
|
|
88
|
+
## [0.0.3-next.48](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.47...standards-ld-contexts-v0.0.3-next.48) (2026-03-06)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Miscellaneous Chores
|
|
92
|
+
|
|
93
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
94
|
+
|
|
95
|
+
## [0.0.3-next.47](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.46...standards-ld-contexts-v0.0.3-next.47) (2026-03-06)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Miscellaneous Chores
|
|
99
|
+
|
|
100
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
101
|
+
|
|
102
|
+
## [0.0.3-next.46](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.45...standards-ld-contexts-v0.0.3-next.46) (2026-03-05)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
### Miscellaneous Chores
|
|
106
|
+
|
|
107
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
108
|
+
|
|
109
|
+
## [0.0.3-next.45](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.44...standards-ld-contexts-v0.0.3-next.45) (2026-03-04)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### Miscellaneous Chores
|
|
113
|
+
|
|
114
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
115
|
+
|
|
116
|
+
## [0.0.3-next.44](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.43...standards-ld-contexts-v0.0.3-next.44) (2026-03-04)
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
### Miscellaneous Chores
|
|
120
|
+
|
|
121
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
122
|
+
|
|
123
|
+
## [0.0.3-next.43](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.42...standards-ld-contexts-v0.0.3-next.43) (2026-02-25)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### Miscellaneous Chores
|
|
127
|
+
|
|
128
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
129
|
+
|
|
130
|
+
## [0.0.3-next.42](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.41...standards-ld-contexts-v0.0.3-next.42) (2026-02-25)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
### Miscellaneous Chores
|
|
134
|
+
|
|
135
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
136
|
+
|
|
137
|
+
## [0.0.3-next.41](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.40...standards-ld-contexts-v0.0.3-next.41) (2026-02-23)
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
### Features
|
|
141
|
+
|
|
142
|
+
* update ld context cache ([#169](https://github.com/twinfoundation/standards/issues/169)) ([5fb59af](https://github.com/twinfoundation/standards/commit/5fb59af25526f040bbd4bb5dbe1a7574158c500a))
|
|
143
|
+
|
|
144
|
+
## [0.0.3-next.40](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.39...standards-ld-contexts-v0.0.3-next.40) (2026-02-18)
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
### Miscellaneous Chores
|
|
148
|
+
|
|
149
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
150
|
+
|
|
151
|
+
## [0.0.3-next.39](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.38...standards-ld-contexts-v0.0.3-next.39) (2026-02-13)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
### Miscellaneous Chores
|
|
155
|
+
|
|
156
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
157
|
+
|
|
158
|
+
## [0.0.3-next.38](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.37...standards-ld-contexts-v0.0.3-next.38) (2026-02-13)
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
### Miscellaneous Chores
|
|
162
|
+
|
|
163
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
164
|
+
|
|
165
|
+
## [0.0.3-next.37](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.36...standards-ld-contexts-v0.0.3-next.37) (2026-02-12)
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
### Miscellaneous Chores
|
|
169
|
+
|
|
170
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
171
|
+
|
|
172
|
+
## [0.0.3-next.36](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.35...standards-ld-contexts-v0.0.3-next.36) (2026-02-11)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
### Miscellaneous Chores
|
|
176
|
+
|
|
177
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
178
|
+
|
|
179
|
+
## [0.0.3-next.35](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.34...standards-ld-contexts-v0.0.3-next.35) (2026-02-10)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Miscellaneous Chores
|
|
183
|
+
|
|
184
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
185
|
+
|
|
186
|
+
## [0.0.3-next.34](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.33...standards-ld-contexts-v0.0.3-next.34) (2026-02-10)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
### Miscellaneous Chores
|
|
190
|
+
|
|
191
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
192
|
+
|
|
193
|
+
## [0.0.3-next.33](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.32...standards-ld-contexts-v0.0.3-next.33) (2026-02-06)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Features
|
|
197
|
+
|
|
198
|
+
* add context id features ([#64](https://github.com/twinfoundation/standards/issues/64)) ([e68bb87](https://github.com/twinfoundation/standards/commit/e68bb87a215f3c3956cfd6400a5e1e2a16256085))
|
|
199
|
+
* add ds protocol catalog dataset ([#86](https://github.com/twinfoundation/standards/issues/86)) ([45600e6](https://github.com/twinfoundation/standards/commit/45600e6cba212d85e250cb12cbdcb712d8db0e52))
|
|
200
|
+
* add extra ld contexts needed ([#17](https://github.com/twinfoundation/standards/issues/17)) ([d9f1be2](https://github.com/twinfoundation/standards/commit/d9f1be2a852f776cb3a8f00bb4dd631da0fe848e))
|
|
201
|
+
* add ids contract negotiation types ([6225dde](https://github.com/twinfoundation/standards/commit/6225ddec9e845e3782e2944f30c771911855f165))
|
|
202
|
+
* add ld-contexts package ([c361354](https://github.com/twinfoundation/standards/commit/c3613542c3dab5c37cc3d9869ea72eef86bc1ba1))
|
|
203
|
+
* add validate-locales ([838389c](https://github.com/twinfoundation/standards/commit/838389c1daf62ed42397d5758d267c3d1a37fa4d))
|
|
204
|
+
* add w3c dcat standards package ([#68](https://github.com/twinfoundation/standards/issues/68)) ([85746c6](https://github.com/twinfoundation/standards/commit/85746c673464498a52e9c30ce498fd88b81a7434))
|
|
205
|
+
* eslint migration to flat config ([648c1a1](https://github.com/twinfoundation/standards/commit/648c1a1e69d99b6b0cf69358ec6bdeecdbe3a5ea))
|
|
206
|
+
* generate unece types from JSON schema ([#71](https://github.com/twinfoundation/standards/issues/71)) ([5a596e7](https://github.com/twinfoundation/standards/commit/5a596e7a79c1a0b213560f5fb8b9ec5019d598d7))
|
|
207
|
+
* normalise type outputs ([0b3aed7](https://github.com/twinfoundation/standards/commit/0b3aed7df0802cd609423bbd7fda6bde601d3ceb))
|
|
208
|
+
* update epcis models to match spec ([#92](https://github.com/twinfoundation/standards/issues/92)) ([1e56f70](https://github.com/twinfoundation/standards/commit/1e56f70415a8612113a36ad65a6cc5abdd85e091))
|
|
209
|
+
* update framework core ([58c0c3d](https://github.com/twinfoundation/standards/commit/58c0c3dd6cea0e4c2393dc0e3e1eb33a6d06f617))
|
|
210
|
+
* update to latest JSON schema spec ([7a23930](https://github.com/twinfoundation/standards/commit/7a2393032d7f48bfb20d3a484f981fb6dd83a92c))
|
|
211
|
+
* use shared store mechanism ([#11](https://github.com/twinfoundation/standards/issues/11)) ([96fa237](https://github.com/twinfoundation/standards/commit/96fa23735f69c1fc7e3d0019b527634fa0a042d9))
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
### Bug Fixes
|
|
215
|
+
|
|
216
|
+
* add extra ld contexts associated to URLs. cache ([#21](https://github.com/twinfoundation/standards/issues/21)) ([05f7bba](https://github.com/twinfoundation/standards/commit/05f7bbafd0efbff445b878ccc2709975e50a7773))
|
|
217
|
+
* federated catalogue terms ld context last version copied ([#26](https://github.com/twinfoundation/standards/issues/26)) ([37f4ff0](https://github.com/twinfoundation/standards/commit/37f4ff00664e8b5efc7d24f1e2417061fd2bda56))
|
|
218
|
+
* gaia-x loire LD Context ([#62](https://github.com/twinfoundation/standards/issues/62)) ([072c4e7](https://github.com/twinfoundation/standards/commit/072c4e789158b3f989fa0fdd23df2532f7626dad))
|
|
219
|
+
* gaia-x pinned LD Context ([#59](https://github.com/twinfoundation/standards/issues/59)) ([7572616](https://github.com/twinfoundation/standards/commit/7572616a2e853e8f6f6234763e675edb96e54005))
|
|
220
|
+
* pin to 24.11 Gaia-X LD Context ([#58](https://github.com/twinfoundation/standards/issues/58)) ([4d3b9cc](https://github.com/twinfoundation/standards/commit/4d3b9cc365af276f5d4fc111a1744768746daa28))
|
|
221
|
+
* refine local LD Contexts ([#84](https://github.com/twinfoundation/standards/issues/84)) ([785e359](https://github.com/twinfoundation/standards/commit/785e359ad6895fcb97197ca707915651fe3ae79c))
|
|
222
|
+
|
|
223
|
+
## [0.0.3-next.32](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.31...standards-ld-contexts-v0.0.3-next.32) (2026-02-06)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
### Miscellaneous Chores
|
|
227
|
+
|
|
228
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
229
|
+
|
|
230
|
+
## [0.0.3-next.31](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.30...standards-ld-contexts-v0.0.3-next.31) (2026-02-05)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Miscellaneous Chores
|
|
234
|
+
|
|
235
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
236
|
+
|
|
237
|
+
## [0.0.3-next.30](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.29...standards-ld-contexts-v0.0.3-next.30) (2026-02-04)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
### Miscellaneous Chores
|
|
241
|
+
|
|
242
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
243
|
+
|
|
244
|
+
## [0.0.3-next.29](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.28...standards-ld-contexts-v0.0.3-next.29) (2026-02-03)
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### Miscellaneous Chores
|
|
248
|
+
|
|
249
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
250
|
+
|
|
251
|
+
## [0.0.3-next.28](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.27...standards-ld-contexts-v0.0.3-next.28) (2026-02-03)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Miscellaneous Chores
|
|
255
|
+
|
|
256
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
257
|
+
|
|
258
|
+
## [0.0.3-next.27](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.26...standards-ld-contexts-v0.0.3-next.27) (2026-02-03)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
### Miscellaneous Chores
|
|
262
|
+
|
|
263
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
264
|
+
|
|
265
|
+
## [0.0.3-next.26](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.25...standards-ld-contexts-v0.0.3-next.26) (2026-02-02)
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
### Miscellaneous Chores
|
|
269
|
+
|
|
270
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
271
|
+
|
|
272
|
+
## [0.0.3-next.25](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.24...standards-ld-contexts-v0.0.3-next.25) (2026-02-02)
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
### Miscellaneous Chores
|
|
276
|
+
|
|
277
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
278
|
+
|
|
279
|
+
## [0.0.3-next.24](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.23...standards-ld-contexts-v0.0.3-next.24) (2026-01-30)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
### Miscellaneous Chores
|
|
283
|
+
|
|
284
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
285
|
+
|
|
286
|
+
## [0.0.3-next.23](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.22...standards-ld-contexts-v0.0.3-next.23) (2026-01-30)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
### Miscellaneous Chores
|
|
290
|
+
|
|
291
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
292
|
+
|
|
293
|
+
## [0.0.3-next.22](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.21...standards-ld-contexts-v0.0.3-next.22) (2026-01-29)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
### Miscellaneous Chores
|
|
297
|
+
|
|
298
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
299
|
+
|
|
300
|
+
## [0.0.3-next.21](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.20...standards-ld-contexts-v0.0.3-next.21) (2026-01-23)
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
### Miscellaneous Chores
|
|
304
|
+
|
|
305
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
306
|
+
|
|
307
|
+
## [0.0.3-next.20](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.19...standards-ld-contexts-v0.0.3-next.20) (2026-01-21)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
### Miscellaneous Chores
|
|
311
|
+
|
|
312
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
313
|
+
|
|
314
|
+
## [0.0.3-next.19](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.18...standards-ld-contexts-v0.0.3-next.19) (2026-01-21)
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
### Miscellaneous Chores
|
|
318
|
+
|
|
319
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
320
|
+
|
|
321
|
+
## [0.0.3-next.18](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.17...standards-ld-contexts-v0.0.3-next.18) (2026-01-21)
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
### Miscellaneous Chores
|
|
325
|
+
|
|
326
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
327
|
+
|
|
328
|
+
## [0.0.3-next.17](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.16...standards-ld-contexts-v0.0.3-next.17) (2026-01-21)
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### Miscellaneous Chores
|
|
332
|
+
|
|
333
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
334
|
+
|
|
335
|
+
## [0.0.3-next.16](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.15...standards-ld-contexts-v0.0.3-next.16) (2026-01-19)
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
### Miscellaneous Chores
|
|
339
|
+
|
|
340
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
341
|
+
|
|
342
|
+
## [0.0.3-next.15](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.14...standards-ld-contexts-v0.0.3-next.15) (2026-01-16)
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
### Miscellaneous Chores
|
|
346
|
+
|
|
347
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
348
|
+
|
|
349
|
+
## [0.0.3-next.14](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.13...standards-ld-contexts-v0.0.3-next.14) (2026-01-15)
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
### Miscellaneous Chores
|
|
353
|
+
|
|
354
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
355
|
+
|
|
356
|
+
## [0.0.3-next.13](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.12...standards-ld-contexts-v0.0.3-next.13) (2026-01-14)
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
### Miscellaneous Chores
|
|
360
|
+
|
|
361
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
362
|
+
|
|
363
|
+
## [0.0.3-next.12](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.11...standards-ld-contexts-v0.0.3-next.12) (2026-01-14)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
### Miscellaneous Chores
|
|
367
|
+
|
|
368
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
369
|
+
|
|
370
|
+
## [0.0.3-next.11](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.10...standards-ld-contexts-v0.0.3-next.11) (2026-01-14)
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
### Features
|
|
374
|
+
|
|
375
|
+
* update epcis models to match spec ([#92](https://github.com/twinfoundation/standards/issues/92)) ([1e56f70](https://github.com/twinfoundation/standards/commit/1e56f70415a8612113a36ad65a6cc5abdd85e091))
|
|
376
|
+
|
|
377
|
+
## [0.0.3-next.10](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.9...standards-ld-contexts-v0.0.3-next.10) (2026-01-13)
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
### Miscellaneous Chores
|
|
381
|
+
|
|
382
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
383
|
+
|
|
384
|
+
## [0.0.3-next.9](https://github.com/twinfoundation/standards/compare/standards-ld-contexts-v0.0.3-next.8...standards-ld-contexts-v0.0.3-next.9) (2026-01-09)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
### Miscellaneous Chores
|
|
388
|
+
|
|
389
|
+
* **standards-ld-contexts:** Synchronize repo versions
|
|
390
|
+
|
|
391
|
+
## [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)
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
### Features
|
|
395
|
+
|
|
396
|
+
* add ds protocol catalog dataset ([#86](https://github.com/twinfoundation/standards/issues/86)) ([45600e6](https://github.com/twinfoundation/standards/commit/45600e6cba212d85e250cb12cbdcb712d8db0e52))
|
|
397
|
+
|
|
398
|
+
## [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)
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
### Bug Fixes
|
|
402
|
+
|
|
403
|
+
* refine local LD Contexts ([#84](https://github.com/twinfoundation/standards/issues/84)) ([785e359](https://github.com/twinfoundation/standards/commit/785e359ad6895fcb97197ca707915651fe3ae79c))
|
|
2
404
|
|
|
3
405
|
## [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
406
|
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,19 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Standards LD Contexts Examples
|
|
2
|
+
|
|
3
|
+
These snippets show how to inspect bundled contexts and add them to the JSON-LD document cache.
|
|
4
|
+
|
|
5
|
+
## Context Cache Helpers
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import {
|
|
9
|
+
LD_CONTEXTS,
|
|
10
|
+
addAllContextsToDocumentCache,
|
|
11
|
+
addContextToDocumentCache
|
|
12
|
+
} from '@twin.org/standards-ld-contexts';
|
|
13
|
+
|
|
14
|
+
const contextCount = Object.keys(LD_CONTEXTS).length;
|
|
15
|
+
await addAllContextsToDocumentCache();
|
|
16
|
+
await addContextToDocumentCache('https://www.w3.org/ns/credentials/v2');
|
|
17
|
+
|
|
18
|
+
console.log(contextCount > 0); // true
|
|
19
|
+
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-ld-contexts",
|
|
3
|
-
"version": "0.0.3-next.
|
|
4
|
-
"description": "Local
|
|
3
|
+
"version": "0.0.3-next.60",
|
|
4
|
+
"description": "Local JSON-LD contexts for offline and controlled use.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/twinfoundation/standards.git",
|
|
File without changes
|
|
File without changes
|