@twin.org/data-framework 0.0.3-next.9 → 0.9.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # TWIN Framework Data
2
2
 
3
- Models which define the structure of framework types.
3
+ This package provides framework data models that define common structures consumed by other packages in the repository. It centralises shared domain shapes so integrations can rely on clearer contracts and maintain semantic consistency as the ecosystem evolves.
4
4
 
5
5
  ## Installation
6
6
 
@@ -1 +1 @@
1
- {"version":3,"file":"frameworkDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/frameworkDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAoB,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,2BAA2B,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtG,OAAO,sBAAsB,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5F,OAAO,SAAS,MAAM,qBAAqB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAElE;;GAEG;AACH,MAAM,OAAO,kBAAkB;IAC9B;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,sBAAsB,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC,SAAS,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;YAC7F,SAAS,EAAE,iBAAiB,CAAC,SAAS;YACtC,aAAa,EAAE,iBAAiB,CAAC,aAAa;YAC9C,IAAI,EAAE,cAAc,CAAC,GAAG;YACxB,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,SAAwB;YAChD,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAC5D,GAAG,CAAC,QAAQ,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAC5C,CAAC,CAAC,CAAC;QAEJ,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,iBAAiB,CAAC,SAAS,GAAG,cAAc,CAAC,qBAAqB,EAAE,EACvE,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,iBAAiB,CAAC,SAAS;YACtC,aAAa,EAAE,iBAAiB,CAAC,aAAa;YAC9C,IAAI,EAAE,cAAc,CAAC,qBAAqB;YAC1C,YAAY,EAAE,IAAI,CAAC,GAAG,EAAE;YACxB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,2BAA0C;YAClE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAC5D,UAAU,CAAC,qBAAqB,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAChE,CAAC,CACF,CAAC;QAEF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,iBAAiB,CAAC,SAAS,GAAG,cAAc,CAAC,gBAAgB,EAAE,EAClE,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,iBAAiB,CAAC,SAAS;YACtC,aAAa,EAAE,iBAAiB,CAAC,aAAa;YAC9C,IAAI,EAAE,cAAc,CAAC,gBAAgB;YACrC,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;YAC3C,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,sBAAqC;YAC7D,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAC5D,UAAU,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAC3D,CAAC,CACF,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { Urn, Validation } from \"@twin.org/core\";\nimport { DataTypeHandlerFactory, type IJsonSchema } from \"@twin.org/data-core\";\nimport { FrameworkContexts } from \"../models/frameworkContexts.js\";\nimport { FrameworkTypes } from \"../models/frameworkTypes.js\";\nimport TimestampMillisecondsSchema from \"../schemas/TimestampMilliseconds.json\" with { type: \"json\" };\nimport TimestampSecondsSchema from \"../schemas/TimestampSeconds.json\" with { type: \"json\" };\nimport URNSchema from \"../schemas/URN.json\" with { type: \"json\" };\n\n/**\n * Handle all the framework data types.\n */\nexport class FrameworkDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tDataTypeHandlerFactory.register(`${FrameworkContexts.Namespace}${FrameworkTypes.Urn}`, () => ({\n\t\t\tnamespace: FrameworkContexts.Namespace,\n\t\t\tjsonLdContext: FrameworkContexts.JsonLdContext,\n\t\t\ttype: FrameworkTypes.Urn,\n\t\t\tdefaultValue: \"\",\n\t\t\tjsonSchema: async () => URNSchema as IJsonSchema,\n\t\t\tvalidate: async (propertyName, value, failures, container) =>\n\t\t\t\tUrn.validate(propertyName, value, failures)\n\t\t}));\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${FrameworkContexts.Namespace}${FrameworkTypes.TimestampMilliseconds}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: FrameworkContexts.Namespace,\n\t\t\t\tjsonLdContext: FrameworkContexts.JsonLdContext,\n\t\t\t\ttype: FrameworkTypes.TimestampMilliseconds,\n\t\t\t\tdefaultValue: Date.now(),\n\t\t\t\tjsonSchema: async () => TimestampMillisecondsSchema as IJsonSchema,\n\t\t\t\tvalidate: async (propertyName, value, failures, container) =>\n\t\t\t\t\tValidation.timestampMilliseconds(propertyName, value, failures)\n\t\t\t})\n\t\t);\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${FrameworkContexts.Namespace}${FrameworkTypes.TimestampSeconds}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: FrameworkContexts.Namespace,\n\t\t\t\tjsonLdContext: FrameworkContexts.JsonLdContext,\n\t\t\t\ttype: FrameworkTypes.TimestampSeconds,\n\t\t\t\tdefaultValue: Math.floor(Date.now() / 1000),\n\t\t\t\tjsonSchema: async () => TimestampSecondsSchema as IJsonSchema,\n\t\t\t\tvalidate: async (propertyName, value, failures, container) =>\n\t\t\t\t\tValidation.timestampSeconds(propertyName, value, failures)\n\t\t\t})\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"frameworkDataTypes.js","sourceRoot":"","sources":["../../../src/dataTypes/frameworkDataTypes.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,2BAA2B,MAAM,uCAAuC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACtG,OAAO,sBAAsB,MAAM,kCAAkC,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAC5F,OAAO,SAAS,MAAM,qBAAqB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AAElE;;GAEG;AACH,MAAM,OAAO,kBAAkB;IAC9B;;OAEG;IACI,MAAM,CAAC,aAAa;QAC1B,sBAAsB,CAAC,QAAQ,CAAC,GAAG,iBAAiB,CAAC,SAAS,GAAG,cAAc,CAAC,GAAG,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;YAC7F,SAAS,EAAE,iBAAiB,CAAC,SAAS;YACtC,aAAa,EAAE,iBAAiB,CAAC,aAAa;YAC9C,IAAI,EAAE,cAAc,CAAC,GAAG;YACxB,YAAY,EAAE,EAAE;YAChB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,SAAS;YACjC,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAC5D,GAAG,CAAC,QAAQ,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAC5C,CAAC,CAAC,CAAC;QAEJ,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,iBAAiB,CAAC,SAAS,GAAG,cAAc,CAAC,qBAAqB,EAAE,EACvE,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,iBAAiB,CAAC,SAAS;YACtC,aAAa,EAAE,iBAAiB,CAAC,aAAa;YAC9C,IAAI,EAAE,cAAc,CAAC,qBAAqB;YAC1C,YAAY,EAAE,IAAI,CAAC,GAAG,EAAE;YACxB,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,2BAA2B;YACnD,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAC5D,UAAU,CAAC,qBAAqB,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAChE,CAAC,CACF,CAAC;QAEF,sBAAsB,CAAC,QAAQ,CAC9B,GAAG,iBAAiB,CAAC,SAAS,GAAG,cAAc,CAAC,gBAAgB,EAAE,EAClE,GAAG,EAAE,CAAC,CAAC;YACN,SAAS,EAAE,iBAAiB,CAAC,SAAS;YACtC,aAAa,EAAE,iBAAiB,CAAC,aAAa;YAC9C,IAAI,EAAE,cAAc,CAAC,gBAAgB;YACrC,YAAY,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC;YAC3C,UAAU,EAAE,KAAK,IAAI,EAAE,CAAC,sBAAsB;YAC9C,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,CAC5D,UAAU,CAAC,gBAAgB,CAAC,YAAY,EAAE,KAAK,EAAE,QAAQ,CAAC;SAC3D,CAAC,CACF,CAAC;IACH,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport { Urn, Validation } from \"@twin.org/core\";\nimport { DataTypeHandlerFactory } from \"@twin.org/data-core\";\nimport { FrameworkContexts } from \"../models/frameworkContexts.js\";\nimport { FrameworkTypes } from \"../models/frameworkTypes.js\";\nimport TimestampMillisecondsSchema from \"../schemas/TimestampMilliseconds.json\" with { type: \"json\" };\nimport TimestampSecondsSchema from \"../schemas/TimestampSeconds.json\" with { type: \"json\" };\nimport URNSchema from \"../schemas/URN.json\" with { type: \"json\" };\n\n/**\n * Handle all the framework data types.\n */\nexport class FrameworkDataTypes {\n\t/**\n\t * Register all the data types.\n\t */\n\tpublic static registerTypes(): void {\n\t\tDataTypeHandlerFactory.register(`${FrameworkContexts.Namespace}${FrameworkTypes.Urn}`, () => ({\n\t\t\tnamespace: FrameworkContexts.Namespace,\n\t\t\tjsonLdContext: FrameworkContexts.JsonLdContext,\n\t\t\ttype: FrameworkTypes.Urn,\n\t\t\tdefaultValue: \"\",\n\t\t\tjsonSchema: async () => URNSchema,\n\t\t\tvalidate: async (propertyName, value, failures, container) =>\n\t\t\t\tUrn.validate(propertyName, value, failures)\n\t\t}));\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${FrameworkContexts.Namespace}${FrameworkTypes.TimestampMilliseconds}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: FrameworkContexts.Namespace,\n\t\t\t\tjsonLdContext: FrameworkContexts.JsonLdContext,\n\t\t\t\ttype: FrameworkTypes.TimestampMilliseconds,\n\t\t\t\tdefaultValue: Date.now(),\n\t\t\t\tjsonSchema: async () => TimestampMillisecondsSchema,\n\t\t\t\tvalidate: async (propertyName, value, failures, container) =>\n\t\t\t\t\tValidation.timestampMilliseconds(propertyName, value, failures)\n\t\t\t})\n\t\t);\n\n\t\tDataTypeHandlerFactory.register(\n\t\t\t`${FrameworkContexts.Namespace}${FrameworkTypes.TimestampSeconds}`,\n\t\t\t() => ({\n\t\t\t\tnamespace: FrameworkContexts.Namespace,\n\t\t\t\tjsonLdContext: FrameworkContexts.JsonLdContext,\n\t\t\t\ttype: FrameworkTypes.TimestampSeconds,\n\t\t\t\tdefaultValue: Math.floor(Date.now() / 1000),\n\t\t\t\tjsonSchema: async () => TimestampSecondsSchema,\n\t\t\t\tvalidate: async (propertyName, value, failures, container) =>\n\t\t\t\t\tValidation.timestampSeconds(propertyName, value, failures)\n\t\t\t})\n\t\t);\n\t}\n}\n"]}
package/docs/changelog.md CHANGED
@@ -1,6 +1,299 @@
1
- # @twin.org/data-framework - Changelog
1
+ # Changelog
2
2
 
