@openvtc/trust-tasks 0.28.10 → 0.28.12

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 (270) hide show
  1. package/CHANGELOG.md +136 -0
  2. package/dist/_shared/components.d.ts +941 -0
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +156 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +156 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/vta/collection/_shared/0.1/collection.d.ts +16 -0
  9. package/dist/vta/collection/_shared/0.1/collection.d.ts.map +1 -0
  10. package/dist/vta/collection/_shared/0.1/collection.js +6 -0
  11. package/dist/vta/collection/_shared/0.1/collection.js.map +1 -0
  12. package/dist/vta/collection/claim/0.1/payload.d.ts +352 -0
  13. package/dist/vta/collection/claim/0.1/payload.d.ts.map +1 -0
  14. package/dist/vta/collection/claim/0.1/payload.js +198 -0
  15. package/dist/vta/collection/claim/0.1/payload.js.map +1 -0
  16. package/dist/vta/collection/list/0.1/payload.d.ts +740 -0
  17. package/dist/vta/collection/list/0.1/payload.d.ts.map +1 -0
  18. package/dist/vta/collection/list/0.1/payload.js +447 -0
  19. package/dist/vta/collection/list/0.1/payload.js.map +1 -0
  20. package/dist/vta/collection/release/0.1/payload.d.ts +316 -0
  21. package/dist/vta/collection/release/0.1/payload.d.ts.map +1 -0
  22. package/dist/vta/collection/release/0.1/payload.js +182 -0
  23. package/dist/vta/collection/release/0.1/payload.js.map +1 -0
  24. package/dist/vta/notifications/deposit/0.1/payload.d.ts +349 -0
  25. package/dist/vta/notifications/deposit/0.1/payload.d.ts.map +1 -0
  26. package/dist/vta/notifications/deposit/0.1/payload.js +198 -0
  27. package/dist/vta/notifications/deposit/0.1/payload.js.map +1 -0
  28. package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts +667 -0
  29. package/dist/vta/pcs/vetter/recover/0.1/payload.d.ts.map +1 -0
  30. package/dist/vta/pcs/vetter/recover/0.1/payload.js +387 -0
  31. package/dist/vta/pcs/vetter/recover/0.1/payload.js.map +1 -0
  32. package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts +16 -0
  33. package/dist/vtc/notifications/_shared/0.1/received-notification.d.ts.map +1 -0
  34. package/dist/vtc/notifications/_shared/0.1/received-notification.js +6 -0
  35. package/dist/vtc/notifications/_shared/0.1/received-notification.js.map +1 -0
  36. package/dist/vtc/notifications/list/0.1/payload.d.ts +1311 -0
  37. package/dist/vtc/notifications/list/0.1/payload.d.ts.map +1 -0
  38. package/dist/vtc/notifications/list/0.1/payload.js +753 -0
  39. package/dist/vtc/notifications/list/0.1/payload.js.map +1 -0
  40. package/dist/vtc/notifications/relay/0.1/payload.d.ts +568 -0
  41. package/dist/vtc/notifications/relay/0.1/payload.d.ts.map +1 -0
  42. package/dist/vtc/notifications/relay/0.1/payload.js +339 -0
  43. package/dist/vtc/notifications/relay/0.1/payload.js.map +1 -0
  44. package/dist/vtc/notifications/show/0.1/payload.d.ts +1229 -0
  45. package/dist/vtc/notifications/show/0.1/payload.d.ts.map +1 -0
  46. package/dist/vtc/notifications/show/0.1/payload.js +727 -0
  47. package/dist/vtc/notifications/show/0.1/payload.js.map +1 -0
  48. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts +340 -0
  49. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.d.ts.map +1 -0
  50. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js +194 -0
  51. package/dist/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.js.map +1 -0
  52. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts +425 -0
  53. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.d.ts.map +1 -0
  54. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js +233 -0
  55. package/dist/vtc/vetting/vetters/pcs-binding/show/0.1/payload.js.map +1 -0
  56. package/dist/vtn/_shared/0.1/directory.d.ts +16 -0
  57. package/dist/vtn/_shared/0.1/directory.d.ts.map +1 -0
  58. package/dist/vtn/_shared/0.1/directory.js +6 -0
  59. package/dist/vtn/_shared/0.1/directory.js.map +1 -0
  60. package/dist/vtn/_shared/0.1/entry.d.ts +16 -0
  61. package/dist/vtn/_shared/0.1/entry.d.ts.map +1 -0
  62. package/dist/vtn/_shared/0.1/entry.js +6 -0
  63. package/dist/vtn/_shared/0.1/entry.js.map +1 -0
  64. package/dist/vtn/_shared/0.1/graph.d.ts +16 -0
  65. package/dist/vtn/_shared/0.1/graph.d.ts.map +1 -0
  66. package/dist/vtn/_shared/0.1/graph.js +6 -0
  67. package/dist/vtn/_shared/0.1/graph.js.map +1 -0
  68. package/dist/vtn/_shared/0.1/groups.d.ts +16 -0
  69. package/dist/vtn/_shared/0.1/groups.d.ts.map +1 -0
  70. package/dist/vtn/_shared/0.1/groups.js +6 -0
  71. package/dist/vtn/_shared/0.1/groups.js.map +1 -0
  72. package/dist/vtn/_shared/0.1/membership.d.ts +16 -0
  73. package/dist/vtn/_shared/0.1/membership.d.ts.map +1 -0
  74. package/dist/vtn/_shared/0.1/membership.js +6 -0
  75. package/dist/vtn/_shared/0.1/membership.js.map +1 -0
  76. package/dist/vtn/_shared/0.1/relay.d.ts +16 -0
  77. package/dist/vtn/_shared/0.1/relay.d.ts.map +1 -0
  78. package/dist/vtn/_shared/0.1/relay.js +6 -0
  79. package/dist/vtn/_shared/0.1/relay.js.map +1 -0
  80. package/dist/vtn/_shared/0.1/rooms.d.ts +16 -0
  81. package/dist/vtn/_shared/0.1/rooms.d.ts.map +1 -0
  82. package/dist/vtn/_shared/0.1/rooms.js +6 -0
  83. package/dist/vtn/_shared/0.1/rooms.js.map +1 -0
  84. package/dist/vtn/audit/list/0.1/payload.d.ts +457 -0
  85. package/dist/vtn/audit/list/0.1/payload.d.ts.map +1 -0
  86. package/dist/vtn/audit/list/0.1/payload.js +292 -0
  87. package/dist/vtn/audit/list/0.1/payload.js.map +1 -0
  88. package/dist/vtn/broadcasts/list/0.1/payload.d.ts +687 -0
  89. package/dist/vtn/broadcasts/list/0.1/payload.d.ts.map +1 -0
  90. package/dist/vtn/broadcasts/list/0.1/payload.js +407 -0
  91. package/dist/vtn/broadcasts/list/0.1/payload.js.map +1 -0
  92. package/dist/vtn/broadcasts/send/0.1/payload.d.ts +728 -0
  93. package/dist/vtn/broadcasts/send/0.1/payload.d.ts.map +1 -0
  94. package/dist/vtn/broadcasts/send/0.1/payload.js +425 -0
  95. package/dist/vtn/broadcasts/send/0.1/payload.js.map +1 -0
  96. package/dist/vtn/broadcasts/show/0.1/payload.d.ts +670 -0
  97. package/dist/vtn/broadcasts/show/0.1/payload.d.ts.map +1 -0
  98. package/dist/vtn/broadcasts/show/0.1/payload.js +402 -0
  99. package/dist/vtn/broadcasts/show/0.1/payload.js.map +1 -0
  100. package/dist/vtn/directory/federated/0.1/payload.d.ts +939 -0
  101. package/dist/vtn/directory/federated/0.1/payload.d.ts.map +1 -0
  102. package/dist/vtn/directory/federated/0.1/payload.js +536 -0
  103. package/dist/vtn/directory/federated/0.1/payload.js.map +1 -0
  104. package/dist/vtn/directory/search/0.1/payload.d.ts +643 -0
  105. package/dist/vtn/directory/search/0.1/payload.d.ts.map +1 -0
  106. package/dist/vtn/directory/search/0.1/payload.js +368 -0
  107. package/dist/vtn/directory/search/0.1/payload.js.map +1 -0
  108. package/dist/vtn/directory/summary/0.1/payload.d.ts +366 -0
  109. package/dist/vtn/directory/summary/0.1/payload.d.ts.map +1 -0
  110. package/dist/vtn/directory/summary/0.1/payload.js +216 -0
  111. package/dist/vtn/directory/summary/0.1/payload.js.map +1 -0
  112. package/dist/vtn/entries/show/0.1/payload.d.ts +682 -0
  113. package/dist/vtn/entries/show/0.1/payload.d.ts.map +1 -0
  114. package/dist/vtn/entries/show/0.1/payload.js +398 -0
  115. package/dist/vtn/entries/show/0.1/payload.js.map +1 -0
  116. package/dist/vtn/graph/member/0.1/payload.d.ts +754 -0
  117. package/dist/vtn/graph/member/0.1/payload.d.ts.map +1 -0
  118. package/dist/vtn/graph/member/0.1/payload.js +470 -0
  119. package/dist/vtn/graph/member/0.1/payload.js.map +1 -0
  120. package/dist/vtn/graph/show/0.1/payload.d.ts +754 -0
  121. package/dist/vtn/graph/show/0.1/payload.d.ts.map +1 -0
  122. package/dist/vtn/graph/show/0.1/payload.js +468 -0
  123. package/dist/vtn/graph/show/0.1/payload.js.map +1 -0
  124. package/dist/vtn/groups/list/0.1/payload.d.ts +489 -0
  125. package/dist/vtn/groups/list/0.1/payload.d.ts.map +1 -0
  126. package/dist/vtn/groups/list/0.1/payload.js +282 -0
  127. package/dist/vtn/groups/list/0.1/payload.js.map +1 -0
  128. package/dist/vtn/groups/register/0.1/payload.d.ts +504 -0
  129. package/dist/vtn/groups/register/0.1/payload.d.ts.map +1 -0
  130. package/dist/vtn/groups/register/0.1/payload.js +291 -0
  131. package/dist/vtn/groups/register/0.1/payload.js.map +1 -0
  132. package/dist/vtn/listings/create/0.1/payload.d.ts +954 -0
  133. package/dist/vtn/listings/create/0.1/payload.d.ts.map +1 -0
  134. package/dist/vtn/listings/create/0.1/payload.js +549 -0
  135. package/dist/vtn/listings/create/0.1/payload.js.map +1 -0
  136. package/dist/vtn/listings/list/0.1/payload.d.ts +933 -0
  137. package/dist/vtn/listings/list/0.1/payload.d.ts.map +1 -0
  138. package/dist/vtn/listings/list/0.1/payload.js +538 -0
  139. package/dist/vtn/listings/list/0.1/payload.js.map +1 -0
  140. package/dist/vtn/listings/reinstate/0.1/payload.d.ts +926 -0
  141. package/dist/vtn/listings/reinstate/0.1/payload.d.ts.map +1 -0
  142. package/dist/vtn/listings/reinstate/0.1/payload.js +536 -0
  143. package/dist/vtn/listings/reinstate/0.1/payload.js.map +1 -0
  144. package/dist/vtn/listings/remove/0.1/payload.d.ts +926 -0
  145. package/dist/vtn/listings/remove/0.1/payload.d.ts.map +1 -0
  146. package/dist/vtn/listings/remove/0.1/payload.js +536 -0
  147. package/dist/vtn/listings/remove/0.1/payload.js.map +1 -0
  148. package/dist/vtn/listings/show/0.1/payload.d.ts +914 -0
  149. package/dist/vtn/listings/show/0.1/payload.d.ts.map +1 -0
  150. package/dist/vtn/listings/show/0.1/payload.js +532 -0
  151. package/dist/vtn/listings/show/0.1/payload.js.map +1 -0
  152. package/dist/vtn/listings/suspend/0.1/payload.d.ts +926 -0
  153. package/dist/vtn/listings/suspend/0.1/payload.d.ts.map +1 -0
  154. package/dist/vtn/listings/suspend/0.1/payload.js +536 -0
  155. package/dist/vtn/listings/suspend/0.1/payload.js.map +1 -0
  156. package/dist/vtn/listings/update/0.1/payload.d.ts +966 -0
  157. package/dist/vtn/listings/update/0.1/payload.d.ts.map +1 -0
  158. package/dist/vtn/listings/update/0.1/payload.js +550 -0
  159. package/dist/vtn/listings/update/0.1/payload.js.map +1 -0
  160. package/dist/vtn/membership/acknowledge/0.1/payload.d.ts +654 -0
  161. package/dist/vtn/membership/acknowledge/0.1/payload.d.ts.map +1 -0
  162. package/dist/vtn/membership/acknowledge/0.1/payload.js +386 -0
  163. package/dist/vtn/membership/acknowledge/0.1/payload.js.map +1 -0
  164. package/dist/vtn/membership/offer/0.1/payload.d.ts +247 -0
  165. package/dist/vtn/membership/offer/0.1/payload.d.ts.map +1 -0
  166. package/dist/vtn/membership/offer/0.1/payload.js +147 -0
  167. package/dist/vtn/membership/offer/0.1/payload.js.map +1 -0
  168. package/dist/vtn/membership/repudiate/0.1/payload.d.ts +654 -0
  169. package/dist/vtn/membership/repudiate/0.1/payload.d.ts.map +1 -0
  170. package/dist/vtn/membership/repudiate/0.1/payload.js +386 -0
  171. package/dist/vtn/membership/repudiate/0.1/payload.js.map +1 -0
  172. package/dist/vtn/memberships/groups/add/0.1/payload.d.ts +677 -0
  173. package/dist/vtn/memberships/groups/add/0.1/payload.d.ts.map +1 -0
  174. package/dist/vtn/memberships/groups/add/0.1/payload.js +394 -0
  175. package/dist/vtn/memberships/groups/add/0.1/payload.js.map +1 -0
  176. package/dist/vtn/memberships/join/0.1/payload.d.ts +755 -0
  177. package/dist/vtn/memberships/join/0.1/payload.d.ts.map +1 -0
  178. package/dist/vtn/memberships/join/0.1/payload.js +438 -0
  179. package/dist/vtn/memberships/join/0.1/payload.js.map +1 -0
  180. package/dist/vtn/memberships/leave/0.1/payload.d.ts +653 -0
  181. package/dist/vtn/memberships/leave/0.1/payload.d.ts.map +1 -0
  182. package/dist/vtn/memberships/leave/0.1/payload.js +384 -0
  183. package/dist/vtn/memberships/leave/0.1/payload.js.map +1 -0
  184. package/dist/vtn/memberships/list/0.1/payload.d.ts +651 -0
  185. package/dist/vtn/memberships/list/0.1/payload.d.ts.map +1 -0
  186. package/dist/vtn/memberships/list/0.1/payload.js +383 -0
  187. package/dist/vtn/memberships/list/0.1/payload.js.map +1 -0
  188. package/dist/vtn/memberships/repudiate/0.1/payload.d.ts +669 -0
  189. package/dist/vtn/memberships/repudiate/0.1/payload.d.ts.map +1 -0
  190. package/dist/vtn/memberships/repudiate/0.1/payload.js +391 -0
  191. package/dist/vtn/memberships/repudiate/0.1/payload.js.map +1 -0
  192. package/dist/vtn/outbox/list/0.1/payload.d.ts +567 -0
  193. package/dist/vtn/outbox/list/0.1/payload.d.ts.map +1 -0
  194. package/dist/vtn/outbox/list/0.1/payload.js +333 -0
  195. package/dist/vtn/outbox/list/0.1/payload.js.map +1 -0
  196. package/dist/vtn/outbox/retry/0.1/payload.d.ts +235 -0
  197. package/dist/vtn/outbox/retry/0.1/payload.d.ts.map +1 -0
  198. package/dist/vtn/outbox/retry/0.1/payload.js +141 -0
  199. package/dist/vtn/outbox/retry/0.1/payload.js.map +1 -0
  200. package/dist/vtn/relay/deliver/0.1/payload.d.ts +592 -0
  201. package/dist/vtn/relay/deliver/0.1/payload.d.ts.map +1 -0
  202. package/dist/vtn/relay/deliver/0.1/payload.js +352 -0
  203. package/dist/vtn/relay/deliver/0.1/payload.js.map +1 -0
  204. package/dist/vtn/roles/list/0.1/payload.d.ts +371 -0
  205. package/dist/vtn/roles/list/0.1/payload.d.ts.map +1 -0
  206. package/dist/vtn/roles/list/0.1/payload.js +213 -0
  207. package/dist/vtn/roles/list/0.1/payload.js.map +1 -0
  208. package/dist/vtn/rooms/list/0.1/payload.d.ts +447 -0
  209. package/dist/vtn/rooms/list/0.1/payload.d.ts.map +1 -0
  210. package/dist/vtn/rooms/list/0.1/payload.js +255 -0
  211. package/dist/vtn/rooms/list/0.1/payload.js.map +1 -0
  212. package/dist/vtn/rooms/pass/0.1/payload.d.ts +674 -0
  213. package/dist/vtn/rooms/pass/0.1/payload.d.ts.map +1 -0
  214. package/dist/vtn/rooms/pass/0.1/payload.js +383 -0
  215. package/dist/vtn/rooms/pass/0.1/payload.js.map +1 -0
  216. package/package.json +1 -1
  217. package/src/_shared/components.ts +960 -0
  218. package/src/index.ts +156 -0
  219. package/src/vta/collection/_shared/0.1/collection.ts +17 -0
  220. package/src/vta/collection/claim/0.1/payload.ts +247 -0
  221. package/src/vta/collection/list/0.1/payload.ts +500 -0
  222. package/src/vta/collection/release/0.1/payload.ts +223 -0
  223. package/src/vta/notifications/deposit/0.1/payload.ts +243 -0
  224. package/src/vta/pcs/vetter/recover/0.1/payload.ts +437 -0
  225. package/src/vtc/notifications/_shared/0.1/received-notification.ts +17 -0
  226. package/src/vtc/notifications/list/0.1/payload.ts +809 -0
  227. package/src/vtc/notifications/relay/0.1/payload.ts +382 -0
  228. package/src/vtc/notifications/show/0.1/payload.ts +761 -0
  229. package/src/vtc/vetting/vetters/pcs-binding/reset/0.1/payload.ts +247 -0
  230. package/src/vtc/vetting/vetters/pcs-binding/show/0.1/payload.ts +295 -0
  231. package/src/vtn/_shared/0.1/directory.ts +17 -0
  232. package/src/vtn/_shared/0.1/entry.ts +17 -0
  233. package/src/vtn/_shared/0.1/graph.ts +17 -0
  234. package/src/vtn/_shared/0.1/groups.ts +17 -0
  235. package/src/vtn/_shared/0.1/membership.ts +17 -0
  236. package/src/vtn/_shared/0.1/relay.ts +17 -0
  237. package/src/vtn/_shared/0.1/rooms.ts +17 -0
  238. package/src/vtn/audit/list/0.1/payload.ts +336 -0
  239. package/src/vtn/broadcasts/list/0.1/payload.ts +447 -0
  240. package/src/vtn/broadcasts/send/0.1/payload.ts +478 -0
  241. package/src/vtn/broadcasts/show/0.1/payload.ts +439 -0
  242. package/src/vtn/directory/federated/0.1/payload.ts +594 -0
  243. package/src/vtn/directory/search/0.1/payload.ts +418 -0
  244. package/src/vtn/directory/summary/0.1/payload.ts +253 -0
  245. package/src/vtn/entries/show/0.1/payload.ts +439 -0
  246. package/src/vtn/graph/member/0.1/payload.ts +511 -0
  247. package/src/vtn/graph/show/0.1/payload.ts +509 -0
  248. package/src/vtn/groups/list/0.1/payload.ts +322 -0
  249. package/src/vtn/groups/register/0.1/payload.ts +336 -0
  250. package/src/vtn/listings/create/0.1/payload.ts +594 -0
  251. package/src/vtn/listings/list/0.1/payload.ts +578 -0
  252. package/src/vtn/listings/reinstate/0.1/payload.ts +577 -0
  253. package/src/vtn/listings/remove/0.1/payload.ts +577 -0
  254. package/src/vtn/listings/show/0.1/payload.ts +569 -0
  255. package/src/vtn/listings/suspend/0.1/payload.ts +577 -0
  256. package/src/vtn/listings/update/0.1/payload.ts +603 -0
  257. package/src/vtn/membership/acknowledge/0.1/payload.ts +423 -0
  258. package/src/vtn/membership/offer/0.1/payload.ts +183 -0
  259. package/src/vtn/membership/repudiate/0.1/payload.ts +423 -0
  260. package/src/vtn/memberships/groups/add/0.1/payload.ts +442 -0
  261. package/src/vtn/memberships/join/0.1/payload.ts +488 -0
  262. package/src/vtn/memberships/leave/0.1/payload.ts +424 -0
  263. package/src/vtn/memberships/list/0.1/payload.ts +419 -0
  264. package/src/vtn/memberships/repudiate/0.1/payload.ts +435 -0
  265. package/src/vtn/outbox/list/0.1/payload.ts +369 -0
  266. package/src/vtn/outbox/retry/0.1/payload.ts +177 -0
  267. package/src/vtn/relay/deliver/0.1/payload.ts +397 -0
  268. package/src/vtn/roles/list/0.1/payload.ts +253 -0
  269. package/src/vtn/rooms/list/0.1/payload.ts +295 -0
  270. package/src/vtn/rooms/pass/0.1/payload.ts +439 -0
