@openvtc/trust-tasks 0.22.5 → 0.22.7

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 (199) hide show
  1. package/CHANGELOG.md +80 -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/signing-key/authorize/0.1/payload.d.ts +199 -0
  49. package/dist/auth/signing-key/authorize/0.1/payload.d.ts.map +1 -0
  50. package/dist/auth/signing-key/authorize/0.1/payload.js +108 -0
  51. package/dist/auth/signing-key/authorize/0.1/payload.js.map +1 -0
  52. package/dist/auth/signing-key/enroll/0.2/payload.d.ts +569 -0
  53. package/dist/auth/signing-key/enroll/0.2/payload.d.ts.map +1 -0
  54. package/dist/auth/signing-key/enroll/0.2/payload.js +315 -0
  55. package/dist/auth/signing-key/enroll/0.2/payload.js.map +1 -0
  56. package/dist/auth/step-up/approve-request/0.4/payload.d.ts +672 -0
  57. package/dist/auth/step-up/approve-request/0.4/payload.d.ts.map +1 -0
  58. package/dist/auth/step-up/approve-request/0.4/payload.js +373 -0
  59. package/dist/auth/step-up/approve-request/0.4/payload.js.map +1 -0
  60. package/dist/auth/step-up/approve-response/0.6/payload.d.ts +974 -0
  61. package/dist/auth/step-up/approve-response/0.6/payload.d.ts.map +1 -0
  62. package/dist/auth/step-up/approve-response/0.6/payload.js +552 -0
  63. package/dist/auth/step-up/approve-response/0.6/payload.js.map +1 -0
  64. package/dist/auth/step-up/approver/_shared/0.1/approver.d.ts +16 -0
  65. package/dist/auth/step-up/approver/_shared/0.1/approver.d.ts.map +1 -0
  66. package/dist/auth/step-up/approver/_shared/0.1/approver.js +6 -0
  67. package/dist/auth/step-up/approver/_shared/0.1/approver.js.map +1 -0
  68. package/dist/auth/step-up/approver/attest/0.1/payload.d.ts +174 -0
  69. package/dist/auth/step-up/approver/attest/0.1/payload.d.ts.map +1 -0
  70. package/dist/auth/step-up/approver/attest/0.1/payload.js +97 -0
  71. package/dist/auth/step-up/approver/attest/0.1/payload.js.map +1 -0
  72. package/dist/auth/step-up/approver/enroll/0.1/payload.d.ts +503 -0
  73. package/dist/auth/step-up/approver/enroll/0.1/payload.d.ts.map +1 -0
  74. package/dist/auth/step-up/approver/enroll/0.1/payload.js +285 -0
  75. package/dist/auth/step-up/approver/enroll/0.1/payload.js.map +1 -0
  76. package/dist/auth/step-up/approver/invite/0.1/payload.d.ts +375 -0
  77. package/dist/auth/step-up/approver/invite/0.1/payload.d.ts.map +1 -0
  78. package/dist/auth/step-up/approver/invite/0.1/payload.js +200 -0
  79. package/dist/auth/step-up/approver/invite/0.1/payload.js.map +1 -0
  80. package/dist/auth/step-up/approver/list/0.1/payload.d.ts +477 -0
  81. package/dist/auth/step-up/approver/list/0.1/payload.d.ts.map +1 -0
  82. package/dist/auth/step-up/approver/list/0.1/payload.js +272 -0
  83. package/dist/auth/step-up/approver/list/0.1/payload.js.map +1 -0
  84. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.d.ts +512 -0
  85. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.d.ts.map +1 -0
  86. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.js +290 -0
  87. package/dist/auth/step-up/approver/redeem/finish/0.1/payload.js.map +1 -0
  88. package/dist/auth/step-up/approver/redeem/start/0.1/payload.d.ts +343 -0
  89. package/dist/auth/step-up/approver/redeem/start/0.1/payload.d.ts.map +1 -0
  90. package/dist/auth/step-up/approver/redeem/start/0.1/payload.js +187 -0
  91. package/dist/auth/step-up/approver/redeem/start/0.1/payload.js.map +1 -0
  92. package/dist/auth/step-up/approver/revoke/0.1/payload.d.ts +534 -0
  93. package/dist/auth/step-up/approver/revoke/0.1/payload.d.ts.map +1 -0
  94. package/dist/auth/step-up/approver/revoke/0.1/payload.js +301 -0
  95. package/dist/auth/step-up/approver/revoke/0.1/payload.js.map +1 -0
  96. package/dist/index.d.ts +33 -0
  97. package/dist/index.d.ts.map +1 -1
  98. package/dist/index.js +33 -0
  99. package/dist/index.js.map +1 -1
  100. package/dist/task-consent/decision/0.2/payload.d.ts +775 -0
  101. package/dist/task-consent/decision/0.2/payload.d.ts.map +1 -0
  102. package/dist/task-consent/decision/0.2/payload.js +450 -0
  103. package/dist/task-consent/decision/0.2/payload.js.map +1 -0
  104. package/dist/vtc/admin/actions/_shared/0.1/action.d.ts +24 -0
  105. package/dist/vtc/admin/actions/_shared/0.1/action.d.ts.map +1 -0
  106. package/dist/vtc/admin/actions/_shared/0.1/action.js +6 -0
  107. package/dist/vtc/admin/actions/_shared/0.1/action.js.map +1 -0
  108. package/dist/vtc/admin/actions/acknowledge/0.1/payload.d.ts +1012 -0
  109. package/dist/vtc/admin/actions/acknowledge/0.1/payload.d.ts.map +1 -0
  110. package/dist/vtc/admin/actions/acknowledge/0.1/payload.js +636 -0
  111. package/dist/vtc/admin/actions/acknowledge/0.1/payload.js.map +1 -0
  112. package/dist/vtc/admin/actions/cancel/0.1/payload.d.ts +1026 -0
  113. package/dist/vtc/admin/actions/cancel/0.1/payload.d.ts.map +1 -0
  114. package/dist/vtc/admin/actions/cancel/0.1/payload.js +641 -0
  115. package/dist/vtc/admin/actions/cancel/0.1/payload.js.map +1 -0
  116. package/dist/vtc/admin/actions/list/0.1/payload.d.ts +1200 -0
  117. package/dist/vtc/admin/actions/list/0.1/payload.d.ts.map +1 -0
  118. package/dist/vtc/admin/actions/list/0.1/payload.js +726 -0
  119. package/dist/vtc/admin/actions/list/0.1/payload.js.map +1 -0
  120. package/dist/vtc/admin/actions/show/0.1/payload.d.ts +1012 -0
  121. package/dist/vtc/admin/actions/show/0.1/payload.d.ts.map +1 -0
  122. package/dist/vtc/admin/actions/show/0.1/payload.js +636 -0
  123. package/dist/vtc/admin/actions/show/0.1/payload.js.map +1 -0
  124. package/dist/vtc/install/claim/finish/0.3/payload.d.ts +379 -0
  125. package/dist/vtc/install/claim/finish/0.3/payload.d.ts.map +1 -0
  126. package/dist/vtc/install/claim/finish/0.3/payload.js +205 -0
  127. package/dist/vtc/install/claim/finish/0.3/payload.js.map +1 -0
  128. package/dist/vtc/install/claim/start/0.3/payload.d.ts +368 -0
  129. package/dist/vtc/install/claim/start/0.3/payload.d.ts.map +1 -0
  130. package/dist/vtc/install/claim/start/0.3/payload.js +201 -0
  131. package/dist/vtc/install/claim/start/0.3/payload.js.map +1 -0
  132. package/dist/vtc/members/authority-reduced-notice/0.1/payload.d.ts +208 -0
  133. package/dist/vtc/members/authority-reduced-notice/0.1/payload.d.ts.map +1 -0
  134. package/dist/vtc/members/authority-reduced-notice/0.1/payload.js +112 -0
  135. package/dist/vtc/members/authority-reduced-notice/0.1/payload.js.map +1 -0
  136. package/dist/vtc/roles/_shared/0.1/role.d.ts +16 -0
  137. package/dist/vtc/roles/_shared/0.1/role.d.ts.map +1 -0
  138. package/dist/vtc/roles/_shared/0.1/role.js +6 -0
  139. package/dist/vtc/roles/_shared/0.1/role.js.map +1 -0
  140. package/dist/vtc/roles/define/0.1/payload.d.ts +703 -0
  141. package/dist/vtc/roles/define/0.1/payload.d.ts.map +1 -0
  142. package/dist/vtc/roles/define/0.1/payload.js +371 -0
  143. package/dist/vtc/roles/define/0.1/payload.js.map +1 -0
  144. package/dist/vtc/roles/delete/0.1/payload.d.ts +281 -0
  145. package/dist/vtc/roles/delete/0.1/payload.d.ts.map +1 -0
  146. package/dist/vtc/roles/delete/0.1/payload.js +152 -0
  147. package/dist/vtc/roles/delete/0.1/payload.js.map +1 -0
  148. package/dist/vtc/roles/list/0.1/payload.d.ts +639 -0
  149. package/dist/vtc/roles/list/0.1/payload.d.ts.map +1 -0
  150. package/dist/vtc/roles/list/0.1/payload.js +345 -0
  151. package/dist/vtc/roles/list/0.1/payload.js.map +1 -0
  152. package/dist/vtc/roles/show/0.1/payload.d.ts +651 -0
  153. package/dist/vtc/roles/show/0.1/payload.d.ts.map +1 -0
  154. package/dist/vtc/roles/show/0.1/payload.js +351 -0
  155. package/dist/vtc/roles/show/0.1/payload.js.map +1 -0
  156. package/package.json +1 -1
  157. package/src/_shared/components.ts +440 -1
  158. package/src/acl/_shared/0.1/acl-entry.ts +1 -1
  159. package/src/acl/_shared/0.2/acl-entry.ts +23 -0
  160. package/src/acl/change-role/0.1/payload.ts +1 -1
  161. package/src/acl/change-role/0.2/payload.ts +1011 -0
  162. package/src/acl/grant/0.1/payload.ts +1 -1
  163. package/src/acl/grant/0.2/payload.ts +990 -0
  164. package/src/acl/list/0.1/payload.ts +1 -1
  165. package/src/acl/list/0.2/payload.ts +1125 -0
  166. package/src/acl/revoke/0.1/payload.ts +1 -1
  167. package/src/acl/revoke/0.2/payload.ts +1122 -0
  168. package/src/acl/show/0.1/payload.ts +1 -1
  169. package/src/acl/show/0.2/payload.ts +1016 -0
  170. package/src/acl/swap-key/0.1/payload.ts +1 -1
  171. package/src/acl/update/0.1/payload.ts +1 -1
  172. package/src/acl/update/0.2/payload.ts +1094 -0
  173. package/src/auth/signing-key/authorize/0.1/payload.ts +141 -0
  174. package/src/auth/signing-key/enroll/0.2/payload.ts +365 -0
  175. package/src/auth/step-up/approve-request/0.4/payload.ts +461 -0
  176. package/src/auth/step-up/approve-response/0.6/payload.ts +648 -0
  177. package/src/auth/step-up/approver/_shared/0.1/approver.ts +17 -0
  178. package/src/auth/step-up/approver/attest/0.1/payload.ts +135 -0
  179. package/src/auth/step-up/approver/enroll/0.1/payload.ts +329 -0
  180. package/src/auth/step-up/approver/invite/0.1/payload.ts +258 -0
  181. package/src/auth/step-up/approver/list/0.1/payload.ts +318 -0
  182. package/src/auth/step-up/approver/redeem/finish/0.1/payload.ts +337 -0
  183. package/src/auth/step-up/approver/redeem/start/0.1/payload.ts +241 -0
  184. package/src/auth/step-up/approver/revoke/0.1/payload.ts +352 -0
  185. package/src/index.ts +33 -0
  186. package/src/task-consent/decision/0.2/payload.ts +537 -0
  187. package/src/vtc/admin/actions/_shared/0.1/action.ts +25 -0
  188. package/src/vtc/admin/actions/acknowledge/0.1/payload.ts +671 -0
  189. package/src/vtc/admin/actions/cancel/0.1/payload.ts +680 -0
  190. package/src/vtc/admin/actions/list/0.1/payload.ts +795 -0
  191. package/src/vtc/admin/actions/show/0.1/payload.ts +671 -0
  192. package/src/vtc/install/claim/finish/0.3/payload.ts +253 -0
  193. package/src/vtc/install/claim/start/0.3/payload.ts +256 -0
  194. package/src/vtc/members/authority-reduced-notice/0.1/payload.ts +162 -0
  195. package/src/vtc/roles/_shared/0.1/role.ts +17 -0
  196. package/src/vtc/roles/define/0.1/payload.ts +435 -0
  197. package/src/vtc/roles/delete/0.1/payload.ts +200 -0
  198. package/src/vtc/roles/list/0.1/payload.ts +389 -0
  199. package/src/vtc/roles/show/0.1/payload.ts +399 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/admin/actions/show/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA0BH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,wDAAiE,CAAC;AAK1F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,iEAA0E,CAAC;AAK5G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAA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C9B,CAAC"}
