@openvtc/trust-tasks 0.16.9 → 0.16.10

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 (166) hide show
  1. package/CHANGELOG.md +149 -0
  2. package/dist/_shared/components.d.ts +204 -5
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +27 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +27 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/persona/_shared/0.1/persona-record.d.ts +22 -0
  9. package/dist/persona/_shared/0.1/persona-record.d.ts.map +1 -0
  10. package/dist/persona/_shared/0.1/persona-record.js +6 -0
  11. package/dist/persona/_shared/0.1/persona-record.js.map +1 -0
  12. package/dist/persona/attribute/delete/1.0/payload.d.ts +351 -0
  13. package/dist/persona/attribute/delete/1.0/payload.d.ts.map +1 -0
  14. package/dist/persona/attribute/delete/1.0/payload.js +188 -0
  15. package/dist/persona/attribute/delete/1.0/payload.js.map +1 -0
  16. package/dist/persona/attribute/list/1.0/payload.d.ts +895 -0
  17. package/dist/persona/attribute/list/1.0/payload.d.ts.map +1 -0
  18. package/dist/persona/attribute/list/1.0/payload.js +532 -0
  19. package/dist/persona/attribute/list/1.0/payload.js.map +1 -0
  20. package/dist/persona/attribute/put/1.0/payload.d.ts +829 -0
  21. package/dist/persona/attribute/put/1.0/payload.d.ts.map +1 -0
  22. package/dist/persona/attribute/put/1.0/payload.js +487 -0
  23. package/dist/persona/attribute/put/1.0/payload.js.map +1 -0
  24. package/dist/persona/binding/get/1.0/payload.d.ts +382 -0
  25. package/dist/persona/binding/get/1.0/payload.d.ts.map +1 -0
  26. package/dist/persona/binding/get/1.0/payload.js +206 -0
  27. package/dist/persona/binding/get/1.0/payload.js.map +1 -0
  28. package/dist/persona/binding/list/1.0/payload.d.ts +387 -0
  29. package/dist/persona/binding/list/1.0/payload.d.ts.map +1 -0
  30. package/dist/persona/binding/list/1.0/payload.js +210 -0
  31. package/dist/persona/binding/list/1.0/payload.js.map +1 -0
  32. package/dist/persona/binding/set/1.0/payload.d.ts +545 -0
  33. package/dist/persona/binding/set/1.0/payload.d.ts.map +1 -0
  34. package/dist/persona/binding/set/1.0/payload.js +302 -0
  35. package/dist/persona/binding/set/1.0/payload.js.map +1 -0
  36. package/dist/persona/contact/delete/1.0/payload.d.ts +313 -0
  37. package/dist/persona/contact/delete/1.0/payload.d.ts.map +1 -0
  38. package/dist/persona/contact/delete/1.0/payload.js +174 -0
  39. package/dist/persona/contact/delete/1.0/payload.js.map +1 -0
  40. package/dist/persona/contact/get/1.0/payload.d.ts +1027 -0
  41. package/dist/persona/contact/get/1.0/payload.d.ts.map +1 -0
  42. package/dist/persona/contact/get/1.0/payload.js +606 -0
  43. package/dist/persona/contact/get/1.0/payload.js.map +1 -0
  44. package/dist/persona/contact/list/1.0/payload.d.ts +490 -0
  45. package/dist/persona/contact/list/1.0/payload.d.ts.map +1 -0
  46. package/dist/persona/contact/list/1.0/payload.js +262 -0
  47. package/dist/persona/contact/list/1.0/payload.js.map +1 -0
  48. package/dist/persona/contact/put/1.0/payload.d.ts +885 -0
  49. package/dist/persona/contact/put/1.0/payload.d.ts.map +1 -0
  50. package/dist/persona/contact/put/1.0/payload.js +518 -0
  51. package/dist/persona/contact/put/1.0/payload.js.map +1 -0
  52. package/dist/persona/correlation/analyze/1.0/payload.d.ts +648 -0
  53. package/dist/persona/correlation/analyze/1.0/payload.d.ts.map +1 -0
  54. package/dist/persona/correlation/analyze/1.0/payload.js +338 -0
  55. package/dist/persona/correlation/analyze/1.0/payload.js.map +1 -0
  56. package/dist/persona/disclosure/history/1.0/payload.d.ts +639 -0
  57. package/dist/persona/disclosure/history/1.0/payload.d.ts.map +1 -0
  58. package/dist/persona/disclosure/history/1.0/payload.js +339 -0
  59. package/dist/persona/disclosure/history/1.0/payload.js.map +1 -0
  60. package/dist/persona/disclosure/present/1.0/payload.d.ts +400 -0
  61. package/dist/persona/disclosure/present/1.0/payload.d.ts.map +1 -0
  62. package/dist/persona/disclosure/present/1.0/payload.js +211 -0
  63. package/dist/persona/disclosure/present/1.0/payload.js.map +1 -0
  64. package/dist/persona/disclosure/preview/1.0/payload.d.ts +858 -0
  65. package/dist/persona/disclosure/preview/1.0/payload.d.ts.map +1 -0
  66. package/dist/persona/disclosure/preview/1.0/payload.js +480 -0
  67. package/dist/persona/disclosure/preview/1.0/payload.js.map +1 -0
  68. package/dist/persona/local/binding/set/1.0/payload.d.ts +394 -0
  69. package/dist/persona/local/binding/set/1.0/payload.d.ts.map +1 -0
  70. package/dist/persona/local/binding/set/1.0/payload.js +226 -0
  71. package/dist/persona/local/binding/set/1.0/payload.js.map +1 -0
  72. package/dist/persona/local/profile/delete/1.0/payload.d.ts +311 -0
  73. package/dist/persona/local/profile/delete/1.0/payload.d.ts.map +1 -0
  74. package/dist/persona/local/profile/delete/1.0/payload.js +173 -0
  75. package/dist/persona/local/profile/delete/1.0/payload.js.map +1 -0
  76. package/dist/persona/local/profile/get/1.0/payload.d.ts +368 -0
  77. package/dist/persona/local/profile/get/1.0/payload.d.ts.map +1 -0
  78. package/dist/persona/local/profile/get/1.0/payload.js +210 -0
  79. package/dist/persona/local/profile/get/1.0/payload.js.map +1 -0
  80. package/dist/persona/local/profile/list/1.0/payload.d.ts +387 -0
  81. package/dist/persona/local/profile/list/1.0/payload.d.ts.map +1 -0
  82. package/dist/persona/local/profile/list/1.0/payload.js +214 -0
  83. package/dist/persona/local/profile/list/1.0/payload.js.map +1 -0
  84. package/dist/persona/local/profile/put/1.0/payload.d.ts +545 -0
  85. package/dist/persona/local/profile/put/1.0/payload.d.ts.map +1 -0
  86. package/dist/persona/local/profile/put/1.0/payload.js +315 -0
  87. package/dist/persona/local/profile/put/1.0/payload.js.map +1 -0
  88. package/dist/persona/profile/delete/1.0/payload.d.ts +350 -0
  89. package/dist/persona/profile/delete/1.0/payload.d.ts.map +1 -0
  90. package/dist/persona/profile/delete/1.0/payload.js +189 -0
  91. package/dist/persona/profile/delete/1.0/payload.js.map +1 -0
  92. package/dist/persona/profile/get/1.0/payload.d.ts +1307 -0
  93. package/dist/persona/profile/get/1.0/payload.d.ts.map +1 -0
  94. package/dist/persona/profile/get/1.0/payload.js +804 -0
  95. package/dist/persona/profile/get/1.0/payload.js.map +1 -0
  96. package/dist/persona/profile/list/1.0/payload.d.ts +1120 -0
  97. package/dist/persona/profile/list/1.0/payload.d.ts.map +1 -0
  98. package/dist/persona/profile/list/1.0/payload.js +680 -0
  99. package/dist/persona/profile/list/1.0/payload.js.map +1 -0
  100. package/dist/persona/profile/put/1.0/payload.d.ts +1115 -0
  101. package/dist/persona/profile/put/1.0/payload.d.ts.map +1 -0
  102. package/dist/persona/profile/put/1.0/payload.js +675 -0
  103. package/dist/persona/profile/put/1.0/payload.js.map +1 -0
  104. package/dist/persona/renderers/list/1.0/payload.d.ts +362 -0
  105. package/dist/persona/renderers/list/1.0/payload.d.ts.map +1 -0
  106. package/dist/persona/renderers/list/1.0/payload.js +197 -0
  107. package/dist/persona/renderers/list/1.0/payload.js.map +1 -0
  108. package/dist/rooms/owner/claim/0.1/payload.d.ts +391 -0
  109. package/dist/rooms/owner/claim/0.1/payload.d.ts.map +1 -0
  110. package/dist/rooms/owner/claim/0.1/payload.js +214 -0
  111. package/dist/rooms/owner/claim/0.1/payload.js.map +1 -0
  112. package/dist/rooms/owner/transfer/0.1/payload.d.ts +391 -0
  113. package/dist/rooms/owner/transfer/0.1/payload.d.ts.map +1 -0
  114. package/dist/rooms/owner/transfer/0.1/payload.js +214 -0
  115. package/dist/rooms/owner/transfer/0.1/payload.js.map +1 -0
  116. package/dist/vta/_shared/0.1/app-state-record.d.ts +1 -1
  117. package/dist/vta/_shared/0.1/app-state-record.d.ts.map +1 -1
  118. package/dist/vta/app-state/delete/1.0/payload.d.ts +1 -1
  119. package/dist/vta/app-state/delete/1.0/payload.d.ts.map +1 -1
  120. package/dist/vta/app-state/get/1.0/payload.d.ts +1 -1
  121. package/dist/vta/app-state/get/1.0/payload.d.ts.map +1 -1
  122. package/dist/vta/app-state/get-many/1.0/payload.d.ts +1 -1
  123. package/dist/vta/app-state/get-many/1.0/payload.d.ts.map +1 -1
  124. package/dist/vta/app-state/list/1.0/payload.d.ts +1 -1
  125. package/dist/vta/app-state/list/1.0/payload.d.ts.map +1 -1
  126. package/dist/vta/app-state/put/1.0/payload.d.ts +1 -1
  127. package/dist/vta/app-state/put/1.0/payload.d.ts.map +1 -1
  128. package/dist/vta/app-state/put-many/1.0/payload.d.ts +1 -1
  129. package/dist/vta/app-state/put-many/1.0/payload.d.ts.map +1 -1
  130. package/package.json +1 -1
  131. package/src/_shared/components.ts +211 -5
  132. package/src/index.ts +27 -0
  133. package/src/persona/_shared/0.1/persona-record.ts +23 -0
  134. package/src/persona/attribute/delete/1.0/payload.ts +238 -0
  135. package/src/persona/attribute/list/1.0/payload.ts +590 -0
  136. package/src/persona/attribute/put/1.0/payload.ts +559 -0
  137. package/src/persona/binding/get/1.0/payload.ts +257 -0
  138. package/src/persona/binding/list/1.0/payload.ts +260 -0
  139. package/src/persona/binding/set/1.0/payload.ts +370 -0
  140. package/src/persona/contact/delete/1.0/payload.ts +216 -0
  141. package/src/persona/contact/get/1.0/payload.ts +662 -0
  142. package/src/persona/contact/list/1.0/payload.ts +323 -0
  143. package/src/persona/contact/put/1.0/payload.ts +580 -0
  144. package/src/persona/correlation/analyze/1.0/payload.ts +466 -0
  145. package/src/persona/disclosure/history/1.0/payload.ts +415 -0
  146. package/src/persona/disclosure/present/1.0/payload.ts +274 -0
  147. package/src/persona/disclosure/preview/1.0/payload.ts +597 -0
  148. package/src/persona/local/binding/set/1.0/payload.ts +267 -0
  149. package/src/persona/local/profile/delete/1.0/payload.ts +215 -0
  150. package/src/persona/local/profile/get/1.0/payload.ts +251 -0
  151. package/src/persona/local/profile/list/1.0/payload.ts +260 -0
  152. package/src/persona/local/profile/put/1.0/payload.ts +373 -0
  153. package/src/persona/profile/delete/1.0/payload.ts +236 -0
  154. package/src/persona/profile/get/1.0/payload.ts +846 -0
  155. package/src/persona/profile/list/1.0/payload.ts +723 -0
  156. package/src/persona/profile/put/1.0/payload.ts +741 -0
  157. package/src/persona/renderers/list/1.0/payload.ts +248 -0
  158. package/src/rooms/owner/claim/0.1/payload.ts +268 -0
  159. package/src/rooms/owner/transfer/0.1/payload.ts +268 -0
  160. package/src/vta/_shared/0.1/app-state-record.ts +1 -1
  161. package/src/vta/app-state/delete/1.0/payload.ts +1 -1
  162. package/src/vta/app-state/get/1.0/payload.ts +1 -1
  163. package/src/vta/app-state/get-many/1.0/payload.ts +1 -1
  164. package/src/vta/app-state/list/1.0/payload.ts +1 -1
  165. package/src/vta/app-state/put/1.0/payload.ts +1 -1
  166. package/src/vta/app-state/put-many/1.0/payload.ts +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/persona/contact/get/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,eAAe,EAAE,GAAG,EAAE,SAAS,EAAE,UAAU,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAGlJ;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C,SAAS,EAAE,IAAI,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,eAAe,CAAC;IAC1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
