@openvtc/trust-tasks 0.12.8 → 0.12.10

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.
Files changed (63) hide show
  1. package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
  2. package/dist/vtc/ceremonies/list/0.1/payload.d.ts +22 -0
  3. package/dist/vtc/ceremonies/list/0.1/payload.d.ts.map +1 -1
  4. package/dist/vtc/ceremonies/list/0.1/payload.js +8 -0
  5. package/dist/vtc/ceremonies/list/0.1/payload.js.map +1 -1
  6. package/dist/vtc/community/profile/show/0.1/payload.d.ts +235 -22
  7. package/dist/vtc/community/profile/show/0.1/payload.d.ts.map +1 -1
  8. package/dist/vtc/community/profile/show/0.1/payload.js +106 -8
  9. package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
  10. package/dist/vtc/community/profile/update/0.1/payload.d.ts +265 -22
  11. package/dist/vtc/community/profile/update/0.1/payload.d.ts.map +1 -1
  12. package/dist/vtc/community/profile/update/0.1/payload.js +110 -8
  13. package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
  14. package/dist/vtc/config/export/0.1/payload.d.ts +154 -0
  15. package/dist/vtc/config/export/0.1/payload.d.ts.map +1 -1
  16. package/dist/vtc/config/export/0.1/payload.js +72 -0
  17. package/dist/vtc/config/export/0.1/payload.js.map +1 -1
  18. package/dist/vtc/config/import/0.1/payload.d.ts +154 -0
  19. package/dist/vtc/config/import/0.1/payload.d.ts.map +1 -1
  20. package/dist/vtc/config/import/0.1/payload.js +72 -0
  21. package/dist/vtc/config/import/0.1/payload.js.map +1 -1
  22. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +65 -65
  23. package/dist/vtc/endorsements/issue/0.1/payload.d.ts.map +1 -1
  24. package/dist/vtc/endorsements/issue/0.1/payload.js +36 -32
  25. package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
  26. package/dist/vtc/endorsements/list/0.1/payload.d.ts +41 -61
  27. package/dist/vtc/endorsements/list/0.1/payload.d.ts.map +1 -1
  28. package/dist/vtc/endorsements/list/0.1/payload.js +24 -30
  29. package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
  30. package/dist/vtc/endorsements/show/0.1/payload.d.ts +41 -61
  31. package/dist/vtc/endorsements/show/0.1/payload.d.ts.map +1 -1
  32. package/dist/vtc/endorsements/show/0.1/payload.js +24 -30
  33. package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
  34. package/dist/vtc/install/claim/start/0.1/payload.d.ts +18 -0
  35. package/dist/vtc/install/claim/start/0.1/payload.d.ts.map +1 -1
  36. package/dist/vtc/install/claim/start/0.1/payload.js +5 -0
  37. package/dist/vtc/install/claim/start/0.1/payload.js.map +1 -1
  38. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts +491 -0
  39. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts.map +1 -1
  40. package/dist/vtc/registry/diagnostics/0.1/payload.js +260 -0
  41. package/dist/vtc/registry/diagnostics/0.1/payload.js.map +1 -1
  42. package/dist/vtc/website/files/list/0.1/payload.d.ts +24 -0
  43. package/dist/vtc/website/files/list/0.1/payload.d.ts.map +1 -1
  44. package/dist/vtc/website/files/list/0.1/payload.js +10 -0
  45. package/dist/vtc/website/files/list/0.1/payload.js.map +1 -1
  46. package/dist/vtc/website/generations/list/0.1/payload.d.ts +48 -0
  47. package/dist/vtc/website/generations/list/0.1/payload.d.ts.map +1 -1
  48. package/dist/vtc/website/generations/list/0.1/payload.js +20 -0
  49. package/dist/vtc/website/generations/list/0.1/payload.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/vtc/_shared/0.1/endorsement.ts +1 -1
  52. package/src/vtc/ceremonies/list/0.1/payload.ts +14 -0
  53. package/src/vtc/community/profile/show/0.1/payload.ts +141 -10
  54. package/src/vtc/community/profile/update/0.1/payload.ts +167 -10
  55. package/src/vtc/config/export/0.1/payload.ts +94 -0
  56. package/src/vtc/config/import/0.1/payload.ts +94 -0
  57. package/src/vtc/endorsements/issue/0.1/payload.ts +45 -41
  58. package/src/vtc/endorsements/list/0.1/payload.ts +29 -39
  59. package/src/vtc/endorsements/show/0.1/payload.ts +29 -39
  60. package/src/vtc/install/claim/start/0.1/payload.ts +13 -0
  61. package/src/vtc/registry/diagnostics/0.1/payload.ts +343 -0
  62. package/src/vtc/website/files/list/0.1/payload.ts +14 -0
  63. package/src/vtc/website/generations/list/0.1/payload.ts +28 -0
