@openvtc/trust-tasks 0.28.10 → 0.28.11

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 (250) hide show
  1. package/CHANGELOG.md +88 -0
  2. package/dist/_shared/components.d.ts +903 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +144 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +144 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/vta/notifications/deposit/0.1/payload.d.ts +349 -0
  9. package/dist/vta/notifications/deposit/0.1/payload.d.ts.map +1 -0
  10. package/dist/vta/notifications/deposit/0.1/payload.js +198 -0
  11. package/dist/vta/notifications/deposit/0.1/payload.js.map +1 -0
  12. package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts +667 -0
  13. package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts.map +1 -0
  14. package/dist/vta/pcs/vetter/recover/0.1/payload.js +387 -0
  15. package/dist/vta/pcs/vetter/recover/0.1/payload.js.map +1 -0
  16. package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts +16 -0
  17. package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts.map +1 -0
  18. package/dist/vtc/notifications/_shared/0.1/received-notification.js +6 -0
  19. package/dist/vtc/notifications/_shared/0.1/received-notification.js.map +1 -0
  20. package/dist/vtc/notifications/list/0.1/payload.d.ts +1311 -0
  21. package/dist/vtc/notifications/list/0.1/payload.d.ts.map +1 -0
  22. package/dist/vtc/notifications/list/0.1/payload.js +753 -0
  23. package/dist/vtc/notifications/list/0.1/payload.js.map +1 -0
  24. package/dist/vtc/notifications/relay/0.1/payload.d.ts +568 -0
  25. package/dist/vtc/notifications/relay/0.1/payload.d.ts.map +1 -0
  26. package/dist/vtc/notifications/relay/0.1/payload.js +339 -0
  27. package/dist/vtc/notifications/relay/0.1/payload.js.map +1 -0
  28. package/dist/vtc/notifications/show/0.1/payload.d.ts +1229 -0
  29. package/dist/vtc/notifications/show/0.1/payload.d.ts.map +1 -0
  30. package/dist/vtc/notifications/show/0.1/payload.js +727 -0
  31. package/dist/vtc/notifications/show/0.1/payload.js.map +1 -0
  32. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts +340 -0
  33. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts.map +1 -0
  34. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js +194 -0
  35. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js.map +1 -0
  36. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts +425 -0
  37. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts.map +1 -0
  38. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js +233 -0
  39. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js.map +1 -0
  40. package/dist/vtn/_shared/0.1/directory.d.ts +16 -0
  41. package/dist/vtn/_shared/0.1/directory.d.ts.map +1 -0
  42. package/dist/vtn/_shared/0.1/directory.js +6 -0
  43. package/dist/vtn/_shared/0.1/directory.js.map +1 -0
  44. package/dist/vtn/_shared/0.1/entry.d.ts +16 -0
  45. package/dist/vtn/_shared/0.1/entry.d.ts.map +1 -0
  46. package/dist/vtn/_shared/0.1/entry.js +6 -0
  47. package/dist/vtn/_shared/0.1/entry.js.map +1 -0
  48. package/dist/vtn/_shared/0.1/graph.d.ts +16 -0
  49. package/dist/vtn/_shared/0.1/graph.d.ts.map +1 -0
  50. package/dist/vtn/_shared/0.1/graph.js +6 -0
  51. package/dist/vtn/_shared/0.1/graph.js.map +1 -0
  52. package/dist/vtn/_shared/0.1/groups.d.ts +16 -0
  53. package/dist/vtn/_shared/0.1/groups.d.ts.map +1 -0
  54. package/dist/vtn/_shared/0.1/groups.js +6 -0
  55. package/dist/vtn/_shared/0.1/groups.js.map +1 -0
  56. package/dist/vtn/_shared/0.1/membership.d.ts +16 -0
  57. package/dist/vtn/_shared/0.1/membership.d.ts.map +1 -0
  58. package/dist/vtn/_shared/0.1/membership.js +6 -0
  59. package/dist/vtn/_shared/0.1/membership.js.map +1 -0
  60. package/dist/vtn/_shared/0.1/relay.d.ts +16 -0
  61. package/dist/vtn/_shared/0.1/relay.d.ts.map +1 -0
  62. package/dist/vtn/_shared/0.1/relay.js +6 -0
  63. package/dist/vtn/_shared/0.1/relay.js.map +1 -0
  64. package/dist/vtn/_shared/0.1/rooms.d.ts +16 -0
  65. package/dist/vtn/_shared/0.1/rooms.d.ts.map +1 -0
  66. package/dist/vtn/_shared/0.1/rooms.js +6 -0
  67. package/dist/vtn/_shared/0.1/rooms.js.map +1 -0
  68. package/dist/vtn/audit/list/0.1/payload.d.ts +457 -0
  69. package/dist/vtn/audit/list/0.1/payload.d.ts.map +1 -0
  70. package/dist/vtn/audit/list/0.1/payload.js +292 -0
  71. package/dist/vtn/audit/list/0.1/payload.js.map +1 -0
  72. package/dist/vtn/broadcasts/list/0.1/payload.d.ts +687 -0
  73. package/dist/vtn/broadcasts/list/0.1/payload.d.ts.map +1 -0
  74. package/dist/vtn/broadcasts/list/0.1/payload.js +407 -0
  75. package/dist/vtn/broadcasts/list/0.1/payload.js.map +1 -0
  76. package/dist/vtn/broadcasts/send/0.1/payload.d.ts +728 -0
  77. package/dist/vtn/broadcasts/send/0.1/payload.d.ts.map +1 -0
  78. package/dist/vtn/broadcasts/send/0.1/payload.js +425 -0
  79. package/dist/vtn/broadcasts/send/0.1/payload.js.map +1 -0
  80. package/dist/vtn/broadcasts/show/0.1/payload.d.ts +670 -0
  81. package/dist/vtn/broadcasts/show/0.1/payload.d.ts.map +1 -0
  82. package/dist/vtn/broadcasts/show/0.1/payload.js +402 -0
  83. package/dist/vtn/broadcasts/show/0.1/payload.js.map +1 -0
  84. package/dist/vtn/directory/federated/0.1/payload.d.ts +939 -0
  85. package/dist/vtn/directory/federated/0.1/payload.d.ts.map +1 -0
  86. package/dist/vtn/directory/federated/0.1/payload.js +536 -0
  87. package/dist/vtn/directory/federated/0.1/payload.js.map +1 -0
  88. package/dist/vtn/directory/search/0.1/payload.d.ts +643 -0
  89. package/dist/vtn/directory/search/0.1/payload.d.ts.map +1 -0
  90. package/dist/vtn/directory/search/0.1/payload.js +368 -0
  91. package/dist/vtn/directory/search/0.1/payload.js.map +1 -0
  92. package/dist/vtn/directory/summary/0.1/payload.d.ts +366 -0
  93. package/dist/vtn/directory/summary/0.1/payload.d.ts.map +1 -0
  94. package/dist/vtn/directory/summary/0.1/payload.js +216 -0
  95. package/dist/vtn/directory/summary/0.1/payload.js.map +1 -0
  96. package/dist/vtn/entries/show/0.1/payload.d.ts +682 -0
  97. package/dist/vtn/entries/show/0.1/payload.d.ts.map +1 -0
  98. package/dist/vtn/entries/show/0.1/payload.js +398 -0
  99. package/dist/vtn/entries/show/0.1/payload.js.map +1 -0
  100. package/dist/vtn/graph/member/0.1/payload.d.ts +754 -0
  101. package/dist/vtn/graph/member/0.1/payload.d.ts.map +1 -0
  102. package/dist/vtn/graph/member/0.1/payload.js +470 -0
  103. package/dist/vtn/graph/member/0.1/payload.js.map +1 -0
  104. package/dist/vtn/graph/show/0.1/payload.d.ts +754 -0
  105. package/dist/vtn/graph/show/0.1/payload.d.ts.map +1 -0
  106. package/dist/vtn/graph/show/0.1/payload.js +468 -0
  107. package/dist/vtn/graph/show/0.1/payload.js.map +1 -0
  108. package/dist/vtn/groups/list/0.1/payload.d.ts +489 -0
  109. package/dist/vtn/groups/list/0.1/payload.d.ts.map +1 -0
  110. package/dist/vtn/groups/list/0.1/payload.js +282 -0
  111. package/dist/vtn/groups/list/0.1/payload.js.map +1 -0
  112. package/dist/vtn/groups/register/0.1/payload.d.ts +504 -0
  113. package/dist/vtn/groups/register/0.1/payload.d.ts.map +1 -0
  114. package/dist/vtn/groups/register/0.1/payload.js +291 -0
  115. package/dist/vtn/groups/register/0.1/payload.js.map +1 -0
  116. package/dist/vtn/listings/create/0.1/payload.d.ts +954 -0
  117. package/dist/vtn/listings/create/0.1/payload.d.ts.map +1 -0
  118. package/dist/vtn/listings/create/0.1/payload.js +549 -0
  119. package/dist/vtn/listings/create/0.1/payload.js.map +1 -0
  120. package/dist/vtn/listings/list/0.1/payload.d.ts +933 -0
  121. package/dist/vtn/listings/list/0.1/payload.d.ts.map +1 -0
  122. package/dist/vtn/listings/list/0.1/payload.js +538 -0
  123. package/dist/vtn/listings/list/0.1/payload.js.map +1 -0
  124. package/dist/vtn/listings/reinstate/0.1/payload.d.ts +926 -0
  125. package/dist/vtn/listings/reinstate/0.1/payload.d.ts.map +1 -0
  126. package/dist/vtn/listings/reinstate/0.1/payload.js +536 -0
  127. package/dist/vtn/listings/reinstate/0.1/payload.js.map +1 -0
  128. package/dist/vtn/listings/remove/0.1/payload.d.ts +926 -0
  129. package/dist/vtn/listings/remove/0.1/payload.d.ts.map +1 -0
  130. package/dist/vtn/listings/remove/0.1/payload.js +536 -0
  131. package/dist/vtn/listings/remove/0.1/payload.js.map +1 -0
  132. package/dist/vtn/listings/show/0.1/payload.d.ts +914 -0
  133. package/dist/vtn/listings/show/0.1/payload.d.ts.map +1 -0
  134. package/dist/vtn/listings/show/0.1/payload.js +532 -0
  135. package/dist/vtn/listings/show/0.1/payload.js.map +1 -0
  136. package/dist/vtn/listings/suspend/0.1/payload.d.ts +926 -0
  137. package/dist/vtn/listings/suspend/0.1/payload.d.ts.map +1 -0
  138. package/dist/vtn/listings/suspend/0.1/payload.js +536 -0
  139. package/dist/vtn/listings/suspend/0.1/payload.js.map +1 -0
  140. package/dist/vtn/listings/update/0.1/payload.d.ts +966 -0
  141. package/dist/vtn/listings/update/0.1/payload.d.ts.map +1 -0
  142. package/dist/vtn/listings/update/0.1/payload.js +550 -0
  143. package/dist/vtn/listings/update/0.1/payload.js.map +1 -0
  144. package/dist/vtn/membership/acknowledge/0.1/payload.d.ts +654 -0
  145. package/dist/vtn/membership/acknowledge/0.1/payload.d.ts.map +1 -0
  146. package/dist/vtn/membership/acknowledge/0.1/payload.js +386 -0
  147. package/dist/vtn/membership/acknowledge/0.1/payload.js.map +1 -0
  148. package/dist/vtn/membership/offer/0.1/payload.d.ts +247 -0
  149. package/dist/vtn/membership/offer/0.1/payload.d.ts.map +1 -0
  150. package/dist/vtn/membership/offer/0.1/payload.js +147 -0
  151. package/dist/vtn/membership/offer/0.1/payload.js.map +1 -0
  152. package/dist/vtn/membership/repudiate/0.1/payload.d.ts +654 -0
  153. package/dist/vtn/membership/repudiate/0.1/payload.d.ts.map +1 -0
  154. package/dist/vtn/membership/repudiate/0.1/payload.js +386 -0
  155. package/dist/vtn/membership/repudiate/0.1/payload.js.map +1 -0
  156. package/dist/vtn/memberships/groups/add/0.1/payload.d.ts +677 -0
  157. package/dist/vtn/memberships/groups/add/0.1/payload.d.ts.map +1 -0
  158. package/dist/vtn/memberships/groups/add/0.1/payload.js +394 -0
  159. package/dist/vtn/memberships/groups/add/0.1/payload.js.map +1 -0
  160. package/dist/vtn/memberships/join/0.1/payload.d.ts +755 -0
  161. package/dist/vtn/memberships/join/0.1/payload.d.ts.map +1 -0
  162. package/dist/vtn/memberships/join/0.1/payload.js +438 -0
  163. package/dist/vtn/memberships/join/0.1/payload.js.map +1 -0
  164. package/dist/vtn/memberships/leave/0.1/payload.d.ts +653 -0
  165. package/dist/vtn/memberships/leave/0.1/payload.d.ts.map +1 -0
  166. package/dist/vtn/memberships/leave/0.1/payload.js +384 -0
  167. package/dist/vtn/memberships/leave/0.1/payload.js.map +1 -0
  168. package/dist/vtn/memberships/list/0.1/payload.d.ts +651 -0
  169. package/dist/vtn/memberships/list/0.1/payload.d.ts.map +1 -0
  170. package/dist/vtn/memberships/list/0.1/payload.js +383 -0
  171. package/dist/vtn/memberships/list/0.1/payload.js.map +1 -0
  172. package/dist/vtn/memberships/repudiate/0.1/payload.d.ts +669 -0
  173. package/dist/vtn/memberships/repudiate/0.1/payload.d.ts.map +1 -0
  174. package/dist/vtn/memberships/repudiate/0.1/payload.js +391 -0
  175. package/dist/vtn/memberships/repudiate/0.1/payload.js.map +1 -0
  176. package/dist/vtn/outbox/list/0.1/payload.d.ts +567 -0
  177. package/dist/vtn/outbox/list/0.1/payload.d.ts.map +1 -0
  178. package/dist/vtn/outbox/list/0.1/payload.js +333 -0
  179. package/dist/vtn/outbox/list/0.1/payload.js.map +1 -0
  180. package/dist/vtn/outbox/retry/0.1/payload.d.ts +235 -0
  181. package/dist/vtn/outbox/retry/0.1/payload.d.ts.map +1 -0
  182. package/dist/vtn/outbox/retry/0.1/payload.js +141 -0
  183. package/dist/vtn/outbox/retry/0.1/payload.js.map +1 -0
  184. package/dist/vtn/relay/deliver/0.1/payload.d.ts +592 -0
  185. package/dist/vtn/relay/deliver/0.1/payload.d.ts.map +1 -0
  186. package/dist/vtn/relay/deliver/0.1/payload.js +352 -0
  187. package/dist/vtn/relay/deliver/0.1/payload.js.map +1 -0
  188. package/dist/vtn/roles/list/0.1/payload.d.ts +371 -0
  189. package/dist/vtn/roles/list/0.1/payload.d.ts.map +1 -0
  190. package/dist/vtn/roles/list/0.1/payload.js +213 -0
  191. package/dist/vtn/roles/list/0.1/payload.js.map +1 -0
  192. package/dist/vtn/rooms/list/0.1/payload.d.ts +447 -0
  193. package/dist/vtn/rooms/list/0.1/payload.d.ts.map +1 -0
  194. package/dist/vtn/rooms/list/0.1/payload.js +255 -0
  195. package/dist/vtn/rooms/list/0.1/payload.js.map +1 -0
  196. package/dist/vtn/rooms/pass/0.1/payload.d.ts +674 -0
  197. package/dist/vtn/rooms/pass/0.1/payload.d.ts.map +1 -0
  198. package/dist/vtn/rooms/pass/0.1/payload.js +383 -0
  199. package/dist/vtn/rooms/pass/0.1/payload.js.map +1 -0
  200. package/package.json +1 -1
  201. package/src/_shared/components.ts +922 -0
  202. package/src/index.ts +144 -0
  203. package/src/vta/notifications/deposit/0.1/payload.ts +243 -0
  204. package/src/vta/pcs/vetter/recover/0.1/payload.ts +437 -0
  205. package/src/vtc/notifications/_shared/0.1/received-notification.ts +17 -0
  206. package/src/vtc/notifications/list/0.1/payload.ts +809 -0
  207. package/src/vtc/notifications/relay/0.1/payload.ts +382 -0
  208. package/src/vtc/notifications/show/0.1/payload.ts +761 -0
  209. package/src/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.ts +247 -0
  210. package/src/vtc/vetting/vetters/pcs-binding/show/0.1/payload.ts +295 -0
  211. package/src/vtn/_shared/0.1/directory.ts +17 -0
  212. package/src/vtn/_shared/0.1/entry.ts +17 -0
  213. package/src/vtn/_shared/0.1/graph.ts +17 -0
  214. package/src/vtn/_shared/0.1/groups.ts +17 -0
  215. package/src/vtn/_shared/0.1/membership.ts +17 -0
  216. package/src/vtn/_shared/0.1/relay.ts +17 -0
  217. package/src/vtn/_shared/0.1/rooms.ts +17 -0
  218. package/src/vtn/audit/list/0.1/payload.ts +336 -0
  219. package/src/vtn/broadcasts/list/0.1/payload.ts +447 -0
  220. package/src/vtn/broadcasts/send/0.1/payload.ts +478 -0
  221. package/src/vtn/broadcasts/show/0.1/payload.ts +439 -0
  222. package/src/vtn/directory/federated/0.1/payload.ts +594 -0
  223. package/src/vtn/directory/search/0.1/payload.ts +418 -0
  224. package/src/vtn/directory/summary/0.1/payload.ts +253 -0
  225. package/src/vtn/entries/show/0.1/payload.ts +439 -0
  226. package/src/vtn/graph/member/0.1/payload.ts +511 -0
  227. package/src/vtn/graph/show/0.1/payload.ts +509 -0
  228. package/src/vtn/groups/list/0.1/payload.ts +322 -0
  229. package/src/vtn/groups/register/0.1/payload.ts +336 -0
  230. package/src/vtn/listings/create/0.1/payload.ts +594 -0
  231. package/src/vtn/listings/list/0.1/payload.ts +578 -0
  232. package/src/vtn/listings/reinstate/0.1/payload.ts +577 -0
  233. package/src/vtn/listings/remove/0.1/payload.ts +577 -0
  234. package/src/vtn/listings/show/0.1/payload.ts +569 -0
  235. package/src/vtn/listings/suspend/0.1/payload.ts +577 -0
  236. package/src/vtn/listings/update/0.1/payload.ts +603 -0
  237. package/src/vtn/membership/acknowledge/0.1/payload.ts +423 -0
  238. package/src/vtn/membership/offer/0.1/payload.ts +183 -0
  239. package/src/vtn/membership/repudiate/0.1/payload.ts +423 -0
  240. package/src/vtn/memberships/groups/add/0.1/payload.ts +442 -0
  241. package/src/vtn/memberships/join/0.1/payload.ts +488 -0
  242. package/src/vtn/memberships/leave/0.1/payload.ts +424 -0
  243. package/src/vtn/memberships/list/0.1/payload.ts +419 -0
  244. package/src/vtn/memberships/repudiate/0.1/payload.ts +435 -0
  245. package/src/vtn/outbox/list/0.1/payload.ts +369 -0
  246. package/src/vtn/outbox/retry/0.1/payload.ts +177 -0
  247. package/src/vtn/relay/deliver/0.1/payload.ts +397 -0
  248. package/src/vtn/roles/list/0.1/payload.ts +253 -0
  249. package/src/vtn/rooms/list/0.1/payload.ts +295 -0
  250. package/src/vtn/rooms/pass/0.1/payload.ts +439 -0
