@openvtc/trust-tasks 0.26.23 → 0.26.24

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.
@@ -0,0 +1,271 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/pcs/voter/read/0.1/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read/0.1";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vta/pcs/voter/read/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/vta/pcs/voter/read/0.1",
21
+ "title": "VTA PCS — Voter Read — payload",
22
+ "description": "A voter's client asks its VTA for a vtc/elections/list or vtc/elections/show request signed as the voter's membership DID, so the client can read the community's elections as the member without holding the member's key.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "contextId",
27
+ "community",
28
+ "member",
29
+ "read",
30
+ "payload"
31
+ ],
32
+ "properties": {
33
+ "contextId": {
34
+ "type": "string",
35
+ "minLength": 1,
36
+ "maxLength": 256,
37
+ "description": "The context the voter belongs to."
38
+ },
39
+ "community": {
40
+ "type": "string",
41
+ "minLength": 1,
42
+ "maxLength": 2048,
43
+ "description": "The community's DID: the recipient of the signed request."
44
+ },
45
+ "member": {
46
+ "type": "string",
47
+ "minLength": 1,
48
+ "maxLength": 2048,
49
+ "pattern": "^did:",
50
+ "description": "The voter's membership DID at the community. MUST be a DID the engine holds an authentication key of that the caller may act as."
51
+ },
52
+ "read": {
53
+ "type": "string",
54
+ "enum": [
55
+ "list",
56
+ "show"
57
+ ],
58
+ "description": "Which read to sign: vtc/elections/list/0.1 or vtc/elections/show/0.1."
59
+ },
60
+ "payload": {
61
+ "type": "object",
62
+ "description": "The request payload of that task, validated against its own schema."
63
+ },
64
+ "ext": {
65
+ "$ref": "#/$defs/Ext"
66
+ }
67
+ },
68
+ "$defs": {
69
+ "ReadDocument": {
70
+ "title": "ReadDocument",
71
+ "description": "A complete, signed vtc/elections/list/0.1 or vtc/elections/show/0.1 request document, ready to send to the community unchanged.",
72
+ "type": "object",
73
+ "required": [
74
+ "id",
75
+ "type",
76
+ "issuer",
77
+ "recipient",
78
+ "issuedAt",
79
+ "payload",
80
+ "proof"
81
+ ],
82
+ "properties": {
83
+ "id": {
84
+ "type": "string",
85
+ "pattern": "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
86
+ },
87
+ "type": {
88
+ "type": "string",
89
+ "enum": [
90
+ "https://trusttasks.org/spec/vtc/elections/list/0.1",
91
+ "https://trusttasks.org/spec/vtc/elections/show/0.1"
92
+ ]
93
+ },
94
+ "issuer": {
95
+ "type": "string",
96
+ "minLength": 1,
97
+ "maxLength": 2048,
98
+ "description": "The request's `member`."
99
+ },
100
+ "recipient": {
101
+ "type": "string",
102
+ "minLength": 1,
103
+ "maxLength": 2048,
104
+ "description": "The request's `community`."
105
+ },
106
+ "issuedAt": {
107
+ "type": "string",
108
+ "format": "date-time"
109
+ },
110
+ "expiresAt": {
111
+ "type": "string",
112
+ "format": "date-time"
113
+ },
114
+ "payload": {
115
+ "type": "object",
116
+ "description": "The request's `payload`, exactly."
117
+ },
118
+ "proof": {
119
+ "type": "object",
120
+ "description": "A Data Integrity proof by an `authentication` key of `issuer`."
121
+ }
122
+ }
123
+ },
124
+ "Response": {
125
+ "$anchor": "response",
126
+ "title": "VTA PCS — Voter Read — response payload",
127
+ "description": "The signed read, to send to the community.",
128
+ "type": "object",
129
+ "additionalProperties": false,
130
+ "required": [
131
+ "document"
132
+ ],
133
+ "properties": {
134
+ "document": {
135
+ "$ref": "#/$defs/ReadDocument"
136
+ },
137
+ "ext": {
138
+ "$ref": "#/$defs/Ext"
139
+ }
140
+ }
141
+ },
142
+ "Ext": {
143
+ "title": "Ext",
144
+ "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.",
145
+ "type": "object",
146
+ "minProperties": 1,
147
+ "additionalProperties": true,
148
+ "propertyNames": {
149
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
150
+ }
151
+ }
152
+ }
153
+ };
154
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
155
+ export const RESPONSE_PAYLOAD_SCHEMA = {
156
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
157
+ "$ref": "#/$defs/Response",
158
+ "$defs": {
159
+ "ReadDocument": {
160
+ "title": "ReadDocument",
161
+ "description": "A complete, signed vtc/elections/list/0.1 or vtc/elections/show/0.1 request document, ready to send to the community unchanged.",
162
+ "type": "object",
163
+ "required": [
164
+ "id",
165
+ "type",
166
+ "issuer",
167
+ "recipient",
168
+ "issuedAt",
169
+ "payload",
170
+ "proof"
171
+ ],
172
+ "properties": {
173
+ "id": {
174
+ "type": "string",
175
+ "pattern": "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$"
176
+ },
177
+ "type": {
178
+ "type": "string",
179
+ "enum": [
180
+ "https://trusttasks.org/spec/vtc/elections/list/0.1",
181
+ "https://trusttasks.org/spec/vtc/elections/show/0.1"
182
+ ]
183
+ },
184
+ "issuer": {
185
+ "type": "string",
186
+ "minLength": 1,
187
+ "maxLength": 2048,
188
+ "description": "The request's `member`."
189
+ },
190
+ "recipient": {
191
+ "type": "string",
192
+ "minLength": 1,
193
+ "maxLength": 2048,
194
+ "description": "The request's `community`."
195
+ },
196
+ "issuedAt": {
197
+ "type": "string",
198
+ "format": "date-time"
199
+ },
200
+ "expiresAt": {
201
+ "type": "string",
202
+ "format": "date-time"
203
+ },
204
+ "payload": {
205
+ "type": "object",
206
+ "description": "The request's `payload`, exactly."
207
+ },
208
+ "proof": {
209
+ "type": "object",
210
+ "description": "A Data Integrity proof by an `authentication` key of `issuer`."
211
+ }
212
+ }
213
+ },
214
+ "Response": {
215
+ "$anchor": "response",
216
+ "title": "VTA PCS — Voter Read — response payload",
217
+ "description": "The signed read, to send to the community.",
218
+ "type": "object",
219
+ "additionalProperties": false,
220
+ "required": [
221
+ "document"
222
+ ],
223
+ "properties": {
224
+ "document": {
225
+ "$ref": "#/$defs/ReadDocument"
226
+ },
227
+ "ext": {
228
+ "$ref": "#/$defs/Ext"
229
+ }
230
+ }
231
+ },
232
+ "Ext": {
233
+ "title": "Ext",
234
+ "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.",
235
+ "type": "object",
236
+ "minProperties": 1,
237
+ "additionalProperties": true,
238
+ "propertyNames": {
239
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
240
+ }
241
+ }
242
+ }
243
+ };
244
+ /**
245
+ * SPEC.md §7.2 policy for the request variant, from this specification's
246
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
247
+ * per-specification and cannot be derived from the document alone, and
248
+ * item 2 needs the schema this carries.
249
+ */
250
+ export const SPEC = {
251
+ typeUri: TYPE_URI,
252
+ isBearer: false,
253
+ isProofRequired: true,
254
+ isRecipientRequired: true,
255
+ isIssuedAtRequired: true,
256
+ payloadSchema: PAYLOAD_SCHEMA,
257
+ };
258
+ /**
259
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
260
+ * tracks the *issuer* party's requirement because a response swaps the
261
+ * parties (§7.3 item 5).
262
+ */
263
+ export const RESPONSE_SPEC = {
264
+ typeUri: RESPONSE_TYPE_URI,
265
+ isBearer: false,
266
+ isProofRequired: false,
267
+ isRecipientRequired: true,
268
+ isIssuedAtRequired: true,
269
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
270
+ };
271
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vta/pcs/voter/read/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,oDAA6D,CAAC;AAKtF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,6DAAsE,CAAC;AAKxG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,oDAAoD;IAC3D,OAAO,EAAE,gCAAgC;IACzC,aAAa,EAAE,6NAA6N;IAC5O,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;QACX,WAAW;QACX,QAAQ;QACR,MAAM;QACN,SAAS;KACV;IACD,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,mCAAmC;SACnD;QACD,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,2DAA2D;SAC3E;QACD,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,IAAI;YACjB,SAAS,EAAE,OAAO;YAClB,aAAa,EAAE,kIAAkI;SAClJ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B;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -27,10 +27,14 @@ export interface VTAPCSVoterRegisterPayload {
27
27
  * The election's manifest, exactly as the community published it. The engine computes its digest itself.
28
28
  */
29
29
  manifest: Manifest;
30
+ /**
31
+ * The DID the election's roll admits the voter as — their membership DID at the community. When given, the engine also returns `ticketDocument`: the request to the community, signed as this DID. It MUST be a DID the engine holds an authentication key of that the caller may act as.
32
+ */
33
+ member?: string;
30
34
  ext?: Ext;
31
35
  }
