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

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,288 @@
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-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)
4
+
5
+
6
+ ### Features
7
+
8
+ * add context id features ([#25](https://github.com/iotaledger/twin-data/issues/25)) ([6592f2e](https://github.com/iotaledger/twin-data/commit/6592f2e4e59021cc42a079a4f46242758a54313d))
9
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
10
+ * add validate-locales ([cf9b761](https://github.com/iotaledger/twin-data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
11
+ * eslint migration to flat config ([b0db6e6](https://github.com/iotaledger/twin-data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
12
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
13
+ * improve data type registration ([#34](https://github.com/iotaledger/twin-data/issues/34)) ([855d110](https://github.com/iotaledger/twin-data/commit/855d11046a4d85317b77a5c4e0f4a7b1b6d1a767))
14
+ * typescript 6 update ([44cbfe8](https://github.com/iotaledger/twin-data/commit/44cbfe87256282b9928134b2bbed1d3c6ee15acb))
15
+ * update context naming ([#37](https://github.com/iotaledger/twin-data/issues/37)) ([9d99360](https://github.com/iotaledger/twin-data/commit/9d993605aa51f27a09722729057c6ee921617c2d))
16
+ * update dependencies ([b622475](https://github.com/iotaledger/twin-data/commit/b6224758e66ac3be563d68a670636356ce033434))
17
+ * update framework core ([c077b8c](https://github.com/iotaledger/twin-data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
18
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
19
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
20
+ * use updated Is.function ([46a4715](https://github.com/iotaledger/twin-data/commit/46a4715f995aea34f2011138662fe003c9727d07))
21
+
22
+
23
+ ### Dependencies
24
+
25
+ * The following workspace dependencies were updated
26
+ * dependencies
27
+ * @twin.org/data-core bumped from 0.9.0-next.0 to 0.9.0-next.1
28
+ * @twin.org/data-json-ld bumped from 0.9.0-next.0 to 0.9.0-next.1
29
+
30
+ ## [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)
31
+
32
+
33
+ ### Miscellaneous Chores
34
+
35
+ * **data-framework:** Synchronize repo versions
36
+
37
+
38
+ ### Dependencies
39
+
40
+ * The following workspace dependencies were updated
41
+ * dependencies
42
+ * @twin.org/data-core bumped from 0.0.3-next.25 to 0.0.3-next.26
43
+ * @twin.org/data-json-ld bumped from 0.0.3-next.25 to 0.0.3-next.26
44
+
45
+ ## [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)
46
+
47
+
48
+ ### Miscellaneous Chores
49
+
50
+ * **data-framework:** Synchronize repo versions
51
+
52
+
53
+ ### Dependencies
54
+
55
+ * The following workspace dependencies were updated
56
+ * dependencies
57
+ * @twin.org/data-core bumped from 0.0.3-next.24 to 0.0.3-next.25
58
+ * @twin.org/data-json-ld bumped from 0.0.3-next.24 to 0.0.3-next.25
59
+
60
+ ## [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)
61
+
62
+
63
+ ### Miscellaneous Chores
64
+
65
+ * **data-framework:** Synchronize repo versions
66
+
67
+
68
+ ### Dependencies
69
+
70
+ * The following workspace dependencies were updated
71
+ * dependencies
72
+ * @twin.org/data-core bumped from 0.0.3-next.23 to 0.0.3-next.24
73
+ * @twin.org/data-json-ld bumped from 0.0.3-next.23 to 0.0.3-next.24
74
+
75
+ ## [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)
76
+
77
+
78
+ ### Features
79
+
80
+ * update dependencies ([b622475](https://github.com/iotaledger/twin-data/commit/b6224758e66ac3be563d68a670636356ce033434))
81
+
82
+
83
+ ### Dependencies
84
+
85
+ * The following workspace dependencies were updated
86
+ * dependencies
87
+ * @twin.org/data-core bumped from 0.0.3-next.22 to 0.0.3-next.23
88
+ * @twin.org/data-json-ld bumped from 0.0.3-next.22 to 0.0.3-next.23
89
+
90
+ ## [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)
91
+
92
+
93
+ ### Miscellaneous Chores
94
+
95
+ * **data-framework:** Synchronize repo versions
96
+
97
+
98
+ ### Dependencies
99
+
100
+ * The following workspace dependencies were updated
101
+ * dependencies
102
+ * @twin.org/data-core bumped from 0.0.3-next.21 to 0.0.3-next.22
103
+ * @twin.org/data-json-ld bumped from 0.0.3-next.21 to 0.0.3-next.22
104
+
105
+ ## [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)
106
+
107
+
108
+ ### Features
109
+
110
+ * typescript 6 update ([44cbfe8](https://github.com/iotaledger/twin-data/commit/44cbfe87256282b9928134b2bbed1d3c6ee15acb))
111
+
112
+
113
+ ### Dependencies
114
+
115
+ * The following workspace dependencies were updated
116
+ * dependencies
117
+ * @twin.org/data-core bumped from 0.0.3-next.20 to 0.0.3-next.21
118
+ * @twin.org/data-json-ld bumped from 0.0.3-next.20 to 0.0.3-next.21
119
+
120
+ ## [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)
121
+
122
+
123
+ ### Miscellaneous Chores
124
+
125
+ * **data-framework:** Synchronize repo versions
126
+
127
+
128
+ ### Dependencies
129
+
130
+ * The following workspace dependencies were updated
131
+ * dependencies
132
+ * @twin.org/data-core bumped from 0.0.3-next.19 to 0.0.3-next.20
133
+ * @twin.org/data-json-ld bumped from 0.0.3-next.19 to 0.0.3-next.20
134
+
135
+ ## [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)
136
+
137
+
138
+ ### Miscellaneous Chores
139
+
140
+ * **data-framework:** Synchronize repo versions
141
+
142
+
143
+ ### Dependencies
144
+
145
+ * The following workspace dependencies were updated
146
+ * dependencies
147
+ * @twin.org/data-core bumped from 0.0.3-next.18 to 0.0.3-next.19
148
+ * @twin.org/data-json-ld bumped from 0.0.3-next.18 to 0.0.3-next.19
149
+
150
+ ## [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)
151
+
152
+
153
+ ### Miscellaneous Chores
154
+
155
+ * **data-framework:** Synchronize repo versions
156
+
157
+
158
+ ### Dependencies
159
+
160
+ * The following workspace dependencies were updated
161
+ * dependencies
162
+ * @twin.org/data-core bumped from 0.0.3-next.17 to 0.0.3-next.18
163
+ * @twin.org/data-json-ld bumped from 0.0.3-next.17 to 0.0.3-next.18
164
+
165
+ ## [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)
166
+
167
+
168
+ ### Miscellaneous Chores
169
+
170
+ * **data-framework:** Synchronize repo versions
171
+
172
+
173
+ ### Dependencies
174
+
175
+ * The following workspace dependencies were updated
176
+ * dependencies
177
+ * @twin.org/data-core bumped from 0.0.3-next.16 to 0.0.3-next.17
178
+ * @twin.org/data-json-ld bumped from 0.0.3-next.16 to 0.0.3-next.17
179
+
180
+ ## [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)
181
+
182
+
183
+ ### Miscellaneous Chores
184
+
185
+ * **data-framework:** Synchronize repo versions
186
+
187
+
188
+ ### Dependencies
189
+
190
+ * The following workspace dependencies were updated
191
+ * dependencies
192
+ * @twin.org/data-core bumped from 0.0.3-next.15 to 0.0.3-next.16
193
+ * @twin.org/data-json-ld bumped from 0.0.3-next.15 to 0.0.3-next.16
194
+
195
+ ## [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)
196
+
197
+
198
+ ### Miscellaneous Chores
199
+
200
+ * **data-framework:** Synchronize repo versions
201
+
202
+
203
+ ### Dependencies
204
+
205
+ * The following workspace dependencies were updated
206
+ * dependencies
207
+ * @twin.org/data-core bumped from 0.0.3-next.14 to 0.0.3-next.15
208
+ * @twin.org/data-json-ld bumped from 0.0.3-next.14 to 0.0.3-next.15
209
+
210
+ ## [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)
211
+
212
+
213
+ ### Miscellaneous Chores
214
+
215
+ * **data-framework:** Synchronize repo versions
216
+
217
+
218
+ ### Dependencies
219
+
220
+ * The following workspace dependencies were updated
221
+ * dependencies
222
+ * @twin.org/data-core bumped from 0.0.3-next.13 to 0.0.3-next.14
223
+ * @twin.org/data-json-ld bumped from 0.0.3-next.13 to 0.0.3-next.14
224
+
225
+ ## [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)
226
+
227
+
228
+ ### Miscellaneous Chores
229
+
230
+ * **data-framework:** Synchronize repo versions
231
+
232
+
233
+ ### Dependencies
234
+
235
+ * The following workspace dependencies were updated
236
+ * dependencies
237
+ * @twin.org/data-core bumped from 0.0.3-next.12 to 0.0.3-next.13
238
+ * @twin.org/data-json-ld bumped from 0.0.3-next.12 to 0.0.3-next.13
239
+
240
+ ## [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)
241
+
242
+
243
+ ### Miscellaneous Chores
244
+
245
+ * **data-framework:** Synchronize repo versions
246
+
247
+
248
+ ### Dependencies
249
+
250
+ * The following workspace dependencies were updated
251
+ * dependencies
252
+ * @twin.org/data-core bumped from 0.0.3-next.11 to 0.0.3-next.12
253
+ * @twin.org/data-json-ld bumped from 0.0.3-next.11 to 0.0.3-next.12
254
+
255
+ ## [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)
256
+
257
+
258
+ ### Miscellaneous Chores
259
+
260
+ * **data-framework:** Synchronize repo versions
261
+
262
+
263
+ ### Dependencies
264
+
265
+ * The following workspace dependencies were updated
266
+ * dependencies
267
+ * @twin.org/data-core bumped from 0.0.3-next.10 to 0.0.3-next.11
268
+ * @twin.org/data-json-ld bumped from 0.0.3-next.10 to 0.0.3-next.11
269
+
270
+ ## [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)
271
+
272
+
273
+ ### Miscellaneous Chores
274
+
275
+ * **data-framework:** Synchronize repo versions
276
+
277
+
278
+ ### Dependencies
279
+
280
+ * The following workspace dependencies were updated
281
+ * dependencies
282
+ * @twin.org/data-core bumped from 0.0.3-next.9 to 0.0.3-next.10
283
+ * @twin.org/data-json-ld bumped from 0.0.3-next.9 to 0.0.3-next.10
284
+
285
+ ## [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
286
 
5
287
 
6
288
  ### Miscellaneous Chores
@@ -15,7 +297,7 @@
15
297
  * @twin.org/data-core bumped from 0.0.3-next.8 to 0.0.3-next.9
16
298
  * @twin.org/data-json-ld bumped from 0.0.3-next.8 to 0.0.3-next.9
17
299
 
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)
300
+ ## [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
301
 
20
302
 
21
303
  ### Miscellaneous Chores
@@ -30,12 +312,12 @@
30
312
  * @twin.org/data-core bumped from 0.0.3-next.7 to 0.0.3-next.8
31
313
  * @twin.org/data-json-ld bumped from 0.0.3-next.7 to 0.0.3-next.8
32
314
 
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)
315
+ ## [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
316
 
35
317
 
36
318
  ### Features
37
319
 
38
- * update context naming ([#37](https://github.com/twinfoundation/data/issues/37)) ([9d99360](https://github.com/twinfoundation/data/commit/9d993605aa51f27a09722729057c6ee921617c2d))
320
+ * update context naming ([#37](https://github.com/iotaledger/twin-data/issues/37)) ([9d99360](https://github.com/iotaledger/twin-data/commit/9d993605aa51f27a09722729057c6ee921617c2d))
39
321
 
40
322
 
41
323
  ### Dependencies
@@ -45,7 +327,7 @@
45
327
  * @twin.org/data-core bumped from 0.0.3-next.6 to 0.0.3-next.7
46
328
  * @twin.org/data-json-ld bumped from 0.0.3-next.6 to 0.0.3-next.7
47
329
 
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)
330
+ ## [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
331
 
50
332
 
51
333
  ### Miscellaneous Chores
@@ -60,12 +342,12 @@
60
342
  * @twin.org/data-core bumped from 0.0.3-next.5 to 0.0.3-next.6
61
343
  * @twin.org/data-json-ld bumped from 0.0.3-next.5 to 0.0.3-next.6
62
344
 
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)
345
+ ## [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
346
 
65
347
 
66
348
  ### Features
67
349
 
68
- * improve data type registration ([#34](https://github.com/twinfoundation/data/issues/34)) ([855d110](https://github.com/twinfoundation/data/commit/855d11046a4d85317b77a5c4e0f4a7b1b6d1a767))
350
+ * improve data type registration ([#34](https://github.com/iotaledger/twin-data/issues/34)) ([855d110](https://github.com/iotaledger/twin-data/commit/855d11046a4d85317b77a5c4e0f4a7b1b6d1a767))
69
351
 
70
352
 
71
353
  ### Dependencies
@@ -75,7 +357,7 @@
75
357
  * @twin.org/data-core bumped from 0.0.3-next.4 to 0.0.3-next.5
76
358
  * @twin.org/data-json-ld bumped from 0.0.3-next.4 to 0.0.3-next.5
77
359
 
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)
360
+ ## [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
361
 
80
362
 
81
363
  ### Miscellaneous Chores
@@ -90,7 +372,7 @@
90
372
  * @twin.org/data-core bumped from 0.0.3-next.3 to 0.0.3-next.4
91
373
  * @twin.org/data-json-ld bumped from 0.0.3-next.3 to 0.0.3-next.4
92
374
 
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)
375
+ ## [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
376
 
95
377
 
96
378
  ### Miscellaneous Chores
@@ -105,7 +387,7 @@
105
387
  * @twin.org/data-core bumped from 0.0.3-next.2 to 0.0.3-next.3
106
388
  * @twin.org/data-json-ld bumped from 0.0.3-next.2 to 0.0.3-next.3
107
389
 
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)
390
+ ## [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
391
 
110
392
 
111
393
  ### Miscellaneous Chores
@@ -120,20 +402,20 @@
120
402
  * @twin.org/data-core bumped from 0.0.3-next.1 to 0.0.3-next.2
121
403
  * @twin.org/data-json-ld bumped from 0.0.3-next.1 to 0.0.3-next.2
122
404
 
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)
405
+ ## [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
406
 
125
407
 
126
408
  ### Features
127
409
 
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))
410
+ * add context id features ([#25](https://github.com/iotaledger/twin-data/issues/25)) ([6592f2e](https://github.com/iotaledger/twin-data/commit/6592f2e4e59021cc42a079a4f46242758a54313d))
411
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
412
+ * add validate-locales ([cf9b761](https://github.com/iotaledger/twin-data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
413
+ * eslint migration to flat config ([b0db6e6](https://github.com/iotaledger/twin-data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
414
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
415
+ * update framework core ([c077b8c](https://github.com/iotaledger/twin-data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
416
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
417
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
418
+ * use updated Is.function ([46a4715](https://github.com/iotaledger/twin-data/commit/46a4715f995aea34f2011138662fe003c9727d07))
137
419
 
138
420
 
139
421
  ### Dependencies
@@ -143,12 +425,12 @@
143
425
  * @twin.org/data-core bumped from 0.0.3-next.0 to 0.0.3-next.1
144
426
  * @twin.org/data-json-ld bumped from 0.0.3-next.0 to 0.0.3-next.1
145
427
 
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)
428
+ ## [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
429
 
148
430
 
149
431
  ### Features
150
432
 
151
- * add validate-locales ([cf9b761](https://github.com/twinfoundation/data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
433
+ * add validate-locales ([cf9b761](https://github.com/iotaledger/twin-data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
152
434
 
153
435
 
154
436
  ### Dependencies
@@ -158,12 +440,12 @@
158
440
  * @twin.org/data-core bumped from 0.0.2-next.3 to 0.0.2-next.4
159
441
  * @twin.org/data-json-ld bumped from 0.0.2-next.3 to 0.0.2-next.4
160
442
 
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)
443
+ ## [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
444
 
163
445
 
164
446
  ### Features
165
447
 
166
- * use updated Is.function ([46a4715](https://github.com/twinfoundation/data/commit/46a4715f995aea34f2011138662fe003c9727d07))
448
+ * use updated Is.function ([46a4715](https://github.com/iotaledger/twin-data/commit/46a4715f995aea34f2011138662fe003c9727d07))
167
449
 
168
450
 
169
451
  ### Dependencies
@@ -173,12 +455,12 @@
173
455
  * @twin.org/data-core bumped from 0.0.2-next.2 to 0.0.2-next.3
174
456
  * @twin.org/data-json-ld bumped from 0.0.2-next.2 to 0.0.2-next.3
175
457
 
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)
458
+ ## [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
459
 
178
460
 
179
461
  ### Features
180
462
 
181
- * eslint migration to flat config ([b0db6e6](https://github.com/twinfoundation/data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
463
+ * eslint migration to flat config ([b0db6e6](https://github.com/iotaledger/twin-data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
182
464
 
183
465
 
184
466
  ### Dependencies
@@ -188,16 +470,16 @@
188
470
  * @twin.org/data-core bumped from 0.0.2-next.1 to 0.0.2-next.2
189
471
  * @twin.org/data-json-ld bumped from 0.0.2-next.1 to 0.0.2-next.2
190
472
 
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)
473
+ ## [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
474
 
193
475
 
194
476
  ### Features
195
477
 
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))
478
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
479
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
480
+ * update framework core ([c077b8c](https://github.com/iotaledger/twin-data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
481
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
482
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
201
483
 
202
484
 
203
485
  ### Dependencies
@@ -212,12 +494,12 @@
212
494
 
213
495
  ### Features
214
496
 
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))
497
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
498
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
499
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
500
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
219
501
 
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)
502
+ ## [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
503
 
222
504
 
223
505
  ### Miscellaneous Chores
@@ -232,12 +514,12 @@
232
514
  * @twin.org/data-core bumped from 0.0.1-next.36 to 0.0.1-next.37
233
515
  * @twin.org/data-json-ld bumped from 0.0.1-next.36 to 0.0.1-next.37
234
516
 
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)
517
+ ## [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
518
 
237
519
 
238
520
  ### Features
239
521
 
240
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
522
+ * expand Json LD Keyword ([70632d1](https://github.com/iotaledger/twin-data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
241
523
 
242
524
 
243
525
  ### Dependencies
@@ -247,7 +529,7 @@
247
529
  * @twin.org/data-core bumped from 0.0.1-next.35 to 0.0.1-next.36
248
530
  * @twin.org/data-json-ld bumped from 0.0.1-next.35 to 0.0.1-next.36
249
531
 
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)
532
+ ## [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
533
 
252
534
 
253
535
  ### Miscellaneous Chores
@@ -262,7 +544,7 @@
262
544
  * @twin.org/data-core bumped from 0.0.1-next.34 to 0.0.1-next.35
263
545
  * @twin.org/data-json-ld bumped from 0.0.1-next.34 to 0.0.1-next.35
264
546
 
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)
547
+ ## [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
548
 
267
549
 
268
550
  ### Miscellaneous Chores
@@ -277,7 +559,7 @@
277
559
  * @twin.org/data-core bumped from 0.0.1-next.33 to 0.0.1-next.34
278
560
  * @twin.org/data-json-ld bumped from 0.0.1-next.33 to 0.0.1-next.34
279
561
 
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)
562
+ ## [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
563
 
282
564
 
283
565
  ### Miscellaneous Chores
@@ -292,12 +574,12 @@
292
574
  * @twin.org/data-core bumped from 0.0.1-next.32 to 0.0.1-next.33
293
575
  * @twin.org/data-json-ld bumped from 0.0.1-next.32 to 0.0.1-next.33
294
576
 
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)
577
+ ## [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
578
 
297
579
 
298
580
  ### Features
299
581
 
300
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
582
+ * use fully qualified names for data type lookups ([b7b5c74](https://github.com/iotaledger/twin-data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
301
583
 
302
584
 
303
585
  ### Dependencies
@@ -307,7 +589,7 @@
307
589
  * @twin.org/data-core bumped from 0.0.1-next.31 to 0.0.1-next.32
308
590
  * @twin.org/data-json-ld bumped from 0.0.1-next.31 to 0.0.1-next.32
309
591
 
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)
592
+ ## [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
593
 
312
594
 
313
595
  ### Miscellaneous Chores
@@ -322,12 +604,12 @@
322
604
  * @twin.org/data-core bumped from 0.0.1-next.30 to 0.0.1-next.31
323
605
  * @twin.org/data-json-ld bumped from 0.0.1-next.30 to 0.0.1-next.31
324
606
 
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)
607
+ ## [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
608
 
327
609
 
328
610
  ### Features
329
611
 
330
- * use shared store mechanism ([#3](https://github.com/twinfoundation/data/issues/3)) ([33eb221](https://github.com/twinfoundation/data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
612
+ * use shared store mechanism ([#3](https://github.com/iotaledger/twin-data/issues/3)) ([33eb221](https://github.com/iotaledger/twin-data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
331
613
 
332
614
 
333
615
  ### Dependencies
@@ -337,12 +619,12 @@
337
619
  * @twin.org/data-core bumped from 0.0.1-next.29 to 0.0.1-next.30
338
620
  * @twin.org/data-json-ld bumped from 0.0.1-next.29 to 0.0.1-next.30
339
621
 
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)
622
+ ## [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
623
 
342
624
 
343
625
  ### Features
344
626
 
345
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
627
+ * add document cache access methods ([dbf1e36](https://github.com/iotaledger/twin-data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
346
628
 
347
629
 
348
630
  ### 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-next.1",
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-next.1",
18
+ "@twin.org/data-core": "0.9.0-next.1",
19
+ "@twin.org/data-json-ld": "0.9.0-next.1",
20
+ "@twin.org/entity": "0.9.0-next.1",
21
+ "@twin.org/nameof": "0.9.0-next.1"
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
  }