@twin.org/standards-vda 0.0.3-next.50 → 0.0.3-next.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/docs/changelog.md +14 -0
- package/docs/examples.md +29 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# TWIN VDA
|
|
1
|
+
# TWIN Standards VDA
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
This package provides data models for [VDA JAIF semantics](https://www.vda.de/en/topics/digitalization/data-ecosystem-catena-x), helping automotive ecosystem participants align shared data definitions.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @twin.org/standards-vda - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.3-next.52](https://github.com/twinfoundation/standards/compare/standards-vda-v0.0.3-next.51...standards-vda-v0.0.3-next.52) (2026-03-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Miscellaneous Chores
|
|
7
|
+
|
|
8
|
+
* **standards-vda:** Synchronize repo versions
|
|
9
|
+
|
|
10
|
+
## [0.0.3-next.51](https://github.com/twinfoundation/standards/compare/standards-vda-v0.0.3-next.50...standards-vda-v0.0.3-next.51) (2026-03-10)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Chores
|
|
14
|
+
|
|
15
|
+
* **standards-vda:** Synchronize repo versions
|
|
16
|
+
|
|
3
17
|
## [0.0.3-next.50](https://github.com/twinfoundation/standards/compare/standards-vda-v0.0.3-next.49...standards-vda-v0.0.3-next.50) (2026-03-09)
|
|
4
18
|
|
|
5
19
|
|
package/docs/examples.md
CHANGED
|
@@ -1 +1,29 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Standards VDA Examples
|
|
2
|
+
|
|
3
|
+
These snippets validate JAIF identifiers, extract parsed segments, and register identifier handlers.
|
|
4
|
+
|
|
5
|
+
## VdaIdentifiersValidation
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import type { IValidationFailure } from '@twin.org/core';
|
|
9
|
+
import { VdaIdentifiersValidation } from '@twin.org/standards-vda';
|
|
10
|
+
|
|
11
|
+
const failures: IValidationFailure[] = [];
|
|
12
|
+
const urn = 'urn:jaif:id:obj:A1A020123456789AB12+SERIAL1';
|
|
13
|
+
|
|
14
|
+
const valid = VdaIdentifiersValidation.jaifId('asset.id', urn, failures);
|
|
15
|
+
const parsed = VdaIdentifiersValidation.extractIdentifier(urn);
|
|
16
|
+
|
|
17
|
+
console.log(valid); // true
|
|
18
|
+
console.log(parsed?.issuingAgencyCode); // 02
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## VdaIdentifiers
|
|
22
|
+
|
|
23
|
+
```typescript
|
|
24
|
+
import { VdaIdentifiers } from '@twin.org/standards-vda';
|
|
25
|
+
|
|
26
|
+
VdaIdentifiers.registerIdentifiers();
|
|
27
|
+
|
|
28
|
+
console.log(typeof VdaIdentifiers.registerIdentifiers === 'function'); // true
|
|
29
|
+
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/standards-vda",
|
|
3
|
-
"version": "0.0.3-next.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.0.3-next.52",
|
|
4
|
+
"description": "Data models for VDA JAIF semantics.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/twinfoundation/standards.git",
|