@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.
- package/CHANGELOG.md +149 -0
- package/dist/_shared/components.d.ts +204 -5
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +27 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -1
- package/dist/persona/_shared/0.1/persona-record.d.ts +22 -0
- package/dist/persona/_shared/0.1/persona-record.d.ts.map +1 -0
- package/dist/persona/_shared/0.1/persona-record.js +6 -0
- package/dist/persona/_shared/0.1/persona-record.js.map +1 -0
- package/dist/persona/attribute/delete/1.0/payload.d.ts +351 -0
- package/dist/persona/attribute/delete/1.0/payload.d.ts.map +1 -0
- package/dist/persona/attribute/delete/1.0/payload.js +188 -0
- package/dist/persona/attribute/delete/1.0/payload.js.map +1 -0
- package/dist/persona/attribute/list/1.0/payload.d.ts +895 -0
- package/dist/persona/attribute/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/attribute/list/1.0/payload.js +532 -0
- package/dist/persona/attribute/list/1.0/payload.js.map +1 -0
- package/dist/persona/attribute/put/1.0/payload.d.ts +829 -0
- package/dist/persona/attribute/put/1.0/payload.d.ts.map +1 -0
- package/dist/persona/attribute/put/1.0/payload.js +487 -0
- package/dist/persona/attribute/put/1.0/payload.js.map +1 -0
- package/dist/persona/binding/get/1.0/payload.d.ts +382 -0
- package/dist/persona/binding/get/1.0/payload.d.ts.map +1 -0
- package/dist/persona/binding/get/1.0/payload.js +206 -0
- package/dist/persona/binding/get/1.0/payload.js.map +1 -0
- package/dist/persona/binding/list/1.0/payload.d.ts +387 -0
- package/dist/persona/binding/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/binding/list/1.0/payload.js +210 -0
- package/dist/persona/binding/list/1.0/payload.js.map +1 -0
- package/dist/persona/binding/set/1.0/payload.d.ts +545 -0
- package/dist/persona/binding/set/1.0/payload.d.ts.map +1 -0
- package/dist/persona/binding/set/1.0/payload.js +302 -0
- package/dist/persona/binding/set/1.0/payload.js.map +1 -0
- package/dist/persona/contact/delete/1.0/payload.d.ts +313 -0
- package/dist/persona/contact/delete/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/delete/1.0/payload.js +174 -0
- package/dist/persona/contact/delete/1.0/payload.js.map +1 -0
- package/dist/persona/contact/get/1.0/payload.d.ts +1027 -0
- package/dist/persona/contact/get/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/get/1.0/payload.js +606 -0
- package/dist/persona/contact/get/1.0/payload.js.map +1 -0
- package/dist/persona/contact/list/1.0/payload.d.ts +490 -0
- package/dist/persona/contact/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/list/1.0/payload.js +262 -0
- package/dist/persona/contact/list/1.0/payload.js.map +1 -0
- package/dist/persona/contact/put/1.0/payload.d.ts +885 -0
- package/dist/persona/contact/put/1.0/payload.d.ts.map +1 -0
- package/dist/persona/contact/put/1.0/payload.js +518 -0
- package/dist/persona/contact/put/1.0/payload.js.map +1 -0
- package/dist/persona/correlation/analyze/1.0/payload.d.ts +648 -0
- package/dist/persona/correlation/analyze/1.0/payload.d.ts.map +1 -0
- package/dist/persona/correlation/analyze/1.0/payload.js +338 -0
- package/dist/persona/correlation/analyze/1.0/payload.js.map +1 -0
- package/dist/persona/disclosure/history/1.0/payload.d.ts +639 -0
- package/dist/persona/disclosure/history/1.0/payload.d.ts.map +1 -0
- package/dist/persona/disclosure/history/1.0/payload.js +339 -0
- package/dist/persona/disclosure/history/1.0/payload.js.map +1 -0
- package/dist/persona/disclosure/present/1.0/payload.d.ts +400 -0
- package/dist/persona/disclosure/present/1.0/payload.d.ts.map +1 -0
- package/dist/persona/disclosure/present/1.0/payload.js +211 -0
- package/dist/persona/disclosure/present/1.0/payload.js.map +1 -0
- package/dist/persona/disclosure/preview/1.0/payload.d.ts +858 -0
- package/dist/persona/disclosure/preview/1.0/payload.d.ts.map +1 -0
- package/dist/persona/disclosure/preview/1.0/payload.js +480 -0
- package/dist/persona/disclosure/preview/1.0/payload.js.map +1 -0
- package/dist/persona/local/binding/set/1.0/payload.d.ts +394 -0
- package/dist/persona/local/binding/set/1.0/payload.d.ts.map +1 -0
- package/dist/persona/local/binding/set/1.0/payload.js +226 -0
- package/dist/persona/local/binding/set/1.0/payload.js.map +1 -0
- package/dist/persona/local/profile/delete/1.0/payload.d.ts +311 -0
- package/dist/persona/local/profile/delete/1.0/payload.d.ts.map +1 -0
- package/dist/persona/local/profile/delete/1.0/payload.js +173 -0
- package/dist/persona/local/profile/delete/1.0/payload.js.map +1 -0
- package/dist/persona/local/profile/get/1.0/payload.d.ts +368 -0
- package/dist/persona/local/profile/get/1.0/payload.d.ts.map +1 -0
- package/dist/persona/local/profile/get/1.0/payload.js +210 -0
- package/dist/persona/local/profile/get/1.0/payload.js.map +1 -0
- package/dist/persona/local/profile/list/1.0/payload.d.ts +387 -0
- package/dist/persona/local/profile/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/local/profile/list/1.0/payload.js +214 -0
- package/dist/persona/local/profile/list/1.0/payload.js.map +1 -0
- package/dist/persona/local/profile/put/1.0/payload.d.ts +545 -0
- package/dist/persona/local/profile/put/1.0/payload.d.ts.map +1 -0
- package/dist/persona/local/profile/put/1.0/payload.js +315 -0
- package/dist/persona/local/profile/put/1.0/payload.js.map +1 -0
- package/dist/persona/profile/delete/1.0/payload.d.ts +350 -0
- package/dist/persona/profile/delete/1.0/payload.d.ts.map +1 -0
- package/dist/persona/profile/delete/1.0/payload.js +189 -0
- package/dist/persona/profile/delete/1.0/payload.js.map +1 -0
- package/dist/persona/profile/get/1.0/payload.d.ts +1307 -0
- package/dist/persona/profile/get/1.0/payload.d.ts.map +1 -0
- package/dist/persona/profile/get/1.0/payload.js +804 -0
- package/dist/persona/profile/get/1.0/payload.js.map +1 -0
- package/dist/persona/profile/list/1.0/payload.d.ts +1120 -0
- package/dist/persona/profile/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/profile/list/1.0/payload.js +680 -0
- package/dist/persona/profile/list/1.0/payload.js.map +1 -0
- package/dist/persona/profile/put/1.0/payload.d.ts +1115 -0
- package/dist/persona/profile/put/1.0/payload.d.ts.map +1 -0
- package/dist/persona/profile/put/1.0/payload.js +675 -0
- package/dist/persona/profile/put/1.0/payload.js.map +1 -0
- package/dist/persona/renderers/list/1.0/payload.d.ts +362 -0
- package/dist/persona/renderers/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/renderers/list/1.0/payload.js +197 -0
- package/dist/persona/renderers/list/1.0/payload.js.map +1 -0
- package/dist/rooms/owner/claim/0.1/payload.d.ts +391 -0
- package/dist/rooms/owner/claim/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/owner/claim/0.1/payload.js +214 -0
- package/dist/rooms/owner/claim/0.1/payload.js.map +1 -0
- package/dist/rooms/owner/transfer/0.1/payload.d.ts +391 -0
- package/dist/rooms/owner/transfer/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/owner/transfer/0.1/payload.js +214 -0
- package/dist/rooms/owner/transfer/0.1/payload.js.map +1 -0
- package/dist/vta/_shared/0.1/app-state-record.d.ts +1 -1
- package/dist/vta/_shared/0.1/app-state-record.d.ts.map +1 -1
- package/dist/vta/app-state/delete/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/delete/1.0/payload.d.ts.map +1 -1
- package/dist/vta/app-state/get/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/get/1.0/payload.d.ts.map +1 -1
- package/dist/vta/app-state/get-many/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/get-many/1.0/payload.d.ts.map +1 -1
- package/dist/vta/app-state/list/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/list/1.0/payload.d.ts.map +1 -1
- package/dist/vta/app-state/put/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/put/1.0/payload.d.ts.map +1 -1
- package/dist/vta/app-state/put-many/1.0/payload.d.ts +1 -1
- package/dist/vta/app-state/put-many/1.0/payload.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/_shared/components.ts +211 -5
- package/src/index.ts +27 -0
- package/src/persona/_shared/0.1/persona-record.ts +23 -0
- package/src/persona/attribute/delete/1.0/payload.ts +238 -0
- package/src/persona/attribute/list/1.0/payload.ts +590 -0
- package/src/persona/attribute/put/1.0/payload.ts +559 -0
- package/src/persona/binding/get/1.0/payload.ts +257 -0
- package/src/persona/binding/list/1.0/payload.ts +260 -0
- package/src/persona/binding/set/1.0/payload.ts +370 -0
- package/src/persona/contact/delete/1.0/payload.ts +216 -0
- package/src/persona/contact/get/1.0/payload.ts +662 -0
- package/src/persona/contact/list/1.0/payload.ts +323 -0
- package/src/persona/contact/put/1.0/payload.ts +580 -0
- package/src/persona/correlation/analyze/1.0/payload.ts +466 -0
- package/src/persona/disclosure/history/1.0/payload.ts +415 -0
- package/src/persona/disclosure/present/1.0/payload.ts +274 -0
- package/src/persona/disclosure/preview/1.0/payload.ts +597 -0
- package/src/persona/local/binding/set/1.0/payload.ts +267 -0
- package/src/persona/local/profile/delete/1.0/payload.ts +215 -0
- package/src/persona/local/profile/get/1.0/payload.ts +251 -0
- package/src/persona/local/profile/list/1.0/payload.ts +260 -0
- package/src/persona/local/profile/put/1.0/payload.ts +373 -0
- package/src/persona/profile/delete/1.0/payload.ts +236 -0
- package/src/persona/profile/get/1.0/payload.ts +846 -0
- package/src/persona/profile/list/1.0/payload.ts +723 -0
- package/src/persona/profile/put/1.0/payload.ts +741 -0
- package/src/persona/renderers/list/1.0/payload.ts +248 -0
- package/src/rooms/owner/claim/0.1/payload.ts +268 -0
- package/src/rooms/owner/transfer/0.1/payload.ts +268 -0
- package/src/vta/_shared/0.1/app-state-record.ts +1 -1
- package/src/vta/app-state/delete/1.0/payload.ts +1 -1
- package/src/vta/app-state/get/1.0/payload.ts +1 -1
- package/src/vta/app-state/get-many/1.0/payload.ts +1 -1
- package/src/vta/app-state/list/1.0/payload.ts +1 -1
- package/src/vta/app-state/put/1.0/payload.ts +1 -1
- package/src/vta/app-state/put-many/1.0/payload.ts +1 -1
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/persona/local/profile/put/1.0/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { ClaimType, ExpectedVersion_PersonaV0_1 as ExpectedVersion, Ext, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Compose a throwaway profile inside a context, from values supplied here rather than drawn from the holder's pool. Inline entries only: a reference is refused, and that refusal is what keeps the local surface pool-free.
|
|
11
|
+
*/
|
|
12
|
+
export interface PersonaLocalProfilePutPayload {
|
|
13
|
+
contextId: string;
|
|
14
|
+
profileId?: Ulid;
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* @maxItems 64
|
|
18
|
+
*/
|
|
19
|
+
entries: {
|
|
20
|
+
inline: {
|
|
21
|
+
type: ClaimType;
|
|
22
|
+
valueType: ValueType;
|
|
23
|
+
value: unknown;
|
|
24
|
+
label?: string;
|
|
25
|
+
};
|
|
26
|
+
}[];
|
|
27
|
+
expectedVersion?: ExpectedVersion;
|
|
28
|
+
ext?: Ext;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Success response to persona/local/profile/put. Type https://trusttasks.org/spec/persona/local/profile/put/1.0#response.
|
|
32
|
+
*/
|
|
33
|
+
export interface PersonaLocalProfilePutResponsePayload {
|
|
34
|
+
profileId: Ulid;
|
|
35
|
+
version: Version;
|
|
36
|
+
created: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Local profiles ARE correlation-indexed, and the naive implementation that skips them loses the guard exactly where a human most needs it: a throwaway identity is precisely where somebody reuses a real value. Indexing them is not a leak — the index is above the boundary, is keyed by a hash, and only the holder can query it.
|
|
39
|
+
*/
|
|
40
|
+
correlation?: {
|
|
41
|
+
severity: "none" | "low" | "high";
|
|
42
|
+
/**
|
|
43
|
+
* True when a value here also appears in the holder's pool. The signal that a throwaway is not throwaway.
|
|
44
|
+
*/
|
|
45
|
+
matchesPoolValue?: boolean;
|
|
46
|
+
};
|
|
47
|
+
ext?: Ext;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
51
|
+
export type { ClaimType, ExpectedVersion, Ext, Ulid, ValueType, Version };
|
|
52
|
+
|
|
53
|
+
/** Trust Task type URI. */
|
|
54
|
+
export const TYPE_URI = "https://trusttasks.org/spec/persona/local/profile/put/1.0" as const;
|
|
55
|
+
|
|
56
|
+
/** Stable alias for this specification's request payload shape. */
|
|
57
|
+
export type Payload = PersonaLocalProfilePutPayload;
|
|
58
|
+
|
|
59
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
60
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/persona/local/profile/put/1.0#response" as const;
|
|
61
|
+
|
|
62
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
63
|
+
export type Response = PersonaLocalProfilePutResponsePayload;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* This specification's payload schema, as a value.
|
|
67
|
+
*
|
|
68
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
69
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
70
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
71
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
72
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
73
|
+
*/
|
|
74
|
+
export const PAYLOAD_SCHEMA = {
|
|
75
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
76
|
+
"$id": "https://trusttasks.org/spec/persona/local/profile/put/1.0",
|
|
77
|
+
"title": "Persona Local Profile Put — payload",
|
|
78
|
+
"description": "Compose a throwaway profile inside a context, from values supplied here rather than drawn from the holder's pool. Inline entries only: a reference is refused, and that refusal is what keeps the local surface pool-free.",
|
|
79
|
+
"type": "object",
|
|
80
|
+
"additionalProperties": false,
|
|
81
|
+
"required": [
|
|
82
|
+
"contextId",
|
|
83
|
+
"name",
|
|
84
|
+
"entries"
|
|
85
|
+
],
|
|
86
|
+
"properties": {
|
|
87
|
+
"contextId": {
|
|
88
|
+
"type": "string",
|
|
89
|
+
"minLength": 1
|
|
90
|
+
},
|
|
91
|
+
"profileId": {
|
|
92
|
+
"$ref": "#/$defs/Ulid"
|
|
93
|
+
},
|
|
94
|
+
"name": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"minLength": 1,
|
|
97
|
+
"maxLength": 128
|
|
98
|
+
},
|
|
99
|
+
"entries": {
|
|
100
|
+
"type": "array",
|
|
101
|
+
"maxItems": 64,
|
|
102
|
+
"items": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"required": [
|
|
106
|
+
"inline"
|
|
107
|
+
],
|
|
108
|
+
"description": "Inline entries only. The `ref`, pinned and override forms of a pool profile are absent from this schema deliberately — a context-local profile that could reference the pool would be a context-authored object acquiring pool reach, which is exactly what the boundary exists to prevent.",
|
|
109
|
+
"properties": {
|
|
110
|
+
"inline": {
|
|
111
|
+
"type": "object",
|
|
112
|
+
"additionalProperties": false,
|
|
113
|
+
"required": [
|
|
114
|
+
"type",
|
|
115
|
+
"valueType",
|
|
116
|
+
"value"
|
|
117
|
+
],
|
|
118
|
+
"properties": {
|
|
119
|
+
"type": {
|
|
120
|
+
"$ref": "#/$defs/ClaimType"
|
|
121
|
+
},
|
|
122
|
+
"valueType": {
|
|
123
|
+
"$ref": "#/$defs/ValueType"
|
|
124
|
+
},
|
|
125
|
+
"value": {},
|
|
126
|
+
"label": {
|
|
127
|
+
"type": "string",
|
|
128
|
+
"maxLength": 128
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"expectedVersion": {
|
|
136
|
+
"$ref": "#/$defs/ExpectedVersion"
|
|
137
|
+
},
|
|
138
|
+
"ext": {
|
|
139
|
+
"$ref": "#/$defs/Ext"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"$defs": {
|
|
143
|
+
"Response": {
|
|
144
|
+
"$anchor": "response",
|
|
145
|
+
"title": "Persona Local Profile Put — response payload",
|
|
146
|
+
"description": "Success response to persona/local/profile/put. Type https://trusttasks.org/spec/persona/local/profile/put/1.0#response.",
|
|
147
|
+
"type": "object",
|
|
148
|
+
"additionalProperties": false,
|
|
149
|
+
"required": [
|
|
150
|
+
"profileId",
|
|
151
|
+
"version",
|
|
152
|
+
"created"
|
|
153
|
+
],
|
|
154
|
+
"properties": {
|
|
155
|
+
"profileId": {
|
|
156
|
+
"$ref": "#/$defs/Ulid"
|
|
157
|
+
},
|
|
158
|
+
"version": {
|
|
159
|
+
"$ref": "#/$defs/Version"
|
|
160
|
+
},
|
|
161
|
+
"created": {
|
|
162
|
+
"type": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"correlation": {
|
|
165
|
+
"type": "object",
|
|
166
|
+
"additionalProperties": false,
|
|
167
|
+
"required": [
|
|
168
|
+
"severity"
|
|
169
|
+
],
|
|
170
|
+
"description": "Local profiles ARE correlation-indexed, and the naive implementation that skips them loses the guard exactly where a human most needs it: a throwaway identity is precisely where somebody reuses a real value. Indexing them is not a leak — the index is above the boundary, is keyed by a hash, and only the holder can query it.",
|
|
171
|
+
"properties": {
|
|
172
|
+
"severity": {
|
|
173
|
+
"type": "string",
|
|
174
|
+
"enum": [
|
|
175
|
+
"none",
|
|
176
|
+
"low",
|
|
177
|
+
"high"
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
"matchesPoolValue": {
|
|
181
|
+
"type": "boolean",
|
|
182
|
+
"description": "True when a value here also appears in the holder's pool. The signal that a throwaway is not throwaway."
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
"ext": {
|
|
187
|
+
"$ref": "#/$defs/Ext"
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"Ext": {
|
|
192
|
+
"title": "Ext",
|
|
193
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
194
|
+
"type": "object",
|
|
195
|
+
"minProperties": 1,
|
|
196
|
+
"additionalProperties": true,
|
|
197
|
+
"propertyNames": {
|
|
198
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
199
|
+
}
|
|
200
|
+
},
|
|
201
|
+
"Version": {
|
|
202
|
+
"title": "Version",
|
|
203
|
+
"description": "A value of the store's monotonic write counter. Server-assigned; a producer never chooses one.",
|
|
204
|
+
"type": "integer",
|
|
205
|
+
"minimum": 1
|
|
206
|
+
},
|
|
207
|
+
"Ulid": {
|
|
208
|
+
"title": "Ulid",
|
|
209
|
+
"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.",
|
|
210
|
+
"type": "string",
|
|
211
|
+
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
|
|
212
|
+
},
|
|
213
|
+
"ExpectedVersion": {
|
|
214
|
+
"title": "ExpectedVersion",
|
|
215
|
+
"description": "Optimistic-concurrency precondition. A positive value requires the record's current `version` to equal it exactly; zero means create-only and applies only when no live record exists at the address.",
|
|
216
|
+
"type": "integer",
|
|
217
|
+
"minimum": 0
|
|
218
|
+
},
|
|
219
|
+
"ValueType": {
|
|
220
|
+
"title": "ValueType",
|
|
221
|
+
"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.",
|
|
222
|
+
"type": "string",
|
|
223
|
+
"enum": [
|
|
224
|
+
"string",
|
|
225
|
+
"number",
|
|
226
|
+
"boolean",
|
|
227
|
+
"date",
|
|
228
|
+
"object"
|
|
229
|
+
]
|
|
230
|
+
},
|
|
231
|
+
"ClaimType": {
|
|
232
|
+
"title": "ClaimType",
|
|
233
|
+
"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.",
|
|
234
|
+
"type": "string",
|
|
235
|
+
"minLength": 1,
|
|
236
|
+
"maxLength": 128,
|
|
237
|
+
"pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
} as const;
|
|
241
|
+
|
|
242
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
243
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
244
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
245
|
+
"$ref": "#/$defs/Response",
|
|
246
|
+
"$defs": {
|
|
247
|
+
"Response": {
|
|
248
|
+
"$anchor": "response",
|
|
249
|
+
"title": "Persona Local Profile Put — response payload",
|
|
250
|
+
"description": "Success response to persona/local/profile/put. Type https://trusttasks.org/spec/persona/local/profile/put/1.0#response.",
|
|
251
|
+
"type": "object",
|
|
252
|
+
"additionalProperties": false,
|
|
253
|
+
"required": [
|
|
254
|
+
"profileId",
|
|
255
|
+
"version",
|
|
256
|
+
"created"
|
|
257
|
+
],
|
|
258
|
+
"properties": {
|
|
259
|
+
"profileId": {
|
|
260
|
+
"$ref": "#/$defs/Ulid"
|
|
261
|
+
},
|
|
262
|
+
"version": {
|
|
263
|
+
"$ref": "#/$defs/Version"
|
|
264
|
+
},
|
|
265
|
+
"created": {
|
|
266
|
+
"type": "boolean"
|
|
267
|
+
},
|
|
268
|
+
"correlation": {
|
|
269
|
+
"type": "object",
|
|
270
|
+
"additionalProperties": false,
|
|
271
|
+
"required": [
|
|
272
|
+
"severity"
|
|
273
|
+
],
|
|
274
|
+
"description": "Local profiles ARE correlation-indexed, and the naive implementation that skips them loses the guard exactly where a human most needs it: a throwaway identity is precisely where somebody reuses a real value. Indexing them is not a leak — the index is above the boundary, is keyed by a hash, and only the holder can query it.",
|
|
275
|
+
"properties": {
|
|
276
|
+
"severity": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"enum": [
|
|
279
|
+
"none",
|
|
280
|
+
"low",
|
|
281
|
+
"high"
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"matchesPoolValue": {
|
|
285
|
+
"type": "boolean",
|
|
286
|
+
"description": "True when a value here also appears in the holder's pool. The signal that a throwaway is not throwaway."
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
"ext": {
|
|
291
|
+
"$ref": "#/$defs/Ext"
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"Ext": {
|
|
296
|
+
"title": "Ext",
|
|
297
|
+
"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.",
|
|
298
|
+
"type": "object",
|
|
299
|
+
"minProperties": 1,
|
|
300
|
+
"additionalProperties": true,
|
|
301
|
+
"propertyNames": {
|
|
302
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
303
|
+
}
|
|
304
|
+
},
|
|
305
|
+
"Version": {
|
|
306
|
+
"title": "Version",
|
|
307
|
+
"description": "A value of the store's monotonic write counter. Server-assigned; a producer never chooses one.",
|
|
308
|
+
"type": "integer",
|
|
309
|
+
"minimum": 1
|
|
310
|
+
},
|
|
311
|
+
"Ulid": {
|
|
312
|
+
"title": "Ulid",
|
|
313
|
+
"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.",
|
|
314
|
+
"type": "string",
|
|
315
|
+
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
|
|
316
|
+
},
|
|
317
|
+
"ExpectedVersion": {
|
|
318
|
+
"title": "ExpectedVersion",
|
|
319
|
+
"description": "Optimistic-concurrency precondition. A positive value requires the record's current `version` to equal it exactly; zero means create-only and applies only when no live record exists at the address.",
|
|
320
|
+
"type": "integer",
|
|
321
|
+
"minimum": 0
|
|
322
|
+
},
|
|
323
|
+
"ValueType": {
|
|
324
|
+
"title": "ValueType",
|
|
325
|
+
"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.",
|
|
326
|
+
"type": "string",
|
|
327
|
+
"enum": [
|
|
328
|
+
"string",
|
|
329
|
+
"number",
|
|
330
|
+
"boolean",
|
|
331
|
+
"date",
|
|
332
|
+
"object"
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
"ClaimType": {
|
|
336
|
+
"title": "ClaimType",
|
|
337
|
+
"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.",
|
|
338
|
+
"type": "string",
|
|
339
|
+
"minLength": 1,
|
|
340
|
+
"maxLength": 128,
|
|
341
|
+
"pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
} as const;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
348
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
349
|
+
* per-specification and cannot be derived from the document alone, and
|
|
350
|
+
* item 2 needs the schema this carries.
|
|
351
|
+
*/
|
|
352
|
+
export const SPEC = {
|
|
353
|
+
typeUri: TYPE_URI,
|
|
354
|
+
isBearer: false,
|
|
355
|
+
isProofRequired: true,
|
|
356
|
+
isRecipientRequired: true,
|
|
357
|
+
isIssuedAtRequired: true,
|
|
358
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
359
|
+
} as const;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
363
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
364
|
+
* parties (§7.3 item 5).
|
|
365
|
+
*/
|
|
366
|
+
export const RESPONSE_SPEC = {
|
|
367
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
368
|
+
isBearer: false,
|
|
369
|
+
isProofRequired: true,
|
|
370
|
+
isRecipientRequired: true,
|
|
371
|
+
isIssuedAtRequired: true,
|
|
372
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
373
|
+
} as const;
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/persona/profile/delete/1.0/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { ExpectedVersion_PersonaV0_1 as ExpectedVersion, Ext, Ulid } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Remove one profile. Refused by default while a persona is still bound to it, because a bound persona whose profile vanished would present nothing without the holder having said so.
|
|
11
|
+
*/
|
|
12
|
+
export interface PersonaProfileDeletePayload {
|
|
13
|
+
profileId: Ulid;
|
|
14
|
+
/**
|
|
15
|
+
* When false (the default) a bound profile is refused and the error names the bound personas. When true the profile is removed and every binding to it is cleared, leaving those personas with no profile — which is a legal state, and one the holder is told about rather than discovering. Never the default: a persona that silently stopped presenting anything is a failure a holder finds out about from the other side.
|
|
16
|
+
*/
|
|
17
|
+
unbind?: boolean;
|
|
18
|
+
expectedVersion?: ExpectedVersion;
|
|
19
|
+
ext?: Ext;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Success response to persona/profile/delete. Type https://trusttasks.org/spec/persona/profile/delete/1.0#response. Deleting an absent profile is a success carrying existed: false, which is what makes a repeated delete converge.
|
|
23
|
+
*/
|
|
24
|
+
export interface PersonaProfileDeleteResponsePayload {
|
|
25
|
+
profileId: Ulid;
|
|
26
|
+
/**
|
|
27
|
+
* False when no live profile was present. A repeat delete returns false and deliberately takes no new version, so watchers never observe a change that did not happen.
|
|
28
|
+
*/
|
|
29
|
+
existed: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Persona DIDs whose bindings were cleared. Present only when `unbind` was true and something was cleared — a holder is owed the list of which personas their one action left presenting nothing.
|
|
32
|
+
*
|
|
33
|
+
* @maxItems 256
|
|
34
|
+
*/
|
|
35
|
+
unboundPersonas?: string[];
|
|
36
|
+
ext?: Ext;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
40
|
+
export type { ExpectedVersion, Ext, Ulid };
|
|
41
|
+
|
|
42
|
+
/** Trust Task type URI. */
|
|
43
|
+
export const TYPE_URI = "https://trusttasks.org/spec/persona/profile/delete/1.0" as const;
|
|
44
|
+
|
|
45
|
+
/** Stable alias for this specification's request payload shape. */
|
|
46
|
+
export type Payload = PersonaProfileDeletePayload;
|
|
47
|
+
|
|
48
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
49
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/persona/profile/delete/1.0#response" as const;
|
|
50
|
+
|
|
51
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
52
|
+
export type Response = PersonaProfileDeleteResponsePayload;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* This specification's payload schema, as a value.
|
|
56
|
+
*
|
|
57
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
58
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
59
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
60
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
61
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
62
|
+
*/
|
|
63
|
+
export const PAYLOAD_SCHEMA = {
|
|
64
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
65
|
+
"$id": "https://trusttasks.org/spec/persona/profile/delete/1.0",
|
|
66
|
+
"title": "Persona Profile Delete — payload",
|
|
67
|
+
"description": "Remove one profile. Refused by default while a persona is still bound to it, because a bound persona whose profile vanished would present nothing without the holder having said so.",
|
|
68
|
+
"type": "object",
|
|
69
|
+
"additionalProperties": false,
|
|
70
|
+
"required": [
|
|
71
|
+
"profileId"
|
|
72
|
+
],
|
|
73
|
+
"properties": {
|
|
74
|
+
"profileId": {
|
|
75
|
+
"$ref": "#/$defs/Ulid"
|
|
76
|
+
},
|
|
77
|
+
"unbind": {
|
|
78
|
+
"type": "boolean",
|
|
79
|
+
"default": false,
|
|
80
|
+
"description": "When false (the default) a bound profile is refused and the error names the bound personas. When true the profile is removed and every binding to it is cleared, leaving those personas with no profile — which is a legal state, and one the holder is told about rather than discovering. Never the default: a persona that silently stopped presenting anything is a failure a holder finds out about from the other side."
|
|
81
|
+
},
|
|
82
|
+
"expectedVersion": {
|
|
83
|
+
"$ref": "#/$defs/ExpectedVersion"
|
|
84
|
+
},
|
|
85
|
+
"ext": {
|
|
86
|
+
"$ref": "#/$defs/Ext"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"$defs": {
|
|
90
|
+
"Response": {
|
|
91
|
+
"$anchor": "response",
|
|
92
|
+
"title": "Persona Profile Delete — response payload",
|
|
93
|
+
"description": "Success response to persona/profile/delete. Type https://trusttasks.org/spec/persona/profile/delete/1.0#response. Deleting an absent profile is a success carrying existed: false, which is what makes a repeated delete converge.",
|
|
94
|
+
"type": "object",
|
|
95
|
+
"additionalProperties": false,
|
|
96
|
+
"required": [
|
|
97
|
+
"profileId",
|
|
98
|
+
"existed"
|
|
99
|
+
],
|
|
100
|
+
"properties": {
|
|
101
|
+
"profileId": {
|
|
102
|
+
"$ref": "#/$defs/Ulid"
|
|
103
|
+
},
|
|
104
|
+
"existed": {
|
|
105
|
+
"type": "boolean",
|
|
106
|
+
"description": "False when no live profile was present. A repeat delete returns false and deliberately takes no new version, so watchers never observe a change that did not happen."
|
|
107
|
+
},
|
|
108
|
+
"unboundPersonas": {
|
|
109
|
+
"type": "array",
|
|
110
|
+
"maxItems": 256,
|
|
111
|
+
"items": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"minLength": 1
|
|
114
|
+
},
|
|
115
|
+
"description": "Persona DIDs whose bindings were cleared. Present only when `unbind` was true and something was cleared — a holder is owed the list of which personas their one action left presenting nothing."
|
|
116
|
+
},
|
|
117
|
+
"ext": {
|
|
118
|
+
"$ref": "#/$defs/Ext"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"Ext": {
|
|
123
|
+
"title": "Ext",
|
|
124
|
+
"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.",
|
|
125
|
+
"type": "object",
|
|
126
|
+
"minProperties": 1,
|
|
127
|
+
"additionalProperties": true,
|
|
128
|
+
"propertyNames": {
|
|
129
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"Ulid": {
|
|
133
|
+
"title": "Ulid",
|
|
134
|
+
"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.",
|
|
135
|
+
"type": "string",
|
|
136
|
+
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
|
|
137
|
+
},
|
|
138
|
+
"ExpectedVersion": {
|
|
139
|
+
"title": "ExpectedVersion",
|
|
140
|
+
"description": "Optimistic-concurrency precondition. A positive value requires the record's current `version` to equal it exactly; zero means create-only and applies only when no live record exists at the address.",
|
|
141
|
+
"type": "integer",
|
|
142
|
+
"minimum": 0
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
} as const;
|
|
146
|
+
|
|
147
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
148
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
149
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
150
|
+
"$ref": "#/$defs/Response",
|
|
151
|
+
"$defs": {
|
|
152
|
+
"Response": {
|
|
153
|
+
"$anchor": "response",
|
|
154
|
+
"title": "Persona Profile Delete — response payload",
|
|
155
|
+
"description": "Success response to persona/profile/delete. Type https://trusttasks.org/spec/persona/profile/delete/1.0#response. Deleting an absent profile is a success carrying existed: false, which is what makes a repeated delete converge.",
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": [
|
|
159
|
+
"profileId",
|
|
160
|
+
"existed"
|
|
161
|
+
],
|
|
162
|
+
"properties": {
|
|
163
|
+
"profileId": {
|
|
164
|
+
"$ref": "#/$defs/Ulid"
|
|
165
|
+
},
|
|
166
|
+
"existed": {
|
|
167
|
+
"type": "boolean",
|
|
168
|
+
"description": "False when no live profile was present. A repeat delete returns false and deliberately takes no new version, so watchers never observe a change that did not happen."
|
|
169
|
+
},
|
|
170
|
+
"unboundPersonas": {
|
|
171
|
+
"type": "array",
|
|
172
|
+
"maxItems": 256,
|
|
173
|
+
"items": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"minLength": 1
|
|
176
|
+
},
|
|
177
|
+
"description": "Persona DIDs whose bindings were cleared. Present only when `unbind` was true and something was cleared — a holder is owed the list of which personas their one action left presenting nothing."
|
|
178
|
+
},
|
|
179
|
+
"ext": {
|
|
180
|
+
"$ref": "#/$defs/Ext"
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"Ext": {
|
|
185
|
+
"title": "Ext",
|
|
186
|
+
"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.",
|
|
187
|
+
"type": "object",
|
|
188
|
+
"minProperties": 1,
|
|
189
|
+
"additionalProperties": true,
|
|
190
|
+
"propertyNames": {
|
|
191
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"Ulid": {
|
|
195
|
+
"title": "Ulid",
|
|
196
|
+
"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.",
|
|
197
|
+
"type": "string",
|
|
198
|
+
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
|
|
199
|
+
},
|
|
200
|
+
"ExpectedVersion": {
|
|
201
|
+
"title": "ExpectedVersion",
|
|
202
|
+
"description": "Optimistic-concurrency precondition. A positive value requires the record's current `version` to equal it exactly; zero means create-only and applies only when no live record exists at the address.",
|
|
203
|
+
"type": "integer",
|
|
204
|
+
"minimum": 0
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
} as const;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
211
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
212
|
+
* per-specification and cannot be derived from the document alone, and
|
|
213
|
+
* item 2 needs the schema this carries.
|
|
214
|
+
*/
|
|
215
|
+
export const SPEC = {
|
|
216
|
+
typeUri: TYPE_URI,
|
|
217
|
+
isBearer: false,
|
|
218
|
+
isProofRequired: true,
|
|
219
|
+
isRecipientRequired: true,
|
|
220
|
+
isIssuedAtRequired: true,
|
|
221
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
222
|
+
} as const;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
226
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
227
|
+
* parties (§7.3 item 5).
|
|
228
|
+
*/
|
|
229
|
+
export const RESPONSE_SPEC = {
|
|
230
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
231
|
+
isBearer: false,
|
|
232
|
+
isProofRequired: true,
|
|
233
|
+
isRecipientRequired: true,
|
|
234
|
+
isIssuedAtRequired: true,
|
|
235
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
236
|
+
} as const;
|