@@ -3,7 +3,7 @@
3
3
  * Source: specs/vtc/_shared/0.1/endorsement.schema.json
4
4
  */
5
5
  /**
6
- * Shared type for the vtc/endorsements/* family: one issued Verifiable Endorsement Credential (VEC) row. Embeds the registry-wide credentials/_shared IssuedCredential receipt and adds the VTC-specific parts — the registered endorsement type and the shared status-list slot that makes the endorsement third-party revocation-checkable.
6
+ * Shared type for the vtc/endorsements/* family: one issued Verifiable Endorsement Credential (VEC) row. Embeds the registry-wide credentials/_shared CredentialReference and adds the VTC-specific parts — the registered endorsement type and the shared status-list slot that makes the endorsement third-party revocation-checkable.
7
7
  */
8
8
  export interface VTCSharedEndorsementDefinitions {
9
9
  [k: string]: unknown | undefined;
@@ -47,6 +47,12 @@ export interface CeremonyManifest {
47
47
  * Field definitions the UI renders. An unrecognised field type MUST render generically, never be dropped.
48
48
  */
49
49
  fields?: {}[];
50
+ /**
51
+ * A JSON skeleton of the verified `Facts` input this ceremony evaluates, with `$field:<key>`, `$now` and `$if` directives an operator console materialises from the form above.
52
+ *
53
+ * Without it a console can render a ceremony's fields but cannot show what the resulting decision input looks like — the difference between a form and a simulator. Advisory: the maintainer builds the real `Facts` server-side and never trusts a client-supplied one.
54
+ */
55
+ factsTemplate?: {};
50
56
  }
51
57
  /** Trust Task type URI. */
52
58
  export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/ceremonies/list/0.1";
@@ -139,6 +145,10 @@ export declare const PAYLOAD_SCHEMA: {
139
145
  };
140
146
  readonly description: "Field definitions the UI renders. An unrecognised field type MUST render generically, never be dropped.";
141
147
  };
148
+ readonly factsTemplate: {
149
+ readonly type: "object";
150
+ readonly description: "A JSON skeleton of the verified `Facts` input this ceremony evaluates, with `$field:<key>`, `$now` and `$if` directives an operator console materialises from the form above.\n\nWithout it a console can render a ceremony's fields but cannot show what the resulting decision input looks like — the difference between a form and a simulator. Advisory: the maintainer builds the real `Facts` server-side and never trusts a client-supplied one.";
151
+ };
142
152
  };
143
153
  };
144
154
  readonly Ext: {
@@ -220,6 +230,10 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
220
230
  };
221
231
  readonly description: "Field definitions the UI renders. An unrecognised field type MUST render generically, never be dropped.";
222
232
  };
233
+ readonly factsTemplate: {
234
+ readonly type: "object";
235
+ readonly description: "A JSON skeleton of the verified `Facts` input this ceremony evaluates, with `$field:<key>`, `$now` and `$if` directives an operator console materialises from the form above.\n\nWithout it a console can render a ceremony's fields but cannot show what the resulting decision input looks like — the difference between a form and a simulator. Advisory: the maintainer builds the real `Facts` server-side and never trusts a client-supplied one.";
236
+ };
223
237
  };
224
238
  };
225
239
  readonly Ext: {
@@ -319,6 +333,10 @@ export declare const SPEC: {
319
333
  };
320
334
  readonly description: "Field definitions the UI renders. An unrecognised field type MUST render generically, never be dropped.";
321
335
  };
