@twin.org/standards-unece 0.0.3-next.15 → 0.0.3-next.17

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.
@@ -1 +1 @@
1
- {"version":3,"file":"uneceContextType.js","sourceRoot":"","sources":["../../../src/models/uneceContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { UneceContexts } from \"./uneceContexts.js\";\n\n/**\n * The UNECE JSON-LD context type.\n */\nexport type UneceContextType =\n\t| typeof UneceContexts.Namespace\n\t| [typeof UneceContexts.Namespace, ...IJsonLdContextDefinitionElement[]];\n"]}
1
+ {"version":3,"file":"uneceContextType.js","sourceRoot":"","sources":["../../../src/models/uneceContextType.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { UneceContexts } from \"./uneceContexts.js\";\n\n/**\n * The UNECE JSON-LD context type.\n */\nexport type UneceContextType =\n\t| typeof UneceContexts.Context\n\t| [typeof UneceContexts.Context, ...IJsonLdContextDefinitionElement[]];\n"]}
@@ -6,9 +6,15 @@
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
7
  export const UneceContexts = {
8
8
  /**
9
- * Namespace.
9
+ * The canonical RDF namespace URI.
10
10
  */
11
11
  Namespace: "https://vocabulary.uncefact.org/",
12
+ /**
13
+ * The value to use in @context.
14
+ * Note: Context differs from Namespace (no trailing slash) as per UNECE standard specification.
15
+ * The UNECE JSON-LD context URL format does not include a trailing slash.
16
+ */
17
+ Context: "https://vocabulary.uncefact.org",
12
18
  /**
13
19
  * The JSON-LD Context URL.
14
20
  */
@@ -1 +1 @@
1
- {"version":3,"file":"uneceContexts.js","sourceRoot":"","sources":["../../../src/models/uneceContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;OAEG;IACH,SAAS,EAAE,kCAAkC;IAE7C;;OAEG;IACH,aAAa,EAAE,2DAA2D;CACjE,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types of UNECE contexts.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const UneceContexts = {\n\t/**\n\t * Namespace.\n\t */\n\tNamespace: \"https://vocabulary.uncefact.org/\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\"\n} as const;\n\n/**\n * The types of UNECE contexts.\n */\nexport type UneceContexts = (typeof UneceContexts)[keyof typeof UneceContexts];\n"]}
1
+ {"version":3,"file":"uneceContexts.js","sourceRoot":"","sources":["../../../src/models/uneceContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,aAAa,GAAG;IAC5B;;OAEG;IACH,SAAS,EAAE,kCAAkC;IAE7C;;;;OAIG;IACH,OAAO,EAAE,iCAAiC;IAE1C;;OAEG;IACH,aAAa,EAAE,2DAA2D;CACjE,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The types of UNECE contexts.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const UneceContexts = {\n\t/**\n\t * The canonical RDF namespace URI.\n\t */\n\tNamespace: \"https://vocabulary.uncefact.org/\",\n\n\t/**\n\t * The value to use in @context.\n\t * Note: Context differs from Namespace (no trailing slash) as per UNECE standard specification.\n\t * The UNECE JSON-LD context URL format does not include a trailing slash.\n\t */\n\tContext: \"https://vocabulary.uncefact.org\",\n\n\t/**\n\t * The JSON-LD Context URL.\n\t */\n\tJsonLdContext: \"https://vocabulary.uncefact.org/unece-context-D23B.jsonld\"\n} as const;\n\n/**\n * The types of UNECE contexts.\n */\nexport type UneceContexts = (typeof UneceContexts)[keyof typeof UneceContexts];\n"]}
@@ -3,4 +3,4 @@ import type { UneceContexts } from "./uneceContexts.js";
3
3
  /**
4
4
  * The UNECE JSON-LD context type.
5
5
  */
6
- export type UneceContextType = typeof UneceContexts.Namespace | [typeof UneceContexts.Namespace, ...IJsonLdContextDefinitionElement[]];
6
+ export type UneceContextType = typeof UneceContexts.Context | [typeof UneceContexts.Context, ...IJsonLdContextDefinitionElement[]];
@@ -3,9 +3,15 @@
3
3
  */
4
4
  export declare const UneceContexts: {
5
5
  /**
6
- * Namespace.
6
+ * The canonical RDF namespace URI.
7
7
  */
8
8
  readonly Namespace: "https://vocabulary.uncefact.org/";
9
+ /**
10
+ * The value to use in @context.
11
+ * Note: Context differs from Namespace (no trailing slash) as per UNECE standard specification.
12
+ * The UNECE JSON-LD context URL format does not include a trailing slash.
13
+ */
14
+ readonly Context: "https://vocabulary.uncefact.org";
9
15
  /**
10
16
  * The JSON-LD Context URL.
11
17
  */
package/docs/changelog.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twin.org/standards-unece - Changelog
2
2
 
3
+ ## [0.0.3-next.17](https://github.com/twinfoundation/standards/compare/standards-unece-v0.0.3-next.16...standards-unece-v0.0.3-next.17) (2026-01-21)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * updating the missing packages ([#114](https://github.com/twinfoundation/standards/issues/114)) ([90b03f8](https://github.com/twinfoundation/standards/commit/90b03f8bdcd81506284d74a445840386c2da2d35))
9
+
10
+ ## [0.0.3-next.16](https://github.com/twinfoundation/standards/compare/standards-unece-v0.0.3-next.15...standards-unece-v0.0.3-next.16) (2026-01-19)
11
+
12
+
13
+ ### Miscellaneous Chores
14
+
15
+ * **standards-unece:** Synchronize repo versions
16
+
3
17
  ## [0.0.3-next.15](https://github.com/twinfoundation/standards/compare/standards-unece-v0.0.3-next.14...standards-unece-v0.0.3-next.15) (2026-01-16)
4
18
 
5
19
 
@@ -1,5 +1,5 @@
1
1
  # Type Alias: UneceContextType
2
2
 
3
- > **UneceContextType** = *typeof* [`Namespace`](../variables/UneceContexts.md#namespace) \| \[*typeof* [`Namespace`](../variables/UneceContexts.md#namespace), `...IJsonLdContextDefinitionElement[]`\]
3
+ > **UneceContextType** = *typeof* [`Context`](../variables/UneceContexts.md#context) \| \[*typeof* [`Context`](../variables/UneceContexts.md#context), `...IJsonLdContextDefinitionElement[]`\]
4
4
 
5
5
  The UNECE JSON-LD context type.
@@ -10,7 +10,15 @@ The types of UNECE contexts.
10
10
 
11
11
  > `readonly` **Namespace**: `"https://vocabulary.uncefact.org/"` = `"https://vocabulary.uncefact.org/"`
12
12
 
13
- Namespace.
13
+ The canonical RDF namespace URI.
14
+
15
+ ### Context
16
+
17
+ > `readonly` **Context**: `"https://vocabulary.uncefact.org"` = `"https://vocabulary.uncefact.org"`
18
+
19
+ The value to use in @context.
20
+ Note: Context differs from Namespace (no trailing slash) as per UNECE standard specification.
21
+ The UNECE JSON-LD context URL format does not include a trailing slash.
14
22
 
15
23
  ### JsonLdContext
16
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/standards-unece",
3
- "version": "0.0.3-next.15",
3
+ "version": "0.0.3-next.17",
4
4
  "description": "Models which define the structure of UN/CEFACT Standard",
5
5
  "repository": {
6
6
  "type": "git",