@@ -0,0 +1,682 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtn/entries/show/0.1/payload.schema.json
4
+ */
5
+ import type { Credential, Description, Did_VtnV0_1 as Did, EntryKind, EntryProfile, EntryState, Ext, IndexEntry, Membership, Tags, Url } from "../../../../_shared/components.js";
6
+ /**
7
+ * A request for one listed party's published entry. The outer document members are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTNEntriesShowPayload {
10
+ /**
11
+ * The DID of the listed party whose entry is asked for.
12
+ */
13
+ did: Did;
14
+ /**
15
+ * The requester's membership credential from a member community, where the network's directory admits members only and nothing else admits the requester.
16
+ */
17
+ membership?: Membership;
18
+ ext?: Ext;
19
+ }
20
+ /**
21
+ * The party's entry as the network publishes it.
22
+ */
23
+ export interface VTNEntriesShowResponsePayload {
24
+ entry: IndexEntry;
25
+ ext?: Ext;
26
+ }
27
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
28
+ export type { Credential, Description, Did, EntryKind, EntryProfile, EntryState, Ext, IndexEntry, Membership, Tags, Url };
29
+ /** Trust Task type URI. */
30
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtn/entries/show/0.1";
31
+ /**
32
+ * The earlier version of this specification that this one declares it
33
+ * extends (front matter `extends`, SPEC §5.2 "Declared extension"), or
34
+ * `null`. Only the direct declaration — follow the chain with
35
+ * `extendsChain` / `readForSpec`.
36
+ */
37
+ export declare const EXTENDS: string | null;
38
+ /**
39
+ * Why this version is deprecated, or `null` while it is current. A
40
+ * superseded or retired version is still supported, and is withdrawn from
41
+ * this package in a later scheduled batch (SPEC "Superseded and Withdrawn
42
+ * Versions").
43
+ */
44
+ export declare const DEPRECATION: string | null;
45
+ /** Stable alias for this specification's request payload shape. */
46
+ export type Payload = VTNEntriesShowPayload;
47
+ /** Trust Task response type URI (request type URI + "#response"). */
48
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtn/entries/show/0.1#response";
49
+ /** Stable alias for this specification's success-response payload shape. */
50
+ export type Response = VTNEntriesShowResponsePayload;
51
+ /**
52
+ * This specification's payload schema, as a value.
53
+ *
54
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
55
+ * rather than only as a `.json` file because TypeScript types are erased
56
+ * at runtime: without a schema a consumer has nothing to validate, and
57
+ * every REQUIRED payload member is optional in practice. Cross-file
58
+ * `$ref`s are already inlined, so it needs no resolver.
59
+ */
60
+ export declare const PAYLOAD_SCHEMA: {
61
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
62
+ readonly $id: "https://trusttasks.org/spec/vtn/entries/show/0.1";
63
+ readonly title: "VTN Entries — Show — payload";
64
+ readonly description: "A request for one listed party's published entry. The outer document members are owned by the framework — SPEC §6.3.";
65
+ readonly type: "object";
66
+ readonly additionalProperties: false;
67
+ readonly required: readonly ["did"];
68
+ readonly properties: {
69
+ readonly did: {
70
+ readonly $ref: "#/$defs/Did";
71
+ readonly description: "The DID of the listed party whose entry is asked for.";
72
+ };
73
+ readonly membership: {
74
+ readonly $ref: "#/$defs/Membership";
75
+ readonly description: "The requester's membership credential from a member community, where the network's directory admits members only and nothing else admits the requester.";
76
+ };
77
+ readonly ext: {
78
+ readonly $ref: "#/$defs/Ext";
79
+ };
80
+ };
81
+ readonly $defs: {
82
+ readonly Response: {
83
+ readonly $anchor: "response";
84
+ readonly title: "VTN Entries — Show — response payload";
85
+ readonly description: "The party's entry as the network publishes it.";
86
+ readonly type: "object";
87
+ readonly additionalProperties: false;
88
+ readonly required: readonly ["entry"];
89
+ readonly properties: {
90
+ readonly entry: {
91
+ readonly $ref: "#/$defs/IndexEntry";
92
+ };
93
+ readonly ext: {
94
+ readonly $ref: "#/$defs/Ext";
95
+ };
96
+ };
97
+ };
98
+ readonly Ext: {
99
+ readonly title: "Ext";
100
+ readonly description: "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.";
101
+ readonly type: "object";
102
+ readonly minProperties: 1;
103
+ readonly additionalProperties: true;
104
+ readonly propertyNames: {
105
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
106
+ };
107
+ };
108
+ readonly IndexEntry: {
109
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
110
+ readonly type: "object";
111
+ readonly additionalProperties: false;
112
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
113
+ readonly properties: {
114
+ readonly did: {
115
+ readonly $ref: "#/$defs/Did";
116
+ readonly description: "The listed party's DID.";
117
+ };
118
+ readonly kind: {
119
+ readonly $ref: "#/$defs/EntryKind";
120
+ };
121
+ readonly state: {
122
+ readonly $ref: "#/$defs/EntryState";
123
+ };
124
+ readonly acknowledged: {
125
+ readonly type: "boolean";
126
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
127
+ };
128
+ readonly label: {
129
+ readonly type: "string";
130
+ readonly maxLength: 200;
131
+ readonly description: "The name the directory shows.";
132
+ };
133
+ readonly profile: {
134
+ readonly $ref: "#/$defs/EntryProfile";
135
+ };
136
+ readonly listing: {
137
+ readonly $ref: "#/$defs/Credential";
138
+ readonly description: "The listing credential.";
139
+ };
140
+ readonly grant: {
141
+ readonly $ref: "#/$defs/Credential";
142
+ readonly description: "The membership grant, once acknowledged.";
143
+ };
144
+ readonly acknowledgement: {
145
+ readonly $ref: "#/$defs/Credential";
146
+ readonly description: "The party's acknowledgement.";
147
+ };
148
+ readonly repudiation: {
149
+ readonly $ref: "#/$defs/Credential";
150
+ readonly description: "The party's repudiation.";
151
+ };
152
+ };
153
+ };
154
+ readonly Credential: {
155
+ readonly type: "object";
156
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
157
+ };
158
+ readonly EntryProfile: {
159
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
160
+ readonly type: "object";
161
+ readonly additionalProperties: false;
162
+ readonly required: readonly [];
163
+ readonly properties: {
164
+ readonly description: {
165
+ readonly $ref: "#/$defs/Description";
166
+ };
167
+ readonly url: {
168
+ readonly $ref: "#/$defs/Url";
169
+ };
170
+ readonly tags: {
171
+ readonly $ref: "#/$defs/Tags";
172
+ };
173
+ };
174
+ };
175
+ readonly Tags: {
176
+ readonly type: "array";
177
+ readonly items: {
178
+ readonly type: "string";
179
+ readonly minLength: 1;
180
+ readonly maxLength: 64;
181
+ };
182
+ readonly description: "Free-text tags the directory searches.";
183
+ readonly maxItems: 32;
184
+ };
185
+ readonly Url: {
186
+ readonly type: "string";
187
+ readonly format: "uri";
188
+ readonly maxLength: 2048;
189
+ readonly description: "The party's public address.";
190
+ };
191
+ readonly Description: {
192
+ readonly type: "string";
193
+ readonly maxLength: 2000;
194
+ readonly description: "What the listed party is, for the directory.";
195
+ };
196
+ readonly EntryState: {
197
+ readonly type: "string";
198
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
199
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
200
+ };
201
+ readonly EntryKind: {
202
+ readonly type: "string";
203
+ readonly enum: readonly ["community", "network"];
204
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
205
+ };
206
+ readonly Did: {
207
+ readonly type: "string";
208
+ readonly pattern: "^did:[a-z0-9]+:.+$";
209
+ readonly maxLength: 2048;
210
+ readonly description: "A DID.";
211
+ };
212
+ readonly Membership: {
213
+ readonly type: "object";
214
+ readonly description: "A person's membership credential (VMC) from a community that is a member of this network, holder-bound to the requester's identity. Open for the same reason as `Credential`.";
215
+ };
216
+ };
217
+ };
218
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
219
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
220
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
221
+ readonly $ref: "#/$defs/Response";
222
+ readonly $defs: {
223
+ readonly Response: {
224
+ readonly $anchor: "response";
225
+ readonly title: "VTN Entries — Show — response payload";
226
+ readonly description: "The party's entry as the network publishes it.";
227
+ readonly type: "object";
228
+ readonly additionalProperties: false;
229
+ readonly required: readonly ["entry"];
230
+ readonly properties: {
231
+ readonly entry: {
232
+ readonly $ref: "#/$defs/IndexEntry";
233
+ };
234
+ readonly ext: {
235
+ readonly $ref: "#/$defs/Ext";
236
+ };
237
+ };
238
+ };
239
+ readonly Ext: {
240
+ readonly title: "Ext";
241
+ readonly description: "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.";
242
+ readonly type: "object";
243
+ readonly minProperties: 1;
244
+ readonly additionalProperties: true;
245
+ readonly propertyNames: {
246
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
247
+ };
248
+ };
249
+ readonly IndexEntry: {
250
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
251
+ readonly type: "object";
252
+ readonly additionalProperties: false;
253
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
254
+ readonly properties: {
255
+ readonly did: {
256
+ readonly $ref: "#/$defs/Did";
257
+ readonly description: "The listed party's DID.";
258
+ };
259
+ readonly kind: {
260
+ readonly $ref: "#/$defs/EntryKind";
261
+ };
262
+ readonly state: {
263
+ readonly $ref: "#/$defs/EntryState";
264
+ };
265
+ readonly acknowledged: {
266
+ readonly type: "boolean";
267
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
268
+ };
269
+ readonly label: {
270
+ readonly type: "string";
271
+ readonly maxLength: 200;
272
+ readonly description: "The name the directory shows.";
273
+ };
274
+ readonly profile: {
275
+ readonly $ref: "#/$defs/EntryProfile";
276
+ };
277
+ readonly listing: {
278
+ readonly $ref: "#/$defs/Credential";
279
+ readonly description: "The listing credential.";
280
+ };
281
+ readonly grant: {
282
+ readonly $ref: "#/$defs/Credential";
283
+ readonly description: "The membership grant, once acknowledged.";
284
+ };
285
+ readonly acknowledgement: {
286
+ readonly $ref: "#/$defs/Credential";
287
+ readonly description: "The party's acknowledgement.";
288
+ };
289
+ readonly repudiation: {
290
+ readonly $ref: "#/$defs/Credential";
291
+ readonly description: "The party's repudiation.";
292
+ };
293
+ };
294
+ };
295
+ readonly Credential: {
296
+ readonly type: "object";
297
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
298
+ };
299
+ readonly EntryProfile: {
300
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
301
+ readonly type: "object";
302
+ readonly additionalProperties: false;
303
+ readonly required: readonly [];
304
+ readonly properties: {
305
+ readonly description: {
306
+ readonly $ref: "#/$defs/Description";
307
+ };
308
+ readonly url: {
309
+ readonly $ref: "#/$defs/Url";
310
+ };
311
+ readonly tags: {
312
+ readonly $ref: "#/$defs/Tags";
313
+ };
314
+ };
315
+ };
316
+ readonly Tags: {
317
+ readonly type: "array";
318
+ readonly items: {
319
+ readonly type: "string";
320
+ readonly minLength: 1;
321
+ readonly maxLength: 64;
322
+ };
323
+ readonly description: "Free-text tags the directory searches.";
324
+ readonly maxItems: 32;
325
+ };
326
+ readonly Url: {
327
+ readonly type: "string";
328
+ readonly format: "uri";
329
+ readonly maxLength: 2048;
330
+ readonly description: "The party's public address.";
331
+ };
332
+ readonly Description: {
333
+ readonly type: "string";
334
+ readonly maxLength: 2000;
335
+ readonly description: "What the listed party is, for the directory.";
336
+ };
337
+ readonly EntryState: {
338
+ readonly type: "string";
339
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
340
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
341
+ };
342
+ readonly EntryKind: {
343
+ readonly type: "string";
344
+ readonly enum: readonly ["community", "network"];
345
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
346
+ };
347
+ readonly Did: {
348
+ readonly type: "string";
349
+ readonly pattern: "^did:[a-z0-9]+:.+$";
350
+ readonly maxLength: 2048;
351
+ readonly description: "A DID.";
352
+ };
353
+ readonly Membership: {
354
+ readonly type: "object";
355
+ readonly description: "A person's membership credential (VMC) from a community that is a member of this network, holder-bound to the requester's identity. Open for the same reason as `Credential`.";
356
+ };
357
+ };
358
+ };
359
+ /**
360
+ * SPEC.md §7.2 policy for the request variant, from this specification's
361
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
362
+ * per-specification and cannot be derived from the document alone, and
363
+ * item 2 needs the schema this carries.
364
+ */
365
+ export declare const SPEC: {
366
+ readonly typeUri: "https://trusttasks.org/spec/vtn/entries/show/0.1";
367
+ readonly isBearer: false;
368
+ readonly isProofRequired: false;
369
+ readonly isRecipientRequired: true;
370
+ readonly isIssuedAtRequired: false;
371
+ readonly payloadSchema: {
372
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
373
+ readonly $id: "https://trusttasks.org/spec/vtn/entries/show/0.1";
374
+ readonly title: "VTN Entries — Show — payload";
375
+ readonly description: "A request for one listed party's published entry. The outer document members are owned by the framework — SPEC §6.3.";
376
+ readonly type: "object";
377
+ readonly additionalProperties: false;
378
+ readonly required: readonly ["did"];
379
+ readonly properties: {
380
+ readonly did: {
381
+ readonly $ref: "#/$defs/Did";
382
+ readonly description: "The DID of the listed party whose entry is asked for.";
383
+ };
384
+ readonly membership: {
385
+ readonly $ref: "#/$defs/Membership";
386
+ readonly description: "The requester's membership credential from a member community, where the network's directory admits members only and nothing else admits the requester.";
387
+ };
388
+ readonly ext: {
389
+ readonly $ref: "#/$defs/Ext";
390
+ };
391
+ };
392
+ readonly $defs: {
393
+ readonly Response: {
394
+ readonly $anchor: "response";
395
+ readonly title: "VTN Entries — Show — response payload";
396
+ readonly description: "The party's entry as the network publishes it.";
397
+ readonly type: "object";
398
+ readonly additionalProperties: false;
399
+ readonly required: readonly ["entry"];
400
+ readonly properties: {
401
+ readonly entry: {
402
+ readonly $ref: "#/$defs/IndexEntry";
403
+ };
404
+ readonly ext: {
405
+ readonly $ref: "#/$defs/Ext";
406
+ };
407
+ };
408
+ };
409
+ readonly Ext: {
410
+ readonly title: "Ext";
411
+ readonly description: "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.";
412
+ readonly type: "object";
413
+ readonly minProperties: 1;
414
+ readonly additionalProperties: true;
415
+ readonly propertyNames: {
416
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
417
+ };
418
+ };
419
+ readonly IndexEntry: {
420
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
421
+ readonly type: "object";
422
+ readonly additionalProperties: false;
423
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
424
+ readonly properties: {
425
+ readonly did: {
426
+ readonly $ref: "#/$defs/Did";
427
+ readonly description: "The listed party's DID.";
428
+ };
429
+ readonly kind: {
430
+ readonly $ref: "#/$defs/EntryKind";
431
+ };
432
+ readonly state: {
433
+ readonly $ref: "#/$defs/EntryState";
434
+ };
435
+ readonly acknowledged: {
436
+ readonly type: "boolean";
437
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
438
+ };
439
+ readonly label: {
440
+ readonly type: "string";
441
+ readonly maxLength: 200;
442
+ readonly description: "The name the directory shows.";
443
+ };
444
+ readonly profile: {
445
+ readonly $ref: "#/$defs/EntryProfile";
446
+ };
447
+ readonly listing: {
448
+ readonly $ref: "#/$defs/Credential";
449
+ readonly description: "The listing credential.";
450
+ };
451
+ readonly grant: {
452
+ readonly $ref: "#/$defs/Credential";
453
+ readonly description: "The membership grant, once acknowledged.";
454
+ };
455
+ readonly acknowledgement: {
456
+ readonly $ref: "#/$defs/Credential";
457
+ readonly description: "The party's acknowledgement.";
458
+ };
459
+ readonly repudiation: {
460
+ readonly $ref: "#/$defs/Credential";
461
+ readonly description: "The party's repudiation.";
462
+ };
463
+ };
464
+ };
465
+ readonly Credential: {
466
+ readonly type: "object";
467
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
468
+ };
469
+ readonly EntryProfile: {
470
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
471
+ readonly type: "object";
472
+ readonly additionalProperties: false;
473
+ readonly required: readonly [];
474
+ readonly properties: {
475
+ readonly description: {
476
+ readonly $ref: "#/$defs/Description";
477
+ };
478
+ readonly url: {
479
+ readonly $ref: "#/$defs/Url";
480
+ };
481
+ readonly tags: {
482
+ readonly $ref: "#/$defs/Tags";
483
+ };
484
+ };
485
+ };
486
+ readonly Tags: {
487
+ readonly type: "array";
488
+ readonly items: {
489
+ readonly type: "string";
490
+ readonly minLength: 1;
491
+ readonly maxLength: 64;
492
+ };
493
+ readonly description: "Free-text tags the directory searches.";
494
+ readonly maxItems: 32;
495
+ };
496
+ readonly Url: {
497
+ readonly type: "string";
498
+ readonly format: "uri";
499
+ readonly maxLength: 2048;
500
+ readonly description: "The party's public address.";
501
+ };
502
+ readonly Description: {
503
+ readonly type: "string";
504
+ readonly maxLength: 2000;
505
+ readonly description: "What the listed party is, for the directory.";
506
+ };
507
+ readonly EntryState: {
508
+ readonly type: "string";
509
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
510
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
511
+ };
512
+ readonly EntryKind: {
513
+ readonly type: "string";
514
+ readonly enum: readonly ["community", "network"];
515
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
516
+ };
517
+ readonly Did: {
518
+ readonly type: "string";
519
+ readonly pattern: "^did:[a-z0-9]+:.+$";
520
+ readonly maxLength: 2048;
521
+ readonly description: "A DID.";
522
+ };
523
+ readonly Membership: {
524
+ readonly type: "object";
525
+ readonly description: "A person's membership credential (VMC) from a community that is a member of this network, holder-bound to the requester's identity. Open for the same reason as `Credential`.";
526
+ };
527
+ };
528
+ };
529
+ };
530
+ /**
531
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
532
+ * tracks the *issuer* party's requirement because a response swaps the
533
+ * parties (§7.3 item 5).
534
+ */
535
+ export declare const RESPONSE_SPEC: {
536
+ readonly typeUri: "https://trusttasks.org/spec/vtn/entries/show/0.1#response";
537
+ readonly isBearer: false;
538
+ readonly isProofRequired: false;
539
+ readonly isRecipientRequired: true;
540
+ readonly isIssuedAtRequired: false;
541
+ readonly payloadSchema: {
542
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
543
+ readonly $ref: "#/$defs/Response";
544
+ readonly $defs: {
545
+ readonly Response: {
546
+ readonly $anchor: "response";
547
+ readonly title: "VTN Entries — Show — response payload";
548
+ readonly description: "The party's entry as the network publishes it.";
549
+ readonly type: "object";
550
+ readonly additionalProperties: false;
551
+ readonly required: readonly ["entry"];
552
+ readonly properties: {
553
+ readonly entry: {
554
+ readonly $ref: "#/$defs/IndexEntry";
555
+ };
556
+ readonly ext: {
557
+ readonly $ref: "#/$defs/Ext";
558
+ };
559
+ };
560
+ };
561
+ readonly Ext: {
562
+ readonly title: "Ext";
563
+ readonly description: "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.";
564
+ readonly type: "object";
565
+ readonly minProperties: 1;
566
+ readonly additionalProperties: true;
567
+ readonly propertyNames: {
568
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
569
+ };
570
+ };
571
+ readonly IndexEntry: {
572
+ readonly description: "An entry as the network publishes it, with the credentials a verifier needs.";
573
+ readonly type: "object";
574
+ readonly additionalProperties: false;
575
+ readonly required: readonly ["did", "kind", "state", "acknowledged", "profile", "listing"];
576
+ readonly properties: {
577
+ readonly did: {
578
+ readonly $ref: "#/$defs/Did";
579
+ readonly description: "The listed party's DID.";
580
+ };
581
+ readonly kind: {
582
+ readonly $ref: "#/$defs/EntryKind";
583
+ };
584
+ readonly state: {
585
+ readonly $ref: "#/$defs/EntryState";
586
+ };
587
+ readonly acknowledged: {
588
+ readonly type: "boolean";
589
+ readonly description: "Whether the party acknowledged: true only for a member. Every published entry states it (VTI-VTN-013).";
590
+ };
591
+ readonly label: {
592
+ readonly type: "string";
593
+ readonly maxLength: 200;
594
+ readonly description: "The name the directory shows.";
595
+ };
596
+ readonly profile: {
597
+ readonly $ref: "#/$defs/EntryProfile";
598
+ };
599
+ readonly listing: {
600
+ readonly $ref: "#/$defs/Credential";
601
+ readonly description: "The listing credential.";
602
+ };
603
+ readonly grant: {
604
+ readonly $ref: "#/$defs/Credential";
605
+ readonly description: "The membership grant, once acknowledged.";
606
+ };
607
+ readonly acknowledgement: {
608
+ readonly $ref: "#/$defs/Credential";
609
+ readonly description: "The party's acknowledgement.";
610
+ };
611
+ readonly repudiation: {
612
+ readonly $ref: "#/$defs/Credential";
613
+ readonly description: "The party's repudiation.";
614
+ };
615
+ };
616
+ };
617
+ readonly Credential: {
618
+ readonly type: "object";
619
+ readonly description: "A DTG credential (W3C VC 2.0, JSON) exactly as signed. Verified by the party relying on it, never by its shape here: it is an open object so a binding cannot narrow away a member the proof covers.";
620
+ };
621
+ readonly EntryProfile: {
622
+ readonly description: "What the directory shows about an entry, set by the network's administrators.";
623
+ readonly type: "object";
624
+ readonly additionalProperties: false;
625
+ readonly required: readonly [];
626
+ readonly properties: {
627
+ readonly description: {
628
+ readonly $ref: "#/$defs/Description";
629
+ };
630
+ readonly url: {
631
+ readonly $ref: "#/$defs/Url";
632
+ };
633
+ readonly tags: {
634
+ readonly $ref: "#/$defs/Tags";
635
+ };
636
+ };
637
+ };
638
+ readonly Tags: {
639
+ readonly type: "array";
640
+ readonly items: {
641
+ readonly type: "string";
642
+ readonly minLength: 1;
643
+ readonly maxLength: 64;
644
+ };
645
+ readonly description: "Free-text tags the directory searches.";
646
+ readonly maxItems: 32;
647
+ };
648
+ readonly Url: {
649
+ readonly type: "string";
650
+ readonly format: "uri";
651
+ readonly maxLength: 2048;
652
+ readonly description: "The party's public address.";
653
+ };
654
+ readonly Description: {
655
+ readonly type: "string";
656
+ readonly maxLength: 2000;
657
+ readonly description: "What the listed party is, for the directory.";
658
+ };
659
+ readonly EntryState: {
660
+ readonly type: "string";
661
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
662
+ readonly description: "`listed`: the network lists the party and the party has not answered; this is never membership (VTI-VTN-013). `acknowledged`: the party acknowledged the network's grant; it is a member. `repudiated`: the party rejected the listing. `suspended`: the network suspended the membership; reversible. `removed`: the network ended the entry. `departed`: the party left, by repudiating the grant.";
663
+ };
664
+ readonly EntryKind: {
665
+ readonly type: "string";
666
+ readonly enum: readonly ["community", "network"];
667
+ readonly description: "What the entry lists (VTI-VTN-031): a community, whose entries are its members, or a network, whose entries are further listings. A listing credential carries the same fact as `nodeType` `VTC` or `VTN`.";
668
+ };
669
+ readonly Did: {
670
+ readonly type: "string";
671
+ readonly pattern: "^did:[a-z0-9]+:.+$";
672
+ readonly maxLength: 2048;
673
+ readonly description: "A DID.";
674
+ };
675
+ readonly Membership: {
676
+ readonly type: "object";
677
+ readonly description: "A person's membership credential (VMC) from a community that is a member of this network, holder-bound to the requester's identity. Open for the same reason as `Credential`.";
678
+ };
679
+ };
680
+ };
681
+ };
682
+ //# sourceMappingURL=payload.d.ts.map