@@ -0,0 +1,379 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/install/claim/finish/0.3/payload.schema.json
4
+ */
5
+ import type { ApproverDid, ApproverLabel, AttestStatement, Ext } from "../../../../../_shared/components.js";
6
+ /**
7
+ * Complete first-administrator enrolment under a DID the founder already controls: the document is signed by the DID the install token names, verified against its live document, and carries the founder's step-up approver's enrolment statement over the claim's challenge. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.
8
+ */
9
+ export interface VTCInstallClaimFinishPayload {
10
+ /**
11
+ * From claim/start 0.3, echoed verbatim. Also the `boundTo` of the statement.
12
+ */
13
+ claimId: string;
14
+ /**
15
+ * The founder's step-up approver. MUST equal the statement's issuer.
16
+ */
17
+ approverDid: ApproverDid;
18
+ label?: ApproverLabel;
19
+ /**
20
+ * The approver's complete, signed auth/step-up/approver/attest/0.1 document with `purpose: enrol`, `boundTo` equal to `claimId`, over the start's `challenge`. Verified as received.
21
+ */
22
+ statement: AttestStatement;
23
+ ext?: Ext;
24
+ }
25
+ export interface VTCInstallClaimFinishResponsePayload {
26
+ /**
27
+ * The founder's DID — the DID the install token named and the claim was signed by — which vtc/admin/bootstrap writes as the first administrator.
28
+ */
29
+ adminDid: string;
30
+ /**
31
+ * EdDSA JWT (aud=vtc-install-session, 5min TTL) consumed by vtc/admin/bootstrap. The approver binding takes effect when it is consumed.
32
+ */
33
+ setupSessionToken: string;
34
+ ext?: Ext;
35
+ }
36
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
37
+ export type { ApproverDid, ApproverLabel, AttestStatement, Ext };
38
+ /** Trust Task type URI. */
39
+ export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/install/claim/finish/0.3";
40
+ /** Stable alias for this specification's request payload shape. */
41
+ export type Payload = VTCInstallClaimFinishPayload;
42
+ /** Trust Task response type URI (request type URI + "#response"). */
43
+ export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/vtc/install/claim/finish/0.3#response";
44
+ /** Stable alias for this specification's success-response payload shape. */
45
+ export type Response = VTCInstallClaimFinishResponsePayload;
46
+ /**
47
+ * This specification's payload schema, as a value.
48
+ *
49
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
50
+ * rather than only as a `.json` file because TypeScript types are erased
51
+ * at runtime: without a schema a consumer has nothing to validate, and
52
+ * every REQUIRED payload member is optional in practice. Cross-file
53
+ * `$ref`s are already inlined, so it needs no resolver.
54
+ */
55
+ export declare const PAYLOAD_SCHEMA: {
56
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
57
+ readonly $id: "https://trusttasks.org/spec/vtc/install/claim/finish/0.3";
58
+ readonly title: "VTC Install Claim Finish — payload";
59
+ readonly description: "Complete first-administrator enrolment under a DID the founder already controls: the document is signed by the DID the install token names, verified against its live document, and carries the founder's step-up approver's enrolment statement over the claim's challenge. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
60
+ readonly type: "object";
61
+ readonly additionalProperties: false;
62
+ readonly required: readonly ["claimId", "approverDid", "statement"];
63
+ readonly properties: {
64
+ readonly claimId: {
65
+ readonly type: "string";
66
+ readonly minLength: 1;
67
+ readonly maxLength: 256;
68
+ readonly description: "From claim/start 0.3, echoed verbatim. Also the `boundTo` of the statement.";
69
+ };
70
+ readonly approverDid: {
71
+ readonly $ref: "#/$defs/ApproverDid";
72
+ readonly description: "The founder's step-up approver. MUST equal the statement's issuer.";
73
+ };
74
+ readonly label: {
75
+ readonly $ref: "#/$defs/ApproverLabel";
76
+ };
77
+ readonly statement: {
78
+ readonly $ref: "#/$defs/AttestStatement";
79
+ readonly description: "The approver's complete, signed auth/step-up/approver/attest/0.1 document with `purpose: enrol`, `boundTo` equal to `claimId`, over the start's `challenge`. Verified as received.";
80
+ };
81
+ readonly ext: {
82
+ readonly $ref: "#/$defs/Ext";
83
+ };
84
+ };
85
+ readonly $defs: {
86
+ readonly Response: {
87
+ readonly $anchor: "response";
88
+ readonly title: "VTC Install Claim Finish — response payload";
89
+ readonly type: "object";
90
+ readonly additionalProperties: false;
91
+ readonly required: readonly ["adminDid", "setupSessionToken"];
92
+ readonly properties: {
93
+ readonly adminDid: {
94
+ readonly type: "string";
95
+ readonly pattern: "^did:";
96
+ readonly minLength: 5;
97
+ readonly maxLength: 2048;
98
+ readonly description: "The founder's DID — the DID the install token named and the claim was signed by — which vtc/admin/bootstrap writes as the first administrator.";
99
+ };
100
+ readonly setupSessionToken: {
101
+ readonly type: "string";
102
+ readonly minLength: 1;
103
+ readonly description: "EdDSA JWT (aud=vtc-install-session, 5min TTL) consumed by vtc/admin/bootstrap. The approver binding takes effect when it is consumed.";
104
+ };
105
+ readonly ext: {
106
+ readonly $ref: "#/$defs/Ext";
107
+ };
108
+ };
109
+ };
110
+ readonly Ext: {
111
+ readonly title: "Ext";
112
+ 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.";
113
+ readonly type: "object";
114
+ readonly minProperties: 1;
115
+ readonly additionalProperties: true;
116
+ readonly propertyNames: {
117
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
118
+ };
119
+ };
120
+ readonly AttestStatement: {
121
+ readonly title: "AttestStatement";
122
+ readonly type: "object";
123
+ readonly minProperties: 1;
124
+ readonly description: "A complete, signed auth/step-up/approver/attest/0.1 Trust Task document — envelope, payload and proof — issued by the approver. Deliberately an open object here rather than a typed one: the consumer verifies it as a document in its own right (envelope, proof and payload against that specification's schemas), and verifies its proof over the members exactly as received, which a binding that narrowed it to a typed struct and re-serialised it could silently break.";
125
+ };
126
+ readonly ApproverLabel: {
127
+ readonly title: "ApproverLabel";
128
+ readonly type: "string";
129
+ readonly minLength: 1;
130
+ readonly maxLength: 64;
131
+ readonly description: "A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen.";
132
+ };
133
+ readonly ApproverDid: {
134
+ readonly title: "ApproverDid";
135
+ readonly type: "string";
136
+ readonly minLength: 16;
137
+ readonly maxLength: 128;
138
+ readonly pattern: "^did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+$";
139
+ readonly description: "A step-up approver, as an Ed25519 `did:key` (`z6Mk…`). `did:key` only, because its document is a function of the key and resolves with no network, so verifying an approver's statement never depends on a fetch, and a key whose DID document could be rewritten after enrolment would not be the key that was enrolled. Distinct from the subject's DID, from every verification method in the subject's DID document, and from every key the subject can sign operations with at the relying party.";
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 Finish — response payload";
151
+ readonly type: "object";
152
+ readonly additionalProperties: false;
153
+ readonly required: readonly ["adminDid", "setupSessionToken"];
154
+ readonly properties: {
155
+ readonly adminDid: {
156
+ readonly type: "string";
157
+ readonly pattern: "^did:";
158
+ readonly minLength: 5;
159
+ readonly maxLength: 2048;
160
+ readonly description: "The founder's DID — the DID the install token named and the claim was signed by — which vtc/admin/bootstrap writes as the first administrator.";
161
+ };
162
+ readonly setupSessionToken: {
163
+ readonly type: "string";
164
+ readonly minLength: 1;
165
+ readonly description: "EdDSA JWT (aud=vtc-install-session, 5min TTL) consumed by vtc/admin/bootstrap. The approver binding takes effect when it is consumed.";
166
+ };
167
+ readonly ext: {
168
+ readonly $ref: "#/$defs/Ext";
169
+ };
170
+ };
171
+ };
172
+ readonly Ext: {
173
+ readonly title: "Ext";
174
+ 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.";
175
+ readonly type: "object";
176
+ readonly minProperties: 1;
177
+ readonly additionalProperties: true;
178
+ readonly propertyNames: {
179
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
180
+ };
181
+ };
182
+ readonly AttestStatement: {
183
+ readonly title: "AttestStatement";
184
+ readonly type: "object";
185
+ readonly minProperties: 1;
186
+ readonly description: "A complete, signed auth/step-up/approver/attest/0.1 Trust Task document — envelope, payload and proof — issued by the approver. Deliberately an open object here rather than a typed one: the consumer verifies it as a document in its own right (envelope, proof and payload against that specification's schemas), and verifies its proof over the members exactly as received, which a binding that narrowed it to a typed struct and re-serialised it could silently break.";
187
+ };
188
+ readonly ApproverLabel: {
189
+ readonly title: "ApproverLabel";
190
+ readonly type: "string";
191
+ readonly minLength: 1;
192
+ readonly maxLength: 64;
193
+ readonly description: "A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen.";
194
+ };
195
+ readonly ApproverDid: {
196
+ readonly title: "ApproverDid";
197
+ readonly type: "string";
198
+ readonly minLength: 16;
199
+ readonly maxLength: 128;
200
+ readonly pattern: "^did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+$";
201
+ readonly description: "A step-up approver, as an Ed25519 `did:key` (`z6Mk…`). `did:key` only, because its document is a function of the key and resolves with no network, so verifying an approver's statement never depends on a fetch, and a key whose DID document could be rewritten after enrolment would not be the key that was enrolled. Distinct from the subject's DID, from every verification method in the subject's DID document, and from every key the subject can sign operations with at the relying party.";
202
+ };
203
+ };
204
+ };
205
+ /**
206
+ * SPEC.md §7.2 policy for the request variant, from this specification's
207
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
208
+ * per-specification and cannot be derived from the document alone, and
209
+ * item 2 needs the schema this carries.
210
+ */
211
+ export declare const SPEC: {
212
+ readonly typeUri: "https://trusttasks.org/spec/vtc/install/claim/finish/0.3";
213
+ readonly isBearer: false;
214
+ readonly isProofRequired: true;
215
+ readonly isRecipientRequired: true;
216
+ readonly isIssuedAtRequired: true;
217
+ readonly payloadSchema: {
218
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
219
+ readonly $id: "https://trusttasks.org/spec/vtc/install/claim/finish/0.3";
220
+ readonly title: "VTC Install Claim Finish — payload";
221
+ readonly description: "Complete first-administrator enrolment under a DID the founder already controls: the document is signed by the DID the install token names, verified against its live document, and carries the founder's step-up approver's enrolment statement over the claim's challenge. The outer document members (id, type, issuer, recipient, issuedAt, expiresAt, proof) are owned by the framework — SPEC §6.3.";
222
+ readonly type: "object";
223
+ readonly additionalProperties: false;
224
+ readonly required: readonly ["claimId", "approverDid", "statement"];
225
+ readonly properties: {
226
+ readonly claimId: {
227
+ readonly type: "string";
228
+ readonly minLength: 1;
229
+ readonly maxLength: 256;
230
+ readonly description: "From claim/start 0.3, echoed verbatim. Also the `boundTo` of the statement.";
231
+ };
232
+ readonly approverDid: {
233
+ readonly $ref: "#/$defs/ApproverDid";
234
+ readonly description: "The founder's step-up approver. MUST equal the statement's issuer.";
235
+ };
236
+ readonly label: {
237
+ readonly $ref: "#/$defs/ApproverLabel";
238
+ };
239
+ readonly statement: {
240
+ readonly $ref: "#/$defs/AttestStatement";
241
+ readonly description: "The approver's complete, signed auth/step-up/approver/attest/0.1 document with `purpose: enrol`, `boundTo` equal to `claimId`, over the start's `challenge`. Verified as received.";
242
+ };
243
+ readonly ext: {
244
+ readonly $ref: "#/$defs/Ext";
245
+ };
246
+ };
247
+ readonly $defs: {
248
+ readonly Response: {
249
+ readonly $anchor: "response";
250
+ readonly title: "VTC Install Claim Finish — response payload";
251
+ readonly type: "object";
252
+ readonly additionalProperties: false;
253
+ readonly required: readonly ["adminDid", "setupSessionToken"];
254
+ readonly properties: {
255
+ readonly adminDid: {
256
+ readonly type: "string";
257
+ readonly pattern: "^did:";
258
+ readonly minLength: 5;
259
+ readonly maxLength: 2048;
260
+ readonly description: "The founder's DID — the DID the install token named and the claim was signed by — which vtc/admin/bootstrap writes as the first administrator.";
261
+ };
262
+ readonly setupSessionToken: {
263
+ readonly type: "string";
264
+ readonly minLength: 1;
265
+ readonly description: "EdDSA JWT (aud=vtc-install-session, 5min TTL) consumed by vtc/admin/bootstrap. The approver binding takes effect when it is consumed.";
266
+ };
267
+ readonly ext: {
268
+ readonly $ref: "#/$defs/Ext";
269
+ };
270
+ };
271
+ };
272
+ readonly Ext: {
273
+ readonly title: "Ext";
274
+ 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.";
275
+ readonly type: "object";
276
+ readonly minProperties: 1;
277
+ readonly additionalProperties: true;
278
+ readonly propertyNames: {
279
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
280
+ };
281
+ };
282
+ readonly AttestStatement: {
283
+ readonly title: "AttestStatement";
284
+ readonly type: "object";
285
+ readonly minProperties: 1;
286
+ readonly description: "A complete, signed auth/step-up/approver/attest/0.1 Trust Task document — envelope, payload and proof — issued by the approver. Deliberately an open object here rather than a typed one: the consumer verifies it as a document in its own right (envelope, proof and payload against that specification's schemas), and verifies its proof over the members exactly as received, which a binding that narrowed it to a typed struct and re-serialised it could silently break.";
287
+ };
288
+ readonly ApproverLabel: {
289
+ readonly title: "ApproverLabel";
290
+ readonly type: "string";
291
+ readonly minLength: 1;
292
+ readonly maxLength: 64;
293
+ readonly description: "A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen.";
294
+ };
295
+ readonly ApproverDid: {
296
+ readonly title: "ApproverDid";
297
+ readonly type: "string";
298
+ readonly minLength: 16;
299
+ readonly maxLength: 128;
300
+ readonly pattern: "^did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+$";
301
+ readonly description: "A step-up approver, as an Ed25519 `did:key` (`z6Mk…`). `did:key` only, because its document is a function of the key and resolves with no network, so verifying an approver's statement never depends on a fetch, and a key whose DID document could be rewritten after enrolment would not be the key that was enrolled. Distinct from the subject's DID, from every verification method in the subject's DID document, and from every key the subject can sign operations with at the relying party.";
302
+ };
303
+ };
304
+ };
305
+ };
306
+ /**
307
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
308
+ * tracks the *issuer* party's requirement because a response swaps the
309
+ * parties (§7.3 item 5).
310
+ */
311
+ export declare const RESPONSE_SPEC: {
312
+ readonly typeUri: "https://trusttasks.org/spec/vtc/install/claim/finish/0.3#response";
313
+ readonly isBearer: false;
314
+ readonly isProofRequired: true;
315
+ readonly isRecipientRequired: true;
316
+ readonly isIssuedAtRequired: true;
317
+ readonly payloadSchema: {
318
+ readonly $schema: "https://json-schema.org/draft/2020-12/schema";
319
+ readonly $ref: "#/$defs/Response";
320
+ readonly $defs: {
321
+ readonly Response: {
322
+ readonly $anchor: "response";
323
+ readonly title: "VTC Install Claim Finish — response payload";
324
+ readonly type: "object";
325
+ readonly additionalProperties: false;
326
+ readonly required: readonly ["adminDid", "setupSessionToken"];
327
+ readonly properties: {
328
+ readonly adminDid: {
329
+ readonly type: "string";
330
+ readonly pattern: "^did:";
331
+ readonly minLength: 5;
332
+ readonly maxLength: 2048;
333
+ readonly description: "The founder's DID — the DID the install token named and the claim was signed by — which vtc/admin/bootstrap writes as the first administrator.";
334
+ };
335
+ readonly setupSessionToken: {
336
+ readonly type: "string";
337
+ readonly minLength: 1;
338
+ readonly description: "EdDSA JWT (aud=vtc-install-session, 5min TTL) consumed by vtc/admin/bootstrap. The approver binding takes effect when it is consumed.";
339
+ };
340
+ readonly ext: {
341
+ readonly $ref: "#/$defs/Ext";
342
+ };
343
+ };
344
+ };
345
+ readonly Ext: {
346
+ readonly title: "Ext";
347
+ 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.";
348
+ readonly type: "object";
349
+ readonly minProperties: 1;
350
+ readonly additionalProperties: true;
351
+ readonly propertyNames: {
352
+ readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
353
+ };
354
+ };
355
+ readonly AttestStatement: {
356
+ readonly title: "AttestStatement";
357
+ readonly type: "object";
358
+ readonly minProperties: 1;
359
+ readonly description: "A complete, signed auth/step-up/approver/attest/0.1 Trust Task document — envelope, payload and proof — issued by the approver. Deliberately an open object here rather than a typed one: the consumer verifies it as a document in its own right (envelope, proof and payload against that specification's schemas), and verifies its proof over the members exactly as received, which a binding that narrowed it to a typed struct and re-serialised it could silently break.";
360
+ };
361
+ readonly ApproverLabel: {
362
+ readonly title: "ApproverLabel";
363
+ readonly type: "string";
364
+ readonly minLength: 1;
365
+ readonly maxLength: 64;
366
+ readonly description: "A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen.";
367
+ };
368
+ readonly ApproverDid: {
369
+ readonly title: "ApproverDid";
370
+ readonly type: "string";
371
+ readonly minLength: 16;
372
+ readonly maxLength: 128;
373
+ readonly pattern: "^did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+$";
374
+ readonly description: "A step-up approver, as an Ed25519 `did:key` (`z6Mk…`). `did:key` only, because its document is a function of the key and resolves with no network, so verifying an approver's statement never depends on a fetch, and a key whose DID document could be rewritten after enrolment would not be the key that was enrolled. Distinct from the subject's DID, from every verification method in the subject's DID document, and from every key the subject can sign operations with at the relying party.";
375
+ };
376
+ };
377
+ };
378
+ };
379
+ //# sourceMappingURL=payload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../../src/vtc/install/claim/finish/0.3/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAE,GAAG,EAAE,MAAM,sCAA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a;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,205 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vtc/install/claim/finish/0.3/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/vtc/install/claim/finish/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/finish/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/finish/0.3",
21
+ "title": "VTC Install Claim Finish — payload",
22
+ "description": "Complete first-administrator enrolment under a DID the founder already controls: the document is signed by the DID the install token names, verified against its live document, and carries the founder's step-up approver's enrolment statement over the claim's challenge. 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
+ "claimId",
27
+ "approverDid",
28
+ "statement"
29
+ ],
30
+ "properties": {
31
+ "claimId": {
32
+ "type": "string",
33
+ "minLength": 1,
34
+ "maxLength": 256,
35
+ "description": "From claim/start 0.3, echoed verbatim. Also the `boundTo` of the statement."
36
+ },
37
+ "approverDid": {
38
+ "$ref": "#/$defs/ApproverDid",
39
+ "description": "The founder's step-up approver. MUST equal the statement's issuer."
40
+ },
41
+ "label": {
42
+ "$ref": "#/$defs/ApproverLabel"
43
+ },
44
+ "statement": {
45
+ "$ref": "#/$defs/AttestStatement",
46
+ "description": "The approver's complete, signed auth/step-up/approver/attest/0.1 document with `purpose: enrol`, `boundTo` equal to `claimId`, over the start's `challenge`. Verified as received."
47
+ },
48
+ "ext": {
49
+ "$ref": "#/$defs/Ext"
50
+ }
51
+ },
52
+ "$defs": {
53
+ "Response": {
54
+ "$anchor": "response",
55
+ "title": "VTC Install Claim Finish — response payload",
56
+ "type": "object",
57
+ "additionalProperties": false,
58
+ "required": [
59
+ "adminDid",
60
+ "setupSessionToken"
61
+ ],
62
+ "properties": {
63
+ "adminDid": {
64
+ "type": "string",
65
+ "pattern": "^did:",
66
+ "minLength": 5,
67
+ "maxLength": 2048,
68
+ "description": "The founder's DID — the DID the install token named and the claim was signed by — which vtc/admin/bootstrap writes as the first administrator."
69
+ },
70
+ "setupSessionToken": {
71
+ "type": "string",
72
+ "minLength": 1,
73
+ "description": "EdDSA JWT (aud=vtc-install-session, 5min TTL) consumed by vtc/admin/bootstrap. The approver binding takes effect when it is consumed."
74
+ },
75
+ "ext": {
76
+ "$ref": "#/$defs/Ext"
77
+ }
78
+ }
79
+ },
80
+ "Ext": {
81
+ "title": "Ext",
82
+ "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.",
83
+ "type": "object",
84
+ "minProperties": 1,
85
+ "additionalProperties": true,
86
+ "propertyNames": {
87
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
88
+ }
89
+ },
90
+ "AttestStatement": {
91
+ "title": "AttestStatement",
92
+ "type": "object",
93
+ "minProperties": 1,
94
+ "description": "A complete, signed auth/step-up/approver/attest/0.1 Trust Task document — envelope, payload and proof — issued by the approver. Deliberately an open object here rather than a typed one: the consumer verifies it as a document in its own right (envelope, proof and payload against that specification's schemas), and verifies its proof over the members exactly as received, which a binding that narrowed it to a typed struct and re-serialised it could silently break."
95
+ },
96
+ "ApproverLabel": {
97
+ "title": "ApproverLabel",
98
+ "type": "string",
99
+ "minLength": 1,
100
+ "maxLength": 64,
101
+ "description": "A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen."
102
+ },
103
+ "ApproverDid": {
104
+ "title": "ApproverDid",
105
+ "type": "string",
106
+ "minLength": 16,
107
+ "maxLength": 128,
108
+ "pattern": "^did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+$",
109
+ "description": "A step-up approver, as an Ed25519 `did:key` (`z6Mk…`). `did:key` only, because its document is a function of the key and resolves with no network, so verifying an approver's statement never depends on a fetch, and a key whose DID document could be rewritten after enrolment would not be the key that was enrolled. Distinct from the subject's DID, from every verification method in the subject's DID document, and from every key the subject can sign operations with at the relying party."
110
+ }
111
+ }
112
+ };
113
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
114
+ export const RESPONSE_PAYLOAD_SCHEMA = {
115
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
116
+ "$ref": "#/$defs/Response",
117
+ "$defs": {
118
+ "Response": {
119
+ "$anchor": "response",
120
+ "title": "VTC Install Claim Finish — response payload",
121
+ "type": "object",
122
+ "additionalProperties": false,
123
+ "required": [
124
+ "adminDid",
125
+ "setupSessionToken"
126
+ ],
127
+ "properties": {
128
+ "adminDid": {
129
+ "type": "string",
130
+ "pattern": "^did:",
131
+ "minLength": 5,
132
+ "maxLength": 2048,
133
+ "description": "The founder's DID — the DID the install token named and the claim was signed by — which vtc/admin/bootstrap writes as the first administrator."
134
+ },
135
+ "setupSessionToken": {
136
+ "type": "string",
137
+ "minLength": 1,
138
+ "description": "EdDSA JWT (aud=vtc-install-session, 5min TTL) consumed by vtc/admin/bootstrap. The approver binding takes effect when it is consumed."
139
+ },
140
+ "ext": {
141
+ "$ref": "#/$defs/Ext"
142
+ }
143
+ }
144
+ },
145
+ "Ext": {
146
+ "title": "Ext",
147
+ "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.",
148
+ "type": "object",
149
+ "minProperties": 1,
150
+ "additionalProperties": true,
151
+ "propertyNames": {
152
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
153
+ }
154
+ },
155
+ "AttestStatement": {
156
+ "title": "AttestStatement",
157
+ "type": "object",
158
+ "minProperties": 1,
159
+ "description": "A complete, signed auth/step-up/approver/attest/0.1 Trust Task document — envelope, payload and proof — issued by the approver. Deliberately an open object here rather than a typed one: the consumer verifies it as a document in its own right (envelope, proof and payload against that specification's schemas), and verifies its proof over the members exactly as received, which a binding that narrowed it to a typed struct and re-serialised it could silently break."
160
+ },
161
+ "ApproverLabel": {
162
+ "title": "ApproverLabel",
163
+ "type": "string",
164
+ "minLength": 1,
165
+ "maxLength": 64,
166
+ "description": "A human-readable name for where the approver lives — e.g. `Browser plugin — work laptop`. Chosen by the subject (or suggested by an inviter), untrusted, and attributed to its author wherever it is rendered. Absent rather than invented when none was chosen."
167
+ },
168
+ "ApproverDid": {
169
+ "title": "ApproverDid",
170
+ "type": "string",
171
+ "minLength": 16,
172
+ "maxLength": 128,
173
+ "pattern": "^did:key:z6Mk[1-9A-HJ-NP-Za-km-z]+$",
174
+ "description": "A step-up approver, as an Ed25519 `did:key` (`z6Mk…`). `did:key` only, because its document is a function of the key and resolves with no network, so verifying an approver's statement never depends on a fetch, and a key whose DID document could be rewritten after enrolment would not be the key that was enrolled. Distinct from the subject's DID, from every verification method in the subject's DID document, and from every key the subject can sign operations with at the relying party."
175
+ }
176
+ }
177
+ };
178
+ /**
179
+ * SPEC.md §7.2 policy for the request variant, from this specification's
180
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
181
+ * per-specification and cannot be derived from the document alone, and
182
+ * item 2 needs the schema this carries.
183
+ */
184
+ export const SPEC = {
185
+ typeUri: TYPE_URI,
186
+ isBearer: false,
187
+ isProofRequired: true,
188
+ isRecipientRequired: true,
189
+ isIssuedAtRequired: true,
190
+ payloadSchema: PAYLOAD_SCHEMA,
191
+ };
192
+ /**
193
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
194
+ * tracks the *issuer* party's requirement because a response swaps the
195
+ * parties (§7.3 item 5).
196
+ */
197
+ export const RESPONSE_SPEC = {
198
+ typeUri: RESPONSE_TYPE_URI,
199
+ isBearer: false,
200
+ isProofRequired: true,
201
+ isRecipientRequired: true,
202
+ isIssuedAtRequired: true,
203
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
204
+ };
205
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../../src/vtc/install/claim/finish/0.3/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,0DAAmE,CAAC;AAK5F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mEAA4E,CAAC;AAK9G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,0DAA0D;IACjE,OAAO,EAAE,oCAAoC;IAC7C,aAAa,EAAE,2YAA2Y;IAC1Z,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;QACT,aAAa;QACb,WAAW;KACZ;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,6EAA6E;SAC7F;QACD,aAAa,EAAE;YACb,MAAM,EAAE,qBAAqB;YAC7B,aAAa,EAAE,oEAAoE;SACpF;QACD,OAAO,EAAE;YACP,MAAM,EAAE,uBAAuB;SAChC;QACD,WA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