@twin.org/data-framework 0.0.3-next.8 → 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,303 @@
1
- # @twin.org/data-framework - Changelog
1
+ # Changelog
2
2
 
3
- ## [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)
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)
286
+
287
+
288
+ ### Miscellaneous Chores
289
+
290
+ * **data-framework:** Synchronize repo versions
291
+
292
+
293
+ ### Dependencies
294
+
295
+ * The following workspace dependencies were updated
296
+ * dependencies
297
+ * @twin.org/data-core bumped from 0.0.3-next.8 to 0.0.3-next.9
298
+ * @twin.org/data-json-ld bumped from 0.0.3-next.8 to 0.0.3-next.9
299
+
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)
4
301
 
5
302
 
6
303
  ### Miscellaneous Chores
@@ -15,12 +312,12 @@
15
312
  * @twin.org/data-core bumped from 0.0.3-next.7 to 0.0.3-next.8
16
313
  * @twin.org/data-json-ld bumped from 0.0.3-next.7 to 0.0.3-next.8
17
314
 
18
- ## [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)
19
316
 
20
317
 
21
318
  ### Features
22
319
 
23
- * 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))
24
321
 
25
322
 
26
323
  ### Dependencies
@@ -30,7 +327,7 @@
30
327
  * @twin.org/data-core bumped from 0.0.3-next.6 to 0.0.3-next.7
31
328
  * @twin.org/data-json-ld bumped from 0.0.3-next.6 to 0.0.3-next.7
32
329
 
33
- ## [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)
34
331
 
35
332
 
36
333
  ### Miscellaneous Chores
@@ -45,12 +342,12 @@
45
342
  * @twin.org/data-core bumped from 0.0.3-next.5 to 0.0.3-next.6
46
343
  * @twin.org/data-json-ld bumped from 0.0.3-next.5 to 0.0.3-next.6
47
344
 
48
- ## [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)
49
346
 
50
347
 
51
348
  ### Features
52
349
 
53
- * 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))
54
351
 
55
352
 
56
353
  ### Dependencies
@@ -60,7 +357,7 @@
60
357
  * @twin.org/data-core bumped from 0.0.3-next.4 to 0.0.3-next.5
61
358
  * @twin.org/data-json-ld bumped from 0.0.3-next.4 to 0.0.3-next.5
62
359
 
63
- ## [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)
64
361
 
65
362
 
66
363
  ### Miscellaneous Chores
@@ -75,7 +372,7 @@
75
372
  * @twin.org/data-core bumped from 0.0.3-next.3 to 0.0.3-next.4
76
373
  * @twin.org/data-json-ld bumped from 0.0.3-next.3 to 0.0.3-next.4
77
374
 
78
- ## [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)
79
376
 
80
377
 
81
378
  ### Miscellaneous Chores
@@ -90,7 +387,7 @@
90
387
  * @twin.org/data-core bumped from 0.0.3-next.2 to 0.0.3-next.3
91
388
  * @twin.org/data-json-ld bumped from 0.0.3-next.2 to 0.0.3-next.3
92
389
 
93
- ## [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)
94
391
 
95
392
 
96
393
  ### Miscellaneous Chores
@@ -105,20 +402,20 @@
105
402
  * @twin.org/data-core bumped from 0.0.3-next.1 to 0.0.3-next.2
106
403
  * @twin.org/data-json-ld bumped from 0.0.3-next.1 to 0.0.3-next.2
107
404
 
108
- ## [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)
109
406
 
110
407
 
111
408
  ### Features
112
409
 
