@openvtc/trust-tasks 0.22.6 → 0.23.0

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 (194) hide show
  1. package/CHANGELOG.md +81 -0
  2. package/dist/_shared/components.d.ts +434 -1
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/acl/_shared/0.1/acl-entry.d.ts +1 -1
  5. package/dist/acl/_shared/0.1/acl-entry.d.ts.map +1 -1
  6. package/dist/acl/_shared/0.2/acl-entry.d.ts +22 -0
  7. package/dist/acl/_shared/0.2/acl-entry.d.ts.map +1 -0
  8. package/dist/acl/_shared/0.2/acl-entry.js +6 -0
  9. package/dist/acl/_shared/0.2/acl-entry.js.map +1 -0
  10. package/dist/acl/change-role/0.1/payload.d.ts +1 -1
  11. package/dist/acl/change-role/0.1/payload.d.ts.map +1 -1
  12. package/dist/acl/change-role/0.2/payload.d.ts +1679 -0
  13. package/dist/acl/change-role/0.2/payload.d.ts.map +1 -0
  14. package/dist/acl/change-role/0.2/payload.js +955 -0
  15. package/dist/acl/change-role/0.2/payload.js.map +1 -0
  16. package/dist/acl/grant/0.1/payload.d.ts +1 -1
  17. package/dist/acl/grant/0.1/payload.d.ts.map +1 -1
  18. package/dist/acl/grant/0.2/payload.d.ts +1649 -0
  19. package/dist/acl/grant/0.2/payload.d.ts.map +1 -0
  20. package/dist/acl/grant/0.2/payload.js +942 -0
  21. package/dist/acl/grant/0.2/payload.js.map +1 -0
  22. package/dist/acl/list/0.1/payload.d.ts +1 -1
  23. package/dist/acl/list/0.1/payload.d.ts.map +1 -1
  24. package/dist/acl/list/0.2/payload.d.ts +1853 -0
  25. package/dist/acl/list/0.2/payload.d.ts.map +1 -0
  26. package/dist/acl/list/0.2/payload.js +1041 -0
  27. package/dist/acl/list/0.2/payload.js.map +1 -0
  28. package/dist/acl/revoke/0.1/payload.d.ts +1 -1
  29. package/dist/acl/revoke/0.1/payload.d.ts.map +1 -1
  30. package/dist/acl/revoke/0.2/payload.d.ts +1844 -0
  31. package/dist/acl/revoke/0.2/payload.d.ts.map +1 -0
  32. package/dist/acl/revoke/0.2/payload.js +1052 -0
  33. package/dist/acl/revoke/0.2/payload.js.map +1 -0
  34. package/dist/acl/show/0.1/payload.d.ts +1 -1
  35. package/dist/acl/show/0.1/payload.d.ts.map +1 -1
  36. package/dist/acl/show/0.2/payload.d.ts +1689 -0
  37. package/dist/acl/show/0.2/payload.d.ts.map +1 -0
  38. package/dist/acl/show/0.2/payload.js +968 -0
  39. package/dist/acl/show/0.2/payload.js.map +1 -0
  40. package/dist/acl/swap-key/0.1/payload.d.ts +1 -1
  41. package/dist/acl/swap-key/0.1/payload.d.ts.map +1 -1
  42. package/dist/acl/update/0.1/payload.d.ts +1 -1
  43. package/dist/acl/update/0.1/payload.d.ts.map +1 -1
  44. package/dist/acl/update/0.2/payload.d.ts +1784 -0
  45. package/dist/acl/update/0.2/payload.d.ts.map +1 -0
  46. package/dist/acl/update/0.2/payload.js +1005 -0
  47. package/dist/acl/update/0.2/payload.js.map +1 -0
  48. package/dist/auth/step-up/approve-request/0.4/payload.d.ts +672 -0
  49. package/dist/auth/step-up/approve-request/0.4/payload.d.ts.map +1 -0
  50. package/dist/auth/step-up/approve-request/0.4/payload.js +373 -0
  51. package/dist/auth/step-up/approve-request/0.4/payload.js.map +1 -0
  52. package/dist/auth/step-up/approve-response/0.6/payload.d.ts +974 -0
  53. package/dist/auth/step-up/approve-response/0.6/payload.d.ts.map +1 -0
  54. package/dist/auth/step-up/approve-response/0.6/payload.js +552 -0
  55. package/dist/auth/step-up/approve-response/0.6/payload.js.map +1 -0
  56. package/dist/auth/step-up/approver/_shared/0.1/approver.d.ts +16 -0
  57. package/dist/auth/step-up/approver/_shared/0.1/approver.d.ts.map +1 -0
  58. package/dist/auth/step-up/approver/_shared/0.1/approver.js +6 -0
  59. package/dist/auth/step-up/approver/_shared/0.1/approver.js.map +1 -0
  60. package/dist/auth/step-up/approver/attest/0.1/payload.d.ts +174 -0
  61. package/dist/auth/step-up/approver/attest/0.1/payload.d.ts.map +1 -0
  62. package/dist/auth/step-up/approver/attest/0.1/payload.js +97 -0
  63. package/dist/auth/step-up/approver/attest/0.1/payload.js.map +1 -0
  64. package/dist/auth/step-up/approver/enroll/0.1/payload.d.ts +503 -0
  65. package/dist/auth/step-up/approver/enroll/0.1/payload.d.ts.map +1 -0
  66. package/dist/auth/step-up/approver/enroll/0.1/payload.js +285 -0
  67. package/dist/auth/step-up/approver/enroll/0.1/payload.js.map +1 -0
  68. package/dist/auth/step-up/approver/invite/0.1/payload.d.ts +375 -0
  69. package/dist/auth/step-up/approver/invite/0.1/payload.d.ts.map +1 -0
  70. package/dist/auth/step-up/approver/invite/0.1/payload.js +200 -0
  71. package/dist/auth/step-up/approver/invite/0.1/payload.js.map +1 -0
  72. package/dist/auth/step-up/approver/list/0.1/payload.d.ts +477 -0
  73. package/dist/auth/step-up/approver/list/0.1/payload.d.ts.map +1 -0
  74. package/dist/auth/step-up/approver/list/0.1/payload.js +272 -0
  75. package/dist/auth/step-up/approver/list/0.1/payload.js.map +1 -0
  76. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.d.ts +512 -0
  77. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.d.ts.map +1 -0
  78. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.js +290 -0
  79. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.js.map +1 -0
  80. package/dist/auth/step-up/approver/redeem/start/0.1/payload.d.ts +343 -0
  81. package/dist/auth/step-up/approver/redeem/start/0.1/payload.d.ts.map +1 -0
  82. package/dist/auth/step-up/approver/redeem/start/0.1/payload.js +187 -0
  83. package/dist/auth/step-up/approver/redeem/start/0.1/payload.js.map +1 -0
  84. package/dist/auth/step-up/approver/revoke/0.1/payload.d.ts +534 -0
  85. package/dist/auth/step-up/approver/revoke/0.1/payload.d.ts.map +1 -0
  86. package/dist/auth/step-up/approver/revoke/0.1/payload.js +301 -0
  87. package/dist/auth/step-up/approver/revoke/0.1/payload.js.map +1 -0
  88. package/dist/git-ns/activity/list/0.1/payload.d.ts +21 -0
  89. package/dist/git-ns/activity/list/0.1/payload.d.ts.map +1 -1
  90. package/dist/git-ns/activity/list/0.1/payload.js +8 -0
  91. package/dist/git-ns/activity/list/0.1/payload.js.map +1 -1
  92. package/dist/index.d.ts +31 -0
  93. package/dist/index.d.ts.map +1 -1
  94. package/dist/index.js +31 -0
  95. package/dist/index.js.map +1 -1
  96. package/dist/task-consent/decision/0.2/payload.d.ts +775 -0
  97. package/dist/task-consent/decision/0.2/payload.d.ts.map +1 -0
  98. package/dist/task-consent/decision/0.2/payload.js +450 -0
  99. package/dist/task-consent/decision/0.2/payload.js.map +1 -0
  100. package/dist/vtc/admin/actions/_shared/0.1/action.d.ts +24 -0
  101. package/dist/vtc/admin/actions/_shared/0.1/action.d.ts.map +1 -0
  102. package/dist/vtc/admin/actions/_shared/0.1/action.js +6 -0
  103. package/dist/vtc/admin/actions/_shared/0.1/action.js.map +1 -0
  104. package/dist/vtc/admin/actions/acknowledge/0.1/payload.d.ts +1012 -0
  105. package/dist/vtc/admin/actions/acknowledge/0.1/payload.d.ts.map +1 -0
  106. package/dist/vtc/admin/actions/acknowledge/0.1/payload.js +636 -0
  107. package/dist/vtc/admin/actions/acknowledge/0.1/payload.js.map +1 -0
  108. package/dist/vtc/admin/actions/cancel/0.1/payload.d.ts +1026 -0
  109. package/dist/vtc/admin/actions/cancel/0.1/payload.d.ts.map +1 -0
  110. package/dist/vtc/admin/actions/cancel/0.1/payload.js +641 -0
  111. package/dist/vtc/admin/actions/cancel/0.1/payload.js.map +1 -0
  112. package/dist/vtc/admin/actions/list/0.1/payload.d.ts +1200 -0
  113. package/dist/vtc/admin/actions/list/0.1/payload.d.ts.map +1 -0
  114. package/dist/vtc/admin/actions/list/0.1/payload.js +726 -0
  115. package/dist/vtc/admin/actions/list/0.1/payload.js.map +1 -0
  116. package/dist/vtc/admin/actions/show/0.1/payload.d.ts +1012 -0
  117. package/dist/vtc/admin/actions/show/0.1/payload.d.ts.map +1 -0
  118. package/dist/vtc/admin/actions/show/0.1/payload.js +636 -0
  119. package/dist/vtc/admin/actions/show/0.1/payload.js.map +1 -0
  120. package/dist/vtc/install/claim/finish/0.3/payload.d.ts +379 -0
  121. package/dist/vtc/install/claim/finish/0.3/payload.d.ts.map +1 -0
  122. package/dist/vtc/install/claim/finish/0.3/payload.js +205 -0
  123. package/dist/vtc/install/claim/finish/0.3/payload.js.map +1 -0
  124. package/dist/vtc/install/claim/start/0.3/payload.d.ts +368 -0
  125. package/dist/vtc/install/claim/start/0.3/payload.d.ts.map +1 -0
  126. package/dist/vtc/install/claim/start/0.3/payload.js +201 -0
  127. package/dist/vtc/install/claim/start/0.3/payload.js.map +1 -0
  128. package/dist/vtc/members/authority-reduced-notice/0.1/payload.d.ts +208 -0
  129. package/dist/vtc/members/authority-reduced-notice/0.1/payload.d.ts.map +1 -0
  130. package/dist/vtc/members/authority-reduced-notice/0.1/payload.js +112 -0
  131. package/dist/vtc/members/authority-reduced-notice/0.1/payload.js.map +1 -0
  132. package/dist/vtc/roles/_shared/0.1/role.d.ts +16 -0
  133. package/dist/vtc/roles/_shared/0.1/role.d.ts.map +1 -0
  134. package/dist/vtc/roles/_shared/0.1/role.js +6 -0
  135. package/dist/vtc/roles/_shared/0.1/role.js.map +1 -0
  136. package/dist/vtc/roles/define/0.1/payload.d.ts +703 -0
  137. package/dist/vtc/roles/define/0.1/payload.d.ts.map +1 -0
  138. package/dist/vtc/roles/define/0.1/payload.js +371 -0
  139. package/dist/vtc/roles/define/0.1/payload.js.map +1 -0
  140. package/dist/vtc/roles/delete/0.1/payload.d.ts +281 -0
  141. package/dist/vtc/roles/delete/0.1/payload.d.ts.map +1 -0
  142. package/dist/vtc/roles/delete/0.1/payload.js +152 -0
  143. package/dist/vtc/roles/delete/0.1/payload.js.map +1 -0
  144. package/dist/vtc/roles/list/0.1/payload.d.ts +639 -0
  145. package/dist/vtc/roles/list/0.1/payload.d.ts.map +1 -0
  146. package/dist/vtc/roles/list/0.1/payload.js +345 -0
  147. package/dist/vtc/roles/list/0.1/payload.js.map +1 -0
  148. package/dist/vtc/roles/show/0.1/payload.d.ts +651 -0
  149. package/dist/vtc/roles/show/0.1/payload.d.ts.map +1 -0
  150. package/dist/vtc/roles/show/0.1/payload.js +351 -0
  151. package/dist/vtc/roles/show/0.1/payload.js.map +1 -0
  152. package/package.json +1 -1
  153. package/src/_shared/components.ts +440 -1
  154. package/src/acl/_shared/0.1/acl-entry.ts +1 -1
  155. package/src/acl/_shared/0.2/acl-entry.ts +23 -0
  156. package/src/acl/change-role/0.1/payload.ts +1 -1
  157. package/src/acl/change-role/0.2/payload.ts +1011 -0
  158. package/src/acl/grant/0.1/payload.ts +1 -1
  159. package/src/acl/grant/0.2/payload.ts +990 -0
  160. package/src/acl/list/0.1/payload.ts +1 -1
  161. package/src/acl/list/0.2/payload.ts +1125 -0
  162. package/src/acl/revoke/0.1/payload.ts +1 -1
  163. package/src/acl/revoke/0.2/payload.ts +1122 -0
  164. package/src/acl/show/0.1/payload.ts +1 -1
  165. package/src/acl/show/0.2/payload.ts +1016 -0
  166. package/src/acl/swap-key/0.1/payload.ts +1 -1
  167. package/src/acl/update/0.1/payload.ts +1 -1
  168. package/src/acl/update/0.2/payload.ts +1094 -0
  169. package/src/auth/step-up/approve-request/0.4/payload.ts +461 -0
  170. package/src/auth/step-up/approve-response/0.6/payload.ts +648 -0
  171. package/src/auth/step-up/approver/_shared/0.1/approver.ts +17 -0
  172. package/src/auth/step-up/approver/attest/0.1/payload.ts +135 -0
  173. package/src/auth/step-up/approver/enroll/0.1/payload.ts +329 -0
  174. package/src/auth/step-up/approver/invite/0.1/payload.ts +258 -0
  175. package/src/auth/step-up/approver/list/0.1/payload.ts +318 -0
  176. package/src/auth/step-up/approver/redeem/finish/0.1/payload.ts +337 -0
  177. package/src/auth/step-up/approver/redeem/start/0.1/payload.ts +241 -0
  178. package/src/auth/step-up/approver/revoke/0.1/payload.ts +352 -0
  179. package/src/git-ns/activity/list/0.1/payload.ts +14 -0
  180. package/src/index.ts +31 -0
  181. package/src/task-consent/decision/0.2/payload.ts +537 -0
  182. package/src/vtc/admin/actions/_shared/0.1/action.ts +25 -0
  183. package/src/vtc/admin/actions/acknowledge/0.1/payload.ts +671 -0
  184. package/src/vtc/admin/actions/cancel/0.1/payload.ts +680 -0
  185. package/src/vtc/admin/actions/list/0.1/payload.ts +795 -0
  186. package/src/vtc/admin/actions/show/0.1/payload.ts +671 -0
  187. package/src/vtc/install/claim/finish/0.3/payload.ts +253 -0
  188. package/src/vtc/install/claim/start/0.3/payload.ts +256 -0
  189. package/src/vtc/members/authority-reduced-notice/0.1/payload.ts +162 -0
  190. package/src/vtc/roles/_shared/0.1/role.ts +17 -0
  191. package/src/vtc/roles/define/0.1/payload.ts +435 -0
  192. package/src/vtc/roles/delete/0.1/payload.ts +200 -0
  193. package/src/vtc/roles/list/0.1/payload.ts +389 -0
  194. package/src/vtc/roles/show/0.1/payload.ts +399 -0
