@openvtc/trust-tasks 0.23.5 → 0.23.6
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/CHANGELOG.md +34 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/vtc/vetting/hidden/show/0.1/payload.d.ts +1361 -0
- package/dist/vtc/vetting/hidden/show/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/hidden/show/0.1/payload.js +751 -0
- package/dist/vtc/vetting/hidden/show/0.1/payload.js.map +1 -0
- package/dist/vtc/vetting/hidden/withdraw/0.1/payload.d.ts +270 -0
- package/dist/vtc/vetting/hidden/withdraw/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/vetting/hidden/withdraw/0.1/payload.js +159 -0
- package/dist/vtc/vetting/hidden/withdraw/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/vtc/vetting/hidden/show/0.1/payload.ts +905 -0
- package/src/vtc/vetting/hidden/withdraw/0.1/payload.ts +202 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/vetting/hidden/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiJH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,yDAAkE,CAAC;AAK3F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,kEAA2E,CAAC;AAK7G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,yDAAyD;IAChE,OAAO,EAAE,uCAAuC;IAChD,aAAa,EAAE,4MAA4M;IAC3N,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,aAAa;KACd;IAC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AEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,KAAK;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/vetting/hidden/withdraw/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { Ext } from "../../../../../_shared/components.js";
|
|
6
|
+
/**
|
|
7
|
+
* Turn hidden-vetter admission off for one criterion. The criterion's named vetting is unchanged. The outer document members are owned by the framework — SPEC §6.3.
|
|
8
|
+
*/
|
|
9
|
+
export interface VTCVettingHiddenWithdrawPayload {
|
|
10
|
+
/**
|
|
11
|
+
* The Accepts criterion whose hidden-vetting parameters are withdrawn.
|
|
12
|
+
*/
|
|
13
|
+
criterionId: string;
|
|
14
|
+
ext?: Ext;
|
|
15
|
+
}
|
|
16
|
+
export interface VTCVettingHiddenWithdrawResponsePayload {
|
|
17
|
+
/**
|
|
18
|
+
* The criterion that no longer accepts a hidden proof.
|
|
19
|
+
*/
|
|
20
|
+
criterionId: string;
|
|
21
|
+
/**
|
|
22
|
+
* True when the criterion carried hidden-vetting parameters and they were removed. False when it carried none, so there was nothing to withdraw — a success, not a refusal.
|
|
23
|
+
*/
|
|
24
|
+
withdrawn: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* The criterion's requirementsDigest after the change. It moves when withdrawn is true, because the digest covers the published parameters; it is unchanged when withdrawn is false. Null only when the criterion's manifest entry carries none.
|
|
27
|
+
*/
|
|
28
|
+
requirementsDigest: string | null;
|
|
29
|
+
ext?: Ext;
|
|
30
|
+
}
|
|
31
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
32
|
+
export type { Ext };
|
|
33
|
+
/** Trust Task type URI. */
|
|
34
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1";
|
|
35
|
+
/** Stable alias for this specification's request payload shape. */
|
|
36
|
+
export type Payload = VTCVettingHiddenWithdrawPayload;
|
|
37
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
38
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1#response";
|
|
39
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
40
|
+
export type Response = VTCVettingHiddenWithdrawResponsePayload;
|
|
41
|
+
/**
|
|
42
|
+
* This specification's payload schema, as a value.
|
|
43
|
+
*
|
|
44
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
45
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
46
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
47
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
48
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
49
|
+
*/
|
|
50
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
51
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
52
|
+
readonly $id: "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1";
|
|
53
|
+
readonly title: "VTC Vetting — Hidden — Withdraw — payload";
|
|
54
|
+
readonly description: "Turn hidden-vetter admission off for one criterion. The criterion's named vetting is unchanged. The outer document members are owned by the framework — SPEC §6.3.";
|
|
55
|
+
readonly type: "object";
|
|
56
|
+
readonly additionalProperties: false;
|
|
57
|
+
readonly required: readonly ["criterionId"];
|
|
58
|
+
readonly properties: {
|
|
59
|
+
readonly criterionId: {
|
|
60
|
+
readonly type: "string";
|
|
61
|
+
readonly minLength: 1;
|
|
62
|
+
readonly description: "The Accepts criterion whose hidden-vetting parameters are withdrawn.";
|
|
63
|
+
};
|
|
64
|
+
readonly ext: {
|
|
65
|
+
readonly $ref: "#/$defs/Ext";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly $defs: {
|
|
69
|
+
readonly Response: {
|
|
70
|
+
readonly $anchor: "response";
|
|
71
|
+
readonly title: "VTC Vetting — Hidden — Withdraw — response payload";
|
|
72
|
+
readonly type: "object";
|
|
73
|
+
readonly additionalProperties: false;
|
|
74
|
+
readonly required: readonly ["criterionId", "withdrawn", "requirementsDigest"];
|
|
75
|
+
readonly properties: {
|
|
76
|
+
readonly criterionId: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
readonly minLength: 1;
|
|
79
|
+
readonly description: "The criterion that no longer accepts a hidden proof.";
|
|
80
|
+
};
|
|
81
|
+
readonly withdrawn: {
|
|
82
|
+
readonly type: "boolean";
|
|
83
|
+
readonly description: "True when the criterion carried hidden-vetting parameters and they were removed. False when it carried none, so there was nothing to withdraw — a success, not a refusal.";
|
|
84
|
+
};
|
|
85
|
+
readonly requirementsDigest: {
|
|
86
|
+
readonly type: readonly ["string", "null"];
|
|
87
|
+
readonly description: "The criterion's requirementsDigest after the change. It moves when withdrawn is true, because the digest covers the published parameters; it is unchanged when withdrawn is false. Null only when the criterion's manifest entry carries none.";
|
|
88
|
+
};
|
|
89
|
+
readonly ext: {
|
|
90
|
+
readonly $ref: "#/$defs/Ext";
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
readonly Ext: {
|
|
95
|
+
readonly title: "Ext";
|
|
96
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
97
|
+
readonly type: "object";
|
|
98
|
+
readonly minProperties: 1;
|
|
99
|
+
readonly additionalProperties: true;
|
|
100
|
+
readonly propertyNames: {
|
|
101
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
107
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
108
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
109
|
+
readonly $ref: "#/$defs/Response";
|
|
110
|
+
readonly $defs: {
|
|
111
|
+
readonly Response: {
|
|
112
|
+
readonly $anchor: "response";
|
|
113
|
+
readonly title: "VTC Vetting — Hidden — Withdraw — response payload";
|
|
114
|
+
readonly type: "object";
|
|
115
|
+
readonly additionalProperties: false;
|
|
116
|
+
readonly required: readonly ["criterionId", "withdrawn", "requirementsDigest"];
|
|
117
|
+
readonly properties: {
|
|
118
|
+
readonly criterionId: {
|
|
119
|
+
readonly type: "string";
|
|
120
|
+
readonly minLength: 1;
|
|
121
|
+
readonly description: "The criterion that no longer accepts a hidden proof.";
|
|
122
|
+
};
|
|
123
|
+
readonly withdrawn: {
|
|
124
|
+
readonly type: "boolean";
|
|
125
|
+
readonly description: "True when the criterion carried hidden-vetting parameters and they were removed. False when it carried none, so there was nothing to withdraw — a success, not a refusal.";
|
|
126
|
+
};
|
|
127
|
+
readonly requirementsDigest: {
|
|
128
|
+
readonly type: readonly ["string", "null"];
|
|
129
|
+
readonly description: "The criterion's requirementsDigest after the change. It moves when withdrawn is true, because the digest covers the published parameters; it is unchanged when withdrawn is false. Null only when the criterion's manifest entry carries none.";
|
|
130
|
+
};
|
|
131
|
+
readonly ext: {
|
|
132
|
+
readonly $ref: "#/$defs/Ext";
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
readonly Ext: {
|
|
137
|
+
readonly title: "Ext";
|
|
138
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
139
|
+
readonly type: "object";
|
|
140
|
+
readonly minProperties: 1;
|
|
141
|
+
readonly additionalProperties: true;
|
|
142
|
+
readonly propertyNames: {
|
|
143
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
150
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
151
|
+
* per-specification and cannot be derived from the document alone, and
|
|
152
|
+
* item 2 needs the schema this carries.
|
|
153
|
+
*/
|
|
154
|
+
export declare const SPEC: {
|
|
155
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1";
|
|
156
|
+
readonly isBearer: false;
|
|
157
|
+
readonly isProofRequired: true;
|
|
158
|
+
readonly isRecipientRequired: true;
|
|
159
|
+
readonly isIssuedAtRequired: true;
|
|
160
|
+
readonly payloadSchema: {
|
|
161
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
162
|
+
readonly $id: "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1";
|
|
163
|
+
readonly title: "VTC Vetting — Hidden — Withdraw — payload";
|
|
164
|
+
readonly description: "Turn hidden-vetter admission off for one criterion. The criterion's named vetting is unchanged. The outer document members are owned by the framework — SPEC §6.3.";
|
|
165
|
+
readonly type: "object";
|
|
166
|
+
readonly additionalProperties: false;
|
|
167
|
+
readonly required: readonly ["criterionId"];
|
|
168
|
+
readonly properties: {
|
|
169
|
+
readonly criterionId: {
|
|
170
|
+
readonly type: "string";
|
|
171
|
+
readonly minLength: 1;
|
|
172
|
+
readonly description: "The Accepts criterion whose hidden-vetting parameters are withdrawn.";
|
|
173
|
+
};
|
|
174
|
+
readonly ext: {
|
|
175
|
+
readonly $ref: "#/$defs/Ext";
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
readonly $defs: {
|
|
179
|
+
readonly Response: {
|
|
180
|
+
readonly $anchor: "response";
|
|
181
|
+
readonly title: "VTC Vetting — Hidden — Withdraw — response payload";
|
|
182
|
+
readonly type: "object";
|
|
183
|
+
readonly additionalProperties: false;
|
|
184
|
+
readonly required: readonly ["criterionId", "withdrawn", "requirementsDigest"];
|
|
185
|
+
readonly properties: {
|
|
186
|
+
readonly criterionId: {
|
|
187
|
+
readonly type: "string";
|
|
188
|
+
readonly minLength: 1;
|
|
189
|
+
readonly description: "The criterion that no longer accepts a hidden proof.";
|
|
190
|
+
};
|
|
191
|
+
readonly withdrawn: {
|
|
192
|
+
readonly type: "boolean";
|
|
193
|
+
readonly description: "True when the criterion carried hidden-vetting parameters and they were removed. False when it carried none, so there was nothing to withdraw — a success, not a refusal.";
|
|
194
|
+
};
|
|
195
|
+
readonly requirementsDigest: {
|
|
196
|
+
readonly type: readonly ["string", "null"];
|
|
197
|
+
readonly description: "The criterion's requirementsDigest after the change. It moves when withdrawn is true, because the digest covers the published parameters; it is unchanged when withdrawn is false. Null only when the criterion's manifest entry carries none.";
|
|
198
|
+
};
|
|
199
|
+
readonly ext: {
|
|
200
|
+
readonly $ref: "#/$defs/Ext";
|
|
201
|
+
};
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
readonly Ext: {
|
|
205
|
+
readonly title: "Ext";
|
|
206
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
207
|
+
readonly type: "object";
|
|
208
|
+
readonly minProperties: 1;
|
|
209
|
+
readonly additionalProperties: true;
|
|
210
|
+
readonly propertyNames: {
|
|
211
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
212
|
+
};
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
/**
|
|
218
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
219
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
220
|
+
* parties (§7.3 item 5).
|
|
221
|
+
*/
|
|
222
|
+
export declare const RESPONSE_SPEC: {
|
|
223
|
+
readonly typeUri: "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1#response";
|
|
224
|
+
readonly isBearer: false;
|
|
225
|
+
readonly isProofRequired: true;
|
|
226
|
+
readonly isRecipientRequired: true;
|
|
227
|
+
readonly isIssuedAtRequired: true;
|
|
228
|
+
readonly payloadSchema: {
|
|
229
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
230
|
+
readonly $ref: "#/$defs/Response";
|
|
231
|
+
readonly $defs: {
|
|
232
|
+
readonly Response: {
|
|
233
|
+
readonly $anchor: "response";
|
|
234
|
+
readonly title: "VTC Vetting — Hidden — Withdraw — response payload";
|
|
235
|
+
readonly type: "object";
|
|
236
|
+
readonly additionalProperties: false;
|
|
237
|
+
readonly required: readonly ["criterionId", "withdrawn", "requirementsDigest"];
|
|
238
|
+
readonly properties: {
|
|
239
|
+
readonly criterionId: {
|
|
240
|
+
readonly type: "string";
|
|
241
|
+
readonly minLength: 1;
|
|
242
|
+
readonly description: "The criterion that no longer accepts a hidden proof.";
|
|
243
|
+
};
|
|
244
|
+
readonly withdrawn: {
|
|
245
|
+
readonly type: "boolean";
|
|
246
|
+
readonly description: "True when the criterion carried hidden-vetting parameters and they were removed. False when it carried none, so there was nothing to withdraw — a success, not a refusal.";
|
|
247
|
+
};
|
|
248
|
+
readonly requirementsDigest: {
|
|
249
|
+
readonly type: readonly ["string", "null"];
|
|
250
|
+
readonly description: "The criterion's requirementsDigest after the change. It moves when withdrawn is true, because the digest covers the published parameters; it is unchanged when withdrawn is false. Null only when the criterion's manifest entry carries none.";
|
|
251
|
+
};
|
|
252
|
+
readonly ext: {
|
|
253
|
+
readonly $ref: "#/$defs/Ext";
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
readonly Ext: {
|
|
258
|
+
readonly title: "Ext";
|
|
259
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
260
|
+
readonly type: "object";
|
|
261
|
+
readonly minProperties: 1;
|
|
262
|
+
readonly additionalProperties: true;
|
|
263
|
+
readonly propertyNames: {
|
|
264
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/vetting/hidden/withdraw/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,uCAAuC;IACtD;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,GAAG,EAAE,CAAC;AAEpB,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,6DAAsE,CAAC;AAE/F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,+BAA+B,CAAC;AAEtD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,sEAA+E,CAAC;AAEjH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,uCAAuC,CAAC;AAE/D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+C1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/vtc/vetting/hidden/withdraw/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1#response";
|
|
9
|
+
/**
|
|
10
|
+
* This specification's payload schema, as a value.
|
|
11
|
+
*
|
|
12
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
13
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
14
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
15
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
16
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
17
|
+
*/
|
|
18
|
+
export const PAYLOAD_SCHEMA = {
|
|
19
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
|
+
"$id": "https://trusttasks.org/spec/vtc/vetting/hidden/withdraw/0.1",
|
|
21
|
+
"title": "VTC Vetting — Hidden — Withdraw — payload",
|
|
22
|
+
"description": "Turn hidden-vetter admission off for one criterion. The criterion's named vetting is unchanged. The outer document members are owned by the framework — SPEC §6.3.",
|
|
23
|
+
"type": "object",
|
|
24
|
+
"additionalProperties": false,
|
|
25
|
+
"required": [
|
|
26
|
+
"criterionId"
|
|
27
|
+
],
|
|
28
|
+
"properties": {
|
|
29
|
+
"criterionId": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"minLength": 1,
|
|
32
|
+
"description": "The Accepts criterion whose hidden-vetting parameters are withdrawn."
|
|
33
|
+
},
|
|
34
|
+
"ext": {
|
|
35
|
+
"$ref": "#/$defs/Ext"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"$defs": {
|
|
39
|
+
"Response": {
|
|
40
|
+
"$anchor": "response",
|
|
41
|
+
"title": "VTC Vetting — Hidden — Withdraw — response payload",
|
|
42
|
+
"type": "object",
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"required": [
|
|
45
|
+
"criterionId",
|
|
46
|
+
"withdrawn",
|
|
47
|
+
"requirementsDigest"
|
|
48
|
+
],
|
|
49
|
+
"properties": {
|
|
50
|
+
"criterionId": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"minLength": 1,
|
|
53
|
+
"description": "The criterion that no longer accepts a hidden proof."
|
|
54
|
+
},
|
|
55
|
+
"withdrawn": {
|
|
56
|
+
"type": "boolean",
|
|
57
|
+
"description": "True when the criterion carried hidden-vetting parameters and they were removed. False when it carried none, so there was nothing to withdraw — a success, not a refusal."
|
|
58
|
+
},
|
|
59
|
+
"requirementsDigest": {
|
|
60
|
+
"type": [
|
|
61
|
+
"string",
|
|
62
|
+
"null"
|
|
63
|
+
],
|
|
64
|
+
"description": "The criterion's requirementsDigest after the change. It moves when withdrawn is true, because the digest covers the published parameters; it is unchanged when withdrawn is false. Null only when the criterion's manifest entry carries none."
|
|
65
|
+
},
|
|
66
|
+
"ext": {
|
|
67
|
+
"$ref": "#/$defs/Ext"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"Ext": {
|
|
72
|
+
"title": "Ext",
|
|
73
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
74
|
+
"type": "object",
|
|
75
|
+
"minProperties": 1,
|
|
76
|
+
"additionalProperties": true,
|
|
77
|
+
"propertyNames": {
|
|
78
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
84
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
85
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
86
|
+
"$ref": "#/$defs/Response",
|
|
87
|
+
"$defs": {
|
|
88
|
+
"Response": {
|
|
89
|
+
"$anchor": "response",
|
|
90
|
+
"title": "VTC Vetting — Hidden — Withdraw — response payload",
|
|
91
|
+
"type": "object",
|
|
92
|
+
"additionalProperties": false,
|
|
93
|
+
"required": [
|
|
94
|
+
"criterionId",
|
|
95
|
+
"withdrawn",
|
|
96
|
+
"requirementsDigest"
|
|
97
|
+
],
|
|
98
|
+
"properties": {
|
|
99
|
+
"criterionId": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"minLength": 1,
|
|
102
|
+
"description": "The criterion that no longer accepts a hidden proof."
|
|
103
|
+
},
|
|
104
|
+
"withdrawn": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"description": "True when the criterion carried hidden-vetting parameters and they were removed. False when it carried none, so there was nothing to withdraw — a success, not a refusal."
|
|
107
|
+
},
|
|
108
|
+
"requirementsDigest": {
|
|
109
|
+
"type": [
|
|
110
|
+
"string",
|
|
111
|
+
"null"
|
|
112
|
+
],
|
|
113
|
+
"description": "The criterion's requirementsDigest after the change. It moves when withdrawn is true, because the digest covers the published parameters; it is unchanged when withdrawn is false. Null only when the criterion's manifest entry carries none."
|
|
114
|
+
},
|
|
115
|
+
"ext": {
|
|
116
|
+
"$ref": "#/$defs/Ext"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"Ext": {
|
|
121
|
+
"title": "Ext",
|
|
122
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
123
|
+
"type": "object",
|
|
124
|
+
"minProperties": 1,
|
|
125
|
+
"additionalProperties": true,
|
|
126
|
+
"propertyNames": {
|
|
127
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
/**
|
|
133
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
134
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
135
|
+
* per-specification and cannot be derived from the document alone, and
|
|
136
|
+
* item 2 needs the schema this carries.
|
|
137
|
+
*/
|
|
138
|
+
export const SPEC = {
|
|
139
|
+
typeUri: TYPE_URI,
|
|
140
|
+
isBearer: false,
|
|
141
|
+
isProofRequired: true,
|
|
142
|
+
isRecipientRequired: true,
|
|
143
|
+
isIssuedAtRequired: true,
|
|
144
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
148
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
149
|
+
* parties (§7.3 item 5).
|
|
150
|
+
*/
|
|
151
|
+
export const RESPONSE_SPEC = {
|
|
152
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
153
|
+
isBearer: false,
|
|
154
|
+
isProofRequired: true,
|
|
155
|
+
isRecipientRequired: true,
|
|
156
|
+
isIssuedAtRequired: true,
|
|
157
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/vetting/hidden/withdraw/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,6DAAsE,CAAC;AAK/F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,sEAA+E,CAAC;AAKjH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,6DAA6D;IACpE,OAAO,EAAE,2CAA2C;IACpD,aAAa,EAAE,oKAAoK;IACnL,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,aAAa;KACd;IACD,YAAY,EAAE;QACZ,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,sEAAsE;SACtF;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,oDAAoD;YAC7D,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,aAAa;gBACb,WAAW;gBACX,oBAAoB;aACrB;YACD,YAAY,EAAE;gBACZ,aAAa,EAAE;oBACb,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;oBACd,aAAa,EAAE,sDAAsD;iBACtE;gBACD,WAAW,EAAE;oBACX,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,2KAA2K;iBAC3L;gBACD,oBAAoB,EAAE;oBACpB,MAAM,EAAE;wBAC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GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -757,6 +757,8 @@ export * as VtcSchemasShow_v0_1 from "./vtc/schemas/show/0.1/payload.js";
|
|
|
757
757
|
export * as VtcVettingAutoGrantShow_v0_1 from "./vtc/vetting/auto-grant/show/0.1/payload.js";
|
|
758
758
|
export * as VtcVettingAutoGrantUpdate_v0_1 from "./vtc/vetting/auto-grant/update/0.1/payload.js";
|
|
759
759
|
export * as VtcVettingHiddenPublish_v0_1 from "./vtc/vetting/hidden/publish/0.1/payload.js";
|
|
760
|
+
export * as VtcVettingHiddenShow_v0_1 from "./vtc/vetting/hidden/show/0.1/payload.js";
|
|
761
|
+
export * as VtcVettingHiddenWithdraw_v0_1 from "./vtc/vetting/hidden/withdraw/0.1/payload.js";
|
|
760
762
|
export * as VtcVettingPcsChallenge_v0_1 from "./vtc/vetting/pcs-challenge/0.1/payload.js";
|
|
761
763
|
export * as VtcVettingRevocationsList_v0_1 from "./vtc/vetting/revocations/list/0.1/payload.js";
|
|
762
764
|
export * as VtcVettingRevokeStatement_v0_1 from "./vtc/vetting/revoke-statement/0.1/payload.js";
|