113
- * add context id features ([#25](https://github.com/twinfoundation/data/issues/25)) ([6592f2e](https://github.com/twinfoundation/data/commit/6592f2e4e59021cc42a079a4f46242758a54313d))
114
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
115
- * add validate-locales ([cf9b761](https://github.com/twinfoundation/data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
116
- * eslint migration to flat config ([b0db6e6](https://github.com/twinfoundation/data/commit/b0db6e69a90046fc60d29e4273fcdfee13c16088))
117
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
118
- * update framework core ([c077b8c](https://github.com/twinfoundation/data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
119
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
120
- * use shared store mechanism ([#3](https://github.com/twinfoundation/data/issues/3)) ([33eb221](https://github.com/twinfoundation/data/commit/33eb221ccec2b4a79549c06e9a04225009b93a46))
121
- * 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))
122
419
 
123
420
 
124
421
  ### Dependencies
@@ -128,12 +425,12 @@
128
425
  * @twin.org/data-core bumped from 0.0.3-next.0 to 0.0.3-next.1
129
426
  * @twin.org/data-json-ld bumped from 0.0.3-next.0 to 0.0.3-next.1
130
427
 
131
- ## [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)
132
429
 
133
430
 
134
431
  ### Features
135
432
 
136
- * add validate-locales ([cf9b761](https://github.com/twinfoundation/data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
433
+ * add validate-locales ([cf9b761](https://github.com/iotaledger/twin-data/commit/cf9b76160820fe0b13b4fe56ed241c1d5511b7c1))
137
434
 
138
435
 
139
436
  ### Dependencies
@@ -143,12 +440,12 @@
143
440
  * @twin.org/data-core bumped from 0.0.2-next.3 to 0.0.2-next.4
144
441
  * @twin.org/data-json-ld bumped from 0.0.2-next.3 to 0.0.2-next.4
145
442
 
146
- ## [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)
147
444
 
148
445
 
149
446
  ### Features
150
447
 
151
- * 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))
152
449
 
153
450
 
154
451
  ### Dependencies
@@ -158,12 +455,12 @@
158
455
  * @twin.org/data-core bumped from 0.0.2-next.2 to 0.0.2-next.3
159
456
  * @twin.org/data-json-ld bumped from 0.0.2-next.2 to 0.0.2-next.3
160
457
 
161
- ## [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)
162
459
 
163
460
 
164
461
  ### Features
165
462
 
166
- * 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))
167
464
 
168
465
 
169
466
  ### Dependencies
@@ -173,16 +470,16 @@
173
470
  * @twin.org/data-core bumped from 0.0.2-next.1 to 0.0.2-next.2
174
471
  * @twin.org/data-json-ld bumped from 0.0.2-next.1 to 0.0.2-next.2
175
472
 
176
- ## [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)
177
474
 
178
475
 
179
476
  ### Features
180
477
 
181
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
182
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
183
- * update framework core ([c077b8c](https://github.com/twinfoundation/data/commit/c077b8c07e7ee66b5482254eab6f2a52cd911270))
184
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
185
- * 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))
186
483
 
187
484
 
188
485
  ### Dependencies
@@ -197,12 +494,12 @@
197
494
 
198
495
  ### Features
199
496
 
200
- * add document cache access methods ([dbf1e36](https://github.com/twinfoundation/data/commit/dbf1e36d176c5f428f8c52628fb5a1ff7a6a174a))
201
- * expand Json LD Keyword ([70632d1](https://github.com/twinfoundation/data/commit/70632d1e11ad85cf3c57e118476b125a673f1681))
202
- * use fully qualified names for data type lookups ([b7b5c74](https://github.com/twinfoundation/data/commit/b7b5c746b0180a87baa976f6a7a76cedd53d8ff7))
203
- * 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))
204
501
 
205
- ## [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)
206
503
 
207
504
 
208
505
  ### Miscellaneous Chores
@@ -217,12 +514,12 @@
217
514
  * @twin.org/data-core bumped from 0.0.1-next.36 to 0.0.1-next.37
218
515
  * @twin.org/data-json-ld bumped from 0.0.1-next.36 to 0.0.1-next.37
219
516
 
220
- ## [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)
221
518
 
222
519
 
223
520
  ### Features
224
521
 
225
- * 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))
226
523
 
227
524
 
228
525
  ### Dependencies
@@ -232,7 +529,7 @@
232
529
  * @twin.org/data-core bumped from 0.0.1-next.35 to 0.0.1-next.36
233
530
  * @twin.org/data-json-ld bumped from 0.0.1-next.35 to 0.0.1-next.36
234
531
 
235
- ## [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)
236
533
 
237
534
 
238
535
  ### Miscellaneous Chores
@@ -247,7 +544,7 @@
247
544
  * @twin.org/data-core bumped from 0.0.1-next.34 to 0.0.1-next.35
248
545
  * @twin.org/data-json-ld bumped from 0.0.1-next.34 to 0.0.1-next.35
249
546
 
250
- ## [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)
251
548
 
252
549
 
253
550
  ### Miscellaneous Chores
@@ -262,7 +559,7 @@
262
559
  * @twin.org/data-core bumped from 0.0.1-next.33 to 0.0.1-next.34
263
560
  * @twin.org/data-json-ld bumped from 0.0.1-next.33 to 0.0.1-next.34
264
561
 
265
- ## [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)
266
563
 
267
564
 
268
565
  ### Miscellaneous Chores
@@ -277,12 +574,12 @@
277
574
  * @twin.org/data-core bumped from 0.0.1-next.32 to 0.0.1-next.33
278
575
  * @twin.org/data-json-ld bumped from 0.0.1-next.32 to 0.0.1-next.33
279
576
 
280
- ## [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)
281
578
 
282
579
 
283
580
  ### Features
284
581
 
285
- * 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))
286
583
 
287
584
 
288
585
  ### Dependencies
@@ -292,7 +589,7 @@
292
589
  * @twin.org/data-core bumped from 0.0.1-next.31 to 0.0.1-next.32
293
590
  * @twin.org/data-json-ld bumped from 0.0.1-next.31 to 0.0.1-next.32
294
591
 
295
- ## [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)
296
593
 
297
594
 
298
595
  ### Miscellaneous Chores
@@ -307,12 +604,12 @@
307
604
  * @twin.org/data-core bumped from 0.0.1-next.30 to 0.0.1-next.31
308
605
  * @twin.org/data-json-ld bumped from 0.0.1-next.30 to 0.0.1-next.31
309
606
 
310
- ## [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)
311
608
 
312
609
 
313
610
  ### Features
314
611
 
315
- * 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))
316
613
 
317
614
 
318
615
  ### Dependencies
@@ -322,12 +619,12 @@
322
619
  * @twin.org/data-core bumped from 0.0.1-next.29 to 0.0.1-next.30
323
620
  * @twin.org/data-json-ld bumped from 0.0.1-next.29 to 0.0.1-next.30
324
621
 
325
- ## [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)
326
623
 
327
624
 
328
625
  ### Features
329
626
 
330
- * 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))
331
628
 
332
629
 
333
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.8",
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.8",
19
- "@twin.org/data-json-ld": "0.0.3-next.8",
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
  }