@openvtc/trust-tasks 0.21.15 → 0.22.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 (140) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/_shared/components.d.ts +14 -14
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/index.js +3 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/vetting/_shared/0.1/identity-vetting.d.ts +2 -2
  8. package/dist/vetting/_shared/0.1/identity-vetting.d.ts.map +1 -1
  9. package/dist/vetting/_shared/0.1/vetting-card.d.ts +1 -1
  10. package/dist/vetting/_shared/0.1/vetting.d.ts +1 -1
  11. package/dist/vetting/request/0.1/payload.d.ts +5 -5
  12. package/dist/vetting/request/0.1/payload.js +2 -2
  13. package/dist/vetting/request/0.1/payload.js.map +1 -1
  14. package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts +281 -0
  15. package/dist/vta/attestation/mnemonic-status/0.1/payload.d.ts.map +1 -0
  16. package/dist/vta/attestation/mnemonic-status/0.1/payload.js +157 -0
  17. package/dist/vta/attestation/mnemonic-status/0.1/payload.js.map +1 -0
  18. package/dist/vta/metrics/show/0.1/payload.d.ts +674 -0
  19. package/dist/vta/metrics/show/0.1/payload.d.ts.map +1 -0
  20. package/dist/vta/metrics/show/0.1/payload.js +387 -0
  21. package/dist/vta/metrics/show/0.1/payload.js.map +1 -0
  22. package/dist/vtc/_shared/0.1/endorsement-type.d.ts +1 -1
  23. package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
  24. package/dist/vtc/auth/recognise/0.2/payload.d.ts +3 -3
  25. package/dist/vtc/auth/recognise/0.2/payload.js +1 -1
  26. package/dist/vtc/auth/recognise/0.2/payload.js.map +1 -1
  27. package/dist/vtc/endorsement-types/list/0.1/payload.d.ts +8 -8
  28. package/dist/vtc/endorsement-types/list/0.1/payload.js +4 -4
  29. package/dist/vtc/endorsement-types/list/0.1/payload.js.map +1 -1
  30. package/dist/vtc/endorsement-types/register/0.1/payload.d.ts +16 -11
  31. package/dist/vtc/endorsement-types/register/0.1/payload.d.ts.map +1 -1
  32. package/dist/vtc/endorsement-types/register/0.1/payload.js +7 -6
  33. package/dist/vtc/endorsement-types/register/0.1/payload.js.map +1 -1
  34. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +42 -42
  35. package/dist/vtc/endorsements/issue/0.1/payload.js +19 -19
  36. package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
  37. package/dist/vtc/endorsements/list/0.1/payload.d.ts +31 -31
  38. package/dist/vtc/endorsements/list/0.1/payload.js +15 -15
  39. package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
  40. package/dist/vtc/endorsements/revoke/0.1/payload.d.ts +5 -5
  41. package/dist/vtc/endorsements/revoke/0.1/payload.js +2 -2
  42. package/dist/vtc/endorsements/revoke/0.1/payload.js.map +1 -1
  43. package/dist/vtc/endorsements/show/0.1/payload.d.ts +28 -28
  44. package/dist/vtc/endorsements/show/0.1/payload.js +14 -14
  45. package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
  46. package/dist/vtc/join-requests/decide/0.1/payload.d.ts +10 -10
  47. package/dist/vtc/join-requests/decide/0.1/payload.js +4 -4
  48. package/dist/vtc/join-requests/decide/0.1/payload.js.map +1 -1
  49. package/dist/vtc/join-requests/manifest/0.2/payload.d.ts +10 -10
  50. package/dist/vtc/join-requests/manifest/0.2/payload.js +4 -4
  51. package/dist/vtc/join-requests/manifest/0.2/payload.js.map +1 -1
  52. package/dist/vtc/members/credentials/0.1/payload.d.ts +5 -5
  53. package/dist/vtc/members/credentials/0.1/payload.js +2 -2
  54. package/dist/vtc/members/credentials/0.1/payload.js.map +1 -1
  55. package/dist/vtc/members/list/0.1/payload.d.ts +8 -8
  56. package/dist/vtc/members/list/0.1/payload.js +4 -4
  57. package/dist/vtc/members/list/0.1/payload.js.map +1 -1
  58. package/dist/vtc/members/personhood/assert/0.1/payload.d.ts +14 -14
  59. package/dist/vtc/members/personhood/assert/0.1/payload.js +6 -6
  60. package/dist/vtc/members/personhood/assert/0.1/payload.js.map +1 -1
  61. package/dist/vtc/members/personhood/revoke/0.1/payload.d.ts +10 -10
  62. package/dist/vtc/members/personhood/revoke/0.1/payload.js +4 -4
  63. package/dist/vtc/members/personhood/revoke/0.1/payload.js.map +1 -1
  64. package/dist/vtc/members/renew/0.1/payload.d.ts +14 -14
  65. package/dist/vtc/members/renew/0.1/payload.js +6 -6
  66. package/dist/vtc/members/renew/0.1/payload.js.map +1 -1
  67. package/dist/vtc/members/rotate/0.1/payload.d.ts +14 -14
  68. package/dist/vtc/members/rotate/0.1/payload.js +6 -6
  69. package/dist/vtc/members/rotate/0.1/payload.js.map +1 -1
  70. package/dist/vtc/members/show/0.1/payload.d.ts +8 -8
  71. package/dist/vtc/members/show/0.1/payload.js +4 -4
  72. package/dist/vtc/members/show/0.1/payload.js.map +1 -1
  73. package/dist/vtc/members/update/0.1/payload.d.ts +8 -8
  74. package/dist/vtc/members/update/0.1/payload.js +4 -4
  75. package/dist/vtc/members/update/0.1/payload.js.map +1 -1
  76. package/dist/vtc/schemas/accepts/list/0.1/payload.d.ts +8 -8
  77. package/dist/vtc/schemas/accepts/list/0.1/payload.js +4 -4
  78. package/dist/vtc/schemas/accepts/list/0.1/payload.js.map +1 -1
  79. package/dist/vtc/schemas/accepts/register/0.1/payload.d.ts +8 -8
  80. package/dist/vtc/schemas/accepts/register/0.1/payload.js +4 -4
  81. package/dist/vtc/schemas/accepts/register/0.1/payload.js.map +1 -1
  82. package/dist/vtc/schemas/accepts/show/0.1/payload.d.ts +8 -8
  83. package/dist/vtc/schemas/accepts/show/0.1/payload.js +4 -4
  84. package/dist/vtc/schemas/accepts/show/0.1/payload.js.map +1 -1
  85. package/dist/vtc/schemas/list/0.1/payload.d.ts +4 -4
  86. package/dist/vtc/schemas/list/0.1/payload.js +2 -2
  87. package/dist/vtc/schemas/list/0.1/payload.js.map +1 -1
  88. package/dist/vtc/schemas/register/0.1/payload.d.ts +4 -4
  89. package/dist/vtc/schemas/register/0.1/payload.js +2 -2
  90. package/dist/vtc/schemas/register/0.1/payload.js.map +1 -1
  91. package/dist/vtc/schemas/show/0.1/payload.d.ts +4 -4
  92. package/dist/vtc/schemas/show/0.1/payload.js +2 -2
  93. package/dist/vtc/schemas/show/0.1/payload.js.map +1 -1
  94. package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts +1385 -0
  95. package/dist/vtc/vetting/hidden/publish/0.1/payload.d.ts.map +1 -0
  96. package/dist/vtc/vetting/hidden/publish/0.1/payload.js +735 -0
  97. package/dist/vtc/vetting/hidden/publish/0.1/payload.js.map +1 -0
  98. package/dist/vtc/vetting/vetters/grant/0.1/payload.d.ts +13 -13
  99. package/dist/vtc/vetting/vetters/grant/0.1/payload.js +5 -5
  100. package/dist/vtc/vetting/vetters/grant/0.1/payload.js.map +1 -1
  101. package/dist/witness/session/submit/0.1/payload.d.ts +5 -5
  102. package/dist/witness/session/submit/0.1/payload.js +2 -2
  103. package/dist/witness/session/submit/0.1/payload.js.map +1 -1
  104. package/package.json +1 -1
  105. package/src/_shared/components.ts +14 -14
  106. package/src/index.ts +3 -0
  107. package/src/vetting/_shared/0.1/identity-vetting.ts +2 -2
  108. package/src/vetting/_shared/0.1/vetting-card.ts +1 -1
  109. package/src/vetting/_shared/0.1/vetting.ts +1 -1
  110. package/src/vetting/request/0.1/payload.ts +3 -3
  111. package/src/vta/attestation/mnemonic-status/0.1/payload.ts +203 -0
  112. package/src/vta/metrics/show/0.1/payload.ts +418 -0
  113. package/src/vtc/_shared/0.1/endorsement-type.ts +1 -1
  114. package/src/vtc/_shared/0.1/endorsement.ts +1 -1
  115. package/src/vtc/auth/recognise/0.2/payload.ts +2 -2
  116. package/src/vtc/endorsement-types/list/0.1/payload.ts +4 -4
  117. package/src/vtc/endorsement-types/register/0.1/payload.ts +11 -7
  118. package/src/vtc/endorsements/issue/0.1/payload.ts +23 -23
  119. package/src/vtc/endorsements/list/0.1/payload.ts +16 -16
  120. package/src/vtc/endorsements/revoke/0.1/payload.ts +3 -3
  121. package/src/vtc/endorsements/show/0.1/payload.ts +14 -14
  122. package/src/vtc/join-requests/decide/0.1/payload.ts +6 -6
  123. package/src/vtc/join-requests/manifest/0.2/payload.ts +6 -6
  124. package/src/vtc/members/credentials/0.1/payload.ts +3 -3
  125. package/src/vtc/members/list/0.1/payload.ts +4 -4
  126. package/src/vtc/members/personhood/assert/0.1/payload.ts +8 -8
  127. package/src/vtc/members/personhood/revoke/0.1/payload.ts +6 -6
  128. package/src/vtc/members/renew/0.1/payload.ts +8 -8
  129. package/src/vtc/members/rotate/0.1/payload.ts +8 -8
  130. package/src/vtc/members/show/0.1/payload.ts +4 -4
  131. package/src/vtc/members/update/0.1/payload.ts +4 -4
  132. package/src/vtc/schemas/accepts/list/0.1/payload.ts +4 -4
  133. package/src/vtc/schemas/accepts/register/0.1/payload.ts +4 -4
  134. package/src/vtc/schemas/accepts/show/0.1/payload.ts +4 -4
  135. package/src/vtc/schemas/list/0.1/payload.ts +2 -2
  136. package/src/vtc/schemas/register/0.1/payload.ts +2 -2
  137. package/src/vtc/schemas/show/0.1/payload.ts +2 -2
  138. package/src/vtc/vetting/hidden/publish/0.1/payload.ts +905 -0
  139. package/src/vtc/vetting/vetters/grant/0.1/payload.ts +8 -8
  140. package/src/witness/session/submit/0.1/payload.ts +3 -3
