@openvtc/trust-tasks 0.12.9 → 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 (53) 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 +81 -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 +34 -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 +81 -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 +34 -8
  13. package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
  14. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +65 -65
  15. package/dist/vtc/endorsements/issue/0.1/payload.d.ts.map +1 -1
  16. package/dist/vtc/endorsements/issue/0.1/payload.js +36 -32
  17. package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
  18. package/dist/vtc/endorsements/list/0.1/payload.d.ts +41 -61
  19. package/dist/vtc/endorsements/list/0.1/payload.d.ts.map +1 -1
  20. package/dist/vtc/endorsements/list/0.1/payload.js +24 -30
  21. package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
  22. package/dist/vtc/endorsements/show/0.1/payload.d.ts +41 -61
  23. package/dist/vtc/endorsements/show/0.1/payload.d.ts.map +1 -1
  24. package/dist/vtc/endorsements/show/0.1/payload.js +24 -30
  25. package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
  26. package/dist/vtc/install/claim/start/0.1/payload.d.ts +18 -0
  27. package/dist/vtc/install/claim/start/0.1/payload.d.ts.map +1 -1
  28. package/dist/vtc/install/claim/start/0.1/payload.js +5 -0
  29. package/dist/vtc/install/claim/start/0.1/payload.js.map +1 -1
  30. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts +491 -0
  31. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts.map +1 -1
  32. package/dist/vtc/registry/diagnostics/0.1/payload.js +260 -0
  33. package/dist/vtc/registry/diagnostics/0.1/payload.js.map +1 -1
  34. package/dist/vtc/website/files/list/0.1/payload.d.ts +24 -0
  35. package/dist/vtc/website/files/list/0.1/payload.d.ts.map +1 -1
  36. package/dist/vtc/website/files/list/0.1/payload.js +10 -0
  37. package/dist/vtc/website/files/list/0.1/payload.js.map +1 -1
  38. package/dist/vtc/website/generations/list/0.1/payload.d.ts +48 -0
  39. package/dist/vtc/website/generations/list/0.1/payload.d.ts.map +1 -1
  40. package/dist/vtc/website/generations/list/0.1/payload.js +20 -0
  41. package/dist/vtc/website/generations/list/0.1/payload.js.map +1 -1
  42. package/package.json +1 -1
  43. package/src/vtc/_shared/0.1/endorsement.ts +1 -1
  44. package/src/vtc/ceremonies/list/0.1/payload.ts +14 -0
  45. package/src/vtc/community/profile/show/0.1/payload.ts +47 -10
  46. package/src/vtc/community/profile/update/0.1/payload.ts +47 -10
  47. package/src/vtc/endorsements/issue/0.1/payload.ts +45 -41
  48. package/src/vtc/endorsements/list/0.1/payload.ts +29 -39
  49. package/src/vtc/endorsements/show/0.1/payload.ts +29 -39
  50. package/src/vtc/install/claim/start/0.1/payload.ts +13 -0
  51. package/src/vtc/registry/diagnostics/0.1/payload.ts +343 -0
  52. package/src/vtc/website/files/list/0.1/payload.ts +14 -0
  53. 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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;;;;;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;gBACZ,YAAY,EAAE;oBACZ,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,0BAA0B;qBACnC;oBACD,aAAa,EAAE,4CAA4C;iBAC5D;gBACD,KAAK,EAAE;oBACL,MAAM,EAAE,aAAa;iBACtB;aACF;SACF;QACD,kBAAkB,EAAE;YAClB,SAAS,EAAE,kBAAkB;YAC7B,OAAO,EAAE,kBAAkB;YAC3B,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,SAAS;gBACT,OAAO;gBACP,QAAQ;aACT;YACD,YAAY,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EAAE,yCAAyC;iBACzD;gBACD,OAAO,EAAE;oBACP,MAAM,EAAE,QAAQ;oBAChB,WAAW,EAAE,CAAC;oBACd,aAAa,EAAE,gEAAgE;iBAChF;gBACD,OAAO,EAAE;oBACP,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,8CAA8C;iBAC9D;gBACD,QAAQ,EAAE;oBACR,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;qBACjB;oBACD,aAAa,EAAE,yGAAyG;iBACzH;gBACD,eAAe,EAAE;oBACf,MAAM,EAAE,QAAQ;oBAChB,aAAa,EAAE,ybAAyb;iBACzc;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;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"}