336
+ readonly factsTemplate: {
337
+ readonly type: "object";
338
+ readonly description: "A JSON skeleton of the verified `Facts` input this ceremony evaluates, with `$field:<key>`, `$now` and `$if` directives an operator console materialises from the form above.\n\nWithout it a console can render a ceremony's fields but cannot show what the resulting decision input looks like — the difference between a form and a simulator. Advisory: the maintainer builds the real `Facts` server-side and never trusts a client-supplied one.";
339
+ };
322
340
  };
323
341
  };
324
342
  readonly Ext: {
@@ -410,6 +428,10 @@ export declare const RESPONSE_SPEC: {
410
428
  };
411
429
  readonly description: "Field definitions the UI renders. An unrecognised field type MUST render generically, never be dropped.";
412
430
  };
431
+ readonly factsTemplate: {
432
+ readonly type: "object";
433
+ readonly description: "A JSON skeleton of the verified `Facts` input this ceremony evaluates, with `$field:<key>`, `$now` and `$if` directives an operator console materialises from the form above.\n\nWithout it a console can render a ceremony's fields but cannot show what the resulting decision input looks like — the difference between a form and a simulator. Advisory: the maintainer builds the real `Facts` server-side and never trusts a client-supplied one.";
434
+ };
413
435
  };
414
436
  };
415
437
  readonly Ext: {
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/ceremonies/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,wBAAwB;IACvC,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,gCAAgC;IAC/C;;OAEG;IACH,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAC/B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC;CACf;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,qDAA8D,CAAC;AAEvF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,wBAAwB,CAAC;AAE/C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,8DAAuE,CAAC;AAEzG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAExD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;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AAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,CAAC,EAAE,EAAE,EAAE,CAAC;IACd;;;;OAIG;IACH,aAAa,CAAC,EAAE,EAAE,CAAC;CACpB;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,qDAA8D,CAAC;AAEvF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,wBAAwB,CAAC;AAE/C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,8DAAuE,CAAC;AAEzG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,gCAAgC,CAAC;AAExD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyF1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
@@ -94,6 +94,10 @@ export const PAYLOAD_SCHEMA = {
94
94
  "type": "object"
95
95
  },
96
96
  "description": "Field definitions the UI renders. An unrecognised field type MUST render generically, never be dropped."
97
+ },
98
+ "factsTemplate": {
99
+ "type": "object",
100
+ "description": "A JSON skeleton of the verified `Facts` input this ceremony evaluates, with `$field:<key>`, `$now` and `$if` directives an operator console materialises from the form above.\n\nWithout it a console can render a ceremony's fields but cannot show what the resulting decision input looks like — the difference between a form and a simulator. Advisory: the maintainer builds the real `Facts` server-side and never trusts a client-supplied one."
97
101
  }
98
102
  }
99
103
  },
@@ -181,6 +185,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
181
185
  "type": "object"
182
186
  },
183
187
  "description": "Field definitions the UI renders. An unrecognised field type MUST render generically, never be dropped."
188
+ },
189
+ "factsTemplate": {
190
+ "type": "object",
191
+ "description": "A JSON skeleton of the verified `Facts` input this ceremony evaluates, with `$field:<key>`, `$now` and `$if` directives an operator console materialises from the form above.\n\nWithout it a console can render a ceremony's fields but cannot show what the resulting decision input looks like — the difference between a form and a simulator. Advisory: the maintainer builds the real `Facts` server-side and never trusts a client-supplied one."
184
192
  }
185
193
  }
186
194
  },
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/ceremonies/list/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAiDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,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,wCAAwC;YACjD,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,YAAY;aACb;YACD,YAAY,EAAE;gBAC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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"}
@@ -12,10 +12,21 @@ export interface Ext {
12
12
  [k: string]: unknown | undefined;
13
13
  }
14
14
  export interface VTCCommunityProfileShowResponsePayload {
15
- profile: CommunityProfile;
15
+ profile: CommunityProfileView;
16
16
  ext?: Ext;
17
17
  }