@@ -0,0 +1,754 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtn/graph/member/0.1/payload.schema.json
4
+ */
5
+ import type { Credential, Did_VtnV0_1 as Did, Edge, EdgeRole, EdgeStatus, EntryState, Ext, Graph, Membership, Node, NodeKind } from "../../../../_shared/components.js";
6
+ /**
7
+ * A request to expand one member network's graph. The outer document members are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTNGraphMemberNetworkPayload {
10
+ /**
11
+ * The member network to expand.
12
+ */
13
+ did: Did;
14
+ /**
15
+ * A person's membership credential from a member community, holder-bound to the signer; admits the person to a `members` directory.
16
+ */
17
+ membership?: Membership;
18
+ ext?: Ext;
19
+ }
20
+ /**
21
+ * The member network's graph, from its verified signed index.
22
+ */
23
+ export interface VTNGraphMemberNetworkResponsePayload {
24
+ graph: Graph;
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, Did, Edge, EdgeRole, EdgeStatus, EntryState, Ext, Graph, Membership, Node, NodeKind };
29
+ /** Trust Task type URI. */
30
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtn/graph/member/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 = VTNGraphMemberNetworkPayload;
47
+ /** Trust Task response type URI (request type URI + "#response"). */
48
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtn/graph/member/0.1#response";
49
+ /** Stable alias for this specification's success-response payload shape. */
50
+ export type Response = VTNGraphMemberNetworkResponsePayload;
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/graph/member/0.1";
63
+ readonly title: "VTN Graph — Member Network — payload";
64
+ readonly description: "A request to expand one member network's graph. 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 member network to expand.";
72
+ };
73
+ readonly membership: {
74
+ readonly $ref: "#/$defs/Membership";
75
+ readonly description: "A person's membership credential from a member community, holder-bound to the signer; admits the person to a `members` directory.";
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 Graph — Member Network — response payload";
85
+ readonly description: "The member network's graph, from its verified signed index.";
86
+ readonly type: "object";
87
+ readonly additionalProperties: false;
88
+ readonly required: readonly ["graph"];
89
+ readonly properties: {
90
+ readonly graph: {
91
+ readonly $ref: "#/$defs/Graph";
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 Graph: {
109
+ readonly description: "The graph.";
110
+ readonly type: "object";
111
+ readonly additionalProperties: false;
112
+ readonly required: readonly ["nodes", "edges"];
113
+ readonly properties: {
114
+ readonly nodes: {
115
+ readonly type: "array";
116
+ readonly items: {
117
+ readonly $ref: "#/$defs/Node";
118
+ };
119
+ readonly description: "The parties.";
120
+ };
121
+ readonly edges: {
122
+ readonly type: "array";
123
+ readonly items: {
124
+ readonly $ref: "#/$defs/Edge";
125
+ };
126
+ readonly description: "The credentials.";
127
+ };
128
+ };
129
+ };
130
+ readonly Edge: {
131
+ readonly description: "One credential, from issuer to subject. A membership is two edges: the grant and the acknowledgement.";
132
+ readonly type: "object";
133
+ readonly additionalProperties: false;
134
+ readonly required: readonly ["id", "source", "target", "role", "credType", "status", "credential"];
135
+ readonly properties: {
136
+ readonly id: {
137
+ readonly type: "string";
138
+ readonly maxLength: 2048;
139
+ readonly description: "The credential's `id`.";
140
+ };
141
+ readonly source: {
142
+ readonly $ref: "#/$defs/Did";
143
+ readonly description: "The issuer.";
144
+ };
145
+ readonly target: {
146
+ readonly $ref: "#/$defs/Did";
147
+ readonly description: "The subject.";
148
+ };
149
+ readonly role: {
150
+ readonly $ref: "#/$defs/EdgeRole";
151
+ };
152
+ readonly credType: {
153
+ readonly type: "string";
154
+ readonly maxLength: 100;
155
+ readonly description: "The credential's DTG type, e.g. `MembershipCredential`.";
156
+ };
157
+ readonly status: {
158
+ readonly $ref: "#/$defs/EdgeStatus";
159
+ };
160
+ readonly credential: {
161
+ readonly $ref: "#/$defs/Credential";
162
+ readonly description: "The credential itself.";
163
+ };
164
+ };
165
+ };
166
+ readonly EdgeStatus: {
167
+ readonly type: "string";
168
+ readonly enum: readonly ["valid", "suspended", "revoked", "unchecked"];
169
+ readonly description: "The credential's status as far as this network can determine it. `unchecked` is a credential whose status list this network does not hold.";
170
+ };
171
+ readonly EdgeRole: {
172
+ readonly type: "string";
173
+ readonly enum: readonly ["listing", "grant", "acknowledgement", "repudiation"];
174
+ readonly description: "Which credential an edge is.";
175
+ };
176
+ readonly Credential: {
177
+ readonly type: "object";
178
+ 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.";
179
+ };
180
+ readonly Did: {
181
+ readonly type: "string";
182
+ readonly pattern: "^did:[a-z0-9]+:.+$";
183
+ readonly maxLength: 2048;
184
+ readonly description: "A DID.";
185
+ };
186
+ readonly Node: {
187
+ readonly description: "A party.";
188
+ readonly type: "object";
189
+ readonly additionalProperties: false;
190
+ readonly required: readonly ["id", "kind", "root"];
191
+ readonly properties: {
192
+ readonly id: {
193
+ readonly $ref: "#/$defs/Did";
194
+ readonly description: "The party's DID.";
195
+ };
196
+ readonly kind: {
197
+ readonly $ref: "#/$defs/NodeKind";
198
+ };
199
+ readonly label: {
200
+ readonly type: "string";
201
+ readonly maxLength: 200;
202
+ readonly description: "Its name.";
203
+ };
204
+ readonly state: {
205
+ readonly $ref: "#/$defs/EntryState";
206
+ readonly description: "Its entry's state; absent for the root.";
207
+ };
208
+ readonly root: {
209
+ readonly type: "boolean";
210
+ readonly description: "Whether this is the network whose graph it is.";
211
+ };
212
+ readonly url: {
213
+ readonly type: "string";
214
+ readonly format: "uri";
215
+ readonly maxLength: 2048;
216
+ readonly description: "Where a member network is reached, so a viewer can expand it.";
217
+ };
218
+ };
219
+ };
220
+ readonly NodeKind: {
221
+ readonly type: "string";
222
+ readonly enum: readonly ["network", "community"];
223
+ readonly description: "What a node is.";
224
+ };
225
+ readonly EntryState: {
226
+ readonly type: "string";
227
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
228
+ 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.";
229
+ };
230
+ readonly Membership: {
231
+ readonly type: "object";
232
+ 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`.";
233
+ };
234
+ };
235
+ };
236
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
237
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
238
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
239
+ readonly $ref: "#/$defs/Response";
240
+ readonly $defs: {
241
+ readonly Response: {
242
+ readonly $anchor: "response";
243
+ readonly title: "VTN Graph — Member Network — response payload";
244
+ readonly description: "The member network's graph, from its verified signed index.";
245
+ readonly type: "object";
246
+ readonly additionalProperties: false;
247
+ readonly required: readonly ["graph"];
248
+ readonly properties: {
249
+ readonly graph: {
250
+ readonly $ref: "#/$defs/Graph";
251
+ };
252
+ readonly ext: {
253
+ readonly $ref: "#/$defs/Ext";
254
+ };
255
+ };
256
+ };
257
+ readonly Ext: {
258
+ readonly title: "Ext";
259
+ 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.";
260
+ readonly type: "object";
261
+ readonly minProperties: 1;
262
+ readonly additionalProperties: true;
263
+ readonly propertyNames: {
264
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
265
+ };
266
+ };
267
+ readonly Graph: {
268
+ readonly description: "The graph.";
269
+ readonly type: "object";
270
+ readonly additionalProperties: false;
271
+ readonly required: readonly ["nodes", "edges"];
272
+ readonly properties: {
273
+ readonly nodes: {
274
+ readonly type: "array";
275
+ readonly items: {
276
+ readonly $ref: "#/$defs/Node";
277
+ };
278
+ readonly description: "The parties.";
279
+ };
280
+ readonly edges: {
281
+ readonly type: "array";
282
+ readonly items: {
283
+ readonly $ref: "#/$defs/Edge";
284
+ };
285
+ readonly description: "The credentials.";
286
+ };
287
+ };
288
+ };
289
+ readonly Edge: {
290
+ readonly description: "One credential, from issuer to subject. A membership is two edges: the grant and the acknowledgement.";
291
+ readonly type: "object";
292
+ readonly additionalProperties: false;
293
+ readonly required: readonly ["id", "source", "target", "role", "credType", "status", "credential"];
294
+ readonly properties: {
295
+ readonly id: {
296
+ readonly type: "string";
297
+ readonly maxLength: 2048;
298
+ readonly description: "The credential's `id`.";
299
+ };
300
+ readonly source: {
301
+ readonly $ref: "#/$defs/Did";
302
+ readonly description: "The issuer.";
303
+ };
304
+ readonly target: {
305
+ readonly $ref: "#/$defs/Did";
306
+ readonly description: "The subject.";
307
+ };
308
+ readonly role: {
309
+ readonly $ref: "#/$defs/EdgeRole";
310
+ };
311
+ readonly credType: {
312
+ readonly type: "string";
313
+ readonly maxLength: 100;
314
+ readonly description: "The credential's DTG type, e.g. `MembershipCredential`.";
315
+ };
316
+ readonly status: {
317
+ readonly $ref: "#/$defs/EdgeStatus";
318
+ };
319
+ readonly credential: {
320
+ readonly $ref: "#/$defs/Credential";
321
+ readonly description: "The credential itself.";
322
+ };
323
+ };
324
+ };
325
+ readonly EdgeStatus: {
326
+ readonly type: "string";
327
+ readonly enum: readonly ["valid", "suspended", "revoked", "unchecked"];
328
+ readonly description: "The credential's status as far as this network can determine it. `unchecked` is a credential whose status list this network does not hold.";
329
+ };
330
+ readonly EdgeRole: {
331
+ readonly type: "string";
332
+ readonly enum: readonly ["listing", "grant", "acknowledgement", "repudiation"];
333
+ readonly description: "Which credential an edge is.";
334
+ };
335
+ readonly Credential: {
336
+ readonly type: "object";
337
+ 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.";
338
+ };
339
+ readonly Did: {
340
+ readonly type: "string";
341
+ readonly pattern: "^did:[a-z0-9]+:.+$";
342
+ readonly maxLength: 2048;
343
+ readonly description: "A DID.";
344
+ };
345
+ readonly Node: {
346
+ readonly description: "A party.";
347
+ readonly type: "object";
348
+ readonly additionalProperties: false;
349
+ readonly required: readonly ["id", "kind", "root"];
350
+ readonly properties: {
351
+ readonly id: {
352
+ readonly $ref: "#/$defs/Did";
353
+ readonly description: "The party's DID.";
354
+ };
355
+ readonly kind: {
356
+ readonly $ref: "#/$defs/NodeKind";
357
+ };
358
+ readonly label: {
359
+ readonly type: "string";
360
+ readonly maxLength: 200;
361
+ readonly description: "Its name.";
362
+ };
363
+ readonly state: {
364
+ readonly $ref: "#/$defs/EntryState";
365
+ readonly description: "Its entry's state; absent for the root.";
366
+ };
367
+ readonly root: {
368
+ readonly type: "boolean";
369
+ readonly description: "Whether this is the network whose graph it is.";
370
+ };
371
+ readonly url: {
372
+ readonly type: "string";
373
+ readonly format: "uri";
374
+ readonly maxLength: 2048;
375
+ readonly description: "Where a member network is reached, so a viewer can expand it.";
376
+ };
377
+ };
378
+ };
379
+ readonly NodeKind: {
380
+ readonly type: "string";
381
+ readonly enum: readonly ["network", "community"];
382
+ readonly description: "What a node is.";
383
+ };
384
+ readonly EntryState: {
385
+ readonly type: "string";
386
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
387
+ 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.";
388
+ };
389
+ readonly Membership: {
390
+ readonly type: "object";
391
+ 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`.";
392
+ };
393
+ };
394
+ };
395
+ /**
396
+ * SPEC.md §7.2 policy for the request variant, from this specification's
397
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
398
+ * per-specification and cannot be derived from the document alone, and
399
+ * item 2 needs the schema this carries.
400
+ */
401
+ export declare const SPEC: {
402
+ readonly typeUri: "https://trusttasks.org/spec/vtn/graph/member/0.1";
403
+ readonly isBearer: false;
404
+ readonly isProofRequired: false;
405
+ readonly isRecipientRequired: true;
406
+ readonly isIssuedAtRequired: false;
407
+ readonly payloadSchema: {
408
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
409
+ readonly $id: "https://trusttasks.org/spec/vtn/graph/member/0.1";
410
+ readonly title: "VTN Graph — Member Network — payload";
411
+ readonly description: "A request to expand one member network's graph. The outer document members are owned by the framework — SPEC §6.3.";
412
+ readonly type: "object";
413
+ readonly additionalProperties: false;
414
+ readonly required: readonly ["did"];
415
+ readonly properties: {
416
+ readonly did: {
417
+ readonly $ref: "#/$defs/Did";
418
+ readonly description: "The member network to expand.";
419
+ };
420
+ readonly membership: {
421
+ readonly $ref: "#/$defs/Membership";
422
+ readonly description: "A person's membership credential from a member community, holder-bound to the signer; admits the person to a `members` directory.";
423
+ };
424
+ readonly ext: {
425
+ readonly $ref: "#/$defs/Ext";
426
+ };
427
+ };
428
+ readonly $defs: {
429
+ readonly Response: {
430
+ readonly $anchor: "response";
431
+ readonly title: "VTN Graph — Member Network — response payload";
432
+ readonly description: "The member network's graph, from its verified signed index.";
433
+ readonly type: "object";
434
+ readonly additionalProperties: false;
435
+ readonly required: readonly ["graph"];
436
+ readonly properties: {
437
+ readonly graph: {
438
+ readonly $ref: "#/$defs/Graph";
439
+ };
440
+ readonly ext: {
441
+ readonly $ref: "#/$defs/Ext";
442
+ };
443
+ };
444
+ };
445
+ readonly Ext: {
446
+ readonly title: "Ext";
447
+ 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.";
448
+ readonly type: "object";
449
+ readonly minProperties: 1;
450
+ readonly additionalProperties: true;
451
+ readonly propertyNames: {
452
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
453
+ };
454
+ };
455
+ readonly Graph: {
456
+ readonly description: "The graph.";
457
+ readonly type: "object";
458
+ readonly additionalProperties: false;
459
+ readonly required: readonly ["nodes", "edges"];
460
+ readonly properties: {
461
+ readonly nodes: {
462
+ readonly type: "array";
463
+ readonly items: {
464
+ readonly $ref: "#/$defs/Node";
465
+ };
466
+ readonly description: "The parties.";
467
+ };
468
+ readonly edges: {
469
+ readonly type: "array";
470
+ readonly items: {
471
+ readonly $ref: "#/$defs/Edge";
472
+ };
473
+ readonly description: "The credentials.";
474
+ };
475
+ };
476
+ };
477
+ readonly Edge: {
478
+ readonly description: "One credential, from issuer to subject. A membership is two edges: the grant and the acknowledgement.";
479
+ readonly type: "object";
480
+ readonly additionalProperties: false;
481
+ readonly required: readonly ["id", "source", "target", "role", "credType", "status", "credential"];
482
+ readonly properties: {
483
+ readonly id: {
484
+ readonly type: "string";
485
+ readonly maxLength: 2048;
486
+ readonly description: "The credential's `id`.";
487
+ };
488
+ readonly source: {
489
+ readonly $ref: "#/$defs/Did";
490
+ readonly description: "The issuer.";
491
+ };
492
+ readonly target: {
493
+ readonly $ref: "#/$defs/Did";
494
+ readonly description: "The subject.";
495
+ };
496
+ readonly role: {
497
+ readonly $ref: "#/$defs/EdgeRole";
498
+ };
499
+ readonly credType: {
500
+ readonly type: "string";
501
+ readonly maxLength: 100;
502
+ readonly description: "The credential's DTG type, e.g. `MembershipCredential`.";
503
+ };
504
+ readonly status: {
505
+ readonly $ref: "#/$defs/EdgeStatus";
506
+ };
507
+ readonly credential: {
508
+ readonly $ref: "#/$defs/Credential";
509
+ readonly description: "The credential itself.";
510
+ };
511
+ };
512
+ };
513
+ readonly EdgeStatus: {
514
+ readonly type: "string";
515
+ readonly enum: readonly ["valid", "suspended", "revoked", "unchecked"];
516
+ readonly description: "The credential's status as far as this network can determine it. `unchecked` is a credential whose status list this network does not hold.";
517
+ };
518
+ readonly EdgeRole: {
519
+ readonly type: "string";
520
+ readonly enum: readonly ["listing", "grant", "acknowledgement", "repudiation"];
521
+ readonly description: "Which credential an edge is.";
522
+ };
523
+ readonly Credential: {
524
+ readonly type: "object";
525
+ 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.";
526
+ };
527
+ readonly Did: {
528
+ readonly type: "string";
529
+ readonly pattern: "^did:[a-z0-9]+:.+$";
530
+ readonly maxLength: 2048;
531
+ readonly description: "A DID.";
532
+ };
533
+ readonly Node: {
534
+ readonly description: "A party.";
535
+ readonly type: "object";
536
+ readonly additionalProperties: false;
537
+ readonly required: readonly ["id", "kind", "root"];
538
+ readonly properties: {
539
+ readonly id: {
540
+ readonly $ref: "#/$defs/Did";
541
+ readonly description: "The party's DID.";
542
+ };
543
+ readonly kind: {
544
+ readonly $ref: "#/$defs/NodeKind";
545
+ };
546
+ readonly label: {
547
+ readonly type: "string";
548
+ readonly maxLength: 200;
549
+ readonly description: "Its name.";
550
+ };
551
+ readonly state: {
552
+ readonly $ref: "#/$defs/EntryState";
553
+ readonly description: "Its entry's state; absent for the root.";
554
+ };
555
+ readonly root: {
556
+ readonly type: "boolean";
557
+ readonly description: "Whether this is the network whose graph it is.";
558
+ };
559
+ readonly url: {
560
+ readonly type: "string";
561
+ readonly format: "uri";
562
+ readonly maxLength: 2048;
563
+ readonly description: "Where a member network is reached, so a viewer can expand it.";
564
+ };
565
+ };
566
+ };
567
+ readonly NodeKind: {
568
+ readonly type: "string";
569
+ readonly enum: readonly ["network", "community"];
570
+ readonly description: "What a node is.";
571
+ };
572
+ readonly EntryState: {
573
+ readonly type: "string";
574
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
575
+ 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.";
576
+ };
577
+ readonly Membership: {
578
+ readonly type: "object";
579
+ 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`.";
580
+ };
581
+ };
582
+ };
583
+ };
584
+ /**
585
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
586
+ * tracks the *issuer* party's requirement because a response swaps the
587
+ * parties (§7.3 item 5).
588
+ */
589
+ export declare const RESPONSE_SPEC: {
590
+ readonly typeUri: "https://trusttasks.org/spec/vtn/graph/member/0.1#response";
591
+ readonly isBearer: false;
592
+ readonly isProofRequired: false;
593
+ readonly isRecipientRequired: false;
594
+ readonly isIssuedAtRequired: false;
595
+ readonly payloadSchema: {
596
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
597
+ readonly $ref: "#/$defs/Response";
598
+ readonly $defs: {
599
+ readonly Response: {
600
+ readonly $anchor: "response";
601
+ readonly title: "VTN Graph — Member Network — response payload";
602
+ readonly description: "The member network's graph, from its verified signed index.";
603
+ readonly type: "object";
604
+ readonly additionalProperties: false;
605
+ readonly required: readonly ["graph"];
606
+ readonly properties: {
607
+ readonly graph: {
608
+ readonly $ref: "#/$defs/Graph";
609
+ };
610
+ readonly ext: {
611
+ readonly $ref: "#/$defs/Ext";
612
+ };
613
+ };
614
+ };
615
+ readonly Ext: {
616
+ readonly title: "Ext";
617
+ 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.";
618
+ readonly type: "object";
619
+ readonly minProperties: 1;
620
+ readonly additionalProperties: true;
621
+ readonly propertyNames: {
622
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
623
+ };
624
+ };
625
+ readonly Graph: {
626
+ readonly description: "The graph.";
627
+ readonly type: "object";
628
+ readonly additionalProperties: false;
629
+ readonly required: readonly ["nodes", "edges"];
630
+ readonly properties: {
631
+ readonly nodes: {
632
+ readonly type: "array";
633
+ readonly items: {
634
+ readonly $ref: "#/$defs/Node";
635
+ };
636
+ readonly description: "The parties.";
637
+ };
638
+ readonly edges: {
639
+ readonly type: "array";
640
+ readonly items: {
641
+ readonly $ref: "#/$defs/Edge";
642
+ };
643
+ readonly description: "The credentials.";
644
+ };
645
+ };
646
+ };
647
+ readonly Edge: {
648
+ readonly description: "One credential, from issuer to subject. A membership is two edges: the grant and the acknowledgement.";
649
+ readonly type: "object";
650
+ readonly additionalProperties: false;
651
+ readonly required: readonly ["id", "source", "target", "role", "credType", "status", "credential"];
652
+ readonly properties: {
653
+ readonly id: {
654
+ readonly type: "string";
655
+ readonly maxLength: 2048;
656
+ readonly description: "The credential's `id`.";
657
+ };
658
+ readonly source: {
659
+ readonly $ref: "#/$defs/Did";
660
+ readonly description: "The issuer.";
661
+ };
662
+ readonly target: {
663
+ readonly $ref: "#/$defs/Did";
664
+ readonly description: "The subject.";
665
+ };
666
+ readonly role: {
667
+ readonly $ref: "#/$defs/EdgeRole";
668
+ };
669
+ readonly credType: {
670
+ readonly type: "string";
671
+ readonly maxLength: 100;
672
+ readonly description: "The credential's DTG type, e.g. `MembershipCredential`.";
673
+ };
674
+ readonly status: {
675
+ readonly $ref: "#/$defs/EdgeStatus";
676
+ };
677
+ readonly credential: {
678
+ readonly $ref: "#/$defs/Credential";
679
+ readonly description: "The credential itself.";
680
+ };
681
+ };
682
+ };
683
+ readonly EdgeStatus: {
684
+ readonly type: "string";
685
+ readonly enum: readonly ["valid", "suspended", "revoked", "unchecked"];
686
+ readonly description: "The credential's status as far as this network can determine it. `unchecked` is a credential whose status list this network does not hold.";
687
+ };
688
+ readonly EdgeRole: {
689
+ readonly type: "string";
690
+ readonly enum: readonly ["listing", "grant", "acknowledgement", "repudiation"];
691
+ readonly description: "Which credential an edge is.";
692
+ };
693
+ readonly Credential: {
694
+ readonly type: "object";
695
+ 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.";
696
+ };
697
+ readonly Did: {
698
+ readonly type: "string";
699
+ readonly pattern: "^did:[a-z0-9]+:.+$";
700
+ readonly maxLength: 2048;
701
+ readonly description: "A DID.";
702
+ };
703
+ readonly Node: {
704
+ readonly description: "A party.";
705
+ readonly type: "object";
706
+ readonly additionalProperties: false;
707
+ readonly required: readonly ["id", "kind", "root"];
708
+ readonly properties: {
709
+ readonly id: {
710
+ readonly $ref: "#/$defs/Did";
711
+ readonly description: "The party's DID.";
712
+ };
713
+ readonly kind: {
714
+ readonly $ref: "#/$defs/NodeKind";
715
+ };
716
+ readonly label: {
717
+ readonly type: "string";
718
+ readonly maxLength: 200;
719
+ readonly description: "Its name.";
720
+ };
721
+ readonly state: {
722
+ readonly $ref: "#/$defs/EntryState";
723
+ readonly description: "Its entry's state; absent for the root.";
724
+ };
725
+ readonly root: {
726
+ readonly type: "boolean";
727
+ readonly description: "Whether this is the network whose graph it is.";
728
+ };
729
+ readonly url: {
730
+ readonly type: "string";
731
+ readonly format: "uri";
732
+ readonly maxLength: 2048;
733
+ readonly description: "Where a member network is reached, so a viewer can expand it.";
734
+ };
735
+ };
736
+ };
737
+ readonly NodeKind: {
738
+ readonly type: "string";
739
+ readonly enum: readonly ["network", "community"];
740
+ readonly description: "What a node is.";
741
+ };
742
+ readonly EntryState: {
743
+ readonly type: "string";
744
+ readonly enum: readonly ["listed", "acknowledged", "repudiated", "suspended", "removed", "departed"];
745
+ 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.";
746
+ };
747
+ readonly Membership: {
748
+ readonly type: "object";
749
+ 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`.";
750
+ };
751
+ };
752
+ };
753
+ };
754
+ //# sourceMappingURL=payload.d.ts.map