@twin.org/attestation-models 0.0.1-next.29 → 0.0.1-next.30

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.
@@ -37,12 +37,19 @@ const AttestationTypes = {
37
37
  JwtProof: "JwtProof"
38
38
  };
39
39
 
40
+ var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
41
+ var $id$1 = "https://schema.twindev.org/attestation/AttestationInformation";
42
+ var description$1 = "Interface describing the collated attestation information.";
40
43
  var type$1 = "object";
41
44
  var properties$1 = {
42
45
  "@context": {
43
46
  type: "array",
44
47
  minItems: 3,
45
- items: [
48
+ items: {
49
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
50
+ },
51
+ description: "JSON-LD Context.",
52
+ prefixItems: [
46
53
  {
47
54
  type: "string",
48
55
  "const": "https://schema.twindev.org/attestation/"
@@ -55,11 +62,7 @@ var properties$1 = {
55
62
  type: "string",
56
63
  "const": "https://schema.org"
57
64
  }
58
- ],
59
- additionalItems: {
60
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
61
- },
62
- description: "JSON-LD Context."
65
+ ]
63
66
  },
64
67
  type: {
65
68
  type: "string",
@@ -112,15 +115,19 @@ var required$1 = [
112
115
  "attestationObject"
113
116
  ];
114
117
  var additionalProperties$1 = false;
115
- var description$1 = "Interface describing the collated attestation information.";
116
118
  var AttestationInformationSchema = {
119
+ $schema: $schema$1,
120
+ $id: $id$1,
121
+ description: description$1,
117
122
  type: type$1,
118
123
  properties: properties$1,
119
124
  required: required$1,
120
- additionalProperties: additionalProperties$1,
121
- description: description$1
125
+ additionalProperties: additionalProperties$1
122
126
  };
123
127
 
128
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
129
+ var $id = "https://schema.twindev.org/attestation/AttestationJwtProof";
130
+ var description = "Interface describing an attestation proof.";
124
131
  var type = "object";
125
132
  var properties = {
126
133
  "@context": {
@@ -132,15 +139,15 @@ var properties = {
132
139
  {
133
140
  type: "array",
134
141
  minItems: 1,
135
- items: [
142
+ items: {
143
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
144
+ },
145
+ prefixItems: [
136
146
  {
137
147
  type: "string",
138
148
  "const": "https://schema.twindev.org/attestation/"
139
149
  }
140
- ],
141
- additionalItems: {
142
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
143
- }
150
+ ]
144
151
  }
145
152
  ],
146
153
  description: "JSON-LD Context."
@@ -161,13 +168,14 @@ var required = [
161
168
  "value"
162
169
  ];
163
170
  var additionalProperties = false;
164
- var description = "Interface describing an attestation proof.";
165
171
  var AttestationJwtProofSchema = {
172
+ $schema: $schema,
173
+ $id: $id,
174
+ description: description,
166
175
  type: type,
167
176
  properties: properties,
168
177
  required: required,
169
- additionalProperties: additionalProperties,
170
- description: description
178
+ additionalProperties: additionalProperties
171
179
  };
172
180
 
173
181
  // Copyright 2024 IOTA Stiftung.
@@ -35,12 +35,19 @@ const AttestationTypes = {
35
35
  JwtProof: "JwtProof"
36
36
  };
37
37
 
38
+ var $schema$1 = "https://json-schema.org/draft/2020-12/schema";
39
+ var $id$1 = "https://schema.twindev.org/attestation/AttestationInformation";
40
+ var description$1 = "Interface describing the collated attestation information.";
38
41
  var type$1 = "object";
39
42
  var properties$1 = {
40
43
  "@context": {
41
44
  type: "array",
42
45
  minItems: 3,
43
- items: [
46
+ items: {
47
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
48
+ },
49
+ description: "JSON-LD Context.",
50
+ prefixItems: [
44
51
  {
45
52
  type: "string",
46
53
  "const": "https://schema.twindev.org/attestation/"
@@ -53,11 +60,7 @@ var properties$1 = {
53
60
  type: "string",
54
61
  "const": "https://schema.org"
55
62
  }
56
- ],
57
- additionalItems: {
58
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
59
- },
60
- description: "JSON-LD Context."
63
+ ]
61
64
  },
62
65
  type: {
63
66
  type: "string",
@@ -110,15 +113,19 @@ var required$1 = [
110
113
  "attestationObject"
111
114
  ];
112
115
  var additionalProperties$1 = false;
113
- var description$1 = "Interface describing the collated attestation information.";
114
116
  var AttestationInformationSchema = {
117
+ $schema: $schema$1,
118
+ $id: $id$1,
119
+ description: description$1,
115
120
  type: type$1,
116
121
  properties: properties$1,
117
122
  required: required$1,
118
- additionalProperties: additionalProperties$1,
119
- description: description$1
123
+ additionalProperties: additionalProperties$1
120
124
  };
121
125
 
126
+ var $schema = "https://json-schema.org/draft/2020-12/schema";
127
+ var $id = "https://schema.twindev.org/attestation/AttestationJwtProof";
128
+ var description = "Interface describing an attestation proof.";
122
129
  var type = "object";
123
130
  var properties = {
124
131
  "@context": {
@@ -130,15 +137,15 @@ var properties = {
130
137
  {
131
138
  type: "array",
132
139
  minItems: 1,
133
- items: [
140
+ items: {
141
+ $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
142
+ },
143
+ prefixItems: [
134
144
  {
135
145
  type: "string",
136
146
  "const": "https://schema.twindev.org/attestation/"
137
147
  }
138
- ],
139
- additionalItems: {
140
- $ref: "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
141
- }
148
+ ]
142
149
  }
143
150
  ],
144
151
  description: "JSON-LD Context."
@@ -159,13 +166,14 @@ var required = [
159
166
  "value"
160
167
  ];
161
168
  var additionalProperties = false;
162
- var description = "Interface describing an attestation proof.";
163
169
  var AttestationJwtProofSchema = {
170
+ $schema: $schema,
171
+ $id: $id,
172
+ description: description,
164
173
  type: type,
165
174
  properties: properties,
166
175
  required: required,
167
- additionalProperties: additionalProperties,
168
- description: description
176
+ additionalProperties: additionalProperties
169
177
  };
170
178
 
171
179
  // Copyright 2024 IOTA Stiftung.
package/docs/changelog.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @twin.org/attestation-models - Changelog
2
2
 
3
+ ## [0.0.1-next.30](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.1-next.29...attestation-models-v0.0.1-next.30) (2025-06-12)
4
+
5
+
6
+ ### Features
7
+
8
+ * update dependencies ([1d96d2e](https://github.com/twinfoundation/attestation/commit/1d96d2ee6e81a30396980f6f5e16e9658710d32d))
9
+
3
10
  ## [0.0.1-next.29](https://github.com/twinfoundation/attestation/compare/attestation-models-v0.0.1-next.28...attestation-models-v0.0.1-next.29) (2025-06-03)
4
11
 
5
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/attestation-models",
3
- "version": "0.0.1-next.29",
3
+ "version": "0.0.1-next.30",
4
4
  "description": "Models which define the structure of the attestation connectors and services",
5
5
  "repository": {
6
6
  "type": "git",