@@ -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;
@@ -94,7 +105,8 @@ export declare const PAYLOAD_SCHEMA: {
94
105
  readonly required: readonly ["profile"];
95
106
  readonly properties: {
96
107
  readonly profile: {
97
- 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.";
98
110
  };
99
111
  readonly ext: {
100
112
  readonly $ref: "#/$defs/Ext";
@@ -111,13 +123,24 @@ export declare const PAYLOAD_SCHEMA: {
111
123
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
112
124
  };
113
125
  };
114
- readonly CommunityProfile: {
115
- readonly $anchor: "communityProfile";
116
- readonly title: "CommunityProfile";
126
+ readonly CommunityProfileView: {
127
+ readonly $anchor: "communityProfileView";
128
+ readonly title: "CommunityProfileView";
117
129
  readonly type: "object";
118
130
  readonly additionalProperties: false;
119
- 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"];
120
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
+ };
121
144
  readonly name: {
122
145
  readonly type: "string";
123
146
  readonly minLength: 1;
@@ -202,7 +225,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
202
225
  readonly required: readonly ["profile"];
203
226
  readonly properties: {
204
227
  readonly profile: {
205
- 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.";
206
230
  };
207
231
  readonly ext: {
208
232
  readonly $ref: "#/$defs/Ext";
@@ -219,13 +243,24 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
219
243
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
220
244
  };
221
245
  };
222
- readonly CommunityProfile: {
223
- readonly $anchor: "communityProfile";
224
- readonly title: "CommunityProfile";
246
+ readonly CommunityProfileView: {
247
+ readonly $anchor: "communityProfileView";
248
+ readonly title: "CommunityProfileView";
225
249
  readonly type: "object";
226
250
  readonly additionalProperties: false;
227
- 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"];
228
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
+ };
229
264
  readonly name: {
230
265
  readonly type: "string";
231
266
  readonly minLength: 1;
@@ -328,7 +363,8 @@ export declare const SPEC: {
328
363
  readonly required: readonly ["profile"];
329
364
  readonly properties: {
330
365
  readonly profile: {
331
- 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.";
332
368
  };
333
369
  readonly ext: {
334
370
  readonly $ref: "#/$defs/Ext";
@@ -345,13 +381,24 @@ export declare const SPEC: {
345
381
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
346
382
  };
347
383
  };
348
- readonly CommunityProfile: {
349
- readonly $anchor: "communityProfile";
350
- readonly title: "CommunityProfile";
384
+ readonly CommunityProfileView: {
385
+ readonly $anchor: "communityProfileView";
386
+ readonly title: "CommunityProfileView";
351
387
  readonly type: "object";
352
388
  readonly additionalProperties: false;
353
- 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"];
354
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
+ };
355
402
  readonly name: {
356
403
  readonly type: "string";
357
404
  readonly minLength: 1;
@@ -446,7 +493,8 @@ export declare const RESPONSE_SPEC: {
446
493
  readonly required: readonly ["profile"];
447
494
  readonly properties: {
448
495
  readonly profile: {
449
- 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.";
450
498
  };
451
499
  readonly ext: {
452
500
  readonly $ref: "#/$defs/Ext";
@@ -463,13 +511,24 @@ export declare const RESPONSE_SPEC: {
463
511
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
464
512
  };
465
513
  };
466
- readonly CommunityProfile: {
467
- readonly $anchor: "communityProfile";
468
- readonly title: "CommunityProfile";
514
+ readonly CommunityProfileView: {
515
+ readonly $anchor: "communityProfileView";
516
+ readonly title: "CommunityProfileView";
469
517
  readonly type: "object";
470
518
  readonly additionalProperties: false;
471
- 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"];
472
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
+ };
473
532
  readonly name: {
474
533
  readonly type: "string";
475
534
  readonly minLength: 1;
@@ -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;IACvC,UAAU,CAAC,EAAE,oBAAoB,CAAC;CACnC;AACD;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IACzB;;OAEG;IACH,sBAAsB,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E;AAC5E,MAAM,MAAM,QAAQ,GAAG,sCAAsC,CAAC;AAE9D;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsJjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8I1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMhB,CAAC"}
@@ -37,7 +37,8 @@ export const PAYLOAD_SCHEMA = {
37
37
  ],
38
38
  "properties": {
39
39
  "profile": {
40
- "$ref": "#/$defs/CommunityProfile"
40
+ "$ref": "#/$defs/CommunityProfileView",
41
+ "description": "The community's profile as read, including the immutable `communityDid` an update cannot set."
41
42
  },
42
43
  "ext": {
43
44
  "$ref": "#/$defs/Ext"
@@ -54,16 +55,28 @@ export const PAYLOAD_SCHEMA = {
54
55
  "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
55
56
  }
56
57
  },
57
- "CommunityProfile": {
58
- "$anchor": "communityProfile",
59
- "title": "CommunityProfile",
58
+ "CommunityProfileView": {
59
+ "$anchor": "communityProfileView",
60
+ "title": "CommunityProfileView",
60
61
  "type": "object",
61
62
  "additionalProperties": false,
63
+ "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.",
62
64
  "required": [
65
+ "communityDid",
63
66
  "name",
64
67
  "language"
65
68
  ],
66
69
  "properties": {
70
+ "communityDid": {
71
+ "type": "string",
72
+ "minLength": 1,
73
+ "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."
74
+ },
75
+ "createdAt": {
76
+ "type": "string",
77
+ "format": "date-time",
78
+ "description": "When the community was created. Immutable, like `communityDid`."
79
+ },
67
80
  "name": {
68
81
  "type": "string",
69
82
  "minLength": 1
@@ -168,7 +181,8 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
168
181
  ],
169
182
  "properties": {
170
183
  "profile": {
171
- "$ref": "#/$defs/CommunityProfile"
184
+ "$ref": "#/$defs/CommunityProfileView",
185
+ "description": "The community's profile as read, including the immutable `communityDid` an update cannot set."
172
186
  },
173
187
  "ext": {
174
188
  "$ref": "#/$defs/Ext"
@@ -185,16 +199,28 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
185
199
  "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
186
200
  }
187
201
  },
188
- "CommunityProfile": {
189
- "$anchor": "communityProfile",
190
- "title": "CommunityProfile",
202
+ "CommunityProfileView": {
203
+ "$anchor": "communityProfileView",
204
+ "title": "CommunityProfileView",
191
205
  "type": "object",
192
206
  "additionalProperties": false,
207
+ "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.",
193
208
  "required": [
209
+ "communityDid",
194
210
  "name",
195
211
  "language"
196
212
  ],
197
213
  "properties": {
214
+ "communityDid": {
215
+ "type": "string",
216
+ "minLength": 1,
217
+ "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."
218
+ },
219
+ "createdAt": {
220
+ "type": "string",
221
+ "format": "date-time",
222
+ "description": "When the community was created. Immutable, like `communityDid`."
223
+ },
198
224
  "name": {
199
225
  "type": "string",
200
226
  "minLength": 1
@@ -1 +1 @@
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,EA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BAA8B;oBACtC,aAAa,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"}
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/community/profile/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAqEH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,4DAAqE,CAAC;AAK9F,qE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AAE,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"}
@@ -48,14 +48,25 @@ export interface Ext {
48
48
  [k: string]: unknown | undefined;
49
49
  }
50
50
  export interface VTCCommunityProfileUpdateResponsePayload {
51
- profile: CommunityProfile;
51
+ profile: CommunityProfileView;
52
52
  /**
53
53
  * Names of the profile members this update actually changed, in the wire spelling. Empty when the submitted values all matched what was already stored. Lets a caller distinguish a no-op from an applied change without diffing the returned profile against the one it sent.
54
54
  */
55
55
  fieldsChanged?: string[];
56
56
  ext?: Ext;
57
57
  }
58
- export interface CommunityProfile {
58
+ /**
59
+ * The community's profile as read, including the immutable `communityDid` an update cannot set.
60
+ */
61
+ export interface CommunityProfileView {
62
+ /**
63
+ * 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.
64
+ */
65
+ communityDid: string;
66
+ /**
67
+ * When the community was created. Immutable, like `communityDid`.
68
+ */
69
+ createdAt?: string;
59
70
  name: string;
60
71
  description?: string;
61
72
  logoUrl?: string | null;
@@ -167,7 +178,8 @@ export declare const PAYLOAD_SCHEMA: {
167
178
  readonly required: readonly ["profile"];
168
179
  readonly properties: {
169
180
  readonly profile: {
170
- readonly $ref: "#/$defs/CommunityProfile";
181
+ readonly $ref: "#/$defs/CommunityProfileView";
182
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
171
183
  };
172
184
  readonly fieldsChanged: {
173
185
  readonly type: "array";
@@ -191,13 +203,24 @@ export declare const PAYLOAD_SCHEMA: {
191
203
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
192
204
  };
193
205
  };
194
- readonly CommunityProfile: {
195
- readonly $anchor: "communityProfile";
196
- readonly title: "CommunityProfile";
206
+ readonly CommunityProfileView: {
207
+ readonly $anchor: "communityProfileView";
208
+ readonly title: "CommunityProfileView";
197
209
  readonly type: "object";
198
210
  readonly additionalProperties: false;
199
- readonly required: readonly ["name", "language"];
211
+ 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.";
212
+ readonly required: readonly ["communityDid", "name", "language"];
200
213
  readonly properties: {
214
+ readonly communityDid: {
215
+ readonly type: "string";
216
+ readonly minLength: 1;
217
+ 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.";
218
+ };
219
+ readonly createdAt: {
220
+ readonly type: "string";
221
+ readonly format: "date-time";
222
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
223
+ };
201
224
  readonly name: {
202
225
  readonly type: "string";
203
226
  readonly minLength: 1;
@@ -282,7 +305,8 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
282
305
  readonly required: readonly ["profile"];
283
306
  readonly properties: {
284
307
  readonly profile: {
285
- readonly $ref: "#/$defs/CommunityProfile";
308
+ readonly $ref: "#/$defs/CommunityProfileView";
309
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
286
310
  };
287
311
  readonly fieldsChanged: {
288
312
  readonly type: "array";
@@ -306,13 +330,24 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
306
330
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
307
331
  };
308
332
  };
309
- readonly CommunityProfile: {
310
- readonly $anchor: "communityProfile";
311
- readonly title: "CommunityProfile";
333
+ readonly CommunityProfileView: {
334
+ readonly $anchor: "communityProfileView";
335
+ readonly title: "CommunityProfileView";
312
336
  readonly type: "object";
313
337
  readonly additionalProperties: false;
314
- readonly required: readonly ["name", "language"];
338
+ 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.";
339
+ readonly required: readonly ["communityDid", "name", "language"];
315
340
  readonly properties: {
341
+ readonly communityDid: {
342
+ readonly type: "string";
343
+ readonly minLength: 1;
344
+ 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.";
345
+ };
346
+ readonly createdAt: {
347
+ readonly type: "string";
348
+ readonly format: "date-time";
349
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
350
+ };
316
351
  readonly name: {
317
352
  readonly type: "string";
318
353
  readonly minLength: 1;
@@ -448,7 +483,8 @@ export declare const SPEC: {
448
483
  readonly required: readonly ["profile"];
449
484
  readonly properties: {
450
485
  readonly profile: {
451
- readonly $ref: "#/$defs/CommunityProfile";
486
+ readonly $ref: "#/$defs/CommunityProfileView";
487
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
452
488
  };
453
489
  readonly fieldsChanged: {
454
490
  readonly type: "array";
@@ -472,13 +508,24 @@ export declare const SPEC: {
472
508
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
473
509
  };
474
510
  };
475
- readonly CommunityProfile: {
476
- readonly $anchor: "communityProfile";
477
- readonly title: "CommunityProfile";
511
+ readonly CommunityProfileView: {
512
+ readonly $anchor: "communityProfileView";
513
+ readonly title: "CommunityProfileView";
478
514
  readonly type: "object";
479
515
  readonly additionalProperties: false;
480
- readonly required: readonly ["name", "language"];
516
+ 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.";
517
+ readonly required: readonly ["communityDid", "name", "language"];
481
518
  readonly properties: {
519
+ readonly communityDid: {
520
+ readonly type: "string";
521
+ readonly minLength: 1;
522
+ 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.";
523
+ };
524
+ readonly createdAt: {
525
+ readonly type: "string";
526
+ readonly format: "date-time";
527
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
528
+ };
482
529
  readonly name: {
483
530
  readonly type: "string";
484
531
  readonly minLength: 1;
@@ -573,7 +620,8 @@ export declare const RESPONSE_SPEC: {
573
620
  readonly required: readonly ["profile"];
574
621
  readonly properties: {
575
622
  readonly profile: {
576
- readonly $ref: "#/$defs/CommunityProfile";
623
+ readonly $ref: "#/$defs/CommunityProfileView";
624
+ readonly description: "The community's profile as read, including the immutable `communityDid` an update cannot set.";
577
625
  };
578
626
  readonly fieldsChanged: {
579
627
  readonly type: "array";
@@ -597,13 +645,24 @@ export declare const RESPONSE_SPEC: {
597
645
  readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
598
646
  };
599
647
  };
600
- readonly CommunityProfile: {
601
- readonly $anchor: "communityProfile";
602
- readonly title: "CommunityProfile";
648
+ readonly CommunityProfileView: {
649
+ readonly $anchor: "communityProfileView";
650
+ readonly title: "CommunityProfileView";
603
651
  readonly type: "object";
604
652
  readonly additionalProperties: false;
605
- readonly required: readonly ["name", "language"];
653
+ 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.";
654
+ readonly required: readonly ["communityDid", "name", "language"];
606
655
  readonly properties: {
656
+ readonly communityDid: {
657
+ readonly type: "string";
658
+ readonly minLength: 1;
659
+ 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.";
660
+ };
661
+ readonly createdAt: {
662
+ readonly type: "string";
663
+ readonly format: "date-time";
664
+ readonly description: "When the community was created. Immutable, like `communityDid`.";
665
+ };
607
666
  readonly name: {
608
667
  readonly type: "string";
609
668
  readonly minLength: 1;