@openvtc/trust-tasks 0.12.7 → 0.12.9
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/dist/vtc/community/profile/show/0.1/payload.d.ts +154 -0
- package/dist/vtc/community/profile/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/community/profile/show/0.1/payload.js +72 -0
- package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
- package/dist/vtc/community/profile/update/0.1/payload.d.ts +184 -0
- package/dist/vtc/community/profile/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/community/profile/update/0.1/payload.js +76 -0
- package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
- package/dist/vtc/config/export/0.1/payload.d.ts +154 -0
- package/dist/vtc/config/export/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/config/export/0.1/payload.js +72 -0
- package/dist/vtc/config/export/0.1/payload.js.map +1 -1
- package/dist/vtc/config/import/0.1/payload.d.ts +154 -0
- package/dist/vtc/config/import/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/config/import/0.1/payload.js +72 -0
- package/dist/vtc/config/import/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/list/0.1/payload.d.ts +20 -0
- package/dist/vtc/endorsement-types/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/endorsement-types/list/0.1/payload.js +8 -0
- package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +20 -0
- package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/endorsement-types/register/0.1/payload.js +8 -0
- package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
- package/dist/vtc/join-requests/decide/0.1/payload.d.ts +42 -0
- package/dist/vtc/join-requests/decide/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/join-requests/decide/0.1/payload.js +28 -0
- package/dist/vtc/join-requests/decide/0.1/payload.js.map +1 -1
- package/dist/vtc/members/list/0.1/payload.d.ts +108 -0
- package/dist/vtc/members/list/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/list/0.1/payload.js +62 -0
- package/dist/vtc/members/list/0.1/payload.js.map +1 -1
- package/dist/vtc/members/show/0.1/payload.d.ts +108 -0
- package/dist/vtc/members/show/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/show/0.1/payload.js +62 -0
- package/dist/vtc/members/show/0.1/payload.js.map +1 -1
- package/dist/vtc/members/update/0.1/payload.d.ts +120 -0
- package/dist/vtc/members/update/0.1/payload.d.ts.map +1 -1
- package/dist/vtc/members/update/0.1/payload.js +69 -0
- package/dist/vtc/members/update/0.1/payload.js.map +1 -1
- package/package.json +1 -1
- package/src/vtc/community/profile/show/0.1/payload.ts +94 -0
- package/src/vtc/community/profile/update/0.1/payload.ts +120 -0
- package/src/vtc/config/export/0.1/payload.ts +94 -0
- package/src/vtc/config/import/0.1/payload.ts +94 -0
- package/src/vtc/endorsement-types/list/0.1/payload.ts +12 -0
- package/src/vtc/endorsement-types/register/0.1/payload.ts +12 -0
- package/src/vtc/join-requests/decide/0.1/payload.ts +38 -0
- package/src/vtc/members/list/0.1/payload.ts +82 -0
- package/src/vtc/members/show/0.1/payload.ts +82 -0
- package/src/vtc/members/update/0.1/payload.ts +93 -0
|
@@ -133,6 +133,37 @@ export const PAYLOAD_SCHEMA = {
|
|
|
133
133
|
],
|
|
134
134
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
135
135
|
},
|
|
136
|
+
"personhood": {
|
|
137
|
+
"type": "boolean",
|
|
138
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
139
|
+
},
|
|
140
|
+
"personhoodAssertedAt": {
|
|
141
|
+
"type": [
|
|
142
|
+
"string",
|
|
143
|
+
"null"
|
|
144
|
+
],
|
|
145
|
+
"format": "date-time",
|
|
146
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
147
|
+
},
|
|
148
|
+
"joinedViaInvitation": {
|
|
149
|
+
"type": "boolean",
|
|
150
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
151
|
+
},
|
|
152
|
+
"memberVmcId": {
|
|
153
|
+
"type": [
|
|
154
|
+
"string",
|
|
155
|
+
"null"
|
|
156
|
+
],
|
|
157
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
158
|
+
},
|
|
159
|
+
"memberVmcReceivedAt": {
|
|
160
|
+
"type": [
|
|
161
|
+
"string",
|
|
162
|
+
"null"
|
|
163
|
+
],
|
|
164
|
+
"format": "date-time",
|
|
165
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
166
|
+
},
|
|
136
167
|
"extensions": {
|
|
137
168
|
"type": "object",
|
|
138
169
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -244,6 +275,37 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
244
275
|
],
|
|
245
276
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
246
277
|
},
|
|
278
|
+
"personhood": {
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
281
|
+
},
|
|
282
|
+
"personhoodAssertedAt": {
|
|
283
|
+
"type": [
|
|
284
|
+
"string",
|
|
285
|
+
"null"
|
|
286
|
+
],
|
|
287
|
+
"format": "date-time",
|
|
288
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
289
|
+
},
|
|
290
|
+
"joinedViaInvitation": {
|
|
291
|
+
"type": "boolean",
|
|
292
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
293
|
+
},
|
|
294
|
+
"memberVmcId": {
|
|
295
|
+
"type": [
|
|
296
|
+
"string",
|
|
297
|
+
"null"
|
|
298
|
+
],
|
|
299
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
300
|
+
},
|
|
301
|
+
"memberVmcReceivedAt": {
|
|
302
|
+
"type": [
|
|
303
|
+
"string",
|
|
304
|
+
"null"
|
|
305
|
+
],
|
|
306
|
+
"format": "date-time",
|
|
307
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
308
|
+
},
|
|
247
309
|
"extensions": {
|
|
248
310
|
"type": "object",
|
|
249
311
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkFH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DAAoE,CAAC;AAKtG;;;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/T;gBACD,qBAAqB,EAAE;oBACrB,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,QAAQ,EAAE,WAAW;oBACrB,aAAa,EAAE,0EAA0E;iBAC1F;gBACD,YAAY,EAAE;oBACZ,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,6IAA6I;iBAC7J;aACF;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -11,6 +11,10 @@ export interface VTCMembersUpdatePayload {
|
|
|
11
11
|
* New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch.
|
|
12
12
|
*/
|
|
13
13
|
role?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged.
|
|
16
|
+
*/
|
|
17
|
+
label?: string | null;
|
|
14
18
|
/**
|
|
15
19
|
* New directory-publish consent.
|
|
16
20
|
*/
|
|
@@ -69,6 +73,26 @@ export interface MemberResponse {
|
|
|
69
73
|
* Id of the member's current role Verifiable Endorsement Credential, if issued.
|
|
70
74
|
*/
|
|
71
75
|
currentRoleVecId?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.
|
|
78
|
+
*/
|
|
79
|
+
personhood?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.
|
|
82
|
+
*/
|
|
83
|
+
personhoodAssertedAt?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.
|
|
86
|
+
*/
|
|
87
|
+
joinedViaInvitation?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* `id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.
|
|
90
|
+
*/
|
|
91
|
+
memberVmcId?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* When that reciprocal credential was received. Paired with `memberVmcId`.
|
|
94
|
+
*/
|
|
95
|
+
memberVmcReceivedAt?: string | null;
|
|
72
96
|
/**
|
|
73
97
|
* Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).
|
|
74
98
|
*/
|
|
@@ -109,6 +133,10 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
109
133
|
readonly minLength: 1;
|
|
110
134
|
readonly description: "New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch.";
|
|
111
135
|
};
|
|
136
|
+
readonly label: {
|
|
137
|
+
readonly type: readonly ["string", "null"];
|
|
138
|
+
readonly description: "Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged.";
|
|
139
|
+
};
|
|
112
140
|
readonly publishConsent: {
|
|
113
141
|
readonly type: "boolean";
|
|
114
142
|
readonly description: "New directory-publish consent.";
|
|
@@ -198,6 +226,28 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
198
226
|
readonly type: readonly ["string", "null"];
|
|
199
227
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
200
228
|
};
|
|
229
|
+
readonly personhood: {
|
|
230
|
+
readonly type: "boolean";
|
|
231
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
232
|
+
};
|
|
233
|
+
readonly personhoodAssertedAt: {
|
|
234
|
+
readonly type: readonly ["string", "null"];
|
|
235
|
+
readonly format: "date-time";
|
|
236
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
237
|
+
};
|
|
238
|
+
readonly joinedViaInvitation: {
|
|
239
|
+
readonly type: "boolean";
|
|
240
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
241
|
+
};
|
|
242
|
+
readonly memberVmcId: {
|
|
243
|
+
readonly type: readonly ["string", "null"];
|
|
244
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
245
|
+
};
|
|
246
|
+
readonly memberVmcReceivedAt: {
|
|
247
|
+
readonly type: readonly ["string", "null"];
|
|
248
|
+
readonly format: "date-time";
|
|
249
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
250
|
+
};
|
|
201
251
|
readonly extensions: {
|
|
202
252
|
readonly type: "object";
|
|
203
253
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -283,6 +333,28 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
283
333
|
readonly type: readonly ["string", "null"];
|
|
284
334
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
285
335
|
};
|
|
336
|
+
readonly personhood: {
|
|
337
|
+
readonly type: "boolean";
|
|
338
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
339
|
+
};
|
|
340
|
+
readonly personhoodAssertedAt: {
|
|
341
|
+
readonly type: readonly ["string", "null"];
|
|
342
|
+
readonly format: "date-time";
|
|
343
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
344
|
+
};
|
|
345
|
+
readonly joinedViaInvitation: {
|
|
346
|
+
readonly type: "boolean";
|
|
347
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
348
|
+
};
|
|
349
|
+
readonly memberVmcId: {
|
|
350
|
+
readonly type: readonly ["string", "null"];
|
|
351
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
352
|
+
};
|
|
353
|
+
readonly memberVmcReceivedAt: {
|
|
354
|
+
readonly type: readonly ["string", "null"];
|
|
355
|
+
readonly format: "date-time";
|
|
356
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
357
|
+
};
|
|
286
358
|
readonly extensions: {
|
|
287
359
|
readonly type: "object";
|
|
288
360
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -320,6 +392,10 @@ export declare const SPEC: {
|
|
|
320
392
|
readonly minLength: 1;
|
|
321
393
|
readonly description: "New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch.";
|
|
322
394
|
};
|
|
395
|
+
readonly label: {
|
|
396
|
+
readonly type: readonly ["string", "null"];
|
|
397
|
+
readonly description: "Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged.";
|
|
398
|
+
};
|
|
323
399
|
readonly publishConsent: {
|
|
324
400
|
readonly type: "boolean";
|
|
325
401
|
readonly description: "New directory-publish consent.";
|
|
@@ -409,6 +485,28 @@ export declare const SPEC: {
|
|
|
409
485
|
readonly type: readonly ["string", "null"];
|
|
410
486
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
411
487
|
};
|
|
488
|
+
readonly personhood: {
|
|
489
|
+
readonly type: "boolean";
|
|
490
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
491
|
+
};
|
|
492
|
+
readonly personhoodAssertedAt: {
|
|
493
|
+
readonly type: readonly ["string", "null"];
|
|
494
|
+
readonly format: "date-time";
|
|
495
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
496
|
+
};
|
|
497
|
+
readonly joinedViaInvitation: {
|
|
498
|
+
readonly type: "boolean";
|
|
499
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
500
|
+
};
|
|
501
|
+
readonly memberVmcId: {
|
|
502
|
+
readonly type: readonly ["string", "null"];
|
|
503
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
504
|
+
};
|
|
505
|
+
readonly memberVmcReceivedAt: {
|
|
506
|
+
readonly type: readonly ["string", "null"];
|
|
507
|
+
readonly format: "date-time";
|
|
508
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
509
|
+
};
|
|
412
510
|
readonly extensions: {
|
|
413
511
|
readonly type: "object";
|
|
414
512
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -504,6 +602,28 @@ export declare const RESPONSE_SPEC: {
|
|
|
504
602
|
readonly type: readonly ["string", "null"];
|
|
505
603
|
readonly description: "Id of the member's current role Verifiable Endorsement Credential, if issued.";
|
|
506
604
|
};
|
|
605
|
+
readonly personhood: {
|
|
606
|
+
readonly type: "boolean";
|
|
607
|
+
readonly description: "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision.";
|
|
608
|
+
};
|
|
609
|
+
readonly personhoodAssertedAt: {
|
|
610
|
+
readonly type: readonly ["string", "null"];
|
|
611
|
+
readonly format: "date-time";
|
|
612
|
+
readonly description: "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag.";
|
|
613
|
+
};
|
|
614
|
+
readonly joinedViaInvitation: {
|
|
615
|
+
readonly type: "boolean";
|
|
616
|
+
readonly description: "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart.";
|
|
617
|
+
};
|
|
618
|
+
readonly memberVmcId: {
|
|
619
|
+
readonly type: readonly ["string", "null"];
|
|
620
|
+
readonly description: "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here.";
|
|
621
|
+
};
|
|
622
|
+
readonly memberVmcReceivedAt: {
|
|
623
|
+
readonly type: readonly ["string", "null"];
|
|
624
|
+
readonly format: "date-time";
|
|
625
|
+
readonly description: "When that reciprocal credential was received. Paired with `memberVmcId`.";
|
|
626
|
+
};
|
|
507
627
|
readonly extensions: {
|
|
508
628
|
readonly type: "object";
|
|
509
629
|
readonly description: "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation).";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/members/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAC;IAC7E;;OAEG;IACH,UAAU,CAAC,EAAE,EAAE,CAAC;IAChB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD,MAAM,WAAW,+BAA+B;IAC9C,MAAM,EAAE,cAAc,CAAC;IACvB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;OAEG;I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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4I1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
|
|
@@ -35,6 +35,13 @@ export const PAYLOAD_SCHEMA = {
|
|
|
35
35
|
"minLength": 1,
|
|
36
36
|
"description": "New role (wire form). MUST NOT be `admin` — promotion to admin is a separate, gated flow, not a metadata patch."
|
|
37
37
|
},
|
|
38
|
+
"label": {
|
|
39
|
+
"type": [
|
|
40
|
+
"string",
|
|
41
|
+
"null"
|
|
42
|
+
],
|
|
43
|
+
"description": "Operator-facing display label for this member. Editable, unlike the DID it labels — which is the point: an operator needs a name they can read on a roster of identifiers they cannot. `null` clears it; omit to leave it unchanged."
|
|
44
|
+
},
|
|
38
45
|
"publishConsent": {
|
|
39
46
|
"type": "boolean",
|
|
40
47
|
"description": "New directory-publish consent."
|
|
@@ -155,6 +162,37 @@ export const PAYLOAD_SCHEMA = {
|
|
|
155
162
|
],
|
|
156
163
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
157
164
|
},
|
|
165
|
+
"personhood": {
|
|
166
|
+
"type": "boolean",
|
|
167
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
168
|
+
},
|
|
169
|
+
"personhoodAssertedAt": {
|
|
170
|
+
"type": [
|
|
171
|
+
"string",
|
|
172
|
+
"null"
|
|
173
|
+
],
|
|
174
|
+
"format": "date-time",
|
|
175
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
176
|
+
},
|
|
177
|
+
"joinedViaInvitation": {
|
|
178
|
+
"type": "boolean",
|
|
179
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
180
|
+
},
|
|
181
|
+
"memberVmcId": {
|
|
182
|
+
"type": [
|
|
183
|
+
"string",
|
|
184
|
+
"null"
|
|
185
|
+
],
|
|
186
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
187
|
+
},
|
|
188
|
+
"memberVmcReceivedAt": {
|
|
189
|
+
"type": [
|
|
190
|
+
"string",
|
|
191
|
+
"null"
|
|
192
|
+
],
|
|
193
|
+
"format": "date-time",
|
|
194
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
195
|
+
},
|
|
158
196
|
"extensions": {
|
|
159
197
|
"type": "object",
|
|
160
198
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -266,6 +304,37 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
266
304
|
],
|
|
267
305
|
"description": "Id of the member's current role Verifiable Endorsement Credential, if issued."
|
|
268
306
|
},
|
|
307
|
+
"personhood": {
|
|
308
|
+
"type": "boolean",
|
|
309
|
+
"description": "Whether the community has asserted that this member is a distinct real person. Read-only here: it is set and cleared by the personhood verbs, and cleared by a renewal-policy downgrade. Load-bearing rather than informational — a community that recognises members of another community may gate on it, so a consumer that cannot read it cannot make that decision."
|
|
310
|
+
},
|
|
311
|
+
"personhoodAssertedAt": {
|
|
312
|
+
"type": [
|
|
313
|
+
"string",
|
|
314
|
+
"null"
|
|
315
|
+
],
|
|
316
|
+
"format": "date-time",
|
|
317
|
+
"description": "When personhood was most recently asserted. Absent where it never has been. Operator-facing: it belongs on admin-gated reads, and a member's own view of themselves need carry only the flag."
|
|
318
|
+
},
|
|
319
|
+
"joinedViaInvitation": {
|
|
320
|
+
"type": "boolean",
|
|
321
|
+
"description": "Whether this member joined by presenting an invitation credential rather than by an admin's decision on an open request. The two routes to membership carry different evidence, and an operator reviewing a roster can otherwise not tell them apart."
|
|
322
|
+
},
|
|
323
|
+
"memberVmcId": {
|
|
324
|
+
"type": [
|
|
325
|
+
"string",
|
|
326
|
+
"null"
|
|
327
|
+
],
|
|
328
|
+
"description": "`id` of the member-issued reciprocal membership credential — the member half of the pair — once the member has sent it. Absent until then, which is the useful signal: it distinguishes a membership the community has asserted from one the member has acknowledged. The credential body is not echoed here."
|
|
329
|
+
},
|
|
330
|
+
"memberVmcReceivedAt": {
|
|
331
|
+
"type": [
|
|
332
|
+
"string",
|
|
333
|
+
"null"
|
|
334
|
+
],
|
|
335
|
+
"format": "date-time",
|
|
336
|
+
"description": "When that reciprocal credential was received. Paired with `memberVmcId`."
|
|
337
|
+
},
|
|
269
338
|
"extensions": {
|
|
270
339
|
"type": "object",
|
|
271
340
|
"description": "Opaque community-defined extension bag. Keys are maintainer-defined; the maintainer caps its size (16 KiB in the reference implementation)."
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/members/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmGH,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,8BAA8B;IACvC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,KAAK;KACN;IACD,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,uBAAuB;SACvC;QACD,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,aAAa,EAAE,iHAAiH;SACjI;QACD,OAAO,EAAE;YACP,MAAM,EAAE;gBACN,QAAQ;gBACR,MAAM;aACP;YACD,aAAa,EAAE,sOAAsO;SACtP;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,SAAS;YACjB,aAAa,EAAE,gCAAgC;SAChD;QACD,qBAAqB,EAAE;YACrB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE;gBACN,OAAO;gBACP,WAAW;gBACX,YAAY;gBACZ,eAAe;aAChB;SACF;QACD,YAAY,EAAE;YACZ,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,wFAAwF;SACxG;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YAC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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,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
package/package.json
CHANGED
|
@@ -35,6 +35,28 @@ export interface CommunityProfile {
|
|
|
35
35
|
* Trust-registry reachability. Populated on reads; not settable.
|
|
36
36
|
*/
|
|
37
37
|
registryStatus?: "active" | "degraded";
|
|
38
|
+
personhood?: PersonhoodGovernance;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* What this community's governance asserts about the personhood of its members.
|
|
42
|
+
*/
|
|
43
|
+
export interface PersonhoodGovernance {
|
|
44
|
+
/**
|
|
45
|
+
* Governance requires that members are real humans. Defaults to `false` when absent: a community that has not considered the question asserts nothing, which is the only safe default for a claim a verifier may rely on.
|
|
46
|
+
*/
|
|
47
|
+
realHuman?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Governance requires that each person holds at most one membership in **this** community. Per-community by definition — the glossary says "exactly one membership in that VTC" — so a single community can satisfy it without any network above it.
|
|
50
|
+
*/
|
|
51
|
+
singleMembership?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* DIDs of the identity-verification providers whose credentials this community accepts as personhood evidence. A community that vets its own members in person lists its own community DID here — it is acting as its own IDVP, which §IDVC permits. An empty list means no list has been published, not that everything is accepted.
|
|
54
|
+
*/
|
|
55
|
+
acceptedIdvps?: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Where the governance framework these assertions refer to can be read.
|
|
58
|
+
*/
|
|
59
|
+
governanceFrameworkUrl?: string | null;
|
|
38
60
|
}
|
|
39
61
|
|
|
40
62
|
/** Trust Task type URI. */
|
|
@@ -155,6 +177,42 @@ export const PAYLOAD_SCHEMA = {
|
|
|
155
177
|
"degraded"
|
|
156
178
|
],
|
|
157
179
|
"description": "Trust-registry reachability. Populated on reads; not settable."
|
|
180
|
+
},
|
|
181
|
+
"personhood": {
|
|
182
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
183
|
+
"description": "What this community's governance asserts about the personhood of its members."
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"PersonhoodGovernance": {
|
|
188
|
+
"$anchor": "personhoodGovernance",
|
|
189
|
+
"title": "PersonhoodGovernance",
|
|
190
|
+
"type": "object",
|
|
191
|
+
"additionalProperties": false,
|
|
192
|
+
"description": "A community's published position on personhood.\n\nDTG Credentials §Personhood Credentials places PHC status here rather than in the credential — \"PHC status is determined by governance and trust registries, not by credential structure\" — so a verifier deciding whether a VMC carries personhood weight reads this, not the credential's type array. §Governance Considerations item 1 makes the acceptable-IDVP list the community's to define and publish.\n\nEvery member is a declaration, not an enforcement: what a community actually accepts is decided by its own policy. Absent means the community has not published a position, which is not the same as asserting the negative.",
|
|
193
|
+
"properties": {
|
|
194
|
+
"realHuman": {
|
|
195
|
+
"type": "boolean",
|
|
196
|
+
"description": "Governance requires that members are real humans. Defaults to `false` when absent: a community that has not considered the question asserts nothing, which is the only safe default for a claim a verifier may rely on."
|
|
197
|
+
},
|
|
198
|
+
"singleMembership": {
|
|
199
|
+
"type": "boolean",
|
|
200
|
+
"description": "Governance requires that each person holds at most one membership in **this** community. Per-community by definition — the glossary says \"exactly one membership in that VTC\" — so a single community can satisfy it without any network above it."
|
|
201
|
+
},
|
|
202
|
+
"acceptedIdvps": {
|
|
203
|
+
"type": "array",
|
|
204
|
+
"items": {
|
|
205
|
+
"type": "string",
|
|
206
|
+
"minLength": 1
|
|
207
|
+
},
|
|
208
|
+
"description": "DIDs of the identity-verification providers whose credentials this community accepts as personhood evidence. A community that vets its own members in person lists its own community DID here — it is acting as its own IDVP, which §IDVC permits. An empty list means no list has been published, not that everything is accepted."
|
|
209
|
+
},
|
|
210
|
+
"governanceFrameworkUrl": {
|
|
211
|
+
"type": [
|
|
212
|
+
"string",
|
|
213
|
+
"null"
|
|
214
|
+
],
|
|
215
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
158
216
|
}
|
|
159
217
|
}
|
|
160
218
|
}
|
|
@@ -251,6 +309,42 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
251
309
|
"degraded"
|
|
252
310
|
],
|
|
253
311
|
"description": "Trust-registry reachability. Populated on reads; not settable."
|
|
312
|
+
},
|
|
313
|
+
"personhood": {
|
|
314
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
315
|
+
"description": "What this community's governance asserts about the personhood of its members."
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"PersonhoodGovernance": {
|
|
320
|
+
"$anchor": "personhoodGovernance",
|
|
321
|
+
"title": "PersonhoodGovernance",
|
|
322
|
+
"type": "object",
|
|
323
|
+
"additionalProperties": false,
|
|
324
|
+
"description": "A community's published position on personhood.\n\nDTG Credentials §Personhood Credentials places PHC status here rather than in the credential — \"PHC status is determined by governance and trust registries, not by credential structure\" — so a verifier deciding whether a VMC carries personhood weight reads this, not the credential's type array. §Governance Considerations item 1 makes the acceptable-IDVP list the community's to define and publish.\n\nEvery member is a declaration, not an enforcement: what a community actually accepts is decided by its own policy. Absent means the community has not published a position, which is not the same as asserting the negative.",
|
|
325
|
+
"properties": {
|
|
326
|
+
"realHuman": {
|
|
327
|
+
"type": "boolean",
|
|
328
|
+
"description": "Governance requires that members are real humans. Defaults to `false` when absent: a community that has not considered the question asserts nothing, which is the only safe default for a claim a verifier may rely on."
|
|
329
|
+
},
|
|
330
|
+
"singleMembership": {
|
|
331
|
+
"type": "boolean",
|
|
332
|
+
"description": "Governance requires that each person holds at most one membership in **this** community. Per-community by definition — the glossary says \"exactly one membership in that VTC\" — so a single community can satisfy it without any network above it."
|
|
333
|
+
},
|
|
334
|
+
"acceptedIdvps": {
|
|
335
|
+
"type": "array",
|
|
336
|
+
"items": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"minLength": 1
|
|
339
|
+
},
|
|
340
|
+
"description": "DIDs of the identity-verification providers whose credentials this community accepts as personhood evidence. A community that vets its own members in person lists its own community DID here — it is acting as its own IDVP, which §IDVC permits. An empty list means no list has been published, not that everything is accepted."
|
|
341
|
+
},
|
|
342
|
+
"governanceFrameworkUrl": {
|
|
343
|
+
"type": [
|
|
344
|
+
"string",
|
|
345
|
+
"null"
|
|
346
|
+
],
|
|
347
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
254
348
|
}
|
|
255
349
|
}
|
|
256
350
|
}
|