3
- ## [0.0.3-next.9](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.8...data-framework-v0.0.3-next.9) (2026-02-23)
3
+ ## [0.9.0](https://github.com/iotaledger/twin-data/compare/data-framework-v0.9.0...data-framework-v0.9.0) (2026-06-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
9
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
10
+ * release to production ([#82](https://github.com/iotaledger/twin-data/issues/82)) ([edd0d67](https://github.com/iotaledger/twin-data/commit/edd0d67b9d85e0f234c7f55ef2548baaa3596b4c))
11
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
12
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
13
+
14
+ ## [0.9.0-next.1](https://github.com/iotaledger/twin-data/compare/data-framework-v0.9.0-next.0...data-framework-v0.9.0-next.1) (2026-06-22)
15
+
16
+
17
+ ### Features
18
+
19
+ * add context id features ([#25](https://github.com/iotaledger/twin-data/issues/25)) ([6592f2e](https://github.com/iotaledger/twin-data/commit/6592f2e4e59021cc42a079a4f46242758a54313d))
20
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
21
+ * add validate-locales ([cf9b761](https://github.com/iotaledger/twin-data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
22
+ * eslint migration to flat config ([b0db6e6](https://github.com/iotaledger/twin-data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
23
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
24
+ * improve data type registration ([#34](https://github.com/iotaledger/twin-data/issues/34)) ([855d110](https://github.com/iotaledger/twin-data/commit/855d11046a4d85317b77a5c4e0f4a7b1b6d1a767))
25
+ * typescript 6 update ([44cbfe8](https://github.com/iotaledger/twin-data/commit/44cbfe87256282b9928134b2bbed1d3c6ee15acb))
26
+ * update context naming ([#37](https://github.com/iotaledger/twin-data/issues/37)) ([9d99360](https://github.com/iotaledger/twin-data/commit/9d993605aa51f27a09722729057c6ee921617c2d))
27
+ * update dependencies ([b622475](https://github.com/iotaledger/twin-data/commit/b6224758e66ac3be563d68a670636356ce033434))
28
+ * update framework core ([c077b8c](https://github.com/iotaledger/twin-data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
29
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
30
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
31
+ * use updated Is.function ([46a4715](https://github.com/iotaledger/twin-data/commit/46a4715f995aea34f2011138662fe003c9727d07))
32
+
33
+
34
+ ### Dependencies
35
+
36
+ * The following workspace dependencies were updated
37
+ * dependencies
38
+ * @twin.org/data-core bumped from 0.9.0-next.0 to 0.9.0-next.1
39
+ * @twin.org/data-json-ld bumped from 0.9.0-next.0 to 0.9.0-next.1
40
+
41
+ ## [0.0.3-next.26](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.25...data-framework-v0.0.3-next.26) (2026-06-05)
42
+
43
+
44
+ ### Miscellaneous Chores
45
+
46
+ * **data-framework:** Synchronize repo versions
47
+
48
+
49
+ ### Dependencies
50
+
51
+ * The following workspace dependencies were updated
52
+ * dependencies
53
+ * @twin.org/data-core bumped from 0.0.3-next.25 to 0.0.3-next.26
54
+ * @twin.org/data-json-ld bumped from 0.0.3-next.25 to 0.0.3-next.26
55
+
56
+ ## [0.0.3-next.25](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.24...data-framework-v0.0.3-next.25) (2026-06-01)
57
+
58
+
59
+ ### Miscellaneous Chores
60
+
61
+ * **data-framework:** Synchronize repo versions
62
+
63
+
64
+ ### Dependencies
65
+
66
+ * The following workspace dependencies were updated
67
+ * dependencies
68
+ * @twin.org/data-core bumped from 0.0.3-next.24 to 0.0.3-next.25
69
+ * @twin.org/data-json-ld bumped from 0.0.3-next.24 to 0.0.3-next.25
70
+
71
+ ## [0.0.3-next.24](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.23...data-framework-v0.0.3-next.24) (2026-05-22)
72
+
73
+
74
+ ### Miscellaneous Chores
75
+
76
+ * **data-framework:** Synchronize repo versions
77
+
78
+
79
+ ### Dependencies
80
+
81
+ * The following workspace dependencies were updated
82
+ * dependencies
83
+ * @twin.org/data-core bumped from 0.0.3-next.23 to 0.0.3-next.24
84
+ * @twin.org/data-json-ld bumped from 0.0.3-next.23 to 0.0.3-next.24
85
+
86
+ ## [0.0.3-next.23](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.22...data-framework-v0.0.3-next.23) (2026-05-19)
87
+
88
+
89
+ ### Features
90
+
91
+ * update dependencies ([b622475](https://github.com/iotaledger/twin-data/commit/b6224758e66ac3be563d68a670636356ce033434))
92
+
93
+
94
+ ### Dependencies
95
+
96
+ * The following workspace dependencies were updated
97
+ * dependencies
98
+ * @twin.org/data-core bumped from 0.0.3-next.22 to 0.0.3-next.23
99
+ * @twin.org/data-json-ld bumped from 0.0.3-next.22 to 0.0.3-next.23
100
+
101
+ ## [0.0.3-next.22](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.21...data-framework-v0.0.3-next.22) (2026-05-13)
102
+
103
+
104
+ ### Miscellaneous Chores
105
+
106
+ * **data-framework:** Synchronize repo versions
107
+
108
+
109
+ ### Dependencies
110
+
111
+ * The following workspace dependencies were updated
112
+ * dependencies
113
+ * @twin.org/data-core bumped from 0.0.3-next.21 to 0.0.3-next.22
114
+ * @twin.org/data-json-ld bumped from 0.0.3-next.21 to 0.0.3-next.22
115
+
116
+ ## [0.0.3-next.21](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.20...data-framework-v0.0.3-next.21) (2026-05-11)
117
+
118
+
119
+ ### Features
120
+
121
+ * typescript 6 update ([44cbfe8](https://github.com/iotaledger/twin-data/commit/44cbfe87256282b9928134b2bbed1d3c6ee15acb))
122
+
123
+
124
+ ### Dependencies
125
+
126
+ * The following workspace dependencies were updated
127
+ * dependencies
128
+ * @twin.org/data-core bumped from 0.0.3-next.20 to 0.0.3-next.21
129
+ * @twin.org/data-json-ld bumped from 0.0.3-next.20 to 0.0.3-next.21
130
+
131
+ ## [0.0.3-next.20](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.19...data-framework-v0.0.3-next.20) (2026-03-24)
132
+
133
+
134
+ ### Miscellaneous Chores
135
+
136
+ * **data-framework:** Synchronize repo versions
137
+
138
+
139
+ ### Dependencies
140
+
141
+ * The following workspace dependencies were updated
142
+ * dependencies
143
+ * @twin.org/data-core bumped from 0.0.3-next.19 to 0.0.3-next.20
144
+ * @twin.org/data-json-ld bumped from 0.0.3-next.19 to 0.0.3-next.20
145
+
146
+ ## [0.0.3-next.19](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.18...data-framework-v0.0.3-next.19) (2026-03-20)
147
+
148
+
149
+ ### Miscellaneous Chores
150
+
151
+ * **data-framework:** Synchronize repo versions
152
+
153
+
154
+ ### Dependencies
155
+
156
+ * The following workspace dependencies were updated
157
+ * dependencies
158
+ * @twin.org/data-core bumped from 0.0.3-next.18 to 0.0.3-next.19
159
+ * @twin.org/data-json-ld bumped from 0.0.3-next.18 to 0.0.3-next.19
160
+
161
+ ## [0.0.3-next.18](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.17...data-framework-v0.0.3-next.18) (2026-03-16)
162
+
163
+
164
+ ### Miscellaneous Chores
165
+
166
+ * **data-framework:** Synchronize repo versions
167
+
168
+
169
+ ### Dependencies
170
+
171
+ * The following workspace dependencies were updated
172
+ * dependencies
173
+ * @twin.org/data-core bumped from 0.0.3-next.17 to 0.0.3-next.18
174
+ * @twin.org/data-json-ld bumped from 0.0.3-next.17 to 0.0.3-next.18
175
+
176
+ ## [0.0.3-next.17](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.16...data-framework-v0.0.3-next.17) (2026-03-12)
177
+
178
+
179
+ ### Miscellaneous Chores
180
+
181
+ * **data-framework:** Synchronize repo versions
182
+
183
+
184
+ ### Dependencies
185
+
186
+ * The following workspace dependencies were updated
187
+ * dependencies
188
+ * @twin.org/data-core bumped from 0.0.3-next.16 to 0.0.3-next.17
189
+ * @twin.org/data-json-ld bumped from 0.0.3-next.16 to 0.0.3-next.17
190
+
191
+ ## [0.0.3-next.16](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.15...data-framework-v0.0.3-next.16) (2026-03-06)
192
+
193
+
194
+ ### Miscellaneous Chores
195
+
196
+ * **data-framework:** Synchronize repo versions
197
+
198
+
199
+ ### Dependencies
200
+
201
+ * The following workspace dependencies were updated
202
+ * dependencies
203
+ * @twin.org/data-core bumped from 0.0.3-next.15 to 0.0.3-next.16
204
+ * @twin.org/data-json-ld bumped from 0.0.3-next.15 to 0.0.3-next.16
205
+
206
+ ## [0.0.3-next.15](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.14...data-framework-v0.0.3-next.15) (2026-02-27)
207
+
208
+
209
+ ### Miscellaneous Chores
210
+
211
+ * **data-framework:** Synchronize repo versions
212
+
213
+
214
+ ### Dependencies
215
+
216
+ * The following workspace dependencies were updated
217
+ * dependencies
218
+ * @twin.org/data-core bumped from 0.0.3-next.14 to 0.0.3-next.15
219
+ * @twin.org/data-json-ld bumped from 0.0.3-next.14 to 0.0.3-next.15
220
+
221
+ ## [0.0.3-next.14](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.13...data-framework-v0.0.3-next.14) (2026-02-25)
222
+
223
+
224
+ ### Miscellaneous Chores
225
+
226
+ * **data-framework:** Synchronize repo versions
227
+
228
+
229
+ ### Dependencies
230
+
231
+ * The following workspace dependencies were updated
232
+ * dependencies
233
+ * @twin.org/data-core bumped from 0.0.3-next.13 to 0.0.3-next.14
234
+ * @twin.org/data-json-ld bumped from 0.0.3-next.13 to 0.0.3-next.14
235
+
236
+ ## [0.0.3-next.13](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.12...data-framework-v0.0.3-next.13) (2026-02-25)
237
+
238
+
239
+ ### Miscellaneous Chores
240
+
241
+ * **data-framework:** Synchronize repo versions
242
+
243
+
244
+ ### Dependencies
245
+
246
+ * The following workspace dependencies were updated
247
+ * dependencies
248
+ * @twin.org/data-core bumped from 0.0.3-next.12 to 0.0.3-next.13
249
+ * @twin.org/data-json-ld bumped from 0.0.3-next.12 to 0.0.3-next.13
250
+
251
+ ## [0.0.3-next.12](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.11...data-framework-v0.0.3-next.12) (2026-02-25)
252
+
253
+
254
+ ### Miscellaneous Chores
255
+
256
+ * **data-framework:** Synchronize repo versions
257
+
258
+
259
+ ### Dependencies
260
+
261
+ * The following workspace dependencies were updated
262
+ * dependencies
263
+ * @twin.org/data-core bumped from 0.0.3-next.11 to 0.0.3-next.12
264
+ * @twin.org/data-json-ld bumped from 0.0.3-next.11 to 0.0.3-next.12
265
+
266
+ ## [0.0.3-next.11](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.10...data-framework-v0.0.3-next.11) (2026-02-25)
267
+
268
+
269
+ ### Miscellaneous Chores
270
+
271
+ * **data-framework:** Synchronize repo versions
272
+
273
+
274
+ ### Dependencies
275
+
276
+ * The following workspace dependencies were updated
277
+ * dependencies
278
+ * @twin.org/data-core bumped from 0.0.3-next.10 to 0.0.3-next.11
279
+ * @twin.org/data-json-ld bumped from 0.0.3-next.10 to 0.0.3-next.11
280
+
281
+ ## [0.0.3-next.10](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.9...data-framework-v0.0.3-next.10) (2026-02-24)
282
+
283
+
284
+ ### Miscellaneous Chores
285
+
286
+ * **data-framework:** Synchronize repo versions
287
+
288
+
289
+ ### Dependencies
290
+
291
+ * The following workspace dependencies were updated
292
+ * dependencies
293
+ * @twin.org/data-core bumped from 0.0.3-next.9 to 0.0.3-next.10
294
+ * @twin.org/data-json-ld bumped from 0.0.3-next.9 to 0.0.3-next.10
295
+
296
+ ## [0.0.3-next.9](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.8...data-framework-v0.0.3-next.9) (2026-02-23)
4
297
 
5
298
 
6
299
  ### Miscellaneous Chores
@@ -15,7 +308,7 @@
15
308
  * @twin.org/data-core bumped from 0.0.3-next.8 to 0.0.3-next.9
16
309
  * @twin.org/data-json-ld bumped from 0.0.3-next.8 to 0.0.3-next.9
17
310
 
18
- ## [0.0.3-next.8](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.7...data-framework-v0.0.3-next.8) (2026-02-02)
311
+ ## [0.0.3-next.8](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.7...data-framework-v0.0.3-next.8) (2026-02-02)
19
312
 
20
313
 
21
314
  ### Miscellaneous Chores
@@ -30,12 +323,12 @@
30
323
  * @twin.org/data-core bumped from 0.0.3-next.7 to 0.0.3-next.8
31
324
  * @twin.org/data-json-ld bumped from 0.0.3-next.7 to 0.0.3-next.8
32
325
 
33
- ## [0.0.3-next.7](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.6...data-framework-v0.0.3-next.7) (2026-01-21)
326
+ ## [0.0.3-next.7](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.6...data-framework-v0.0.3-next.7) (2026-01-21)
34
327
 
35
328
 
36
329
  ### Features
37
330
 
38
- * update context naming ([#37](https://github.com/twinfoundation/data/issues/37)) ([9d99360](https://github.com/twinfoundation/data/commit/9d993605aa51f27a09722729057c6ee921617c2d))
331
+ * update context naming ([#37](https://github.com/iotaledger/twin-data/issues/37)) ([9d99360](https://github.com/iotaledger/twin-data/commit/9d993605aa51f27a09722729057c6ee921617c2d))
39
332
 
40
333
 
41
334
  ### Dependencies
@@ -45,7 +338,7 @@
45
338
  * @twin.org/data-core bumped from 0.0.3-next.6 to 0.0.3-next.7
46
339
  * @twin.org/data-json-ld bumped from 0.0.3-next.6 to 0.0.3-next.7
47
340
 
48
- ## [0.0.3-next.6](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.5...data-framework-v0.0.3-next.6) (2026-01-14)
341
+ ## [0.0.3-next.6](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.5...data-framework-v0.0.3-next.6) (2026-01-14)
49
342
 
50
343
 
51
344
  ### Miscellaneous Chores
@@ -60,12 +353,12 @@
60
353
  * @twin.org/data-core bumped from 0.0.3-next.5 to 0.0.3-next.6
61
354
  * @twin.org/data-json-ld bumped from 0.0.3-next.5 to 0.0.3-next.6
62
355
 
63
- ## [0.0.3-next.5](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.4...data-framework-v0.0.3-next.5) (2026-01-14)
356
+ ## [0.0.3-next.5](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.4...data-framework-v0.0.3-next.5) (2026-01-14)
64
357
 
65
358
 
66
359
  ### Features
67
360
 
68
- * improve data type registration ([#34](https://github.com/twinfoundation/data/issues/34)) ([855d110](https://github.com/twinfoundation/data/commit/855d11046a4d85317b77a5c4e0f4a7b1b6d1a767))
361
+ * improve data type registration ([#34](https://github.com/iotaledger/twin-data/issues/34)) ([855d110](https://github.com/iotaledger/twin-data/commit/855d11046a4d85317b77a5c4e0f4a7b1b6d1a767))
69
362
 
70
363
 
71
364
  ### Dependencies
@@ -75,7 +368,7 @@
75
368
  * @twin.org/data-core bumped from 0.0.3-next.4 to 0.0.3-next.5
76
369
  * @twin.org/data-json-ld bumped from 0.0.3-next.4 to 0.0.3-next.5
77
370
 
78
- ## [0.0.3-next.4](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.3...data-framework-v0.0.3-next.4) (2026-01-06)
371
+ ## [0.0.3-next.4](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.3...data-framework-v0.0.3-next.4) (2026-01-06)
79
372
 
80
373
 
81
374
  ### Miscellaneous Chores
@@ -90,7 +383,7 @@
90
383
  * @twin.org/data-core bumped from 0.0.3-next.3 to 0.0.3-next.4
91
384
  * @twin.org/data-json-ld bumped from 0.0.3-next.3 to 0.0.3-next.4
92
385
 
93
- ## [0.0.3-next.3](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.2...data-framework-v0.0.3-next.3) (2026-01-05)
386
+ ## [0.0.3-next.3](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.2...data-framework-v0.0.3-next.3) (2026-01-05)
94
387
 
95
388
 
96
389
  ### Miscellaneous Chores
@@ -105,7 +398,7 @@
105
398
  * @twin.org/data-core bumped from 0.0.3-next.2 to 0.0.3-next.3
106
399
  * @twin.org/data-json-ld bumped from 0.0.3-next.2 to 0.0.3-next.3
107
400
 
108
- ## [0.0.3-next.2](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.1...data-framework-v0.0.3-next.2) (2025-11-24)
401
+ ## [0.0.3-next.2](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.1...data-framework-v0.0.3-next.2) (2025-11-24)
109
402
 
110
403
 
111
404
  ### Miscellaneous Chores
@@ -120,20 +413,20 @@
120
413
  * @twin.org/data-core bumped from 0.0.3-next.1 to 0.0.3-next.2
121
414
  * @twin.org/data-json-ld bumped from 0.0.3-next.1 to 0.0.3-next.2
122
415
 
123
- ## [0.0.3-next.1](https://github.com/twinfoundation/data/compare/data-framework-v0.0.3-next.0...data-framework-v0.0.3-next.1) (2025-11-10)
416
+ ## [0.0.3-next.1](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.3-next.0...data-framework-v0.0.3-next.1) (2025-11-10)
124
417
 
125
418
 
126
419
  ### Features
127
420
 
128
- * add context id features ([#25](https://github.com/twinfoundation/data/issues/25)) ([6592f2e](https://github.com/twinfoundation/data/commit/6592f2e4e59021cc42a079a4f46242758a54313d))
129
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
130
- * add validate-locales ([cf9b761](https://github.com/twinfoundation/data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
131
- * eslint migration to flat config ([b0db6e6](https://github.com/twinfoundation/data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
132
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
133
- * update framework core ([c077b8c](https://github.com/twinfoundation/data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
134
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
135
- * use shared store mechanism ([#3](https://github.com/twinfoundation/data/issues/3)) ([33eb221](https://github.com/twinfoundation/data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
136
- * use updated Is.function ([46a4715](https://github.com/twinfoundation/data/commit/46a4715f995aea34f2011138662fe003c9727d07))
421
+ * add context id features ([#25](https://github.com/iotaledger/twin-data/issues/25)) ([6592f2e](https://github.com/iotaledger/twin-data/commit/6592f2e4e59021cc42a079a4f46242758a54313d))
422
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
423
+ * add validate-locales ([cf9b761](https://github.com/iotaledger/twin-data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
424
+ * eslint migration to flat config ([b0db6e6](https://github.com/iotaledger/twin-data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
425
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
426
+ * update framework core ([c077b8c](https://github.com/iotaledger/twin-data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
427
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
428
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
429
+ * use updated Is.function ([46a4715](https://github.com/iotaledger/twin-data/commit/46a4715f995aea34f2011138662fe003c9727d07))
137
430
 
138
431
 
139
432
  ### Dependencies
@@ -143,12 +436,12 @@
143
436
  * @twin.org/data-core bumped from 0.0.3-next.0 to 0.0.3-next.1
144
437
  * @twin.org/data-json-ld bumped from 0.0.3-next.0 to 0.0.3-next.1
145
438
 
146
- ## [0.0.2-next.4](https://github.com/twinfoundation/data/compare/data-framework-v0.0.2-next.3...data-framework-v0.0.2-next.4) (2025-10-09)
439
+ ## [0.0.2-next.4](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.2-next.3...data-framework-v0.0.2-next.4) (2025-10-09)
147
440
 
148
441
 
149
442
  ### Features
150
443
 
151
- * add validate-locales ([cf9b761](https://github.com/twinfoundation/data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
444
+ * add validate-locales ([cf9b761](https://github.com/iotaledger/twin-data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
152
445
 
153
446
 
154
447
  ### Dependencies
@@ -158,12 +451,12 @@
158
451
  * @twin.org/data-core bumped from 0.0.2-next.3 to 0.0.2-next.4
159
452
  * @twin.org/data-json-ld bumped from 0.0.2-next.3 to 0.0.2-next.4
160
453
 
161
- ## [0.0.2-next.3](https://github.com/twinfoundation/data/compare/data-framework-v0.0.2-next.2...data-framework-v0.0.2-next.3) (2025-09-29)
454
+ ## [0.0.2-next.3](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.2-next.2...data-framework-v0.0.2-next.3) (2025-09-29)
162
455
 
163
456
 
164
457
  ### Features
165
458
 
166
- * use updated Is.function ([46a4715](https://github.com/twinfoundation/data/commit/46a4715f995aea34f2011138662fe003c9727d07))
459
+ * use updated Is.function ([46a4715](https://github.com/iotaledger/twin-data/commit/46a4715f995aea34f2011138662fe003c9727d07))
167
460
 
168
461
 
169
462
  ### Dependencies
@@ -173,12 +466,12 @@
173
466
  * @twin.org/data-core bumped from 0.0.2-next.2 to 0.0.2-next.3
174
467
  * @twin.org/data-json-ld bumped from 0.0.2-next.2 to 0.0.2-next.3
175
468
 
176
- ## [0.0.2-next.2](https://github.com/twinfoundation/data/compare/data-framework-v0.0.2-next.1...data-framework-v0.0.2-next.2) (2025-08-29)
469
+ ## [0.0.2-next.2](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.2-next.1...data-framework-v0.0.2-next.2) (2025-08-29)
177
470
 
178
471
 
179
472
  ### Features
180
473
 
181
- * eslint migration to flat config ([b0db6e6](https://github.com/twinfoundation/data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
474
+ * eslint migration to flat config ([b0db6e6](https://github.com/iotaledger/twin-data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
182
475
 
183
476
 
184
477
  ### Dependencies
@@ -188,16 +481,16 @@
188
481
  * @twin.org/data-core bumped from 0.0.2-next.1 to 0.0.2-next.2
189
482
  * @twin.org/data-json-ld bumped from 0.0.2-next.1 to 0.0.2-next.2
190
483
 
191
- ## [0.0.2-next.1](https://github.com/twinfoundation/data/compare/data-framework-v0.0.2-next.0...data-framework-v0.0.2-next.1) (2025-08-19)
484
+ ## [0.0.2-next.1](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.2-next.0...data-framework-v0.0.2-next.1) (2025-08-19)
192
485
 
193
486
 
194
487
  ### Features
195
488
 
196
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
197
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
198
- * update framework core ([c077b8c](https://github.com/twinfoundation/data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
199
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
200
- * use shared store mechanism ([#3](https://github.com/twinfoundation/data/issues/3)) ([33eb221](https://github.com/twinfoundation/data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
489
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
490
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
491
+ * update framework core ([c077b8c](https://github.com/iotaledger/twin-data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
492
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
493
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
201
494
 
202
495
 
203
496
  ### Dependencies
@@ -212,12 +505,12 @@
212
505
 
213
506
  ### Features
214
507
 
215
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
216
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
217
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
218
- * use shared store mechanism ([#3](https://github.com/twinfoundation/data/issues/3)) ([33eb221](https://github.com/twinfoundation/data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
508
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
509
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
510
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
511
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
219
512
 
220
- ## [0.0.1-next.37](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.36...data-framework-v0.0.1-next.37) (2025-06-11)
513
+ ## [0.0.1-next.37](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.36...data-framework-v0.0.1-next.37) (2025-06-11)
221
514
 
222
515
 
223
516
  ### Miscellaneous Chores
@@ -232,12 +525,12 @@
232
525
  * @twin.org/data-core bumped from 0.0.1-next.36 to 0.0.1-next.37
233
526
  * @twin.org/data-json-ld bumped from 0.0.1-next.36 to 0.0.1-next.37
234
527
 
235
- ## [0.0.1-next.36](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.35...data-framework-v0.0.1-next.36) (2025-06-10)
528
+ ## [0.0.1-next.36](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.35...data-framework-v0.0.1-next.36) (2025-06-10)
236
529
 
237
530
 
238
531
  ### Features
239
532
 
240
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
533
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
241
534
 
242
535
 
243
536
  ### Dependencies
@@ -247,7 +540,7 @@
247
540
  * @twin.org/data-core bumped from 0.0.1-next.35 to 0.0.1-next.36
248
541
  * @twin.org/data-json-ld bumped from 0.0.1-next.35 to 0.0.1-next.36
249
542
 
250
- ## [0.0.1-next.35](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.34...data-framework-v0.0.1-next.35) (2025-06-03)
543
+ ## [0.0.1-next.35](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.34...data-framework-v0.0.1-next.35) (2025-06-03)
251
544
 
252
545
 
253
546
  ### Miscellaneous Chores
@@ -262,7 +555,7 @@
262
555
  * @twin.org/data-core bumped from 0.0.1-next.34 to 0.0.1-next.35
263
556
  * @twin.org/data-json-ld bumped from 0.0.1-next.34 to 0.0.1-next.35
264
557
 
265
- ## [0.0.1-next.34](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.33...data-framework-v0.0.1-next.34) (2025-06-02)
558
+ ## [0.0.1-next.34](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.33...data-framework-v0.0.1-next.34) (2025-06-02)
266
559
 
267
560
 
268
561
  ### Miscellaneous Chores
@@ -277,7 +570,7 @@
277
570
  * @twin.org/data-core bumped from 0.0.1-next.33 to 0.0.1-next.34
278
571
  * @twin.org/data-json-ld bumped from 0.0.1-next.33 to 0.0.1-next.34
279
572
 
280
- ## [0.0.1-next.33](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.32...data-framework-v0.0.1-next.33) (2025-06-02)
573
+ ## [0.0.1-next.33](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.32...data-framework-v0.0.1-next.33) (2025-06-02)
281
574
 
282
575
 
283
576
  ### Miscellaneous Chores
@@ -292,12 +585,12 @@
292
585
  * @twin.org/data-core bumped from 0.0.1-next.32 to 0.0.1-next.33
293
586
  * @twin.org/data-json-ld bumped from 0.0.1-next.32 to 0.0.1-next.33
294
587
 
295
- ## [0.0.1-next.32](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.31...data-framework-v0.0.1-next.32) (2025-05-28)
588
+ ## [0.0.1-next.32](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.31...data-framework-v0.0.1-next.32) (2025-05-28)
296
589
 
297
590
 
298
591
  ### Features
299
592
 
300
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
593
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
301
594
 
302
595
 
303
596
  ### Dependencies
@@ -307,7 +600,7 @@
307
600
  * @twin.org/data-core bumped from 0.0.1-next.31 to 0.0.1-next.32
308
601
  * @twin.org/data-json-ld bumped from 0.0.1-next.31 to 0.0.1-next.32
309
602
 
310
- ## [0.0.1-next.31](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.30...data-framework-v0.0.1-next.31) (2025-05-08)
603
+ ## [0.0.1-next.31](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.30...data-framework-v0.0.1-next.31) (2025-05-08)
311
604
 
312
605
 
313
606
  ### Miscellaneous Chores
@@ -322,12 +615,12 @@
322
615
  * @twin.org/data-core bumped from 0.0.1-next.30 to 0.0.1-next.31
323
616
  * @twin.org/data-json-ld bumped from 0.0.1-next.30 to 0.0.1-next.31
324
617
 
325
- ## [0.0.1-next.30](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.29...data-framework-v0.0.1-next.30) (2025-04-17)
618
+ ## [0.0.1-next.30](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.29...data-framework-v0.0.1-next.30) (2025-04-17)
326
619
 
327
620
 
328
621
  ### Features
329
622
 
330
- * use shared store mechanism ([#3](https://github.com/twinfoundation/data/issues/3)) ([33eb221](https://github.com/twinfoundation/data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
623
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
331
624
 
332
625
 
333
626
  ### Dependencies
@@ -337,12 +630,12 @@
337
630
  * @twin.org/data-core bumped from 0.0.1-next.29 to 0.0.1-next.30
338
631
  * @twin.org/data-json-ld bumped from 0.0.1-next.29 to 0.0.1-next.30
339
632
 
340
- ## [0.0.1-next.29](https://github.com/twinfoundation/data/compare/data-framework-v0.0.1-next.28...data-framework-v0.0.1-next.29) (2025-03-28)
633
+ ## [0.0.1-next.29](https://github.com/iotaledger/twin-data/compare/data-framework-v0.0.1-next.28...data-framework-v0.0.1-next.29) (2025-03-28)
341
634
 
342
635
 
343
636
  ### Features
344
637
 
345
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
638
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
346
639
 
347
640
 
348
641
  ### Dependencies
package/docs/examples.md CHANGED
@@ -1 +1,30 @@
1
- # @twin.org/data-framework - Examples
1
+ # Data Framework Examples
2
+
3
+ These examples show how to register framework data types and validate values against the registered handlers.
4
+
5
+ ## FrameworkDataTypes
6
+
7
+ ```typescript
8
+ import { type IValidationFailure } from '@twin.org/core';
9
+ import { DataTypeHelper, ValidationMode } from '@twin.org/data-core';
10
+ import { FrameworkContexts, FrameworkDataTypes, FrameworkTypes } from '@twin.org/data-framework';
11
+
12
+ FrameworkDataTypes.registerTypes();
13
+
14
+ const failures: IValidationFailure[] = [];
15
+ const urnType = `${FrameworkContexts.Namespace}${FrameworkTypes.Urn}`;
16
+
17
+ const isValidUrn = await DataTypeHelper.validate(
18
+ 'resourceId',
19
+ urnType,
20
+ 'urn:example:12345',
21
+ failures,
22
+ {
23
+ validationMode: ValidationMode.Both,
24
+ failOnMissingType: true
25
+ }
26
+ );
27
+
28
+ console.log('URN validation result:', isValidUrn);
29
+ console.log('Failure count:', failures.length);
30
+ ```
@@ -14,7 +14,7 @@ Handle all the framework data types.
14
14
 
15
15
  ## Methods
16
16
 
17
- ### registerTypes()
17
+ ### registerTypes() {#registertypes}
18
18
 
19
19
  > `static` **registerTypes**(): `void`
20
20
 
@@ -6,19 +6,19 @@ The contexts of framework data.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### Namespace
9
+ ### Namespace {#namespace}
10
10
 
11
11
  > `readonly` **Namespace**: `"https://schema.twindev.org/framework/"` = `"https://schema.twindev.org/framework/"`
12
12
 
13
13
  The canonical RDF namespace URI for Framework.
14
14
 
15
- ### Context
15
+ ### Context {#context}
16
16
 
17
17
  > `readonly` **Context**: `"https://schema.twindev.org/framework/"` = `"https://schema.twindev.org/framework/"`
18
18
 
19
19
  The value to use in JSON-LD context for Framework.
20
20
 
21
- ### JsonLdContext
21
+ ### JsonLdContext {#jsonldcontext}
22
22
 
23
23
  > `readonly` **JsonLdContext**: `"https://schema.twindev.org/framework/types.jsonld"` = `"https://schema.twindev.org/framework/types.jsonld"`
24
24
 
@@ -6,19 +6,19 @@ The types of framework data.
6
6
 
7
7
  ## Type Declaration
8
8
 
9
- ### Urn
9
+ ### Urn {#urn}
10
10
 
11
11
  > `readonly` **Urn**: `"URN"` = `"URN"`
12
12
 
13
13
  Represents a urn.
14
14
 
15
- ### TimestampMilliseconds
15
+ ### TimestampMilliseconds {#timestampmilliseconds}
16
16
 
17
17
  > `readonly` **TimestampMilliseconds**: `"TimestampMilliseconds"` = `"TimestampMilliseconds"`
18
18
 
19
19
  Represents a timestamp as an integer, milliseconds since 1 Jan 1970.
20
20
 
21
- ### TimestampSeconds
21
+ ### TimestampSeconds {#timestampseconds}
22
22
 
23
23
  > `readonly` **TimestampSeconds**: `"TimestampSeconds"` = `"TimestampSeconds"`
24
24
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@twin.org/data-framework",
3
- "version": "0.0.3-next.9",
4
- "description": "Models which define the structure of framework types",
3
+ "version": "0.9.0",
4
+ "description": "Framework data models that define common structures used by other packages.",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git+https://github.com/twinfoundation/data.git",
7
+ "url": "git+https://github.com/iotaledger/twin-data.git",
8
8
  "directory": "packages/data-framework"
9
9
  },
10
10
  "author": "martyn.janes@iota.org",
@@ -14,11 +14,11 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/core": "next",
18
- "@twin.org/data-core": "0.0.3-next.9",
19
- "@twin.org/data-json-ld": "0.0.3-next.9",
20
- "@twin.org/entity": "next",
21
- "@twin.org/nameof": "next"
17
+ "@twin.org/core": "^0.9.0",
18
+ "@twin.org/data-core": "^0.9.0",
19
+ "@twin.org/data-json-ld": "^0.9.0",
20
+ "@twin.org/entity": "^0.9.0",
21
+ "@twin.org/nameof": "^0.9.0"
22
22
  },
23
23
  "main": "./dist/es/index.js",
24
24
  "types": "./dist/types/index.d.ts",
@@ -45,7 +45,7 @@
45
45
  "data"
46
46
  ],
47
47
  "bugs": {
48
- "url": "git+https://github.com/twinfoundation/data/issues"
48
+ "url": "git+https://github.com/iotaledger/twin-data/issues"
49
49
  },
50
50
  "homepage": "https://twindev.org"
51
51
  }