32
36
  /**
33
- * Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext: what the client sends the community.
37
+ * Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.
34
38
  */
35
39
  export interface VTAPCSVoterRegisterResponsePayload {
36
40
  electionId: ElectionId;
@@ -39,6 +43,7 @@ export interface VTAPCSVoterRegisterResponsePayload {
39
43
  */
40
44
  manifestDigest: DigestMultibase;
41
45
  request: TicketRequest;
46
+ ticketDocument?: TicketDocument;
42
47
  ext?: Ext;
43
48
  }
44
49
  /**
@@ -62,6 +67,31 @@ export interface TicketRequest {
62
67
  proof: string;
63
68
  };
64
69
  }
70
+ /**
71
+ * A complete, signed vtc/elections/tickets/issue/0.1 request document, ready to send to the community unchanged. Its payload is validated by that specification's schema; the members fixed here are the ones this task guarantees.
72
+ */
73
+ export interface TicketDocument {
74
+ id: string;
75
+ type: "https://trusttasks.org/spec/vtc/elections/tickets/issue/0.1";
76
+ /**
77
+ * The request's `member`.
78
+ */
79
+ issuer: string;
80
+ /**
81
+ * The request's `community`.
82
+ */
83
+ recipient: string;
84
+ issuedAt: string;
85
+ expiresAt?: string;
86
+ /**
87
+ * The vtc/elections/tickets/issue/0.1 request payload: `electionId`, `manifestDigest` and `request`, exactly as this response carries them.
88
+ */
89
+ payload: {};
90
+ /**
91
+ * A Data Integrity proof by an `authentication` key of `issuer`.
92
+ */
93
+ proof: {};
94
+ }
65
95
  /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
66
96
  export type { BoardVisibility, ChoiceQuestion, DigestMultibase, ElectionId, Ext, Key, Manifest, Multibase, Question, QuestionOption, RankingQuestion, Revote, RollRule, ScoreQuestion, SecrecyLevel, TextQuestion, Trustees, VotingParameters };
67
97
  /** Trust Task type URI. */
@@ -110,6 +140,13 @@ export declare const PAYLOAD_SCHEMA: {
110
140
  readonly $ref: "#/$defs/Manifest";
111
141
  readonly description: "The election's manifest, exactly as the community published it. The engine computes its digest itself.";
112
142
  };
143
+ readonly member: {
144
+ readonly type: "string";
145
+ readonly minLength: 1;
146
+ readonly maxLength: 2048;
147
+ readonly pattern: "^did:";
148
+ readonly description: "The DID the election's roll admits the voter as — their membership DID at the community. When given, the engine also returns `ticketDocument`: the request to the community, signed as this DID. It MUST be a DID the engine holds an authentication key of that the caller may act as.";
149
+ };
113
150
  readonly ext: {
114
151
  readonly $ref: "#/$defs/Ext";
115
152
  };
@@ -163,7 +200,7 @@ export declare const PAYLOAD_SCHEMA: {
163
200
  readonly Response: {
164
201
  readonly $anchor: "response";
165
202
  readonly title: "VTA PCS — Voter Register — response payload";
166
- readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext: what the client sends the community.";
203
+ readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.";
167
204
  readonly type: "object";
168
205
  readonly additionalProperties: false;
169
206
  readonly required: readonly ["electionId", "manifestDigest", "request"];
@@ -178,11 +215,57 @@ export declare const PAYLOAD_SCHEMA: {
178
215
  readonly request: {
179
216
  readonly $ref: "#/$defs/TicketRequest";
180
217
  };
218
+ readonly ticketDocument: {
219
+ readonly $ref: "#/$defs/TicketDocument";
220
+ };
181
221
  readonly ext: {
182
222
  readonly $ref: "#/$defs/Ext";
183
223
  };
184
224
  };
185
225
  };
226
+ readonly TicketDocument: {
227
+ readonly title: "TicketDocument";
228
+ readonly description: "A complete, signed vtc/elections/tickets/issue/0.1 request document, ready to send to the community unchanged. Its payload is validated by that specification's schema; the members fixed here are the ones this task guarantees.";
229
+ readonly type: "object";
230
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
231
+ readonly properties: {
232
+ readonly id: {
233
+ readonly type: "string";
234
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
235
+ };
236
+ readonly type: {
237
+ readonly const: "https://trusttasks.org/spec/vtc/elections/tickets/issue/0.1";
238
+ };
239
+ readonly issuer: {
240
+ readonly type: "string";
241
+ readonly minLength: 1;
242
+ readonly maxLength: 2048;
243
+ readonly description: "The request's `member`.";
244
+ };
245
+ readonly recipient: {
246
+ readonly type: "string";
247
+ readonly minLength: 1;
248
+ readonly maxLength: 2048;
249
+ readonly description: "The request's `community`.";
250
+ };
251
+ readonly issuedAt: {
252
+ readonly type: "string";
253
+ readonly format: "date-time";
254
+ };
255
+ readonly expiresAt: {
256
+ readonly type: "string";
257
+ readonly format: "date-time";
258
+ };
259
+ readonly payload: {
260
+ readonly type: "object";
261
+ readonly description: "The vtc/elections/tickets/issue/0.1 request payload: `electionId`, `manifestDigest` and `request`, exactly as this response carries them.";
262
+ };
263
+ readonly proof: {
264
+ readonly type: "object";
265
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
266
+ };
267
+ };
268
+ };
186
269
  readonly Ext: {
187
270
  readonly title: "Ext";
188
271
  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.";
@@ -605,7 +688,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
605
688
  readonly Response: {
606
689
  readonly $anchor: "response";
607
690
  readonly title: "VTA PCS — Voter Register — response payload";
608
- readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext: what the client sends the community.";
691
+ readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.";
609
692
  readonly type: "object";
610
693
  readonly additionalProperties: false;
611
694
  readonly required: readonly ["electionId", "manifestDigest", "request"];
@@ -620,11 +703,57 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
620
703
  readonly request: {
621
704
  readonly $ref: "#/$defs/TicketRequest";
622
705
  };
706
+ readonly ticketDocument: {
707
+ readonly $ref: "#/$defs/TicketDocument";
708
+ };
623
709
  readonly ext: {
624
710
  readonly $ref: "#/$defs/Ext";
625
711
  };
626
712
  };
627
713
  };
714
+ readonly TicketDocument: {
715
+ readonly title: "TicketDocument";
716
+ readonly description: "A complete, signed vtc/elections/tickets/issue/0.1 request document, ready to send to the community unchanged. Its payload is validated by that specification's schema; the members fixed here are the ones this task guarantees.";
717
+ readonly type: "object";
718
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
719
+ readonly properties: {
720
+ readonly id: {
721
+ readonly type: "string";
722
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
723
+ };
724
+ readonly type: {
725
+ readonly const: "https://trusttasks.org/spec/vtc/elections/tickets/issue/0.1";
726
+ };
727
+ readonly issuer: {
728
+ readonly type: "string";
729
+ readonly minLength: 1;
730
+ readonly maxLength: 2048;
731
+ readonly description: "The request's `member`.";
732
+ };
733
+ readonly recipient: {
734
+ readonly type: "string";
735
+ readonly minLength: 1;
736
+ readonly maxLength: 2048;
737
+ readonly description: "The request's `community`.";
738
+ };
739
+ readonly issuedAt: {
740
+ readonly type: "string";
741
+ readonly format: "date-time";
742
+ };
743
+ readonly expiresAt: {
744
+ readonly type: "string";
745
+ readonly format: "date-time";
746
+ };
747
+ readonly payload: {
748
+ readonly type: "object";
749
+ readonly description: "The vtc/elections/tickets/issue/0.1 request payload: `electionId`, `manifestDigest` and `request`, exactly as this response carries them.";
750
+ };
751
+ readonly proof: {
752
+ readonly type: "object";
753
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
754
+ };
755
+ };
756
+ };
628
757
  readonly Ext: {
629
758
  readonly title: "Ext";
630
759
  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.";
@@ -1035,6 +1164,13 @@ export declare const SPEC: {
1035
1164
  readonly $ref: "#/$defs/Manifest";
1036
1165
  readonly description: "The election's manifest, exactly as the community published it. The engine computes its digest itself.";
1037
1166
  };
1167
+ readonly member: {
1168
+ readonly type: "string";
1169
+ readonly minLength: 1;
1170
+ readonly maxLength: 2048;
1171
+ readonly pattern: "^did:";
1172
+ readonly description: "The DID the election's roll admits the voter as — their membership DID at the community. When given, the engine also returns `ticketDocument`: the request to the community, signed as this DID. It MUST be a DID the engine holds an authentication key of that the caller may act as.";
1173
+ };
1038
1174
  readonly ext: {
1039
1175
  readonly $ref: "#/$defs/Ext";
1040
1176
  };
@@ -1088,7 +1224,7 @@ export declare const SPEC: {
1088
1224
  readonly Response: {
1089
1225
  readonly $anchor: "response";
1090
1226
  readonly title: "VTA PCS — Voter Register — response payload";
1091
- readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext: what the client sends the community.";
1227
+ readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.";
1092
1228
  readonly type: "object";
1093
1229
  readonly additionalProperties: false;
1094
1230
  readonly required: readonly ["electionId", "manifestDigest", "request"];
@@ -1103,11 +1239,57 @@ export declare const SPEC: {
1103
1239
  readonly request: {
1104
1240
  readonly $ref: "#/$defs/TicketRequest";
1105
1241
  };
1242
+ readonly ticketDocument: {
1243
+ readonly $ref: "#/$defs/TicketDocument";
1244
+ };
1106
1245
  readonly ext: {
1107
1246
  readonly $ref: "#/$defs/Ext";
1108
1247
  };
1109
1248
  };
1110
1249
  };
1250
+ readonly TicketDocument: {
1251
+ readonly title: "TicketDocument";
1252
+ readonly description: "A complete, signed vtc/elections/tickets/issue/0.1 request document, ready to send to the community unchanged. Its payload is validated by that specification's schema; the members fixed here are the ones this task guarantees.";
1253
+ readonly type: "object";
1254
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
1255
+ readonly properties: {
1256
+ readonly id: {
1257
+ readonly type: "string";
1258
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
1259
+ };
1260
+ readonly type: {
1261
+ readonly const: "https://trusttasks.org/spec/vtc/elections/tickets/issue/0.1";
1262
+ };
1263
+ readonly issuer: {
1264
+ readonly type: "string";
1265
+ readonly minLength: 1;
1266
+ readonly maxLength: 2048;
1267
+ readonly description: "The request's `member`.";
1268
+ };
1269
+ readonly recipient: {
1270
+ readonly type: "string";
1271
+ readonly minLength: 1;
1272
+ readonly maxLength: 2048;
1273
+ readonly description: "The request's `community`.";
1274
+ };
1275
+ readonly issuedAt: {
1276
+ readonly type: "string";
1277
+ readonly format: "date-time";
1278
+ };
1279
+ readonly expiresAt: {
1280
+ readonly type: "string";
1281
+ readonly format: "date-time";
1282
+ };
1283
+ readonly payload: {
1284
+ readonly type: "object";
1285
+ readonly description: "The vtc/elections/tickets/issue/0.1 request payload: `electionId`, `manifestDigest` and `request`, exactly as this response carries them.";
1286
+ };
1287
+ readonly proof: {
1288
+ readonly type: "object";
1289
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
1290
+ };
1291
+ };
1292
+ };
1111
1293
  readonly Ext: {
1112
1294
  readonly title: "Ext";
1113
1295
  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.";
@@ -1541,7 +1723,7 @@ export declare const RESPONSE_SPEC: {
1541
1723
  readonly Response: {
1542
1724
  readonly $anchor: "response";
1543
1725
  readonly title: "VTA PCS — Voter Register — response payload";
1544
- readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext: what the client sends the community.";
1726
+ readonly description: "Exactly the vtc/elections/tickets/issue/0.1 request payload, without its ext — and, when the request named `member`, that request as a document signed as the member.";
1545
1727
  readonly type: "object";
1546
1728
  readonly additionalProperties: false;
1547
1729
  readonly required: readonly ["electionId", "manifestDigest", "request"];
@@ -1556,11 +1738,57 @@ export declare const RESPONSE_SPEC: {
1556
1738
  readonly request: {
1557
1739
  readonly $ref: "#/$defs/TicketRequest";
1558
1740
  };
1741
+ readonly ticketDocument: {
1742
+ readonly $ref: "#/$defs/TicketDocument";
1743
+ };
1559
1744
  readonly ext: {
1560
1745
  readonly $ref: "#/$defs/Ext";
1561
1746
  };
1562
1747
  };
1563
1748
  };
1749
+ readonly TicketDocument: {
1750
+ readonly title: "TicketDocument";
1751
+ readonly description: "A complete, signed vtc/elections/tickets/issue/0.1 request document, ready to send to the community unchanged. Its payload is validated by that specification's schema; the members fixed here are the ones this task guarantees.";
1752
+ readonly type: "object";
1753
+ readonly required: readonly ["id", "type", "issuer", "recipient", "issuedAt", "payload", "proof"];
1754
+ readonly properties: {
1755
+ readonly id: {
1756
+ readonly type: "string";
1757
+ readonly pattern: "^urn:uuid:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
1758
+ };
1759
+ readonly type: {
1760
+ readonly const: "https://trusttasks.org/spec/vtc/elections/tickets/issue/0.1";
1761
+ };
1762
+ readonly issuer: {
1763
+ readonly type: "string";
1764
+ readonly minLength: 1;
1765
+ readonly maxLength: 2048;
1766
+ readonly description: "The request's `member`.";
1767
+ };
1768
+ readonly recipient: {
1769
+ readonly type: "string";
1770
+ readonly minLength: 1;
1771
+ readonly maxLength: 2048;
1772
+ readonly description: "The request's `community`.";
1773
+ };
1774
+ readonly issuedAt: {
1775
+ readonly type: "string";
1776
+ readonly format: "date-time";
1777
+ };
1778
+ readonly expiresAt: {
1779
+ readonly type: "string";
1780
+ readonly format: "date-time";
1781
+ };
1782
+ readonly payload: {
1783
+ readonly type: "object";
1784
+ readonly description: "The vtc/elections/tickets/issue/0.1 request payload: `electionId`, `manifestDigest` and `request`, exactly as this response carries them.";
1785
+ };
1786
+ readonly proof: {
1787
+ readonly type: "object";
1788
+ readonly description: "A Data Integrity proof by an `authentication` key of `issuer`.";
1789
+ };
1790
+ };
1791
+ };
1564
1792
  readonly Ext: {
1565
1793
  readonly title: "Ext";
1566
1794
  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.";
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vta/pcs/voter/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,GAAG,EAAE,cAAc,IAAI,GAAG,EAAE,QAAQ,EAAE,oBAAoB,IAAI,SAAS,EAAE,QAAQ,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,sCAAsC,CAAC;AAGtU;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC;AAE9B;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,UAAU,EAAE,gBAAgB,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC;IACnB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;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