18
- export interface CommunityProfile {
18
+ /**
19
+ * The community's profile as read, including the immutable `communityDid` an update cannot set.
20
+ */
21
+ export interface CommunityProfileView {
22
+ /**
23
+ * The community's own DID — the identifier every credential it issues names as `issuer`, and the one a member's credential binds them to. Immutable: set when the community is created and not settable through an update.
24
+ */
25
+ communityDid: string;
26
+ /**
27
+ * When the community was created. Immutable, like `communityDid`.
28
+ */
29
+ createdAt?: string;
19
30
  name: string;
20
31
  description?: string;
21
32
  logoUrl?: string | null;
@@ -34,6 +45,28 @@ export interface CommunityProfile {
34
45
  * Trust-registry reachability. Populated on reads; not settable.
35
46
  */
36
47
  registryStatus?: "active" | "degraded";
48
+ personhood?: PersonhoodGovernance;
49
+ }
50
+ /**
51
+ * What this community's governance asserts about the personhood of its members.
52
+ */
53
+ export interface PersonhoodGovernance {
54
+ /**
55
+ * 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.
56
+ */
57
+ realHuman?: boolean;
58
+ /**
59
+ * 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.
60
+ */
61
+ singleMembership?: boolean;
62
+ /**
63
+ * 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.
64
+ */
65
+ acceptedIdvps?: string[];
66
+ /**
67
+ * Where the governance framework these assertions refer to can be read.
68
+ */
69
+ governanceFrameworkUrl?: string | null;
37
70
  }
38
71
  /** Trust Task type URI. */
39
72
  export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/community/profile/show/0.1";
@@ -72,7 +105,8 @@ export declare const PAYLOAD_SCHEMA: {
72
105
  readonly required: readonly ["profile"];
73
106
  readonly properties: {
74
107
  readonly profile: {
75
- readonly $ref: "#/$defs/CommunityProfile";
108
+ readonly $ref: "#/$defs/CommunityProfileView";
109
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
76
110
  };
77
111
  readonly ext: {
78
112
  readonly $ref: "#/$defs/Ext";
@@ -89,13 +123,24 @@ export declare const PAYLOAD_SCHEMA: {
89
123
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
90
124
  };
91
125
  };
92
- readonly CommunityProfile: {
93
- readonly $anchor: "communityProfile";
94
- readonly title: "CommunityProfile";
126
+ readonly CommunityProfileView: {
127
+ readonly $anchor: "communityProfileView";
128
+ readonly title: "CommunityProfileView";
95
129
  readonly type: "object";
96
130
  readonly additionalProperties: false;
97
- readonly required: readonly ["name", "language"];
131
+ readonly description: "A community profile **as read**: every member of CommunityProfile, plus the immutable identity a reader needs and an update must never set.\n\nCommunityProfile is the update-facing view and omits `communityDid` on purpose, so that a patch cannot re-point a community's identity. That is right for a payload and wrong for a response: a client holding a profile has no other way to learn which DID to verify that community's credentials against, and `community/profile/show` returning the update-facing view left the one member a consumer most needs undefined.\n\nSo reads get this and updates keep CommunityProfile. The split is the point — the immutability of `communityDid` is enforced by it being absent from the payload, not by prose asking implementers not to honour it.";
132
+ readonly required: readonly ["communityDid", "name", "language"];
98
133
  readonly properties: {
134
+ readonly communityDid: {
135
+ readonly type: "string";
136
+ readonly minLength: 1;
137
+ readonly description: "The community's own DID — the identifier every credential it issues names as `issuer`, and the one a member's credential binds them to. Immutable: set when the community is created and not settable through an update.";
138
+ };
139
+ readonly createdAt: {
140
+ readonly type: "string";
141
+ readonly format: "date-time";
142
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
143
+ };
99
144
  readonly name: {
100
145
  readonly type: "string";
101
146
  readonly minLength: 1;
@@ -130,6 +175,39 @@ export declare const PAYLOAD_SCHEMA: {
130
175
  readonly enum: readonly ["active", "degraded"];
131
176
  readonly description: "Trust-registry reachability. Populated on reads; not settable.";
132
177
  };
178
+ readonly personhood: {
179
+ readonly $ref: "#/$defs/PersonhoodGovernance";
180
+ readonly description: "What this community's governance asserts about the personhood of its members.";
181
+ };
182
+ };
183
+ };
184
+ readonly PersonhoodGovernance: {
185
+ readonly $anchor: "personhoodGovernance";
186
+ readonly title: "PersonhoodGovernance";
187
+ readonly type: "object";
188
+ readonly additionalProperties: false;
189
+ 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.";
190
+ readonly properties: {
191
+ readonly realHuman: {
192
+ readonly type: "boolean";
193
+ 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.";
194
+ };
195
+ readonly singleMembership: {
196
+ readonly type: "boolean";
197
+ 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.";
198
+ };
199
+ readonly acceptedIdvps: {
200
+ readonly type: "array";
201
+ readonly items: {
202
+ readonly type: "string";
203
+ readonly minLength: 1;
204
+ };
205
+ 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.";
206
+ };
207
+ readonly governanceFrameworkUrl: {
208
+ readonly type: readonly ["string", "null"];
209
+ readonly description: "Where the governance framework these assertions refer to can be read.";
210
+ };
133
211
  };
134
212
  };
135
213
  };
@@ -147,7 +225,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
147
225
  readonly required: readonly ["profile"];
148
226
  readonly properties: {
149
227
  readonly profile: {
150
- readonly $ref: "#/$defs/CommunityProfile";
228
+ readonly $ref: "#/$defs/CommunityProfileView";
229
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
151
230
  };
152
231
  readonly ext: {
153
232
  readonly $ref: "#/$defs/Ext";
@@ -164,13 +243,24 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
164
243
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
165
244
  };
166
245
  };
167
- readonly CommunityProfile: {
168
- readonly $anchor: "communityProfile";
169
- readonly title: "CommunityProfile";
246
+ readonly CommunityProfileView: {
247
+ readonly $anchor: "communityProfileView";
248
+ readonly title: "CommunityProfileView";
170
249
  readonly type: "object";
171
250
  readonly additionalProperties: false;
172
- readonly required: readonly ["name", "language"];
251
+ readonly description: "A community profile **as read**: every member of CommunityProfile, plus the immutable identity a reader needs and an update must never set.\n\nCommunityProfile is the update-facing view and omits `communityDid` on purpose, so that a patch cannot re-point a community's identity. That is right for a payload and wrong for a response: a client holding a profile has no other way to learn which DID to verify that community's credentials against, and `community/profile/show` returning the update-facing view left the one member a consumer most needs undefined.\n\nSo reads get this and updates keep CommunityProfile. The split is the point — the immutability of `communityDid` is enforced by it being absent from the payload, not by prose asking implementers not to honour it.";
252
+ readonly required: readonly ["communityDid", "name", "language"];
173
253
  readonly properties: {
254
+ readonly communityDid: {
255
+ readonly type: "string";
256
+ readonly minLength: 1;
257
+ readonly description: "The community's own DID — the identifier every credential it issues names as `issuer`, and the one a member's credential binds them to. Immutable: set when the community is created and not settable through an update.";
258
+ };
259
+ readonly createdAt: {
260
+ readonly type: "string";
261
+ readonly format: "date-time";
262
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
263
+ };
174
264
  readonly name: {
175
265
  readonly type: "string";
176
266
  readonly minLength: 1;
@@ -205,6 +295,39 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
205
295
  readonly enum: readonly ["active", "degraded"];
206
296
  readonly description: "Trust-registry reachability. Populated on reads; not settable.";
207
297
  };
298
+ readonly personhood: {
299
+ readonly $ref: "#/$defs/PersonhoodGovernance";
300
+ readonly description: "What this community's governance asserts about the personhood of its members.";
301
+ };
302
+ };
303
+ };
304
+ readonly PersonhoodGovernance: {
305
+ readonly $anchor: "personhoodGovernance";
306
+ readonly title: "PersonhoodGovernance";
307
+ readonly type: "object";
308
+ readonly additionalProperties: false;
309
+ 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.";
310
+ readonly properties: {
311
+ readonly realHuman: {
312
+ readonly type: "boolean";
313
+ 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.";
314
+ };
315
+ readonly singleMembership: {
316
+ readonly type: "boolean";
317
+ 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.";
318
+ };
319
+ readonly acceptedIdvps: {
320
+ readonly type: "array";
321
+ readonly items: {
322
+ readonly type: "string";
323
+ readonly minLength: 1;
324
+ };
325
+ 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.";
326
+ };
327
+ readonly governanceFrameworkUrl: {
328
+ readonly type: readonly ["string", "null"];
329
+ readonly description: "Where the governance framework these assertions refer to can be read.";
330
+ };
208
331
  };
209
332
  };
210
333
  };
@@ -240,7 +363,8 @@ export declare const SPEC: {
240
363
  readonly required: readonly ["profile"];
241
364
  readonly properties: {
242
365
  readonly profile: {
243
- readonly $ref: "#/$defs/CommunityProfile";
366
+ readonly $ref: "#/$defs/CommunityProfileView";
367
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
244
368
  };
245
369
  readonly ext: {
246
370
  readonly $ref: "#/$defs/Ext";
@@ -257,13 +381,24 @@ export declare const SPEC: {
257
381
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
258
382
  };
259
383
  };
260
- readonly CommunityProfile: {
261
- readonly $anchor: "communityProfile";
262
- readonly title: "CommunityProfile";
384
+ readonly CommunityProfileView: {
385
+ readonly $anchor: "communityProfileView";
386
+ readonly title: "CommunityProfileView";
263
387
  readonly type: "object";
264
388
  readonly additionalProperties: false;
265
- readonly required: readonly ["name", "language"];
389
+ readonly description: "A community profile **as read**: every member of CommunityProfile, plus the immutable identity a reader needs and an update must never set.\n\nCommunityProfile is the update-facing view and omits `communityDid` on purpose, so that a patch cannot re-point a community's identity. That is right for a payload and wrong for a response: a client holding a profile has no other way to learn which DID to verify that community's credentials against, and `community/profile/show` returning the update-facing view left the one member a consumer most needs undefined.\n\nSo reads get this and updates keep CommunityProfile. The split is the point — the immutability of `communityDid` is enforced by it being absent from the payload, not by prose asking implementers not to honour it.";
390
+ readonly required: readonly ["communityDid", "name", "language"];
266
391
  readonly properties: {
392
+ readonly communityDid: {
393
+ readonly type: "string";
394
+ readonly minLength: 1;
395
+ readonly description: "The community's own DID — the identifier every credential it issues names as `issuer`, and the one a member's credential binds them to. Immutable: set when the community is created and not settable through an update.";
396
+ };
397
+ readonly createdAt: {
398
+ readonly type: "string";
399
+ readonly format: "date-time";
400
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
401
+ };
267
402
  readonly name: {
268
403
  readonly type: "string";
269
404
  readonly minLength: 1;
@@ -298,6 +433,39 @@ export declare const SPEC: {
298
433
  readonly enum: readonly ["active", "degraded"];
299
434
  readonly description: "Trust-registry reachability. Populated on reads; not settable.";
300
435
  };
436
+ readonly personhood: {
437
+ readonly $ref: "#/$defs/PersonhoodGovernance";
438
+ readonly description: "What this community's governance asserts about the personhood of its members.";
439
+ };
440
+ };
441
+ };
442
+ readonly PersonhoodGovernance: {
443
+ readonly $anchor: "personhoodGovernance";
444
+ readonly title: "PersonhoodGovernance";
445
+ readonly type: "object";
446
+ readonly additionalProperties: false;
447
+ 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.";
448
+ readonly properties: {
449
+ readonly realHuman: {
450
+ readonly type: "boolean";
451
+ 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.";
452
+ };
453
+ readonly singleMembership: {
454
+ readonly type: "boolean";
455
+ 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.";
456
+ };
457
+ readonly acceptedIdvps: {
458
+ readonly type: "array";
459
+ readonly items: {
460
+ readonly type: "string";
461
+ readonly minLength: 1;
462
+ };
463
+ 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.";
464
+ };
465
+ readonly governanceFrameworkUrl: {
466
+ readonly type: readonly ["string", "null"];
467
+ readonly description: "Where the governance framework these assertions refer to can be read.";
468
+ };
301
469
  };
302
470
  };
303
471
  };
@@ -325,7 +493,8 @@ export declare const RESPONSE_SPEC: {
325
493
  readonly required: readonly ["profile"];
326
494
  readonly properties: {
327
495
  readonly profile: {
328
- readonly $ref: "#/$defs/CommunityProfile";
496
+ readonly $ref: "#/$defs/CommunityProfileView";
497
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
329
498
  };
330
499
  readonly ext: {
331
500
  readonly $ref: "#/$defs/Ext";
@@ -342,13 +511,24 @@ export declare const RESPONSE_SPEC: {
342
511
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
343
512
  };
344
513
  };
345
- readonly CommunityProfile: {
346
- readonly $anchor: "communityProfile";
347
- readonly title: "CommunityProfile";
514
+ readonly CommunityProfileView: {
515
+ readonly $anchor: "communityProfileView";
516
+ readonly title: "CommunityProfileView";
348
517
  readonly type: "object";
349
518
  readonly additionalProperties: false;
350
- readonly required: readonly ["name", "language"];
519
+ readonly description: "A community profile **as read**: every member of CommunityProfile, plus the immutable identity a reader needs and an update must never set.\n\nCommunityProfile is the update-facing view and omits `communityDid` on purpose, so that a patch cannot re-point a community's identity. That is right for a payload and wrong for a response: a client holding a profile has no other way to learn which DID to verify that community's credentials against, and `community/profile/show` returning the update-facing view left the one member a consumer most needs undefined.\n\nSo reads get this and updates keep CommunityProfile. The split is the point — the immutability of `communityDid` is enforced by it being absent from the payload, not by prose asking implementers not to honour it.";
520
+ readonly required: readonly ["communityDid", "name", "language"];
351
521
  readonly properties: {
522
+ readonly communityDid: {
523
+ readonly type: "string";
524
+ readonly minLength: 1;
525
+ readonly description: "The community's own DID — the identifier every credential it issues names as `issuer`, and the one a member's credential binds them to. Immutable: set when the community is created and not settable through an update.";
526
+ };
527
+ readonly createdAt: {
528
+ readonly type: "string";
529
+ readonly format: "date-time";
530
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
531
+ };
352
532
  readonly name: {
353
533
  readonly type: "string";
354
534
  readonly minLength: 1;
@@ -383,6 +563,39 @@ export declare const RESPONSE_SPEC: {
383
563
  readonly enum: readonly ["active", "degraded"];
384
564
  readonly description: "Trust-registry reachability. Populated on reads; not settable.";
385
565
  };
566
+ readonly personhood: {
567
+ readonly $ref: "#/$defs/PersonhoodGovernance";
568
+ readonly description: "What this community's governance asserts about the personhood of its members.";
569
+ };
570
+ };
571
+ };
572
+ readonly PersonhoodGovernance: {
573
+ readonly $anchor: "personhoodGovernance";
574
+ readonly title: "PersonhoodGovernance";
575
+ readonly type: "object";
576
+ readonly additionalProperties: false;
577
+ 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.";
578
+ readonly properties: {
579
+ readonly realHuman: {
580
+ readonly type: "boolean";
581
+ 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.";
582
+ };
583
+ readonly singleMembership: {
584
+ readonly type: "boolean";
585
+ 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.";
586
+ };
587
+ readonly acceptedIdvps: {
588
+ readonly type: "array";
589
+ readonly items: {
590
+ readonly type: "string";
591
+ readonly minLength: 1;
592
+ };
593
+ 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.";
594
+ };
595
+ readonly governanceFrameworkUrl: {
596
+ readonly type: readonly ["string", "null"];
597
+ readonly description: "Where the governance framework these assertions refer to can be read.";
598
+ };
386
599
  };
387
600
  };
388
601
  };
@@ -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,CAAC,EAAE,EAAE,CAAC;IAChB;;OAEG;IACH,cAAc,CAAC,EAAE,QAAQ,GAAG,UAAU,CAAC;CACxC;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,4DAAqE,CAAC;AAE9F,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,8BAA8B,CAAC;AAErD,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,qEAA8E,CAAC;AAEhH,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,sCAAsC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAq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