@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
|
@@ -34,6 +34,28 @@ export interface CommunityProfile {
|
|
|
34
34
|
* Trust-registry reachability. Populated on reads; not settable.
|
|
35
35
|
*/
|
|
36
36
|
registryStatus?: "active" | "degraded";
|
|
37
|
+
personhood?: PersonhoodGovernance;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* What this community's governance asserts about the personhood of its members.
|
|
41
|
+
*/
|
|
42
|
+
export interface PersonhoodGovernance {
|
|
43
|
+
/**
|
|
44
|
+
* 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.
|
|
45
|
+
*/
|
|
46
|
+
realHuman?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
singleMembership?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* 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.
|
|
53
|
+
*/
|
|
54
|
+
acceptedIdvps?: string[];
|
|
55
|
+
/**
|
|
56
|
+
* Where the governance framework these assertions refer to can be read.
|
|
57
|
+
*/
|
|
58
|
+
governanceFrameworkUrl?: string | null;
|
|
37
59
|
}
|
|
38
60
|
/** Trust Task type URI. */
|
|
39
61
|
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/community/profile/show/0.1";
|
|
@@ -130,6 +152,39 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
130
152
|
readonly enum: readonly ["active", "degraded"];
|
|
131
153
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
132
154
|
};
|
|
155
|
+
readonly personhood: {
|
|
156
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
157
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
readonly PersonhoodGovernance: {
|
|
162
|
+
readonly $anchor: "personhoodGovernance";
|
|
163
|
+
readonly title: "PersonhoodGovernance";
|
|
164
|
+
readonly type: "object";
|
|
165
|
+
readonly additionalProperties: false;
|
|
166
|
+
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.";
|
|
167
|
+
readonly properties: {
|
|
168
|
+
readonly realHuman: {
|
|
169
|
+
readonly type: "boolean";
|
|
170
|
+
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.";
|
|
171
|
+
};
|
|
172
|
+
readonly singleMembership: {
|
|
173
|
+
readonly type: "boolean";
|
|
174
|
+
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.";
|
|
175
|
+
};
|
|
176
|
+
readonly acceptedIdvps: {
|
|
177
|
+
readonly type: "array";
|
|
178
|
+
readonly items: {
|
|
179
|
+
readonly type: "string";
|
|
180
|
+
readonly minLength: 1;
|
|
181
|
+
};
|
|
182
|
+
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.";
|
|
183
|
+
};
|
|
184
|
+
readonly governanceFrameworkUrl: {
|
|
185
|
+
readonly type: readonly ["string", "null"];
|
|
186
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
187
|
+
};
|
|
133
188
|
};
|
|
134
189
|
};
|
|
135
190
|
};
|
|
@@ -205,6 +260,39 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
205
260
|
readonly enum: readonly ["active", "degraded"];
|
|
206
261
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
207
262
|
};
|
|
263
|
+
readonly personhood: {
|
|
264
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
265
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
};
|
|
269
|
+
readonly PersonhoodGovernance: {
|
|
270
|
+
readonly $anchor: "personhoodGovernance";
|
|
271
|
+
readonly title: "PersonhoodGovernance";
|
|
272
|
+
readonly type: "object";
|
|
273
|
+
readonly additionalProperties: false;
|
|
274
|
+
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.";
|
|
275
|
+
readonly properties: {
|
|
276
|
+
readonly realHuman: {
|
|
277
|
+
readonly type: "boolean";
|
|
278
|
+
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.";
|
|
279
|
+
};
|
|
280
|
+
readonly singleMembership: {
|
|
281
|
+
readonly type: "boolean";
|
|
282
|
+
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.";
|
|
283
|
+
};
|
|
284
|
+
readonly acceptedIdvps: {
|
|
285
|
+
readonly type: "array";
|
|
286
|
+
readonly items: {
|
|
287
|
+
readonly type: "string";
|
|
288
|
+
readonly minLength: 1;
|
|
289
|
+
};
|
|
290
|
+
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.";
|
|
291
|
+
};
|
|
292
|
+
readonly governanceFrameworkUrl: {
|
|
293
|
+
readonly type: readonly ["string", "null"];
|
|
294
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
295
|
+
};
|
|
208
296
|
};
|
|
209
297
|
};
|
|
210
298
|
};
|
|
@@ -298,6 +386,39 @@ export declare const SPEC: {
|
|
|
298
386
|
readonly enum: readonly ["active", "degraded"];
|
|
299
387
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
300
388
|
};
|
|
389
|
+
readonly personhood: {
|
|
390
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
391
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
};
|
|
395
|
+
readonly PersonhoodGovernance: {
|
|
396
|
+
readonly $anchor: "personhoodGovernance";
|
|
397
|
+
readonly title: "PersonhoodGovernance";
|
|
398
|
+
readonly type: "object";
|
|
399
|
+
readonly additionalProperties: false;
|
|
400
|
+
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.";
|
|
401
|
+
readonly properties: {
|
|
402
|
+
readonly realHuman: {
|
|
403
|
+
readonly type: "boolean";
|
|
404
|
+
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.";
|
|
405
|
+
};
|
|
406
|
+
readonly singleMembership: {
|
|
407
|
+
readonly type: "boolean";
|
|
408
|
+
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.";
|
|
409
|
+
};
|
|
410
|
+
readonly acceptedIdvps: {
|
|
411
|
+
readonly type: "array";
|
|
412
|
+
readonly items: {
|
|
413
|
+
readonly type: "string";
|
|
414
|
+
readonly minLength: 1;
|
|
415
|
+
};
|
|
416
|
+
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.";
|
|
417
|
+
};
|
|
418
|
+
readonly governanceFrameworkUrl: {
|
|
419
|
+
readonly type: readonly ["string", "null"];
|
|
420
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
421
|
+
};
|
|
301
422
|
};
|
|
302
423
|
};
|
|
303
424
|
};
|
|
@@ -383,6 +504,39 @@ export declare const RESPONSE_SPEC: {
|
|
|
383
504
|
readonly enum: readonly ["active", "degraded"];
|
|
384
505
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
385
506
|
};
|
|
507
|
+
readonly personhood: {
|
|
508
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
509
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
};
|
|
513
|
+
readonly PersonhoodGovernance: {
|
|
514
|
+
readonly $anchor: "personhoodGovernance";
|
|
515
|
+
readonly title: "PersonhoodGovernance";
|
|
516
|
+
readonly type: "object";
|
|
517
|
+
readonly additionalProperties: false;
|
|
518
|
+
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.";
|
|
519
|
+
readonly properties: {
|
|
520
|
+
readonly realHuman: {
|
|
521
|
+
readonly type: "boolean";
|
|
522
|
+
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.";
|
|
523
|
+
};
|
|
524
|
+
readonly singleMembership: {
|
|
525
|
+
readonly type: "boolean";
|
|
526
|
+
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.";
|
|
527
|
+
};
|
|
528
|
+
readonly acceptedIdvps: {
|
|
529
|
+
readonly type: "array";
|
|
530
|
+
readonly items: {
|
|
531
|
+
readonly type: "string";
|
|
532
|
+
readonly minLength: 1;
|
|
533
|
+
};
|
|
534
|
+
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.";
|
|
535
|
+
};
|
|
536
|
+
readonly governanceFrameworkUrl: {
|
|
537
|
+
readonly type: readonly ["string", "null"];
|
|
538
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
539
|
+
};
|
|
386
540
|
};
|
|
387
541
|
};
|
|
388
542
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/community/profile/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,8BAA8B;IAC7C,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,sCAAsC;IACrD,OAAO,EAAE,gBAAgB,CAAC;IAC1B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,6BAA6B,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IAC1D;;OAEG;IACH,UAAU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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
|
|
@@ -112,6 +112,42 @@ export const PAYLOAD_SCHEMA = {
|
|
|
112
112
|
"degraded"
|
|
113
113
|
],
|
|
114
114
|
"description": "Trust-registry reachability. Populated on reads; not settable."
|
|
115
|
+
},
|
|
116
|
+
"personhood": {
|
|
117
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
118
|
+
"description": "What this community's governance asserts about the personhood of its members."
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"PersonhoodGovernance": {
|
|
123
|
+
"$anchor": "personhoodGovernance",
|
|
124
|
+
"title": "PersonhoodGovernance",
|
|
125
|
+
"type": "object",
|
|
126
|
+
"additionalProperties": false,
|
|
127
|
+
"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.",
|
|
128
|
+
"properties": {
|
|
129
|
+
"realHuman": {
|
|
130
|
+
"type": "boolean",
|
|
131
|
+
"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."
|
|
132
|
+
},
|
|
133
|
+
"singleMembership": {
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"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."
|
|
136
|
+
},
|
|
137
|
+
"acceptedIdvps": {
|
|
138
|
+
"type": "array",
|
|
139
|
+
"items": {
|
|
140
|
+
"type": "string",
|
|
141
|
+
"minLength": 1
|
|
142
|
+
},
|
|
143
|
+
"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."
|
|
144
|
+
},
|
|
145
|
+
"governanceFrameworkUrl": {
|
|
146
|
+
"type": [
|
|
147
|
+
"string",
|
|
148
|
+
"null"
|
|
149
|
+
],
|
|
150
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
115
151
|
}
|
|
116
152
|
}
|
|
117
153
|
}
|
|
@@ -207,6 +243,42 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
207
243
|
"degraded"
|
|
208
244
|
],
|
|
209
245
|
"description": "Trust-registry reachability. Populated on reads; not settable."
|
|
246
|
+
},
|
|
247
|
+
"personhood": {
|
|
248
|
+
"$ref": "#/$defs/PersonhoodGovernance",
|
|
249
|
+
"description": "What this community's governance asserts about the personhood of its members."
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
"PersonhoodGovernance": {
|
|
254
|
+
"$anchor": "personhoodGovernance",
|
|
255
|
+
"title": "PersonhoodGovernance",
|
|
256
|
+
"type": "object",
|
|
257
|
+
"additionalProperties": false,
|
|
258
|
+
"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.",
|
|
259
|
+
"properties": {
|
|
260
|
+
"realHuman": {
|
|
261
|
+
"type": "boolean",
|
|
262
|
+
"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."
|
|
263
|
+
},
|
|
264
|
+
"singleMembership": {
|
|
265
|
+
"type": "boolean",
|
|
266
|
+
"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."
|
|
267
|
+
},
|
|
268
|
+
"acceptedIdvps": {
|
|
269
|
+
"type": "array",
|
|
270
|
+
"items": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"minLength": 1
|
|
273
|
+
},
|
|
274
|
+
"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."
|
|
275
|
+
},
|
|
276
|
+
"governanceFrameworkUrl": {
|
|
277
|
+
"type": [
|
|
278
|
+
"string",
|
|
279
|
+
"null"
|
|
280
|
+
],
|
|
281
|
+
"description": "Where the governance framework these assertions refer to can be read."
|
|
210
282
|
}
|
|
211
283
|
}
|
|
212
284
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/community/profile/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/community/profile/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0DH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,qEAA8E,CAAC;AAKhH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,4DAA4D;IACnE,OAAO,EAAE,sCAAsC;IAC/C,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,+CAA+C;YACxD,M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,EAAE,+EAA+E;iBAC/F;aACF;SACF;QACD,sBAAsB,EAAE;YACtB,SAAS,EAAE,sBAAsB;YACjC,OAAO,EAAE,sBAAsB;YAC/B,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,aAAa,EAAE,sqBAAsqB;YACrrB,YAAY,EAAE;gBACZ,WAAW,EAAE;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,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"}
|
|
@@ -13,12 +13,34 @@ export interface VTCCommunityProfileUpdatePayload {
|
|
|
13
13
|
* Set the community's declared relationship-identifier default. See `CommunityProfile.relationshipIdentifierDefault` in the `vtc/_shared/0.1/community` schema. Omit to leave it unchanged.
|
|
14
14
|
*/
|
|
15
15
|
relationshipIdentifierDefault?: "attributed" | "pairwise";
|
|
16
|
+
personhood?: PersonhoodGovernance;
|
|
16
17
|
/**
|
|
17
18
|
* Opaque community-defined extension bag (maintainer-capped).
|
|
18
19
|
*/
|
|
19
20
|
extensions?: {};
|
|
20
21
|
ext?: Ext;
|
|
21
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* 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.
|
|
25
|
+
*/
|
|
26
|
+
export interface PersonhoodGovernance {
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
*/
|
|
30
|
+
realHuman?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
*/
|
|
34
|
+
singleMembership?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* 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.
|
|
37
|
+
*/
|
|
38
|
+
acceptedIdvps?: string[];
|
|
39
|
+
/**
|
|
40
|
+
* Where the governance framework these assertions refer to can be read.
|
|
41
|
+
*/
|
|
42
|
+
governanceFrameworkUrl?: string | null;
|
|
43
|
+
}
|
|
22
44
|
/**
|
|
23
45
|
* 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.
|
|
24
46
|
*/
|
|
@@ -52,6 +74,28 @@ export interface CommunityProfile {
|
|
|
52
74
|
* Trust-registry reachability. Populated on reads; not settable.
|
|
53
75
|
*/
|
|
54
76
|
registryStatus?: "active" | "degraded";
|
|
77
|
+
personhood?: PersonhoodGovernance1;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* What this community's governance asserts about the personhood of its members.
|
|
81
|
+
*/
|
|
82
|
+
export interface PersonhoodGovernance1 {
|
|
83
|
+
/**
|
|
84
|
+
* 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.
|
|
85
|
+
*/
|
|
86
|
+
realHuman?: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* 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.
|
|
89
|
+
*/
|
|
90
|
+
singleMembership?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* 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.
|
|
93
|
+
*/
|
|
94
|
+
acceptedIdvps?: string[];
|
|
95
|
+
/**
|
|
96
|
+
* Where the governance framework these assertions refer to can be read.
|
|
97
|
+
*/
|
|
98
|
+
governanceFrameworkUrl?: string | null;
|
|
55
99
|
}
|
|
56
100
|
/** Trust Task type URI. */
|
|
57
101
|
export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/community/profile/update/0.1";
|
|
@@ -102,6 +146,10 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
102
146
|
readonly enum: readonly ["attributed", "pairwise"];
|
|
103
147
|
readonly 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.";
|
|
104
148
|
};
|
|
149
|
+
readonly personhood: {
|
|
150
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
151
|
+
readonly 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.";
|
|
152
|
+
};
|
|
105
153
|
readonly extensions: {
|
|
106
154
|
readonly type: "object";
|
|
107
155
|
readonly description: "Opaque community-defined extension bag (maintainer-capped).";
|
|
@@ -184,6 +232,39 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
184
232
|
readonly enum: readonly ["active", "degraded"];
|
|
185
233
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
186
234
|
};
|
|
235
|
+
readonly personhood: {
|
|
236
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
237
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
238
|
+
};
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
readonly PersonhoodGovernance: {
|
|
242
|
+
readonly $anchor: "personhoodGovernance";
|
|
243
|
+
readonly title: "PersonhoodGovernance";
|
|
244
|
+
readonly type: "object";
|
|
245
|
+
readonly additionalProperties: false;
|
|
246
|
+
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.";
|
|
247
|
+
readonly properties: {
|
|
248
|
+
readonly realHuman: {
|
|
249
|
+
readonly type: "boolean";
|
|
250
|
+
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.";
|
|
251
|
+
};
|
|
252
|
+
readonly singleMembership: {
|
|
253
|
+
readonly type: "boolean";
|
|
254
|
+
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.";
|
|
255
|
+
};
|
|
256
|
+
readonly acceptedIdvps: {
|
|
257
|
+
readonly type: "array";
|
|
258
|
+
readonly items: {
|
|
259
|
+
readonly type: "string";
|
|
260
|
+
readonly minLength: 1;
|
|
261
|
+
};
|
|
262
|
+
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.";
|
|
263
|
+
};
|
|
264
|
+
readonly governanceFrameworkUrl: {
|
|
265
|
+
readonly type: readonly ["string", "null"];
|
|
266
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
267
|
+
};
|
|
187
268
|
};
|
|
188
269
|
};
|
|
189
270
|
};
|
|
@@ -266,6 +347,39 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
266
347
|
readonly enum: readonly ["active", "degraded"];
|
|
267
348
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
268
349
|
};
|
|
350
|
+
readonly personhood: {
|
|
351
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
352
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
353
|
+
};
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
readonly PersonhoodGovernance: {
|
|
357
|
+
readonly $anchor: "personhoodGovernance";
|
|
358
|
+
readonly title: "PersonhoodGovernance";
|
|
359
|
+
readonly type: "object";
|
|
360
|
+
readonly additionalProperties: false;
|
|
361
|
+
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.";
|
|
362
|
+
readonly properties: {
|
|
363
|
+
readonly realHuman: {
|
|
364
|
+
readonly type: "boolean";
|
|
365
|
+
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.";
|
|
366
|
+
};
|
|
367
|
+
readonly singleMembership: {
|
|
368
|
+
readonly type: "boolean";
|
|
369
|
+
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.";
|
|
370
|
+
};
|
|
371
|
+
readonly acceptedIdvps: {
|
|
372
|
+
readonly type: "array";
|
|
373
|
+
readonly items: {
|
|
374
|
+
readonly type: "string";
|
|
375
|
+
readonly minLength: 1;
|
|
376
|
+
};
|
|
377
|
+
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.";
|
|
378
|
+
};
|
|
379
|
+
readonly governanceFrameworkUrl: {
|
|
380
|
+
readonly type: readonly ["string", "null"];
|
|
381
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
382
|
+
};
|
|
269
383
|
};
|
|
270
384
|
};
|
|
271
385
|
};
|
|
@@ -313,6 +427,10 @@ export declare const SPEC: {
|
|
|
313
427
|
readonly enum: readonly ["attributed", "pairwise"];
|
|
314
428
|
readonly 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.";
|
|
315
429
|
};
|
|
430
|
+
readonly personhood: {
|
|
431
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
432
|
+
readonly 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.";
|
|
433
|
+
};
|
|
316
434
|
readonly extensions: {
|
|
317
435
|
readonly type: "object";
|
|
318
436
|
readonly description: "Opaque community-defined extension bag (maintainer-capped).";
|
|
@@ -395,6 +513,39 @@ export declare const SPEC: {
|
|
|
395
513
|
readonly enum: readonly ["active", "degraded"];
|
|
396
514
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
397
515
|
};
|
|
516
|
+
readonly personhood: {
|
|
517
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
518
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
519
|
+
};
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
readonly PersonhoodGovernance: {
|
|
523
|
+
readonly $anchor: "personhoodGovernance";
|
|
524
|
+
readonly title: "PersonhoodGovernance";
|
|
525
|
+
readonly type: "object";
|
|
526
|
+
readonly additionalProperties: false;
|
|
527
|
+
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.";
|
|
528
|
+
readonly properties: {
|
|
529
|
+
readonly realHuman: {
|
|
530
|
+
readonly type: "boolean";
|
|
531
|
+
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.";
|
|
532
|
+
};
|
|
533
|
+
readonly singleMembership: {
|
|
534
|
+
readonly type: "boolean";
|
|
535
|
+
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.";
|
|
536
|
+
};
|
|
537
|
+
readonly acceptedIdvps: {
|
|
538
|
+
readonly type: "array";
|
|
539
|
+
readonly items: {
|
|
540
|
+
readonly type: "string";
|
|
541
|
+
readonly minLength: 1;
|
|
542
|
+
};
|
|
543
|
+
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.";
|
|
544
|
+
};
|
|
545
|
+
readonly governanceFrameworkUrl: {
|
|
546
|
+
readonly type: readonly ["string", "null"];
|
|
547
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
548
|
+
};
|
|
398
549
|
};
|
|
399
550
|
};
|
|
400
551
|
};
|
|
@@ -487,6 +638,39 @@ export declare const RESPONSE_SPEC: {
|
|
|
487
638
|
readonly enum: readonly ["active", "degraded"];
|
|
488
639
|
readonly description: "Trust-registry reachability. Populated on reads; not settable.";
|
|
489
640
|
};
|
|
641
|
+
readonly personhood: {
|
|
642
|
+
readonly $ref: "#/$defs/PersonhoodGovernance";
|
|
643
|
+
readonly description: "What this community's governance asserts about the personhood of its members.";
|
|
644
|
+
};
|
|
645
|
+
};
|
|
646
|
+
};
|
|
647
|
+
readonly PersonhoodGovernance: {
|
|
648
|
+
readonly $anchor: "personhoodGovernance";
|
|
649
|
+
readonly title: "PersonhoodGovernance";
|
|
650
|
+
readonly type: "object";
|
|
651
|
+
readonly additionalProperties: false;
|
|
652
|
+
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.";
|
|
653
|
+
readonly properties: {
|
|
654
|
+
readonly realHuman: {
|
|
655
|
+
readonly type: "boolean";
|
|
656
|
+
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.";
|
|
657
|
+
};
|
|
658
|
+
readonly singleMembership: {
|
|
659
|
+
readonly type: "boolean";
|
|
660
|
+
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.";
|
|
661
|
+
};
|
|
662
|
+
readonly acceptedIdvps: {
|
|
663
|
+
readonly type: "array";
|
|
664
|
+
readonly items: {
|
|
665
|
+
readonly type: "string";
|
|
666
|
+
readonly minLength: 1;
|
|
667
|
+
};
|
|
668
|
+
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.";
|
|
669
|
+
};
|
|
670
|
+
readonly governanceFrameworkUrl: {
|
|
671
|
+
readonly type: readonly ["string", "null"];
|
|
672
|
+
readonly description: "Where the governance framework these assertions refer to can be read.";
|
|
673
|
+
};
|
|
490
674
|
};
|
|
491
675
|
};
|
|
492
676
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/community/profile/update/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,gCAAgC;IAC/C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,6BAA6B,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IAC1D;;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,wCAAwC;IACvD,OAAO,EAAE,gBAAgB,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,MA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