@twin.org/attestation-models 0.0.3-next.2 → 0.0.3-next.4

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":"IAttestationInformation.js","sourceRoot":"","sources":["../../../src/models/IAttestationInformation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { SchemaOrgContexts } from \"@twin.org/standards-schema-org\";\nimport type { AttestationContexts } from \"./attestationContexts.js\";\nimport type { AttestationTypes } from \"./attestationTypes.js\";\n\n/**\n * Interface describing the collated attestation information.\n */\nexport interface IAttestationInformation {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof AttestationContexts.Namespace,\n\t\ttypeof AttestationContexts.NamespaceCommon,\n\t\ttypeof SchemaOrgContexts.Namespace,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AttestationTypes.Information;\n\n\t/**\n\t * The unique identifier of the attestation.\n\t */\n\tid: string;\n\n\t/**\n\t * Created date/time of the attestation in ISO format.\n\t */\n\tdateCreated: string;\n\n\t/**\n\t * Transferred date/time of the attestation in ISO format, can be blank if holder identity is owner.\n\t */\n\tdateTransferred?: string;\n\n\t/**\n\t * The identity of the owner.\n\t */\n\townerIdentity: string;\n\n\t/**\n\t * The identity of the current holder, can be undefined if owner is still the holder.\n\t */\n\tholderIdentity?: string;\n\n\t/**\n\t * The data that was attested.\n\t */\n\tattestationObject: IJsonLdNodeObject;\n\n\t/**\n\t * The proof for the attested data.\n\t */\n\tproof?: IJsonLdNodeObject;\n\n\t/**\n\t * Whether the attestation has been verified.\n\t */\n\tverified?: boolean;\n\n\t/**\n\t * The verification failure message.\n\t */\n\tverificationFailure?: string;\n}\n"]}
1
+ {"version":3,"file":"IAttestationInformation.js","sourceRoot":"","sources":["../../../src/models/IAttestationInformation.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { AttestationContexts } from \"./attestationContexts.js\";\nimport type { AttestationTypes } from \"./attestationTypes.js\";\n\n/**\n * Interface describing the collated attestation information.\n */\nexport interface IAttestationInformation {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\": [\n\t\ttypeof AttestationContexts.Context,\n\t\ttypeof AttestationContexts.ContextCommon,\n\t\t...IJsonLdContextDefinitionElement[]\n\t];\n\n\t/**\n\t * JSON-LD Type.\n\t */\n\ttype: typeof AttestationTypes.Information;\n\n\t/**\n\t * The unique identifier of the attestation.\n\t */\n\tid: string;\n\n\t/**\n\t * Created date/time of the attestation in ISO format.\n\t * json-ld namespace:schema\n\t */\n\tdateCreated: string;\n\n\t/**\n\t * Transferred date/time of the attestation in ISO format, can be blank if holder identity is owner.\n\t * json-ld type:schema:Date\n\t */\n\tdateTransferred?: string;\n\n\t/**\n\t * The identity of the owner.\n\t * json-ld type:schema:identifier\n\t */\n\townerIdentity: string;\n\n\t/**\n\t * The identity of the current holder, can be undefined if owner is still the holder.\n\t * json-ld type:schema:identifier\n\t */\n\tholderIdentity?: string;\n\n\t/**\n\t * The data that was attested.\n\t * json-ld namespace:twin-common\n\t */\n\tattestationObject: IJsonLdNodeObject;\n\n\t/**\n\t * The proof for the attested data.\n\t * json-ld namespace:twin-attestation\n\t */\n\tproof?: IJsonLdNodeObject;\n\n\t/**\n\t * Whether the attestation has been verified.\n\t * json-ld namespace:twin-common\n\t */\n\tverified?: boolean;\n\n\t/**\n\t * The verification failure message.\n\t * json-ld type:schema:Text\n\t */\n\tverificationFailure?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IAttestationJwtProof.js","sourceRoot":"","sources":["../../../src/models/IAttestationJwtProof.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { AttestationContexts } from \"./attestationContexts.js\";\nimport type { AttestationTypes } from \"./attestationTypes.js\";\n\n/**\n * Interface describing an attestation proof.\n */\nexport interface IAttestationJwtProof {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\":\n\t\t| typeof AttestationContexts.Namespace\n\t\t| [typeof AttestationContexts.Namespace, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * The type of the proof.\n\t */\n\ttype: typeof AttestationTypes.JwtProof;\n\n\t/**\n\t * The value of the proof.\n\t */\n\tvalue: string;\n}\n"]}
1
+ {"version":3,"file":"IAttestationJwtProof.js","sourceRoot":"","sources":["../../../src/models/IAttestationJwtProof.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdContextDefinitionElement } from \"@twin.org/data-json-ld\";\nimport type { AttestationContexts } from \"./attestationContexts.js\";\nimport type { AttestationTypes } from \"./attestationTypes.js\";\n\n/**\n * Interface describing an attestation proof.\n */\nexport interface IAttestationJwtProof {\n\t/**\n\t * JSON-LD Context.\n\t */\n\t\"@context\":\n\t\t| typeof AttestationContexts.Context\n\t\t| [typeof AttestationContexts.Context, ...IJsonLdContextDefinitionElement[]];\n\n\t/**\n\t * The type of the proof.\n\t */\n\ttype: typeof AttestationTypes.JwtProof;\n\n\t/**\n\t * The value of the proof.\n\t * json-ld type:schema:Text\n\t */\n\tvalue: string;\n}\n"]}
@@ -6,12 +6,28 @@
6
6
  // eslint-disable-next-line @typescript-eslint/naming-convention
7
7
  export const AttestationContexts = {
8
8
  /**
9
- * The namespace for the attestation types.
9
+ * The canonical RDF namespace URI for Attestation.
10
10
  */
11
11
  Namespace: "https://schema.twindev.org/attestation/",
12
12
  /**
13
- * The namespace for the common types.
13
+ * The value to use in context for Attestation.
14
14
  */
15
- NamespaceCommon: "https://schema.twindev.org/common/"
15
+ Context: "https://schema.twindev.org/attestation/",
16
+ /**
17
+ * The JSON-LD Context URL for Attestation.
18
+ */
19
+ JsonLdContext: "https://schema.twindev.org/attestation/types.jsonld",
20
+ /**
21
+ * The canonical RDF namespace URI for TWIN Common.
22
+ */
23
+ NamespaceCommon: "https://schema.twindev.org/common/",
24
+ /**
25
+ * The value to use in JSON-LD context for TWIN Common.
26
+ */
27
+ ContextCommon: "https://schema.twindev.org/common/",
28
+ /**
29
+ * The JSON-LD Context URL for TWIN Common.
30
+ */
31
+ JsonLdContextCommon: "https://schema.twindev.org/common/types.jsonld"
16
32
  };
17
33
  //# sourceMappingURL=attestationContexts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"attestationContexts.js","sourceRoot":"","sources":["../../../src/models/attestationContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC;;OAEG;IACH,SAAS,EAAE,yCAAyC;IAEpD;;OAEG;IACH,eAAe,EAAE,oCAAoC;CAC5C,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts of attestation data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const AttestationContexts = {\n\t/**\n\t * The namespace for the attestation types.\n\t */\n\tNamespace: \"https://schema.twindev.org/attestation/\",\n\n\t/**\n\t * The namespace for the common types.\n\t */\n\tNamespaceCommon: \"https://schema.twindev.org/common/\"\n} as const;\n\n/**\n * The contexts of attestation data.\n */\nexport type AttestationContexts = (typeof AttestationContexts)[keyof typeof AttestationContexts];\n"]}
1
+ {"version":3,"file":"attestationContexts.js","sourceRoot":"","sources":["../../../src/models/attestationContexts.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AAEvC;;GAEG;AACH,gEAAgE;AAChE,MAAM,CAAC,MAAM,mBAAmB,GAAG;IAClC;;OAEG;IACH,SAAS,EAAE,yCAAyC;IAEpD;;OAEG;IACH,OAAO,EAAE,yCAAyC;IAElD;;OAEG;IACH,aAAa,EAAE,qDAAqD;IAEpE;;OAEG;IACH,eAAe,EAAE,oCAAoC;IAErD;;OAEG;IACH,aAAa,EAAE,oCAAoC;IAEnD;;OAEG;IACH,mBAAmB,EAAE,gDAAgD;CAC5D,CAAC","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * The contexts of attestation data.\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport const AttestationContexts = {\n\t/**\n\t * The canonical RDF namespace URI for Attestation.\n\t */\n\tNamespace: \"https://schema.twindev.org/attestation/\",\n\n\t/**\n\t * The value to use in context for Attestation.\n\t */\n\tContext: \"https://schema.twindev.org/attestation/\",\n\n\t/**\n\t * The JSON-LD Context URL for Attestation.\n\t */\n\tJsonLdContext: \"https://schema.twindev.org/attestation/types.jsonld\",\n\n\t/**\n\t * The canonical RDF namespace URI for TWIN Common.\n\t */\n\tNamespaceCommon: \"https://schema.twindev.org/common/\",\n\n\t/**\n\t * The value to use in JSON-LD context for TWIN Common.\n\t */\n\tContextCommon: \"https://schema.twindev.org/common/\",\n\n\t/**\n\t * The JSON-LD Context URL for TWIN Common.\n\t */\n\tJsonLdContextCommon: \"https://schema.twindev.org/common/types.jsonld\"\n} as const;\n\n/**\n * The contexts of attestation data.\n */\nexport type AttestationContexts = (typeof AttestationContexts)[keyof typeof AttestationContexts];\n"]}
@@ -6,7 +6,7 @@
6
6
  "properties": {
7
7
  "@context": {
8
8
  "type": "array",
9
- "minItems": 3,
9
+ "minItems": 2,
10
10
  "description": "JSON-LD Context.",
11
11
  "prefixItems": [
12
12
  {
@@ -16,10 +16,6 @@
16
16
  {
17
17
  "type": "string",
18
18
  "const": "https://schema.twindev.org/common/"
19
- },
20
- {
21
- "type": "string",
22
- "const": "https://schema.org"
23
19
  }
24
20
  ],
25
21
  "items": {
@@ -37,35 +33,35 @@
37
33
  },
38
34
  "dateCreated": {
39
35
  "type": "string",
40
- "description": "Created date/time of the attestation in ISO format."
36
+ "description": "Created date/time of the attestation in ISO format. json-ld namespace:schema"
41
37
  },
42
38
  "dateTransferred": {
43
39
  "type": "string",
44
- "description": "Transferred date/time of the attestation in ISO format, can be blank if holder identity is owner."
40
+ "description": "Transferred date/time of the attestation in ISO format, can be blank if holder identity is owner. json-ld type:schema:Date"
45
41
  },
46
42
  "ownerIdentity": {
47
43
  "type": "string",
48
- "description": "The identity of the owner."
44
+ "description": "The identity of the owner. json-ld type:schema:identifier"
49
45
  },
50
46
  "holderIdentity": {
51
47
  "type": "string",
52
- "description": "The identity of the current holder, can be undefined if owner is still the holder."
48
+ "description": "The identity of the current holder, can be undefined if owner is still the holder. json-ld type:schema:identifier"
53
49
  },
54
50
  "attestationObject": {
55
51
  "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
56
- "description": "The data that was attested."
52
+ "description": "The data that was attested. json-ld namespace:twin-common"
57
53
  },
58
54
  "proof": {
59
55
  "$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject",
60
- "description": "The proof for the attested data."
56
+ "description": "The proof for the attested data. json-ld namespace:twin-attestation"
61
57
  },
62
58
  "verified": {
63
59
  "type": "boolean",
64
- "description": "Whether the attestation has been verified."
60
+ "description": "Whether the attestation has been verified. json-ld namespace:twin-common"
65
61
  },
66
62
  "verificationFailure": {
67
63
  "type": "string",
68
- "description": "The verification failure message."
64
+ "description": "The verification failure message. json-ld type:schema:Text"
69
65
  }
70
66
  },
71
67
  "required": [
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "value": {
35
35
  "type": "string",
36
- "description": "The value of the proof."
36
+ "description": "The value of the proof. json-ld type:schema:Text"
37
37
  }
38
38
  },
39
39
  "required": [
@@ -1,5 +1,4 @@
1
1
  import type { IJsonLdContextDefinitionElement, IJsonLdNodeObject } from "@twin.org/data-json-ld";
2
- import type { SchemaOrgContexts } from "@twin.org/standards-schema-org";
3
2
  import type { AttestationContexts } from "./attestationContexts.js";
4
3
  import type { AttestationTypes } from "./attestationTypes.js";
5
4
  /**
@@ -10,9 +9,8 @@ export interface IAttestationInformation {
10
9
  * JSON-LD Context.
11
10
  */
12
11
  "@context": [
13
- typeof AttestationContexts.Namespace,
14
- typeof AttestationContexts.NamespaceCommon,
15
- typeof SchemaOrgContexts.Namespace,
12
+ typeof AttestationContexts.Context,
13
+ typeof AttestationContexts.ContextCommon,
16
14
  ...IJsonLdContextDefinitionElement[]
17
15
  ];
18
16
  /**
@@ -25,34 +23,42 @@ export interface IAttestationInformation {
25
23
  id: string;
26
24
  /**
27
25
  * Created date/time of the attestation in ISO format.
26
+ * json-ld namespace:schema
28
27
  */
29
28
  dateCreated: string;
30
29
  /**
31
30
  * Transferred date/time of the attestation in ISO format, can be blank if holder identity is owner.
31
+ * json-ld type:schema:Date
32
32
  */
33
33
  dateTransferred?: string;
34
34
  /**
35
35
  * The identity of the owner.
36
+ * json-ld type:schema:identifier
36
37
  */
37
38
  ownerIdentity: string;
38
39
  /**
39
40
  * The identity of the current holder, can be undefined if owner is still the holder.
41
+ * json-ld type:schema:identifier
40
42
  */
41
43
  holderIdentity?: string;
42
44
  /**
43
45
  * The data that was attested.
46
+ * json-ld namespace:twin-common
44
47
  */
45
48
  attestationObject: IJsonLdNodeObject;
46
49
  /**
47
50
  * The proof for the attested data.
51
+ * json-ld namespace:twin-attestation
48
52
  */
49
53
  proof?: IJsonLdNodeObject;
50
54
  /**
51
55
  * Whether the attestation has been verified.
56
+ * json-ld namespace:twin-common
52
57
  */
53
58
  verified?: boolean;
54
59
  /**
55
60
  * The verification failure message.
61
+ * json-ld type:schema:Text
56
62
  */
57
63
  verificationFailure?: string;
58
64
  }
@@ -8,13 +8,14 @@ export interface IAttestationJwtProof {
8
8
  /**
9
9
  * JSON-LD Context.
10
10
  */
11
- "@context": typeof AttestationContexts.Namespace | [typeof AttestationContexts.Namespace, ...IJsonLdContextDefinitionElement[]];
11
+ "@context": typeof AttestationContexts.Context | [typeof AttestationContexts.Context, ...IJsonLdContextDefinitionElement[]];
12
12
  /**
13
13
  * The type of the proof.
14
14
  */
15
15
  type: typeof AttestationTypes.JwtProof;
16
16
  /**
17
17
  * The value of the proof.
18
+ * json-ld type:schema:Text
18
19
  */
19
20
  value: string;
20
21
  }
@@ -3,13 +3,29 @@
3
3
  */
4
4
  export declare const AttestationContexts: {
5
5
  /**
6
- * The namespace for the attestation types.
6
+ * The canonical RDF namespace URI for Attestation.
7
7
  */
8
8
  readonly Namespace: "https://schema.twindev.org/attestation/";
9
9
  /**
10
- * The namespace for the common types.
10
+ * The value to use in context for Attestation.
11
+ */
12
+ readonly Context: "https://schema.twindev.org/attestation/";
13
+ /**
14
+ * The JSON-LD Context URL for Attestation.
15
+ */
16
+ readonly JsonLdContext: "https://schema.twindev.org/attestation/types.jsonld";
17
+ /**
18
+ * The canonical RDF namespace URI for TWIN Common.
11
19
  */
12
20
  readonly NamespaceCommon: "https://schema.twindev.org/common/";
21
+ /**
22
+ * The value to use in JSON-LD context for TWIN Common.
23
+ */
24
+ readonly ContextCommon: "https://schema.twindev.org/common/";
25
+ /**
26
+ * The JSON-LD Context URL for TWIN Common.
27
+ */
28
+ readonly JsonLdContextCommon: "https://schema.twindev.org/common/types.jsonld";
13
29
  };
14
30
  /**
15
31
  * The contexts of attestation data.
package/docs/changelog.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @twin.org/attestation-models - Changelog
2
2
 
3
+ ## [0.0.3-next.4](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.3-next.3...attestation-models-v0.0.3-next.4) (2026-02-11)
4
+
5
+
6
+ ### Features
7
+
8
+ * add ts-to-jsonld-context tool ([df7edd0](https://github.com/twinfoundation/attestation/commit/df7edd0d32cabc2b0f9f6dc7b216f569f739324d))
9
+ * remove unused schemas causing conflict ([#27](https://github.com/twinfoundation/attestation/issues/27)) ([9723bc3](https://github.com/twinfoundation/attestation/commit/9723bc3757f87ce8a943f5f091a92d258f867892))
10
+
11
+ ## [0.0.3-next.3](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.3-next.2...attestation-models-v0.0.3-next.3) (2026-01-21)
12
+
13
+
14
+ ### Features
15
+
16
+ * context updates ([#25](https://github.com/twinfoundation/attestation/issues/25)) ([1ea71b2](https://github.com/twinfoundation/attestation/commit/1ea71b28d874daef4d0bca594fb5dbf5f2a47571))
17
+
3
18
  ## [0.0.3-next.2](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.3-next.1...attestation-models-v0.0.3-next.2) (2026-01-14)
4
19
 
5
20
 
@@ -6,7 +6,7 @@ Interface describing the collated attestation information.
6
6
 
7
7
  ### @context
8
8
 
9
- > **@context**: \[`"https://schema.twindev.org/attestation/"`, `"https://schema.twindev.org/common/"`, `"https://schema.org"`, `...IJsonLdContextDefinitionElement[]`\]
9
+ > **@context**: \[`"https://schema.twindev.org/attestation/"`, `"https://schema.twindev.org/common/"`, `...IJsonLdContextDefinitionElement[]`\]
10
10
 
11
11
  JSON-LD Context.
12
12
 
@@ -33,6 +33,7 @@ The unique identifier of the attestation.
33
33
  > **dateCreated**: `string`
34
34
 
35
35
  Created date/time of the attestation in ISO format.
36
+ json-ld namespace:schema
36
37
 
37
38
  ***
38
39
 
@@ -41,6 +42,7 @@ Created date/time of the attestation in ISO format.
41
42
  > `optional` **dateTransferred**: `string`
42
43
 
43
44
  Transferred date/time of the attestation in ISO format, can be blank if holder identity is owner.
45
+ json-ld type:schema:Date
44
46
 
45
47
  ***
46
48
 
@@ -49,6 +51,7 @@ Transferred date/time of the attestation in ISO format, can be blank if holder i
49
51
  > **ownerIdentity**: `string`
50
52
 
51
53
  The identity of the owner.
54
+ json-ld type:schema:identifier
52
55
 
53
56
  ***
54
57
 
@@ -57,6 +60,7 @@ The identity of the owner.
57
60
  > `optional` **holderIdentity**: `string`
58
61
 
59
62
  The identity of the current holder, can be undefined if owner is still the holder.
63
+ json-ld type:schema:identifier
60
64
 
61
65
  ***
62
66
 
@@ -65,6 +69,7 @@ The identity of the current holder, can be undefined if owner is still the holde
65
69
  > **attestationObject**: `IJsonLdNodeObject`
66
70
 
67
71
  The data that was attested.
72
+ json-ld namespace:twin-common
68
73
 
69
74
  ***
70
75
 
@@ -73,6 +78,7 @@ The data that was attested.
73
78
  > `optional` **proof**: `IJsonLdNodeObject`
74
79
 
75
80
  The proof for the attested data.
81
+ json-ld namespace:twin-attestation
76
82
 
77
83
  ***
78
84
 
@@ -81,6 +87,7 @@ The proof for the attested data.
81
87
  > `optional` **verified**: `boolean`
82
88
 
83
89
  Whether the attestation has been verified.
90
+ json-ld namespace:twin-common
84
91
 
85
92
  ***
86
93
 
@@ -89,3 +96,4 @@ Whether the attestation has been verified.
89
96
  > `optional` **verificationFailure**: `string`
90
97
 
91
98
  The verification failure message.
99
+ json-ld type:schema:Text
@@ -25,3 +25,4 @@ The type of the proof.
25
25
  > **value**: `string`
26
26
 
27
27
  The value of the proof.
28
+ json-ld type:schema:Text
@@ -10,10 +10,34 @@ The contexts of attestation data.
10
10
 
11
11
  > `readonly` **Namespace**: `"https://schema.twindev.org/attestation/"` = `"https://schema.twindev.org/attestation/"`
12
12
 
13
- The namespace for the attestation types.
13
+ The canonical RDF namespace URI for Attestation.
14
+
15
+ ### Context
16
+
17
+ > `readonly` **Context**: `"https://schema.twindev.org/attestation/"` = `"https://schema.twindev.org/attestation/"`
18
+
19
+ The value to use in context for Attestation.
20
+
21
+ ### JsonLdContext
22
+
23
+ > `readonly` **JsonLdContext**: `"https://schema.twindev.org/attestation/types.jsonld"` = `"https://schema.twindev.org/attestation/types.jsonld"`
24
+
25
+ The JSON-LD Context URL for Attestation.
14
26
 
15
27
  ### NamespaceCommon
16
28
 
17
29
  > `readonly` **NamespaceCommon**: `"https://schema.twindev.org/common/"` = `"https://schema.twindev.org/common/"`
18
30
 
19
- The namespace for the common types.
31
+ The canonical RDF namespace URI for TWIN Common.
32
+
33
+ ### ContextCommon
34
+
35
+ > `readonly` **ContextCommon**: `"https://schema.twindev.org/common/"` = `"https://schema.twindev.org/common/"`
36
+
37
+ The value to use in JSON-LD context for TWIN Common.
38
+
39
+ ### JsonLdContextCommon
40
+
41
+ > `readonly` **JsonLdContextCommon**: `"https://schema.twindev.org/common/types.jsonld"` = `"https://schema.twindev.org/common/types.jsonld"`
42
+
43
+ The JSON-LD Context URL for TWIN Common.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/attestation-models",
3
- "version": "0.0.3-next.2",
3
+ "version": "0.0.3-next.4",
4
4
  "description": "Models which define the structure of the attestation connectors and services",
5
5
  "repository": {
6
6
  "type": "git",
@@ -19,7 +19,6 @@
19
19
  "@twin.org/data-json-ld": "next",
20
20
  "@twin.org/entity": "next",
21
21
  "@twin.org/nameof": "next",
22
- "@twin.org/standards-schema-org": "next",
23
22
  "@twin.org/standards-w3c-did": "next",
24
23
  "@twin.org/web": "next"
25
24
  },