@openvtc/trust-tasks 0.12.8 → 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/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
|
@@ -59,6 +59,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
59
59
|
],
|
|
60
60
|
"description": "Set the community's declared relationship-identifier default. See `CommunityProfile.relationshipIdentifierDefault` in the `vtc/_shared/0.1/community` schema. Omit to leave it unchanged."
|
|
61
61
|
},
|
|
62
|
+
"personhood": {
|
|
63
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
64
|
+
"description": "Set the community's published personhood position. See `CommunityProfile.personhood` in the `vtc/_shared/0.1/community` schema. Replaces the whole object — a partial update would leave a verifier unable to tell an unset member from a cleared one. Omit to leave it unchanged."
|
|
65
|
+
},
|
|
62
66
|
"extensions": {
|
|
63
67
|
"type": "object",
|
|
64
68
|
"description": "Opaque community-defined extension bag (maintainer-capped)."
|
|
@@ -160,6 +164,42 @@ export const PAYLOAD_SCHEMA = {
|
|
|
160
164
|
"degraded"
|
|
161
165
|
],
|
|
162
166
|
"description": "Trust-registry reachability. Populated on reads; not settable."
|
|
167
|
+
},
|
|
168
|
+
"personhood": {
|
|
169
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
170
|
+
"description": "What this community's governance asserts about the personhood of its members."
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"PersonhoodGovernance": {
|
|
175
|
+
"$anchor": "personhoodGovernance",
|
|
176
|
+
"title": "PersonhoodGovernance",
|
|
177
|
+
"type": "object",
|
|
178
|
+
"additionalProperties": false,
|
|
179
|
+
"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.",
|
|
180
|
+
"properties": {
|
|
181
|
+
"realHuman": {
|
|
182
|
+
"type": "boolean",
|
|
183
|
+
"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."
|
|
184
|
+
},
|
|
185
|
+
"singleMembership": {
|
|
186
|
+
"type": "boolean",
|
|
187
|
+
"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."
|
|
188
|
+
},
|
|
189
|
+
"acceptedIdvps": {
|
|
190
|
+
"type": "array",
|
|
191
|
+
"items": {
|
|
192
|
+
"type": "string",
|
|
193
|
+
"minLength": 1
|
|
194
|
+
},
|
|
195
|
+
"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."
|
|
196
|
+
},
|
|
197
|
+
"governanceFrameworkUrl": {
|
|
198
|
+
"type": [
|
|
199
|
+
"string",
|
|
200
|
+
"null"
|
|
201
|
+
],
|
|
202
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
163
203
|
}
|
|
164
204
|
}
|
|
165
205
|
}
|
|
@@ -262,6 +302,42 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
262
302
|
"degraded"
|
|
263
303
|
],
|
|
264
304
|
"description": "Trust-registry reachability. Populated on reads; not settable."
|
|
305
|
+
},
|
|
306
|
+
"personhood": {
|
|
307
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
308
|
+
"description": "What this community's governance asserts about the personhood of its members."
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
"PersonhoodGovernance": {
|
|
313
|
+
"$anchor": "personhoodGovernance",
|
|
314
|
+
"title": "PersonhoodGovernance",
|
|
315
|
+
"type": "object",
|
|
316
|
+
"additionalProperties": false,
|
|
317
|
+
"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.",
|
|
318
|
+
"properties": {
|
|
319
|
+
"realHuman": {
|
|
320
|
+
"type": "boolean",
|
|
321
|
+
"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."
|
|
322
|
+
},
|
|
323
|
+
"singleMembership": {
|
|
324
|
+
"type": "boolean",
|
|
325
|
+
"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."
|
|
326
|
+
},
|
|
327
|
+
"acceptedIdvps": {
|
|
328
|
+
"type": "array",
|
|
329
|
+
"items": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"minLength": 1
|
|
332
|
+
},
|
|
333
|
+
"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."
|
|
334
|
+
},
|
|
335
|
+
"governanceFrameworkUrl": {
|
|
336
|
+
"type": [
|
|
337
|
+
"string",
|
|
338
|
+
"null"
|
|
339
|
+
],
|
|
340
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
265
341
|
}
|
|
266
342
|
}
|
|
267
343
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/community/profile/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/community/profile/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAkGH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,8DAAuE,CAAC;AAKhG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,uEAAgF,CAAC;AAKlH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,8DAA8D;IACrE,OAAO,EAAE,wCAAwC;IACjD,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,MAAM,EAAE;YACN,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;S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oBACX,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,yNAAyN;iBACzO;gBACD,kBAAkB,EAAE;oBAClB,MAAM,EAAE,SAAS;oBACjB,aAAa,EAAE,sPAAsP;iBACtQ;gBACD,eAAe,EAAE;oBACf,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;wBAChB,WAAW,EAAE,CAAC;qBACf;oBACD,aAAa,EAAE,qUAAqU;iBACrV;gBACD,wBAAwB,EAAE;oBACxB,MAAM,EAAE;wBACN,QAAQ;wBACR,MAAM;qBACP;oBACD,aAAa,EAAE,uEAAuE;iBACvF;aACF;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,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,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -60,6 +60,7 @@ export interface CommunityProfileSnapshot {
|
|
|
60
60
|
* The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.
|
|
61
61
|
*/
|
|
62
62
|
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
63
|
+
personhood?: PersonhoodGovernance;
|
|
63
64
|
/**
|
|
64
65
|
* Opaque community-defined extension bag.
|
|
65
66
|
*/
|
|
@@ -69,6 +70,27 @@ export interface CommunityProfileSnapshot {
|
|
|
69
70
|
*/
|
|
70
71
|
createdAt?: string;
|
|
71
72
|
}
|
|
73
|
+
/**
|
|
74
|
+
* The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state.
|
|
75
|
+
*/
|
|
76
|
+
export interface PersonhoodGovernance {
|
|
77
|
+
/**
|
|
78
|
+
* 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.
|
|
79
|
+
*/
|
|
80
|
+
realHuman?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* 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.
|
|
83
|
+
*/
|
|
84
|
+
singleMembership?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* 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.
|
|
87
|
+
*/
|
|
88
|
+
acceptedIdvps?: string[];
|
|
89
|
+
/**
|
|
90
|
+
* Where the governance framework these assertions refer to can be read.
|
|
91
|
+
*/
|
|
92
|
+
governanceFrameworkUrl?: string | null;
|
|
93
|
+
}
|
|
72
94
|
/** Trust Task type URI. */
|
|
73
95
|
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/config/export/0.1";
|
|
74
96
|
/** Stable alias for this specification's request payload shape. */
|
|
@@ -196,6 +218,10 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
196
218
|
readonly enum: readonly ["attributed", "pairwise"];
|
|
197
219
|
readonly description: "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.";
|
|
198
220
|
};
|
|
221
|
+
readonly personhood: {
|
|
222
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
223
|
+
readonly description: "The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state.";
|
|
224
|
+
};
|
|
199
225
|
readonly extensions: {
|
|
200
226
|
readonly type: "object";
|
|
201
227
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -207,6 +233,35 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
207
233
|
};
|
|
208
234
|
};
|
|
209
235
|
};
|
|
236
|
+
readonly PersonhoodGovernance: {
|
|
237
|
+
readonly $anchor: "personhoodGovernance";
|
|
238
|
+
readonly title: "PersonhoodGovernance";
|
|
239
|
+
readonly type: "object";
|
|
240
|
+
readonly additionalProperties: false;
|
|
241
|
+
readonly 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.";
|
|
242
|
+
readonly properties: {
|
|
243
|
+
readonly realHuman: {
|
|
244
|
+
readonly type: "boolean";
|
|
245
|
+
readonly 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.";
|
|
246
|
+
};
|
|
247
|
+
readonly singleMembership: {
|
|
248
|
+
readonly type: "boolean";
|
|
249
|
+
readonly 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.";
|
|
250
|
+
};
|
|
251
|
+
readonly acceptedIdvps: {
|
|
252
|
+
readonly type: "array";
|
|
253
|
+
readonly items: {
|
|
254
|
+
readonly type: "string";
|
|
255
|
+
readonly minLength: 1;
|
|
256
|
+
};
|
|
257
|
+
readonly 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.";
|
|
258
|
+
};
|
|
259
|
+
readonly governanceFrameworkUrl: {
|
|
260
|
+
readonly type: readonly ["string", "null"];
|
|
261
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
210
265
|
};
|
|
211
266
|
};
|
|
212
267
|
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
@@ -311,6 +366,10 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
311
366
|
readonly enum: readonly ["attributed", "pairwise"];
|
|
312
367
|
readonly description: "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.";
|
|
313
368
|
};
|
|
369
|
+
readonly personhood: {
|
|
370
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
371
|
+
readonly description: "The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state.";
|
|
372
|
+
};
|
|
314
373
|
readonly extensions: {
|
|
315
374
|
readonly type: "object";
|
|
316
375
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -322,6 +381,35 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
322
381
|
};
|
|
323
382
|
};
|
|
324
383
|
};
|
|
384
|
+
readonly PersonhoodGovernance: {
|
|
385
|
+
readonly $anchor: "personhoodGovernance";
|
|
386
|
+
readonly title: "PersonhoodGovernance";
|
|
387
|
+
readonly type: "object";
|
|
388
|
+
readonly additionalProperties: false;
|
|
389
|
+
readonly 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.";
|
|
390
|
+
readonly properties: {
|
|
391
|
+
readonly realHuman: {
|
|
392
|
+
readonly type: "boolean";
|
|
393
|
+
readonly 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.";
|
|
394
|
+
};
|
|
395
|
+
readonly singleMembership: {
|
|
396
|
+
readonly type: "boolean";
|
|
397
|
+
readonly 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.";
|
|
398
|
+
};
|
|
399
|
+
readonly acceptedIdvps: {
|
|
400
|
+
readonly type: "array";
|
|
401
|
+
readonly items: {
|
|
402
|
+
readonly type: "string";
|
|
403
|
+
readonly minLength: 1;
|
|
404
|
+
};
|
|
405
|
+
readonly 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.";
|
|
406
|
+
};
|
|
407
|
+
readonly governanceFrameworkUrl: {
|
|
408
|
+
readonly type: readonly ["string", "null"];
|
|
409
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
};
|
|
325
413
|
};
|
|
326
414
|
};
|
|
327
415
|
/**
|
|
@@ -445,6 +533,10 @@ export declare const SPEC: {
|
|
|
445
533
|
readonly enum: readonly ["attributed", "pairwise"];
|
|
446
534
|
readonly description: "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.";
|
|
447
535
|
};
|
|
536
|
+
readonly personhood: {
|
|
537
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
538
|
+
readonly description: "The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state.";
|
|
539
|
+
};
|
|
448
540
|
readonly extensions: {
|
|
449
541
|
readonly type: "object";
|
|
450
542
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -456,6 +548,35 @@ export declare const SPEC: {
|
|
|
456
548
|
};
|
|
457
549
|
};
|
|
458
550
|
};
|
|
551
|
+
readonly PersonhoodGovernance: {
|
|
552
|
+
readonly $anchor: "personhoodGovernance";
|
|
553
|
+
readonly title: "PersonhoodGovernance";
|
|
554
|
+
readonly type: "object";
|
|
555
|
+
readonly additionalProperties: false;
|
|
556
|
+
readonly 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.";
|
|
557
|
+
readonly properties: {
|
|
558
|
+
readonly realHuman: {
|
|
559
|
+
readonly type: "boolean";
|
|
560
|
+
readonly 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.";
|
|
561
|
+
};
|
|
562
|
+
readonly singleMembership: {
|
|
563
|
+
readonly type: "boolean";
|
|
564
|
+
readonly 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.";
|
|
565
|
+
};
|
|
566
|
+
readonly acceptedIdvps: {
|
|
567
|
+
readonly type: "array";
|
|
568
|
+
readonly items: {
|
|
569
|
+
readonly type: "string";
|
|
570
|
+
readonly minLength: 1;
|
|
571
|
+
};
|
|
572
|
+
readonly 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.";
|
|
573
|
+
};
|
|
574
|
+
readonly governanceFrameworkUrl: {
|
|
575
|
+
readonly type: readonly ["string", "null"];
|
|
576
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
};
|
|
459
580
|
};
|
|
460
581
|
};
|
|
461
582
|
};
|
|
@@ -570,6 +691,10 @@ export declare const RESPONSE_SPEC: {
|
|
|
570
691
|
readonly enum: readonly ["attributed", "pairwise"];
|
|
571
692
|
readonly description: "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default.";
|
|
572
693
|
};
|
|
694
|
+
readonly personhood: {
|
|
695
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
696
|
+
readonly description: "The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state.";
|
|
697
|
+
};
|
|
573
698
|
readonly extensions: {
|
|
574
699
|
readonly type: "object";
|
|
575
700
|
readonly description: "Opaque community-defined extension bag.";
|
|
@@ -581,6 +706,35 @@ export declare const RESPONSE_SPEC: {
|
|
|
581
706
|
};
|
|
582
707
|
};
|
|
583
708
|
};
|
|
709
|
+
readonly PersonhoodGovernance: {
|
|
710
|
+
readonly $anchor: "personhoodGovernance";
|
|
711
|
+
readonly title: "PersonhoodGovernance";
|
|
712
|
+
readonly type: "object";
|
|
713
|
+
readonly additionalProperties: false;
|
|
714
|
+
readonly 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.";
|
|
715
|
+
readonly properties: {
|
|
716
|
+
readonly realHuman: {
|
|
717
|
+
readonly type: "boolean";
|
|
718
|
+
readonly 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.";
|
|
719
|
+
};
|
|
720
|
+
readonly singleMembership: {
|
|
721
|
+
readonly type: "boolean";
|
|
722
|
+
readonly 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.";
|
|
723
|
+
};
|
|
724
|
+
readonly acceptedIdvps: {
|
|
725
|
+
readonly type: "array";
|
|
726
|
+
readonly items: {
|
|
727
|
+
readonly type: "string";
|
|
728
|
+
readonly minLength: 1;
|
|
729
|
+
};
|
|
730
|
+
readonly 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.";
|
|
731
|
+
};
|
|
732
|
+
readonly governanceFrameworkUrl: {
|
|
733
|
+
readonly type: readonly ["string", "null"];
|
|
734
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
};
|
|
584
738
|
};
|
|
585
739
|
};
|
|
586
740
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/config/export/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,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,8BAA8B;IAC7C,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
|
|
@@ -147,6 +147,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
147
147
|
],
|
|
148
148
|
"description": "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default."
|
|
149
149
|
},
|
|
150
|
+
"personhood": {
|
|
151
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
152
|
+
"description": "The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state."
|
|
153
|
+
},
|
|
150
154
|
"extensions": {
|
|
151
155
|
"type": "object",
|
|
152
156
|
"description": "Opaque community-defined extension bag."
|
|
@@ -157,6 +161,38 @@ export const PAYLOAD_SCHEMA = {
|
|
|
157
161
|
"description": "When the community was created. Provenance only — an import never writes it."
|
|
158
162
|
}
|
|
159
163
|
}
|
|
164
|
+
},
|
|
165
|
+
"PersonhoodGovernance": {
|
|
166
|
+
"$anchor": "personhoodGovernance",
|
|
167
|
+
"title": "PersonhoodGovernance",
|
|
168
|
+
"type": "object",
|
|
169
|
+
"additionalProperties": false,
|
|
170
|
+
"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.",
|
|
171
|
+
"properties": {
|
|
172
|
+
"realHuman": {
|
|
173
|
+
"type": "boolean",
|
|
174
|
+
"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."
|
|
175
|
+
},
|
|
176
|
+
"singleMembership": {
|
|
177
|
+
"type": "boolean",
|
|
178
|
+
"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."
|
|
179
|
+
},
|
|
180
|
+
"acceptedIdvps": {
|
|
181
|
+
"type": "array",
|
|
182
|
+
"items": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"minLength": 1
|
|
185
|
+
},
|
|
186
|
+
"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."
|
|
187
|
+
},
|
|
188
|
+
"governanceFrameworkUrl": {
|
|
189
|
+
"type": [
|
|
190
|
+
"string",
|
|
191
|
+
"null"
|
|
192
|
+
],
|
|
193
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
194
|
+
}
|
|
195
|
+
}
|
|
160
196
|
}
|
|
161
197
|
}
|
|
162
198
|
};
|
|
@@ -284,6 +320,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
284
320
|
],
|
|
285
321
|
"description": "The community's declared relationship-identifier default, as defined on `CommunityProfile` in the `vtc/_shared/0.1/community` schema. Carried in a config export so a restore reproduces the declaration rather than silently reverting it to the implementation default."
|
|
286
322
|
},
|
|
323
|
+
"personhood": {
|
|
324
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
325
|
+
"description": "The community's published personhood position, carried so an export restores it. Governance state, not runtime state — unlike `registryStatus`, which is deliberately absent here because reachability belongs to a running maintainer rather than to exported state."
|
|
326
|
+
},
|
|
287
327
|
"extensions": {
|
|
288
328
|
"type": "object",
|
|
289
329
|
"description": "Opaque community-defined extension bag."
|
|
@@ -294,6 +334,38 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
294
334
|
"description": "When the community was created. Provenance only — an import never writes it."
|
|
295
335
|
}
|
|
296
336
|
}
|
|
337
|
+
},
|
|
338
|
+
"PersonhoodGovernance": {
|
|
339
|
+
"$anchor": "personhoodGovernance",
|
|
340
|
+
"title": "PersonhoodGovernance",
|
|
341
|
+
"type": "object",
|
|
342
|
+
"additionalProperties": false,
|
|
343
|
+
"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.",
|
|
344
|
+
"properties": {
|
|
345
|
+
"realHuman": {
|
|
346
|
+
"type": "boolean",
|
|
347
|
+
"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."
|
|
348
|
+
},
|
|
349
|
+
"singleMembership": {
|
|
350
|
+
"type": "boolean",
|
|
351
|
+
"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."
|
|
352
|
+
},
|
|
353
|
+
"acceptedIdvps": {
|
|
354
|
+
"type": "array",
|
|
355
|
+
"items": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"minLength": 1
|
|
358
|
+
},
|
|
359
|
+
"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."
|
|
360
|
+
},
|
|
361
|
+
"governanceFrameworkUrl": {
|
|
362
|
+
"type": [
|
|
363
|
+
"string",
|
|
364
|
+
"null"
|
|
365
|
+
],
|
|
366
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
367
|
+
}
|
|
368
|
+
}
|
|
297
369
|
}
|
|
298
370
|
}
|
|
299
371
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/config/export/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/config/export/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA4FH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,mDAA4D,CAAC;AAKrF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,4DAAqE,CAAC;AAKvG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,mDAAmD;IAC1D,OAAO,EAAE,6BAA6B;IACtC,aAAa,EAAE,2MAA2M;IAC1N,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,YAAY,EAAE;QACZ,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,sCAAsC;YAC/C,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,UAAU;aACX;YACD,YAAY,EAAE;gBACZ,UAAU,EAAE;oBACV,MAAM,EAAE,8BAA8B;oBACtC,aAAa,EAAE,+EAA+E;iBAC/F;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;QACD,sBAAsB,EAAE;YACtB,SAAS,EAAE,sBAAsB;YACjC,OAAO,EAAE,sBAAsB;YAC/B,aAAa,EAAE,2pBA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