@@ -4,10 +4,13 @@
4
4
  */
5
5
  import type { EndorsementType, Ext } from "../../../../_shared/components.js";
6
6
  export interface VTCEndorsementTypesRegisterPayload {
7
+ /**
8
+ * The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI.
9
+ */
7
10
  typeUri: string;
8
11
  description?: string;
9
12
  /**
10
- * Optional JSON Schema the endorsement's claims must satisfy (opaque here).
13
+ * Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here).
11
14
  */
12
15
  claimSchema?: {};
13
16
  ext?: Ext;
@@ -47,6 +50,7 @@ export declare const PAYLOAD_SCHEMA: {
47
50
  readonly type: "string";
48
51
  readonly minLength: 1;
49
52
  readonly maxLength: 512;
53
+ readonly description: "The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI.";
50
54
  };
51
55
  readonly description: {
52
56
  readonly type: "string";
@@ -54,7 +58,7 @@ export declare const PAYLOAD_SCHEMA: {
54
58
  };
55
59
  readonly claimSchema: {
56
60
  readonly type: "object";
57
- readonly description: "Optional JSON Schema the endorsement's claims must satisfy (opaque here).";
61
+ readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here).";
58
62
  };
59
63
  readonly ext: {
60
64
  readonly $ref: "#/$defs/Ext";
@@ -97,7 +101,7 @@ export declare const PAYLOAD_SCHEMA: {
97
101
  readonly type: "string";
98
102
  readonly minLength: 1;
99
103
  readonly maxLength: 512;
100
- readonly description: "The endorsement type's URI. Community-scoped; workspace-reserved URIs (e.g. CommunityRole) are refused at registration.";
104
+ readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
101
105
  };
102
106
  readonly description: {
103
107
  readonly type: "string";
@@ -105,7 +109,7 @@ export declare const PAYLOAD_SCHEMA: {
105
109
  };
106
110
  readonly claimSchema: {
107
111
  readonly type: "object";
108
- readonly description: "Optional JSON Schema the endorsement's claims must satisfy (opaque here).";
112
+ readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
109
113
  };
110
114
  readonly createdAt: {
111
115
  readonly type: "string";
@@ -160,7 +164,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
160
164
  readonly type: "string";
161
165
  readonly minLength: 1;
162
166
  readonly maxLength: 512;
163
- readonly description: "The endorsement type's URI. Community-scoped; workspace-reserved URIs (e.g. CommunityRole) are refused at registration.";
167
+ readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
164
168
  };
165
169
  readonly description: {
166
170
  readonly type: "string";
@@ -168,7 +172,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
168
172
  };
169
173
  readonly claimSchema: {
170
174
  readonly type: "object";
171
- readonly description: "Optional JSON Schema the endorsement's claims must satisfy (opaque here).";
175
+ readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
172
176
  };
173
177
  readonly createdAt: {
174
178
  readonly type: "string";
@@ -206,6 +210,7 @@ export declare const SPEC: {
206
210
  readonly type: "string";
207
211
  readonly minLength: 1;
208
212
  readonly maxLength: 512;
213
+ readonly description: "The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI.";
209
214
  };
210
215
  readonly description: {
211
216
  readonly type: "string";
@@ -213,7 +218,7 @@ export declare const SPEC: {
213
218
  };
214
219
  readonly claimSchema: {
215
220
  readonly type: "object";
216
- readonly description: "Optional JSON Schema the endorsement's claims must satisfy (opaque here).";
221
+ readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here).";
217
222
  };
218
223
  readonly ext: {
219
224
  readonly $ref: "#/$defs/Ext";
@@ -256,7 +261,7 @@ export declare const SPEC: {
256
261
  readonly type: "string";
257
262
  readonly minLength: 1;
258
263
  readonly maxLength: 512;
259
- readonly description: "The endorsement type's URI. Community-scoped; workspace-reserved URIs (e.g. CommunityRole) are refused at registration.";
264
+ readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
260
265
  };
261
266
  readonly description: {
262
267
  readonly type: "string";
@@ -264,7 +269,7 @@ export declare const SPEC: {
264
269
  };
265
270
  readonly claimSchema: {
266
271
  readonly type: "object";
267
- readonly description: "Optional JSON Schema the endorsement's claims must satisfy (opaque here).";
272
+ readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
268
273
  };
269
274
  readonly createdAt: {
270
275
  readonly type: "string";
@@ -330,7 +335,7 @@ export declare const RESPONSE_SPEC: {
330
335
  readonly type: "string";
331
336
  readonly minLength: 1;
332
337
  readonly maxLength: 512;
333
- readonly description: "The endorsement type's URI. Community-scoped; workspace-reserved URIs (e.g. CommunityRole) are refused at registration.";
338
+ readonly description: "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration.";
334
339
  };
335
340
  readonly description: {
336
341
  readonly type: "string";
@@ -338,7 +343,7 @@ export declare const RESPONSE_SPEC: {
338
343
  };
339
344
  readonly claimSchema: {
340
345
  readonly type: "object";
341
- readonly description: "Optional JSON Schema the endorsement's claims must satisfy (opaque here).";
346
+ readonly description: "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes.";
342
347
  };
343
348
  readonly createdAt: {
344
349
  readonly type: "string";
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAG9E,MAAM,WAAW,kCAAkC;IACjD,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,EAAE,CAAC;IACjB,GAAG,CAAC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+ "maxLength": 512,
32
+ "description": "The predicate IRI to accept: a DTG VSC predicate registry IRI or a community-namespace IRI."
32
33
  },
33
34
  "description": {
34
35
  "type": "string",
@@ -36,7 +37,7 @@ export const PAYLOAD_SCHEMA = {
36
37
  },
37
38
  "claimSchema": {
38
39
  "type": "object",
39
- "description": "Optional JSON Schema the endorsement's claims must satisfy (opaque here)."
40
+ "description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here)."
40
41
  },
41
42
  "ext": {
42
43
  "$ref": "#/$defs/Ext"
@@ -83,7 +84,7 @@ export const PAYLOAD_SCHEMA = {
83
84
  "type": "string",
84
85
  "minLength": 1,
85
86
  "maxLength": 512,
86
- "description": "The endorsement type's URI. Community-scoped; workspace-reserved URIs (e.g. CommunityRole) are refused at registration."
87
+ "description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
87
88
  },
88
89
  "description": {
89
90
  "type": "string",
@@ -91,7 +92,7 @@ export const PAYLOAD_SCHEMA = {
91
92
  },
92
93
  "claimSchema": {
93
94
  "type": "object",
94
- "description": "Optional JSON Schema the endorsement's claims must satisfy (opaque here)."
95
+ "description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
95
96
  },
96
97
  "createdAt": {
97
98
  "type": "string",
@@ -150,7 +151,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
150
151
  "type": "string",
151
152
  "minLength": 1,
152
153
  "maxLength": 512,
153
- "description": "The endorsement type's URI. Community-scoped; workspace-reserved URIs (e.g. CommunityRole) are refused at registration."
154
+ "description": "The predicate IRI the community accepts, compared as an exact string: a DTG VSC predicate registry IRI (e.g. `https://registry.trustoverip.org/dtg/vsc/vetted/1`) or a community-namespace IRI defined in the registry's predicate definition format. URIs the implementation reserves for its own use are refused at registration."
154
155
  },
155
156
  "description": {
156
157
  "type": "string",
@@ -158,7 +159,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
158
159
  },
159
160
  "claimSchema": {
160
161
  "type": "object",
161
- "description": "Optional JSON Schema the endorsement's claims must satisfy (opaque here)."
162
+ "description": "Optional JSON Schema a statement's `credentialSubject.object.value` must satisfy (opaque here) — for a registry predicate, the object schema its profile publishes."
162
163
  },
163
164
  "createdAt": {
164
165
  "type": "string",
@@ -1 +1 @@
1
- {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAsBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,gEAAyE,CAAC;AAKlG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,yEAAkF,CAAC;AAKpH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,gEAAgE;IACvE,OAAO,EAAE,0CAA0C;IACnD,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;SACjB;QACD,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;SAClB;QACD,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,2EAA2E;SAC3F;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,mDAAmD;YAC5D,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV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AEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vtc/endorsement-types/register/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyBH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,gEAAyE,CAAC;AAKlG,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,yEAAkF,CAAC;AAKpH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,gEAAgE;IACvE,OAAO,EAAE,0CAA0C;IACnD,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,SAAS;KACV;IACD,YAAY,EAAE;QACZ,SAAS,EAAE;YACT,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;YACd,WAAW,EAAE,GAAG;YAChB,aAAa,EAAE,6FAA6F;SAC7G;QACD,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,IAAI;SAClB;QACD,aAAa,EAAE;YACb,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,iGAAiG;SACjH;QACD,KAAK,EAAE;YACL,MAAM,EAAE,aAAa;SACtB;KACF;IACD,OAAO,EAAE;QACP,UAAU,EAAE;YACV,SAAS,EAAE,UAAU;YACrB,OAAO,EAAE,mDAAmD;YAC5D,MAAM,EAAE,QAAQ;YAChB,sBAAsB,EAAE,KAAK;YAC7B,UAAU,EAAE;gBACV,iBAAiB;aAClB;YACD,YAAY,EAAE;gBACZ,iBAAiB,EAA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B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
@@ -5,15 +5,15 @@
5
5
  import type { CredentialId, CredentialReference, Endorsement, Ext } from "../../../../_shared/components.js";
6
6
  export interface VTCEndorsementsIssuePayload {
7
7
  /**
8
- * DID of the endorsement's subject (becomes credentialSubject.id).
8
+ * DID of the statement's subject (becomes credentialSubject.id).
9
9
  */
10
10
  subjectDid: string;
11
11
  /**
12
- * A type already registered via vtc/endorsement-types/register; unregistered types are refused.
12
+ * The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused.
13
13
  */
14
14
  typeUri: string;
15
15
  /**
16
- * The claim body to attest. Capped at 8 KiB serialised, and validated against the type's claimSchema when it declares one.
16
+ * The claim body to attest, issued as the statement's `credentialSubject.object.value`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.
17
17
  */
18
18
  claim: {};
19
19
  /**
@@ -25,7 +25,7 @@ export interface VTCEndorsementsIssuePayload {
25
25
  export interface VTCEndorsementsIssueResponsePayload {
26
26
  endorsement: Endorsement;
27
27
  /**
28
- * The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.
28
+ * The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.
29
29
  */
30
30
  credential: {};
31
31
  ext?: Ext;
@@ -60,18 +60,18 @@ export declare const PAYLOAD_SCHEMA: {
60
60
  readonly subjectDid: {
61
61
  readonly type: "string";
62
62
  readonly pattern: "^did:";
63
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
63
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
64
64
  };
65
65
  readonly typeUri: {
66
66
  readonly type: "string";
67
67
  readonly minLength: 1;
68
68
  readonly maxLength: 512;
69
- readonly description: "A type already registered via vtc/endorsement-types/register; unregistered types are refused.";
69
+ readonly description: "The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused.";
70
70
  };
71
71
  readonly claim: {
72
72
  readonly type: "object";
73
73
  readonly minProperties: 1;
74
- readonly description: "The claim body to attest. Capped at 8 KiB serialised, and validated against the type's claimSchema when it declares one.";
74
+ readonly description: "The claim body to attest, issued as the statement's `credentialSubject.object.value`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.";
75
75
  };
76
76
  readonly validitySeconds: {
77
77
  readonly type: "integer";
@@ -95,7 +95,7 @@ export declare const PAYLOAD_SCHEMA: {
95
95
  };
96
96
  readonly credential: {
97
97
  readonly type: "object";
98
- readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
98
+ readonly description: "The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
99
99
  };
100
100
  readonly ext: {
101
101
  readonly $ref: "#/$defs/Ext";
@@ -122,36 +122,36 @@ export declare const PAYLOAD_SCHEMA: {
122
122
  readonly endorsementId: {
123
123
  readonly type: "string";
124
124
  readonly minLength: 1;
125
- readonly description: "Community-scoped identifier for this endorsement row.";
125
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
126
126
  };
127
127
  readonly typeUri: {
128
128
  readonly type: "string";
129
129
  readonly minLength: 1;
130
130
  readonly maxLength: 512;
131
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
131
+ readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
132
132
  };
133
133
  readonly subjectDid: {
134
134
  readonly type: "string";
135
135
  readonly pattern: "^did:";
136
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
136
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
137
137
  };
138
138
  readonly claim: {
139
139
  readonly type: "object";
140
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
140
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
141
141
  };
142
142
  readonly issued: {
143
143
  readonly $ref: "#/$defs/CredentialReference";
144
- readonly description: "A pointer to the issued VEC — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
144
+ readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
145
145
  };
146
146
  readonly statusListIndex: {
147
147
  readonly type: "integer";
148
148
  readonly minimum: 0;
149
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
149
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
150
150
  };
151
151
  readonly revokedAt: {
152
152
  readonly type: readonly ["string", "null"];
153
153
  readonly format: "date-time";
154
- readonly description: "When the endorsement was revoked, or null while live.";
154
+ readonly description: "When the statement was revoked, or null while live.";
155
155
  };
156
156
  };
157
157
  };
@@ -204,7 +204,7 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
204
204
  };
205
205
  readonly credential: {
206
206
  readonly type: "object";
207
- readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
207
+ readonly description: "The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
208
208
  };
209
209
  readonly ext: {
210
210
  readonly $ref: "#/$defs/Ext";
@@ -231,36 +231,36 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
231
231
  readonly endorsementId: {
232
232
  readonly type: "string";
233
233
  readonly minLength: 1;
234
- readonly description: "Community-scoped identifier for this endorsement row.";
234
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
235
235
  };
236
236
  readonly typeUri: {
237
237
  readonly type: "string";
238
238
  readonly minLength: 1;
239
239
  readonly maxLength: 512;
240
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
240
+ readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
241
241
  };
242
242
  readonly subjectDid: {
243
243
  readonly type: "string";
244
244
  readonly pattern: "^did:";
245
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
245
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
246
246
  };
247
247
  readonly claim: {
248
248
  readonly type: "object";
249
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
249
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
250
250
  };
251
251
  readonly issued: {
252
252
  readonly $ref: "#/$defs/CredentialReference";
253
- readonly description: "A pointer to the issued VEC — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
253
+ readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
254
254
  };
255
255
  readonly statusListIndex: {
256
256
  readonly type: "integer";
257
257
  readonly minimum: 0;
258
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
258
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
259
259
  };
260
260
  readonly revokedAt: {
261
261
  readonly type: readonly ["string", "null"];
262
262
  readonly format: "date-time";
263
- readonly description: "When the endorsement was revoked, or null while live.";
263
+ readonly description: "When the statement was revoked, or null while live.";
264
264
  };
265
265
  };
266
266
  };
@@ -319,18 +319,18 @@ export declare const SPEC: {
319
319
  readonly subjectDid: {
320
320
  readonly type: "string";
321
321
  readonly pattern: "^did:";
322
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
322
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
323
323
  };
324
324
  readonly typeUri: {
325
325
  readonly type: "string";
326
326
  readonly minLength: 1;
327
327
  readonly maxLength: 512;
328
- readonly description: "A type already registered via vtc/endorsement-types/register; unregistered types are refused.";
328
+ readonly description: "The predicate IRI the statement carries as `credentialSubject.predicate` — `https://registry.trustoverip.org/dtg/vsc/endorses/1` for a favourable claim with community-defined content, or another predicate the community registered. It MUST already be registered via vtc/endorsement-types/register; unregistered predicates are refused.";
329
329
  };
330
330
  readonly claim: {
331
331
  readonly type: "object";
332
332
  readonly minProperties: 1;
333
- readonly description: "The claim body to attest. Capped at 8 KiB serialised, and validated against the type's claimSchema when it declares one.";
333
+ readonly description: "The claim body to attest, issued as the statement's `credentialSubject.object.value`. Capped at 8 KiB serialised, and validated against the registered predicate's claimSchema when it declares one.";
334
334
  };
335
335
  readonly validitySeconds: {
336
336
  readonly type: "integer";
@@ -354,7 +354,7 @@ export declare const SPEC: {
354
354
  };
355
355
  readonly credential: {
356
356
  readonly type: "object";
357
- readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
357
+ readonly description: "The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
358
358
  };
359
359
  readonly ext: {
360
360
  readonly $ref: "#/$defs/Ext";
@@ -381,36 +381,36 @@ export declare const SPEC: {
381
381
  readonly endorsementId: {
382
382
  readonly type: "string";
383
383
  readonly minLength: 1;
384
- readonly description: "Community-scoped identifier for this endorsement row.";
384
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
385
385
  };
386
386
  readonly typeUri: {
387
387
  readonly type: "string";
388
388
  readonly minLength: 1;
389
389
  readonly maxLength: 512;
390
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
390
+ readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
391
391
  };
392
392
  readonly subjectDid: {
393
393
  readonly type: "string";
394
394
  readonly pattern: "^did:";
395
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
395
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
396
396
  };
397
397
  readonly claim: {
398
398
  readonly type: "object";
399
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
399
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
400
400
  };
401
401
  readonly issued: {
402
402
  readonly $ref: "#/$defs/CredentialReference";
403
- readonly description: "A pointer to the issued VEC — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
403
+ readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
404
404
  };
405
405
  readonly statusListIndex: {
406
406
  readonly type: "integer";
407
407
  readonly minimum: 0;
408
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
408
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
409
409
  };
410
410
  readonly revokedAt: {
411
411
  readonly type: readonly ["string", "null"];
412
412
  readonly format: "date-time";
413
- readonly description: "When the endorsement was revoked, or null while live.";
413
+ readonly description: "When the statement was revoked, or null while live.";
414
414
  };
415
415
  };
416
416
  };
@@ -474,7 +474,7 @@ export declare const RESPONSE_SPEC: {
474
474
  };
475
475
  readonly credential: {
476
476
  readonly type: "object";
477
- readonly description: "The signed VEC just minted. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
477
+ readonly description: "The signed statement just minted: a DTG Verifiable Statement Credential (`StatementCredential`) issued by the community with `issuerScope` public, `credentialSubject.predicate` = `typeUri` and `credentialSubject.object.value` = `claim`. Present only here: handing back the credential is the point of an issue call, and the issuer is the only party that can. Reads carry `endorsement.issued` — the reference — instead.";
478
478
  };
479
479
  readonly ext: {
480
480
  readonly $ref: "#/$defs/Ext";
@@ -501,36 +501,36 @@ export declare const RESPONSE_SPEC: {
501
501
  readonly endorsementId: {
502
502
  readonly type: "string";
503
503
  readonly minLength: 1;
504
- readonly description: "Community-scoped identifier for this endorsement row.";
504
+ readonly description: "Community-scoped identifier for this row. The name is legacy; it identifies a statement, and vtc/endorsements/revoke also takes the `endorsementId` of a role credential issued by vtc/vetting/vetters/grant.";
505
505
  };
506
506
  readonly typeUri: {
507
507
  readonly type: "string";
508
508
  readonly minLength: 1;
509
509
  readonly maxLength: 512;
510
- readonly description: "The registered endorsement type this VEC asserts; see vtc/endorsement-types/*.";
510
+ readonly description: "The registered predicate IRI the statement carries as `credentialSubject.predicate`; see vtc/endorsement-types/*.";
511
511
  };
512
512
  readonly subjectDid: {
513
513
  readonly type: "string";
514
514
  readonly pattern: "^did:";
515
- readonly description: "DID of the endorsement's subject (becomes credentialSubject.id).";
515
+ readonly description: "DID of the statement's subject (becomes credentialSubject.id).";
516
516
  };
517
517
  readonly claim: {
518
518
  readonly type: "object";
519
- readonly description: "The attested claim body, validated against the endorsement type's claimSchema when it declares one.";
519
+ readonly description: "The attested claim body — the statement's `credentialSubject.object.value` — validated against the registered predicate's claimSchema when it declares one.";
520
520
  };
521
521
  readonly issued: {
522
522
  readonly $ref: "#/$defs/CredentialReference";
523
- readonly description: "A pointer to the issued VEC — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
523
+ readonly description: "A pointer to the issued statement credential — its identifier and lifetime, not its bytes. `endorsements/issue` additionally returns the credential itself, because that is the one call whose caller has no other way to receive it.";
524
524
  };
525
525
  readonly statusListIndex: {
526
526
  readonly type: "integer";
527
527
  readonly minimum: 0;
528
- readonly description: "The endorsement's slot on the community's shared Revocation status list. Published, so a foreign verifier can check revocation without contacting this community.";
528
+ readonly description: "The statement's slot on the community's shared Revocation status list, referenced by its `credentialStatus`. Published, so a foreign verifier can check revocation without contacting this community.";
529
529
  };
530
530
  readonly revokedAt: {
531
531
  readonly type: readonly ["string", "null"];
532
532
  readonly format: "date-time";
533
- readonly description: "When the endorsement was revoked, or null while live.";
533
+ readonly description: "When the statement was revoked, or null while live.";
534
534
  };
535
535
  };
536
536
  };