@@ -0,0 +1,368 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/install/claim/start/0.3/payload.schema.json
4
+ */
5
+ import type { Ext } from "../../../../../_shared/components.js";
6
+ /**
7
+ * Begin claiming a fresh community under a DID the founder already controls: exchange the install token and its claim code for a challenge the founder's step-up approver will sign. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTCInstallClaimStartPayload {
10
+ /**
11
+ * The EdDSA-signed install JWT (aud=vtc-install) printed by vtc setup. In 0.3 it names the founder's DID.
12
+ */
13
+ token: string;
14
+ /**
15
+ * The claim code the operator received out of band, through a different channel from the install URL. Required in 0.3. Compared with its stored hash; never logged.
16
+ */
17
+ claimCode: string;
18
+ ext?: Ext;
19
+ }
20
+ export interface VTCInstallClaimStartResponsePayload {
21
+ /**
22
+ * Opaque, single-use handle for this claim. Echoed in claim/finish, and the `boundTo` of the approver's enrolment statement.
23
+ */
24
+ claimId: string;
25
+ /**
26
+ * The DID the install token names — the DID that must sign claim/finish and that becomes the first administrator. Returned so the installer need not decode the token.
27
+ */
28
+ adminDid: string;
29
+ /**
30
+ * A fresh challenge (≥128 bits) the founder's step-up approver signs over in its auth/step-up/approver/attest/0.1 statement with `purpose: enrol`.
31
+ */
32
+ challenge: string;
33
+ /**
34
+ * The community's DID, which the statement names as its `audience` and `recipient`, and to which claim/finish is addressed.
35
+ */
36
+ audience: string;
37
+ /**
38
+ * When this claim ceremony lapses (not the install token).
39
+ */
40
+ expiresAt: string;
41
+ ext?: Ext;
42
+ }
43
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
44
+ export type { Ext };
45
+ /** Trust Task type URI. */
46
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/install/claim/start/0.3";
47
+ /** Stable alias for this specification's request payload shape. */
48
+ export type Payload = VTCInstallClaimStartPayload;
49
+ /** Trust Task response type URI (request type URI + "#response"). */
50
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/install/claim/start/0.3#response";
51
+ /** Stable alias for this specification's success-response payload shape. */
52
+ export type Response = VTCInstallClaimStartResponsePayload;
53
+ /**
54
+ * This specification's payload schema, as a value.
55
+ *
56
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
57
+ * rather than only as a `.json` file because TypeScript types are erased
58
+ * at runtime: without a schema a consumer has nothing to validate, and
59
+ * every REQUIRED payload member is optional in practice. Cross-file
60
+ * `$ref`s are already inlined, so it needs no resolver.
61
+ */
62
+ export declare const PAYLOAD_SCHEMA: {
63
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
64
+ readonly $id: "https://trusttasks.org/spec/vtc/install/claim/start/0.3";
65
+ readonly title: "VTC Install Claim Start — payload";
66
+ readonly description: "Begin claiming a fresh community under a DID the founder already controls: exchange the install token and its claim code for a challenge the founder's step-up approver will sign. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
67
+ readonly type: "object";
68
+ readonly additionalProperties: false;
69
+ readonly required: readonly ["token", "claimCode"];
70
+ readonly properties: {
71
+ readonly token: {
72
+ readonly type: "string";
73
+ readonly minLength: 16;
74
+ readonly maxLength: 4096;
75
+ readonly description: "The EdDSA-signed install JWT (aud=vtc-install) printed by vtc setup. In 0.3 it names the founder's DID.";
76
+ };
77
+ readonly claimCode: {
78
+ readonly type: "string";
79
+ readonly minLength: 1;
80
+ readonly maxLength: 64;
81
+ readonly description: "The claim code the operator received out of band, through a different channel from the install URL. Required in 0.3. Compared with its stored hash; never logged.";
82
+ };
83
+ readonly ext: {
84
+ readonly $ref: "#/$defs/Ext";
85
+ };
86
+ };
87
+ readonly $defs: {
88
+ readonly Response: {
89
+ readonly $anchor: "response";
90
+ readonly title: "VTC Install Claim Start — response payload";
91
+ readonly type: "object";
92
+ readonly additionalProperties: false;
93
+ readonly required: readonly ["claimId", "adminDid", "challenge", "audience", "expiresAt"];
94
+ readonly properties: {
95
+ readonly claimId: {
96
+ readonly type: "string";
97
+ readonly minLength: 1;
98
+ readonly maxLength: 256;
99
+ readonly description: "Opaque, single-use handle for this claim. Echoed in claim/finish, and the `boundTo` of the approver's enrolment statement.";
100
+ };
101
+ readonly adminDid: {
102
+ readonly type: "string";
103
+ readonly pattern: "^did:";
104
+ readonly minLength: 5;
105
+ readonly maxLength: 2048;
106
+ readonly description: "The DID the install token names — the DID that must sign claim/finish and that becomes the first administrator. Returned so the installer need not decode the token.";
107
+ };
108
+ readonly challenge: {
109
+ readonly type: "string";
110
+ readonly minLength: 16;
111
+ readonly maxLength: 512;
112
+ readonly description: "A fresh challenge (≥128 bits) the founder's step-up approver signs over in its auth/step-up/approver/attest/0.1 statement with `purpose: enrol`.";
113
+ };
114
+ readonly audience: {
115
+ readonly type: "string";
116
+ readonly pattern: "^did:";
117
+ readonly minLength: 5;
118
+ readonly maxLength: 2048;
119
+ readonly description: "The community's DID, which the statement names as its `audience` and `recipient`, and to which claim/finish is addressed.";
120
+ };
121
+ readonly expiresAt: {
122
+ readonly type: "string";
123
+ readonly format: "date-time";
124
+ readonly description: "When this claim ceremony lapses (not the install token).";
125
+ };
126
+ readonly ext: {
127
+ readonly $ref: "#/$defs/Ext";
128
+ };
129
+ };
130
+ };
131
+ readonly Ext: {
132
+ readonly title: "Ext";
133
+ 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.";
134
+ readonly type: "object";
135
+ readonly minProperties: 1;
136
+ readonly additionalProperties: true;
137
+ readonly propertyNames: {
138
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
139
+ };
140
+ };
141
+ };
142
+ };
143
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
144
+ export declare const RESPONSE_PAYLOAD_SCHEMA: {
145
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
146
+ readonly $ref: "#/$defs/Response";
147
+ readonly $defs: {
148
+ readonly Response: {
149
+ readonly $anchor: "response";
150
+ readonly title: "VTC Install Claim Start — response payload";
151
+ readonly type: "object";
152
+ readonly additionalProperties: false;
153
+ readonly required: readonly ["claimId", "adminDid", "challenge", "audience", "expiresAt"];
154
+ readonly properties: {
155
+ readonly claimId: {
156
+ readonly type: "string";
157
+ readonly minLength: 1;
158
+ readonly maxLength: 256;
159
+ readonly description: "Opaque, single-use handle for this claim. Echoed in claim/finish, and the `boundTo` of the approver's enrolment statement.";
160
+ };
161
+ readonly adminDid: {
162
+ readonly type: "string";
163
+ readonly pattern: "^did:";
164
+ readonly minLength: 5;
165
+ readonly maxLength: 2048;
166
+ readonly description: "The DID the install token names — the DID that must sign claim/finish and that becomes the first administrator. Returned so the installer need not decode the token.";
167
+ };
168
+ readonly challenge: {
169
+ readonly type: "string";
170
+ readonly minLength: 16;
171
+ readonly maxLength: 512;
172
+ readonly description: "A fresh challenge (≥128 bits) the founder's step-up approver signs over in its auth/step-up/approver/attest/0.1 statement with `purpose: enrol`.";
173
+ };
174
+ readonly audience: {
175
+ readonly type: "string";
176
+ readonly pattern: "^did:";
177
+ readonly minLength: 5;
178
+ readonly maxLength: 2048;
179
+ readonly description: "The community's DID, which the statement names as its `audience` and `recipient`, and to which claim/finish is addressed.";
180
+ };
181
+ readonly expiresAt: {
182
+ readonly type: "string";
183
+ readonly format: "date-time";
184
+ readonly description: "When this claim ceremony lapses (not the install token).";
185
+ };
186
+ readonly ext: {
187
+ readonly $ref: "#/$defs/Ext";
188
+ };
189
+ };
190
+ };
191
+ readonly Ext: {
192
+ readonly title: "Ext";
193
+ 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.";
194
+ readonly type: "object";
195
+ readonly minProperties: 1;
196
+ readonly additionalProperties: true;
197
+ readonly propertyNames: {
198
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
199
+ };
200
+ };
201
+ };
202
+ };
203
+ /**
204
+ * SPEC.md §7.2 policy for the request variant, from this specification's
205
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
206
+ * per-specification and cannot be derived from the document alone, and
207
+ * item 2 needs the schema this carries.
208
+ */
209
+ export declare const SPEC: {
210
+ readonly typeUri: "https://trusttasks.org/spec/vtc/install/claim/start/0.3";
211
+ readonly isBearer: false;
212
+ readonly isProofRequired: false;
213
+ readonly isRecipientRequired: true;
214
+ readonly isIssuedAtRequired: true;
215
+ readonly payloadSchema: {
216
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
217
+ readonly $id: "https://trusttasks.org/spec/vtc/install/claim/start/0.3";
218
+ readonly title: "VTC Install Claim Start — payload";
219
+ readonly description: "Begin claiming a fresh community under a DID the founder already controls: exchange the install token and its claim code for a challenge the founder's step-up approver will sign. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
220
+ readonly type: "object";
221
+ readonly additionalProperties: false;
222
+ readonly required: readonly ["token", "claimCode"];
223
+ readonly properties: {
224
+ readonly token: {
225
+ readonly type: "string";
226
+ readonly minLength: 16;
227
+ readonly maxLength: 4096;
228
+ readonly description: "The EdDSA-signed install JWT (aud=vtc-install) printed by vtc setup. In 0.3 it names the founder's DID.";
229
+ };
230
+ readonly claimCode: {
231
+ readonly type: "string";
232
+ readonly minLength: 1;
233
+ readonly maxLength: 64;
234
+ readonly description: "The claim code the operator received out of band, through a different channel from the install URL. Required in 0.3. Compared with its stored hash; never logged.";
235
+ };
236
+ readonly ext: {
237
+ readonly $ref: "#/$defs/Ext";
238
+ };
239
+ };
240
+ readonly $defs: {
241
+ readonly Response: {
242
+ readonly $anchor: "response";
243
+ readonly title: "VTC Install Claim Start — response payload";
244
+ readonly type: "object";
245
+ readonly additionalProperties: false;
246
+ readonly required: readonly ["claimId", "adminDid", "challenge", "audience", "expiresAt"];
247
+ readonly properties: {
248
+ readonly claimId: {
249
+ readonly type: "string";
250
+ readonly minLength: 1;
251
+ readonly maxLength: 256;
252
+ readonly description: "Opaque, single-use handle for this claim. Echoed in claim/finish, and the `boundTo` of the approver's enrolment statement.";
253
+ };
254
+ readonly adminDid: {
255
+ readonly type: "string";
256
+ readonly pattern: "^did:";
257
+ readonly minLength: 5;
258
+ readonly maxLength: 2048;
259
+ readonly description: "The DID the install token names — the DID that must sign claim/finish and that becomes the first administrator. Returned so the installer need not decode the token.";
260
+ };
261
+ readonly challenge: {
262
+ readonly type: "string";
263
+ readonly minLength: 16;
264
+ readonly maxLength: 512;
265
+ readonly description: "A fresh challenge (≥128 bits) the founder's step-up approver signs over in its auth/step-up/approver/attest/0.1 statement with `purpose: enrol`.";
266
+ };
267
+ readonly audience: {
268
+ readonly type: "string";
269
+ readonly pattern: "^did:";
270
+ readonly minLength: 5;
271
+ readonly maxLength: 2048;
272
+ readonly description: "The community's DID, which the statement names as its `audience` and `recipient`, and to which claim/finish is addressed.";
273
+ };
274
+ readonly expiresAt: {
275
+ readonly type: "string";
276
+ readonly format: "date-time";
277
+ readonly description: "When this claim ceremony lapses (not the install token).";
278
+ };
279
+ readonly ext: {
280
+ readonly $ref: "#/$defs/Ext";
281
+ };
282
+ };
283
+ };
284
+ readonly Ext: {
285
+ readonly title: "Ext";
286
+ 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.";
287
+ readonly type: "object";
288
+ readonly minProperties: 1;
289
+ readonly additionalProperties: true;
290
+ readonly propertyNames: {
291
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
292
+ };
293
+ };
294
+ };
295
+ };
296
+ };
297
+ /**
298
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
299
+ * tracks the *issuer* party's requirement because a response swaps the
300
+ * parties (§7.3 item 5).
301
+ */
302
+ export declare const RESPONSE_SPEC: {
303
+ readonly typeUri: "https://trusttasks.org/spec/vtc/install/claim/start/0.3#response";
304
+ readonly isBearer: false;
305
+ readonly isProofRequired: false;
306
+ readonly isRecipientRequired: true;
307
+ readonly isIssuedAtRequired: true;
308
+ readonly payloadSchema: {
309
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
310
+ readonly $ref: "#/$defs/Response";
311
+ readonly $defs: {
312
+ readonly Response: {
313
+ readonly $anchor: "response";
314
+ readonly title: "VTC Install Claim Start — response payload";
315
+ readonly type: "object";
316
+ readonly additionalProperties: false;
317
+ readonly required: readonly ["claimId", "adminDid", "challenge", "audience", "expiresAt"];
318
+ readonly properties: {
319
+ readonly claimId: {
320
+ readonly type: "string";
321
+ readonly minLength: 1;
322
+ readonly maxLength: 256;
323
+ readonly description: "Opaque, single-use handle for this claim. Echoed in claim/finish, and the `boundTo` of the approver's enrolment statement.";
324
+ };
325
+ readonly adminDid: {
326
+ readonly type: "string";
327
+ readonly pattern: "^did:";
328
+ readonly minLength: 5;
329
+ readonly maxLength: 2048;
330
+ readonly description: "The DID the install token names — the DID that must sign claim/finish and that becomes the first administrator. Returned so the installer need not decode the token.";
331
+ };
332
+ readonly challenge: {
333
+ readonly type: "string";
334
+ readonly minLength: 16;
335
+ readonly maxLength: 512;
336
+ readonly description: "A fresh challenge (≥128 bits) the founder's step-up approver signs over in its auth/step-up/approver/attest/0.1 statement with `purpose: enrol`.";
337
+ };
338
+ readonly audience: {
339
+ readonly type: "string";
340
+ readonly pattern: "^did:";
341
+ readonly minLength: 5;
342
+ readonly maxLength: 2048;
343
+ readonly description: "The community's DID, which the statement names as its `audience` and `recipient`, and to which claim/finish is addressed.";
344
+ };
345
+ readonly expiresAt: {
346
+ readonly type: "string";
347
+ readonly format: "date-time";
348
+ readonly description: "When this claim ceremony lapses (not the install token).";
349
+ };
350
+ readonly ext: {
351
+ readonly $ref: "#/$defs/Ext";
352
+ };
353
+ };
354
+ };
355
+ readonly Ext: {
356
+ readonly title: "Ext";
357
+ 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.";
358
+ readonly type: "object";
359
+ readonly minProperties: 1;
360
+ readonly additionalProperties: true;
361
+ readonly propertyNames: {
362
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
363
+ };
364
+ };
365
+ };
366
+ };
367
+ };
368
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/install/claim/start/0.3/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,sCAAsC,CAAC;AAGhE;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,GAAG,CAAC;C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s/vtc/install/claim/start/0.3/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/install/claim/start/0.3";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/vtc/install/claim/start/0.3#response";
9
+ /**
10
+ * This specification's payload schema, as a value.
11
+ *
12
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
13
+ * rather than only as a `.json` file because TypeScript types are erased
14
+ * at runtime: without a schema a consumer has nothing to validate, and
15
+ * every REQUIRED payload member is optional in practice. Cross-file
16
+ * `$ref`s are already inlined, so it needs no resolver.
17
+ */
18
+ export const PAYLOAD_SCHEMA = {
19
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
20
+ "$id": "https://trusttasks.org/spec/vtc/install/claim/start/0.3",
21
+ "title": "VTC Install Claim Start — payload",
22
+ "description": "Begin claiming a fresh community under a DID the founder already controls: exchange the install token and its claim code for a challenge the founder's step-up approver will sign. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "token",
27
+ "claimCode"
28
+ ],
29
+ "properties": {
30
+ "token": {
31
+ "type": "string",
32
+ "minLength": 16,
33
+ "maxLength": 4096,
34
+ "description": "The EdDSA-signed install JWT (aud=vtc-install) printed by vtc setup. In 0.3 it names the founder's DID."
35
+ },
36
+ "claimCode": {
37
+ "type": "string",
38
+ "minLength": 1,
39
+ "maxLength": 64,
40
+ "description": "The claim code the operator received out of band, through a different channel from the install URL. Required in 0.3. Compared with its stored hash; never logged."
41
+ },
42
+ "ext": {
43
+ "$ref": "#/$defs/Ext"
44
+ }
45
+ },
46
+ "$defs": {
47
+ "Response": {
48
+ "$anchor": "response",
49
+ "title": "VTC Install Claim Start — response payload",
50
+ "type": "object",
51
+ "additionalProperties": false,
52
+ "required": [
53
+ "claimId",
54
+ "adminDid",
55
+ "challenge",
56
+ "audience",
57
+ "expiresAt"
58
+ ],
59
+ "properties": {
60
+ "claimId": {
61
+ "type": "string",
62
+ "minLength": 1,
63
+ "maxLength": 256,
64
+ "description": "Opaque, single-use handle for this claim. Echoed in claim/finish, and the `boundTo` of the approver's enrolment statement."
65
+ },
66
+ "adminDid": {
67
+ "type": "string",
68
+ "pattern": "^did:",
69
+ "minLength": 5,
70
+ "maxLength": 2048,
71
+ "description": "The DID the install token names — the DID that must sign claim/finish and that becomes the first administrator. Returned so the installer need not decode the token."
72
+ },
73
+ "challenge": {
74
+ "type": "string",
75
+ "minLength": 16,
76
+ "maxLength": 512,
77
+ "description": "A fresh challenge (≥128 bits) the founder's step-up approver signs over in its auth/step-up/approver/attest/0.1 statement with `purpose: enrol`."
78
+ },
79
+ "audience": {
80
+ "type": "string",
81
+ "pattern": "^did:",
82
+ "minLength": 5,
83
+ "maxLength": 2048,
84
+ "description": "The community's DID, which the statement names as its `audience` and `recipient`, and to which claim/finish is addressed."
85
+ },
86
+ "expiresAt": {
87
+ "type": "string",
88
+ "format": "date-time",
89
+ "description": "When this claim ceremony lapses (not the install token)."
90
+ },
91
+ "ext": {
92
+ "$ref": "#/$defs/Ext"
93
+ }
94
+ }
95
+ },
96
+ "Ext": {
97
+ "title": "Ext",
98
+ "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.",
99
+ "type": "object",
100
+ "minProperties": 1,
101
+ "additionalProperties": true,
102
+ "propertyNames": {
103
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
104
+ }
105
+ }
106
+ }
107
+ };
108
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
109
+ export const RESPONSE_PAYLOAD_SCHEMA = {
110
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
111
+ "$ref": "#/$defs/Response",
112
+ "$defs": {
113
+ "Response": {
114
+ "$anchor": "response",
115
+ "title": "VTC Install Claim Start — response payload",
116
+ "type": "object",
117
+ "additionalProperties": false,
118
+ "required": [
119
+ "claimId",
120
+ "adminDid",
121
+ "challenge",
122
+ "audience",
123
+ "expiresAt"
124
+ ],
125
+ "properties": {
126
+ "claimId": {
127
+ "type": "string",
128
+ "minLength": 1,
129
+ "maxLength": 256,
130
+ "description": "Opaque, single-use handle for this claim. Echoed in claim/finish, and the `boundTo` of the approver's enrolment statement."
131
+ },
132
+ "adminDid": {
133
+ "type": "string",
134
+ "pattern": "^did:",
135
+ "minLength": 5,
136
+ "maxLength": 2048,
137
+ "description": "The DID the install token names — the DID that must sign claim/finish and that becomes the first administrator. Returned so the installer need not decode the token."
138
+ },
139
+ "challenge": {
140
+ "type": "string",
141
+ "minLength": 16,
142
+ "maxLength": 512,
143
+ "description": "A fresh challenge (≥128 bits) the founder's step-up approver signs over in its auth/step-up/approver/attest/0.1 statement with `purpose: enrol`."
144
+ },
145
+ "audience": {
146
+ "type": "string",
147
+ "pattern": "^did:",
148
+ "minLength": 5,
149
+ "maxLength": 2048,
150
+ "description": "The community's DID, which the statement names as its `audience` and `recipient`, and to which claim/finish is addressed."
151
+ },
152
+ "expiresAt": {
153
+ "type": "string",
154
+ "format": "date-time",
155
+ "description": "When this claim ceremony lapses (not the install token)."
156
+ },
157
+ "ext": {
158
+ "$ref": "#/$defs/Ext"
159
+ }
160
+ }
161
+ },
162
+ "Ext": {
163
+ "title": "Ext",
164
+ "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.",
165
+ "type": "object",
166
+ "minProperties": 1,
167
+ "additionalProperties": true,
168
+ "propertyNames": {
169
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
170
+ }
171
+ }
172
+ }
173
+ };
174
+ /**
175
+ * SPEC.md §7.2 policy for the request variant, from this specification's
176
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
177
+ * per-specification and cannot be derived from the document alone, and
178
+ * item 2 needs the schema this carries.
179
+ */
180
+ export const SPEC = {
181
+ typeUri: TYPE_URI,
182
+ isBearer: false,
183
+ isProofRequired: false,
184
+ isRecipientRequired: true,
185
+ isIssuedAtRequired: true,
186
+ payloadSchema: PAYLOAD_SCHEMA,
187
+ };
188
+ /**
189
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
190
+ * tracks the *issuer* party's requirement because a response swaps the
191
+ * parties (§7.3 item 5).
192
+ */
193
+ export const RESPONSE_SPEC = {
194
+ typeUri: RESPONSE_TYPE_URI,
195
+ isBearer: false,
196
+ isProofRequired: false,
197
+ isRecipientRequired: true,
198
+ isIssuedAtRequired: true,
199
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
200
+ };
201
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/install/claim/start/0.3/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA8CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,yDAAkE,CAAC;AAK3F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,kEAA2E,CAAC;AAK7G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,yDAAyD;IAChE,OAAO,EAAE,mCAAmC;IAC5C,aAAa,EAAE,iTAAiT;IAChU,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,OAAO;QACP,WAAW;KACZ;IACD,YAAY,EAAE;QACZ,OAAO,EAAE;YACP,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,EAAE;YACf,WAAW,EAAE,IAAI;YACjB,aAAa,EAAE,yGAAyG;SACzH;QACD,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd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