@@ -0,0 +1,606 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/persona/contact/get/1.0/payload.schema.json
4
+ */
5
+ /** Trust Task type URI. */
6
+ export const TYPE_URI = "https://trusttasks.org/spec/persona/contact/get/1.0";
7
+ /** Trust Task response type URI (request type URI + "#response"). */
8
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/persona/contact/get/1.0#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/persona/contact/get/1.0",
21
+ "title": "Persona Contact Get — payload",
22
+ "description": "Read one contact — the current revision by default, or a named earlier one.",
23
+ "type": "object",
24
+ "additionalProperties": false,
25
+ "required": [
26
+ "contextId",
27
+ "contactId"
28
+ ],
29
+ "properties": {
30
+ "contextId": {
31
+ "type": "string",
32
+ "minLength": 1
33
+ },
34
+ "contactId": {
35
+ "$ref": "#/$defs/Ulid"
36
+ },
37
+ "rev": {
38
+ "type": "integer",
39
+ "minimum": 1,
40
+ "description": "A specific revision. Omit for the current one. Naming a reaped revision is an error rather than a silent fall back to the nearest survivor — a caller comparing against history must know when the history is gone."
41
+ },
42
+ "includeHistory": {
43
+ "type": "boolean",
44
+ "default": false,
45
+ "description": "When true, return the revision metadata (numbers and timestamps) without their documents, so a producer can render a timeline cheaply and fetch only the revision the holder opens."
46
+ },
47
+ "ext": {
48
+ "$ref": "#/$defs/Ext"
49
+ }
50
+ },
51
+ "$defs": {
52
+ "Response": {
53
+ "$anchor": "response",
54
+ "title": "Persona Contact Get — response payload",
55
+ "description": "Success response to persona/contact/get. Type https://trusttasks.org/spec/persona/contact/get/1.0#response.",
56
+ "type": "object",
57
+ "additionalProperties": false,
58
+ "required": [
59
+ "contactId",
60
+ "subjectDid",
61
+ "knownByPersona",
62
+ "rev",
63
+ "document"
64
+ ],
65
+ "properties": {
66
+ "contactId": {
67
+ "$ref": "#/$defs/Ulid"
68
+ },
69
+ "subjectDid": {
70
+ "type": "string",
71
+ "minLength": 1
72
+ },
73
+ "knownByPersona": {
74
+ "type": "string",
75
+ "minLength": 1
76
+ },
77
+ "rev": {
78
+ "type": "integer",
79
+ "minimum": 1
80
+ },
81
+ "document": {
82
+ "$ref": "#/$defs/ContactDocument"
83
+ },
84
+ "credentialRefs": {
85
+ "type": "array",
86
+ "maxItems": 256,
87
+ "items": {
88
+ "type": "string",
89
+ "minLength": 1
90
+ }
91
+ },
92
+ "notes": {
93
+ "type": "string",
94
+ "maxLength": 4096
95
+ },
96
+ "history": {
97
+ "type": "array",
98
+ "maxItems": 256,
99
+ "items": {
100
+ "$ref": "#/$defs/ContactRevision"
101
+ },
102
+ "description": "Present only when `includeHistory` was true. Revision metadata without documents — a timeline is cheap and the documents behind it are not."
103
+ },
104
+ "ext": {
105
+ "$ref": "#/$defs/Ext"
106
+ }
107
+ }
108
+ },
109
+ "Ext": {
110
+ "title": "Ext",
111
+ "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.",
112
+ "type": "object",
113
+ "minProperties": 1,
114
+ "additionalProperties": true,
115
+ "propertyNames": {
116
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
117
+ }
118
+ },
119
+ "ContactRevision": {
120
+ "title": "ContactRevision",
121
+ "description": "One received version of a contact's document. Revisions exist because an address book that silently replaces a payment address is a phishing surface, and one that says what changed and when is a defence.",
122
+ "type": "object",
123
+ "additionalProperties": false,
124
+ "required": [
125
+ "rev",
126
+ "receivedAt"
127
+ ],
128
+ "properties": {
129
+ "rev": {
130
+ "type": "integer",
131
+ "minimum": 1,
132
+ "description": "Monotonic per contact, assigned by the recipient. Not the publisher's cardVersion — a recipient counts what it received, which is the only sequence it can vouch for."
133
+ },
134
+ "receivedAt": {
135
+ "type": "string",
136
+ "format": "date-time"
137
+ },
138
+ "supersededAt": {
139
+ "type": [
140
+ "string",
141
+ "null"
142
+ ],
143
+ "format": "date-time",
144
+ "description": "When a later revision replaced this one. Null for the current revision."
145
+ },
146
+ "document": {
147
+ "$ref": "#/$defs/ContactDocument"
148
+ }
149
+ }
150
+ },
151
+ "ContactDocument": {
152
+ "title": "ContactDocument",
153
+ "description": "What a peer disclosed, as received. Structurally the same claim set a holder composes and presents — a profile and a contact card are one schema seen from two sides — which is why a maintainer validates both with the same code and a consumer renders both with the same view.",
154
+ "type": "object",
155
+ "additionalProperties": false,
156
+ "required": [
157
+ "claims"
158
+ ],
159
+ "properties": {
160
+ "publisher": {
161
+ "type": "string",
162
+ "maxLength": 2048,
163
+ "description": "The DID that published the document, as it appeared. Normally a pairwise identifier, so it names the relationship rather than the person."
164
+ },
165
+ "cardVersion": {
166
+ "type": "integer",
167
+ "minimum": 1,
168
+ "description": "The publisher's own monotonic counter, if they supplied one. Advisory: it orders the publisher's revisions relative to each other and MUST NOT be trusted to order them against anything else."
169
+ },
170
+ "claims": {
171
+ "type": "array",
172
+ "maxItems": 256,
173
+ "items": {
174
+ "type": "object",
175
+ "additionalProperties": false,
176
+ "required": [
177
+ "type",
178
+ "valueType",
179
+ "value"
180
+ ],
181
+ "properties": {
182
+ "type": {
183
+ "$ref": "#/$defs/ClaimType"
184
+ },
185
+ "valueType": {
186
+ "$ref": "#/$defs/ValueType"
187
+ },
188
+ "value": {},
189
+ "provenance": {
190
+ "$ref": "#/$defs/Provenance",
191
+ "description": "As asserted by the publisher. A recipient MUST NOT treat a claimed credentialBacked provenance as verified — it is a statement about what the publisher says backs the claim, and verification is a separate act against the credential itself."
192
+ }
193
+ }
194
+ }
195
+ }
196
+ }
197
+ },
198
+ "Provenance": {
199
+ "title": "Provenance",
200
+ "description": "Where a value comes from, and the member that makes this family worth building on a trust stack rather than in an address book. It survives to the verifier, so a recipient can tell — per field — what the holder typed from what an issuer attested.\n\n`selfAsserted` — the holder supplied it.\n\n`credentialBacked` — the value is derived from a credential in the vault at `claimPath`. The stored value is a CACHE FOR DISPLAY; the credential is the truth. A maintainer MUST re-derive it on read and MUST fail closed (never presenting a stale value) when the credential has been revoked, has expired, or has been archived or deleted.\n\n`generated` — the value is minted per verifier at disclosure time and recorded against that verifier, so every relying party receives a different one that routes back to the holder. This is the shape of the most widely adopted consumer privacy feature in this space; a maintainer need not operate a relay to conform, but the shape must exist, because retrofitting per-verifier values into a pool-of-values model is a migration rather than an addition.",
201
+ "type": "object",
202
+ "required": [
203
+ "kind"
204
+ ],
205
+ "oneOf": [
206
+ {
207
+ "additionalProperties": false,
208
+ "required": [
209
+ "kind"
210
+ ],
211
+ "properties": {
212
+ "kind": {
213
+ "const": "selfAsserted"
214
+ }
215
+ }
216
+ },
217
+ {
218
+ "additionalProperties": false,
219
+ "required": [
220
+ "kind",
221
+ "credentialId",
222
+ "claimPath"
223
+ ],
224
+ "properties": {
225
+ "kind": {
226
+ "const": "credentialBacked"
227
+ },
228
+ "credentialId": {
229
+ "type": "string",
230
+ "minLength": 1,
231
+ "description": "Vault identifier of the backing credential."
232
+ },
233
+ "claimPath": {
234
+ "type": "string",
235
+ "pattern": "^(/[^/~]*(~[01][^/~]*)*)*$",
236
+ "description": "RFC 6901 JSON Pointer to the claim within the credential, e.g. `/credentialSubject/familyName`."
237
+ },
238
+ "issuerDid": {
239
+ "type": "string",
240
+ "minLength": 1,
241
+ "description": "Issuer of the backing credential. Advisory: a consumer MUST verify the credential rather than trusting this member."
242
+ },
243
+ "proof": {
244
+ "$ref": "#/$defs/ProofRung",
245
+ "description": "The disclosure rung this claim was, or will be, presented at."
246
+ }
247
+ }
248
+ },
249
+ {
250
+ "additionalProperties": false,
251
+ "required": [
252
+ "kind",
253
+ "generator"
254
+ ],
255
+ "properties": {
256
+ "kind": {
257
+ "const": "generated"
258
+ },
259
+ "generator": {
260
+ "type": "string",
261
+ "minLength": 1,
262
+ "maxLength": 64,
263
+ "description": "Names the minting scheme, e.g. `relayEmail`. Maintainer-defined."
264
+ },
265
+ "perVerifier": {
266
+ "type": "boolean",
267
+ "default": true,
268
+ "description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
269
+ }
270
+ }
271
+ }
272
+ ]
273
+ },
274
+ "ProofRung": {
275
+ "title": "ProofRung",
276
+ "description": "How strongly a credential-backed claim is hidden when presented, ordered most private first. `predicate` proves a statement over a claim without disclosing the claim. `derived` discloses exactly the claims needed via an unlinkable derived proof, so two presentations cannot be joined. `selectiveDisclosure` discloses exactly the claims needed but carries the issuer's signature unchanged, so two presentations ARE linkable. `whole` discloses the entire credential.\n\nThe distinction between the first two and the last two is of kind, not degree: only `predicate` and `derived` avoid handing two verifiers a join key. A maintainer MUST default to the highest rung the credential's format supports, and MUST NOT silently fall to a lower one — a request that cannot be satisfied at the rung a producer asked for is refused, because a silent privacy downgrade discloses material the holder believed was hidden.",
277
+ "type": "string",
278
+ "enum": [
279
+ "predicate",
280
+ "derived",
281
+ "selectiveDisclosure",
282
+ "whole"
283
+ ]
284
+ },
285
+ "ValueType": {
286
+ "title": "ValueType",
287
+ "description": "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.",
288
+ "type": "string",
289
+ "enum": [
290
+ "string",
291
+ "number",
292
+ "boolean",
293
+ "date",
294
+ "object"
295
+ ]
296
+ },
297
+ "ClaimType": {
298
+ "title": "ClaimType",
299
+ "description": "The vocabulary token naming what a value IS — `name.legal`, `phone.mobile`, `address.postal`, `person.birthDate`. Dotted, most-general segment first, so that a consumer with no knowledge of the specific token can still group by its prefix.\n\nThe token is the maintainer's own; no external vocabulary is primary. External vocabularies (vCard/jCard, OIDC standard claims, schema.org) are mappings applied at PRESENTATION by a renderer, not at rest, so that a query written in any of them can be matched without the store having to live inside any one of them.\n\nThe `x:` prefix is an open extension namespace and is not decoration. The closest prior art — Windows CardSpace's self-issued card — supported exactly fifteen predefined claim types with no extensibility, and that is the specific way it failed the requirement a holder actually has. An `x:` attribute stores, composes, binds and discloses exactly like a known one; it renders generically and matches only an explicit query.",
300
+ "type": "string",
301
+ "minLength": 1,
302
+ "maxLength": 128,
303
+ "pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
304
+ },
305
+ "Ulid": {
306
+ "title": "Ulid",
307
+ "description": "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.",
308
+ "type": "string",
309
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
310
+ }
311
+ }
312
+ };
313
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
314
+ export const RESPONSE_PAYLOAD_SCHEMA = {
315
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
316
+ "$ref": "#/$defs/Response",
317
+ "$defs": {
318
+ "Response": {
319
+ "$anchor": "response",
320
+ "title": "Persona Contact Get — response payload",
321
+ "description": "Success response to persona/contact/get. Type https://trusttasks.org/spec/persona/contact/get/1.0#response.",
322
+ "type": "object",
323
+ "additionalProperties": false,
324
+ "required": [
325
+ "contactId",
326
+ "subjectDid",
327
+ "knownByPersona",
328
+ "rev",
329
+ "document"
330
+ ],
331
+ "properties": {
332
+ "contactId": {
333
+ "$ref": "#/$defs/Ulid"
334
+ },
335
+ "subjectDid": {
336
+ "type": "string",
337
+ "minLength": 1
338
+ },
339
+ "knownByPersona": {
340
+ "type": "string",
341
+ "minLength": 1
342
+ },
343
+ "rev": {
344
+ "type": "integer",
345
+ "minimum": 1
346
+ },
347
+ "document": {
348
+ "$ref": "#/$defs/ContactDocument"
349
+ },
350
+ "credentialRefs": {
351
+ "type": "array",
352
+ "maxItems": 256,
353
+ "items": {
354
+ "type": "string",
355
+ "minLength": 1
356
+ }
357
+ },
358
+ "notes": {
359
+ "type": "string",
360
+ "maxLength": 4096
361
+ },
362
+ "history": {
363
+ "type": "array",
364
+ "maxItems": 256,
365
+ "items": {
366
+ "$ref": "#/$defs/ContactRevision"
367
+ },
368
+ "description": "Present only when `includeHistory` was true. Revision metadata without documents — a timeline is cheap and the documents behind it are not."
369
+ },
370
+ "ext": {
371
+ "$ref": "#/$defs/Ext"
372
+ }
373
+ }
374
+ },
375
+ "Ext": {
376
+ "title": "Ext",
377
+ "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.",
378
+ "type": "object",
379
+ "minProperties": 1,
380
+ "additionalProperties": true,
381
+ "propertyNames": {
382
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
383
+ }
384
+ },
385
+ "ContactRevision": {
386
+ "title": "ContactRevision",
387
+ "description": "One received version of a contact's document. Revisions exist because an address book that silently replaces a payment address is a phishing surface, and one that says what changed and when is a defence.",
388
+ "type": "object",
389
+ "additionalProperties": false,
390
+ "required": [
391
+ "rev",
392
+ "receivedAt"
393
+ ],
394
+ "properties": {
395
+ "rev": {
396
+ "type": "integer",
397
+ "minimum": 1,
398
+ "description": "Monotonic per contact, assigned by the recipient. Not the publisher's cardVersion — a recipient counts what it received, which is the only sequence it can vouch for."
399
+ },
400
+ "receivedAt": {
401
+ "type": "string",
402
+ "format": "date-time"
403
+ },
404
+ "supersededAt": {
405
+ "type": [
406
+ "string",
407
+ "null"
408
+ ],
409
+ "format": "date-time",
410
+ "description": "When a later revision replaced this one. Null for the current revision."
411
+ },
412
+ "document": {
413
+ "$ref": "#/$defs/ContactDocument"
414
+ }
415
+ }
416
+ },
417
+ "ContactDocument": {
418
+ "title": "ContactDocument",
419
+ "description": "What a peer disclosed, as received. Structurally the same claim set a holder composes and presents — a profile and a contact card are one schema seen from two sides — which is why a maintainer validates both with the same code and a consumer renders both with the same view.",
420
+ "type": "object",
421
+ "additionalProperties": false,
422
+ "required": [
423
+ "claims"
424
+ ],
425
+ "properties": {
426
+ "publisher": {
427
+ "type": "string",
428
+ "maxLength": 2048,
429
+ "description": "The DID that published the document, as it appeared. Normally a pairwise identifier, so it names the relationship rather than the person."
430
+ },
431
+ "cardVersion": {
432
+ "type": "integer",
433
+ "minimum": 1,
434
+ "description": "The publisher's own monotonic counter, if they supplied one. Advisory: it orders the publisher's revisions relative to each other and MUST NOT be trusted to order them against anything else."
435
+ },
436
+ "claims": {
437
+ "type": "array",
438
+ "maxItems": 256,
439
+ "items": {
440
+ "type": "object",
441
+ "additionalProperties": false,
442
+ "required": [
443
+ "type",
444
+ "valueType",
445
+ "value"
446
+ ],
447
+ "properties": {
448
+ "type": {
449
+ "$ref": "#/$defs/ClaimType"
450
+ },
451
+ "valueType": {
452
+ "$ref": "#/$defs/ValueType"
453
+ },
454
+ "value": {},
455
+ "provenance": {
456
+ "$ref": "#/$defs/Provenance",
457
+ "description": "As asserted by the publisher. A recipient MUST NOT treat a claimed credentialBacked provenance as verified — it is a statement about what the publisher says backs the claim, and verification is a separate act against the credential itself."
458
+ }
459
+ }
460
+ }
461
+ }
462
+ }
463
+ },
464
+ "Provenance": {
465
+ "title": "Provenance",
466
+ "description": "Where a value comes from, and the member that makes this family worth building on a trust stack rather than in an address book. It survives to the verifier, so a recipient can tell — per field — what the holder typed from what an issuer attested.\n\n`selfAsserted` — the holder supplied it.\n\n`credentialBacked` — the value is derived from a credential in the vault at `claimPath`. The stored value is a CACHE FOR DISPLAY; the credential is the truth. A maintainer MUST re-derive it on read and MUST fail closed (never presenting a stale value) when the credential has been revoked, has expired, or has been archived or deleted.\n\n`generated` — the value is minted per verifier at disclosure time and recorded against that verifier, so every relying party receives a different one that routes back to the holder. This is the shape of the most widely adopted consumer privacy feature in this space; a maintainer need not operate a relay to conform, but the shape must exist, because retrofitting per-verifier values into a pool-of-values model is a migration rather than an addition.",
467
+ "type": "object",
468
+ "required": [
469
+ "kind"
470
+ ],
471
+ "oneOf": [
472
+ {
473
+ "additionalProperties": false,
474
+ "required": [
475
+ "kind"
476
+ ],
477
+ "properties": {
478
+ "kind": {
479
+ "const": "selfAsserted"
480
+ }
481
+ }
482
+ },
483
+ {
484
+ "additionalProperties": false,
485
+ "required": [
486
+ "kind",
487
+ "credentialId",
488
+ "claimPath"
489
+ ],
490
+ "properties": {
491
+ "kind": {
492
+ "const": "credentialBacked"
493
+ },
494
+ "credentialId": {
495
+ "type": "string",
496
+ "minLength": 1,
497
+ "description": "Vault identifier of the backing credential."
498
+ },
499
+ "claimPath": {
500
+ "type": "string",
501
+ "pattern": "^(/[^/~]*(~[01][^/~]*)*)*$",
502
+ "description": "RFC 6901 JSON Pointer to the claim within the credential, e.g. `/credentialSubject/familyName`."
503
+ },
504
+ "issuerDid": {
505
+ "type": "string",
506
+ "minLength": 1,
507
+ "description": "Issuer of the backing credential. Advisory: a consumer MUST verify the credential rather than trusting this member."
508
+ },
509
+ "proof": {
510
+ "$ref": "#/$defs/ProofRung",
511
+ "description": "The disclosure rung this claim was, or will be, presented at."
512
+ }
513
+ }
514
+ },
515
+ {
516
+ "additionalProperties": false,
517
+ "required": [
518
+ "kind",
519
+ "generator"
520
+ ],
521
+ "properties": {
522
+ "kind": {
523
+ "const": "generated"
524
+ },
525
+ "generator": {
526
+ "type": "string",
527
+ "minLength": 1,
528
+ "maxLength": 64,
529
+ "description": "Names the minting scheme, e.g. `relayEmail`. Maintainer-defined."
530
+ },
531
+ "perVerifier": {
532
+ "type": "boolean",
533
+ "default": true,
534
+ "description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
535
+ }
536
+ }
537
+ }
538
+ ]
539
+ },
540
+ "ProofRung": {
541
+ "title": "ProofRung",
542
+ "description": "How strongly a credential-backed claim is hidden when presented, ordered most private first. `predicate` proves a statement over a claim without disclosing the claim. `derived` discloses exactly the claims needed via an unlinkable derived proof, so two presentations cannot be joined. `selectiveDisclosure` discloses exactly the claims needed but carries the issuer's signature unchanged, so two presentations ARE linkable. `whole` discloses the entire credential.\n\nThe distinction between the first two and the last two is of kind, not degree: only `predicate` and `derived` avoid handing two verifiers a join key. A maintainer MUST default to the highest rung the credential's format supports, and MUST NOT silently fall to a lower one — a request that cannot be satisfied at the rung a producer asked for is refused, because a silent privacy downgrade discloses material the holder believed was hidden.",
543
+ "type": "string",
544
+ "enum": [
545
+ "predicate",
546
+ "derived",
547
+ "selectiveDisclosure",
548
+ "whole"
549
+ ]
550
+ },
551
+ "ValueType": {
552
+ "title": "ValueType",
553
+ "description": "The JSON shape of `value`, declared so that a consumer can render and compare without guessing. The maintainer validates that `value` agrees with this member and does nothing further: it does NOT validate a phone number against a phone-number grammar. That is a producer's affordance, and a store that grows opinions about the contents of its records eventually blocks its consumer's release.",
554
+ "type": "string",
555
+ "enum": [
556
+ "string",
557
+ "number",
558
+ "boolean",
559
+ "date",
560
+ "object"
561
+ ]
562
+ },
563
+ "ClaimType": {
564
+ "title": "ClaimType",
565
+ "description": "The vocabulary token naming what a value IS — `name.legal`, `phone.mobile`, `address.postal`, `person.birthDate`. Dotted, most-general segment first, so that a consumer with no knowledge of the specific token can still group by its prefix.\n\nThe token is the maintainer's own; no external vocabulary is primary. External vocabularies (vCard/jCard, OIDC standard claims, schema.org) are mappings applied at PRESENTATION by a renderer, not at rest, so that a query written in any of them can be matched without the store having to live inside any one of them.\n\nThe `x:` prefix is an open extension namespace and is not decoration. The closest prior art — Windows CardSpace's self-issued card — supported exactly fifteen predefined claim types with no extensibility, and that is the specific way it failed the requirement a holder actually has. An `x:` attribute stores, composes, binds and discloses exactly like a known one; it renders generically and matches only an explicit query.",
566
+ "type": "string",
567
+ "minLength": 1,
568
+ "maxLength": 128,
569
+ "pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
570
+ },
571
+ "Ulid": {
572
+ "title": "Ulid",
573
+ "description": "A ULID in Crockford base32, uppercase. Used for `attributeId` and `profileId`. Chosen over a UUID because the leading 48 bits are a timestamp, so a key-ordered scan of the store is also creation-ordered and a `list` needs no secondary sort. Server-assigned on create; a producer MAY supply one to make a create idempotent, and a maintainer MUST reject a supplied value that already exists rather than silently overwriting.",
574
+ "type": "string",
575
+ "pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
576
+ }
577
+ }
578
+ };
579
+ /**
580
+ * SPEC.md §7.2 policy for the request variant, from this specification's
581
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
582
+ * per-specification and cannot be derived from the document alone, and
583
+ * item 2 needs the schema this carries.
584
+ */
585
+ export const SPEC = {
586
+ typeUri: TYPE_URI,
587
+ isBearer: false,
588
+ isProofRequired: true,
589
+ isRecipientRequired: true,
590
+ isIssuedAtRequired: false,
591
+ payloadSchema: PAYLOAD_SCHEMA,
592
+ };
593
+ /**
594
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
595
+ * tracks the *issuer* party's requirement because a response swaps the
596
+ * parties (§7.3 item 5).
597
+ */
598
+ export const RESPONSE_SPEC = {
599
+ typeUri: RESPONSE_TYPE_URI,
600
+ isBearer: false,
601
+ isProofRequired: true,
602
+ isRecipientRequired: true,
603
+ isIssuedAtRequired: false,
604
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
605
+ };
606
+ //# sourceMappingURL=payload.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/persona/contact/get/1.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA+CH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,6EAA6E;IAC5F,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,WAAW;QACX,WAAW;KACZ;IACD,YAAY,EAAE;QACZ,WAAW,EAAE;YACX,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,CAAC;SACf;QACD,WAAW,EAAE;YACX,MAAM,EAAE,cAAc;SACvB;QACD,KAAK,EAAE;YACL,MAAM,EAAE,SAAS;YACjB,SAAS,EAAE,CAAC;YACZ,aAAa,EAAE,qNAAqN;SACrO;QACD,gBAAgB,EAAE;YAChB,MAAM,EAAE,SAAS;YACjB,SAAS,E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