@openvtc/trust-tasks 0.19.22 → 0.20.1
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 +33 -0
- package/dist/_shared/components.d.ts +5 -1
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/persona/_shared/0.1/persona-record.d.ts +1 -1
- package/dist/persona/_shared/0.1/persona-record.d.ts.map +1 -1
- package/dist/persona/attribute/get/1.0/payload.d.ts +1221 -0
- package/dist/persona/attribute/get/1.0/payload.d.ts.map +1 -0
- package/dist/persona/attribute/get/1.0/payload.js +719 -0
- package/dist/persona/attribute/get/1.0/payload.js.map +1 -0
- package/dist/persona/correlation/analyze/1.1/payload.d.ts +730 -0
- package/dist/persona/correlation/analyze/1.1/payload.d.ts.map +1 -0
- package/dist/persona/correlation/analyze/1.1/payload.js +372 -0
- package/dist/persona/correlation/analyze/1.1/payload.js.map +1 -0
- package/dist/persona/facet/list/1.0/payload.d.ts +4 -4
- package/dist/persona/facet/list/1.0/payload.js +2 -2
- package/dist/persona/facet/list/1.0/payload.js.map +1 -1
- package/dist/persona/facet/put/1.0/payload.d.ts +4 -4
- package/dist/persona/facet/put/1.0/payload.js +2 -2
- package/dist/persona/facet/put/1.0/payload.js.map +1 -1
- package/dist/persona/local/profile/put/1.0/payload.d.ts +10 -10
- package/dist/persona/local/profile/put/1.0/payload.js +4 -4
- package/dist/persona/local/profile/put/1.0/payload.js.map +1 -1
- package/dist/persona/world/delete/1.0/payload.d.ts +310 -0
- package/dist/persona/world/delete/1.0/payload.d.ts.map +1 -0
- package/dist/persona/world/delete/1.0/payload.js +169 -0
- package/dist/persona/world/delete/1.0/payload.js.map +1 -0
- package/dist/persona/world/list/1.0/payload.d.ts +599 -0
- package/dist/persona/world/list/1.0/payload.d.ts.map +1 -0
- package/dist/persona/world/list/1.0/payload.js +332 -0
- package/dist/persona/world/list/1.0/payload.js.map +1 -0
- package/dist/persona/world/put/1.0/payload.d.ts +490 -0
- package/dist/persona/world/put/1.0/payload.d.ts.map +1 -0
- package/dist/persona/world/put/1.0/payload.js +272 -0
- package/dist/persona/world/put/1.0/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +5 -1
- package/src/index.ts +5 -0
- package/src/persona/_shared/0.1/persona-record.ts +1 -1
- package/src/persona/attribute/get/1.0/payload.ts +785 -0
- package/src/persona/correlation/analyze/1.1/payload.ts +514 -0
- package/src/persona/facet/list/1.0/payload.ts +2 -2
- package/src/persona/facet/put/1.0/payload.ts +2 -2
- package/src/persona/local/profile/put/1.0/payload.ts +6 -6
- package/src/persona/world/delete/1.0/payload.ts +212 -0
- package/src/persona/world/list/1.0/payload.ts +402 -0
- package/src/persona/world/put/1.0/payload.ts +339 -0
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/persona/correlation/analyze/1.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import type { ClaimType, Ext, Ulid, ValueType } from "../../../../_shared/components.js";
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Report where the holder's identities link to one another, and what can be done about each link. The findings task behind the counts the write tasks return.
|
|
11
|
+
*/
|
|
12
|
+
export interface PersonaCorrelationAnalyzePayload {
|
|
13
|
+
/**
|
|
14
|
+
* Analyse one attribute. Omit to analyse the whole pool.
|
|
15
|
+
*/
|
|
16
|
+
attributeId?: Ulid;
|
|
17
|
+
/**
|
|
18
|
+
* Analyse one composition — what would this profile link if bound.
|
|
19
|
+
*/
|
|
20
|
+
profileId?: Ulid;
|
|
21
|
+
/**
|
|
22
|
+
* Analyse a value the holder is CONSIDERING but has not written. This is what lets a builder warn before the mistake rather than after it, which is the difference between a guard and a report. A maintainer MUST NOT store a candidate.
|
|
23
|
+
*/
|
|
24
|
+
candidate?: {
|
|
25
|
+
type: ClaimType;
|
|
26
|
+
valueType: ValueType;
|
|
27
|
+
value: unknown;
|
|
28
|
+
};
|
|
29
|
+
ext?: Ext;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Success response to persona/correlation/analyze. Type https://trusttasks.org/spec/persona/correlation/analyze/1.0#response.
|
|
33
|
+
*/
|
|
34
|
+
export interface PersonaCorrelationAnalyzeResponsePayload {
|
|
35
|
+
/**
|
|
36
|
+
* @maxItems 256
|
|
37
|
+
*/
|
|
38
|
+
findings: {
|
|
39
|
+
attributeId?: Ulid;
|
|
40
|
+
severity: "low" | "high";
|
|
41
|
+
/**
|
|
42
|
+
* Where else this value appears, and where it has actually gone. Identifiers ARE returned here, unlike the counts the write tasks give back — this task is holder-authorized and its whole purpose is to let the holder act, which they cannot do on a number.
|
|
43
|
+
*
|
|
44
|
+
* @maxItems 128
|
|
45
|
+
*/
|
|
46
|
+
sharedWith?: {
|
|
47
|
+
profileId?: Ulid;
|
|
48
|
+
contextId?: string;
|
|
49
|
+
personaDid?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @maxItems 64
|
|
52
|
+
*/
|
|
53
|
+
disclosedTo?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* The world the profile at this location belongs to. Absent where it belongs to none, which is a real and common state rather than a gap — most profiles are unarranged until someone arranges them, and a consumer MUST NOT read absence as a world of its own.
|
|
56
|
+
*/
|
|
57
|
+
worldId?: Ulid;
|
|
58
|
+
}[];
|
|
59
|
+
/**
|
|
60
|
+
* Plain-language cause. A severity with no explanation is a warning a holder learns to dismiss.
|
|
61
|
+
*/
|
|
62
|
+
why: string;
|
|
63
|
+
/**
|
|
64
|
+
* What the holder can actually do. Naming reissueCredentialToThisDid matters more than it looks: without it, a holder told 'this links your personas' has no action but to abandon the attribute, and the honest fix — a credential re-issued against the persona actually using it — stays invisible unless the analysis names it.
|
|
65
|
+
*
|
|
66
|
+
* @maxItems 8
|
|
67
|
+
*/
|
|
68
|
+
remedies:
|
|
69
|
+
| []
|
|
70
|
+
| ["useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"]
|
|
71
|
+
| [
|
|
72
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
73
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"
|
|
74
|
+
]
|
|
75
|
+
| [
|
|
76
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
77
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
78
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"
|
|
79
|
+
]
|
|
80
|
+
| [
|
|
81
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
82
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
83
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
84
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"
|
|
85
|
+
]
|
|
86
|
+
| [
|
|
87
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
88
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
89
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
90
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
91
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"
|
|
92
|
+
]
|
|
93
|
+
| [
|
|
94
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
95
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
96
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
97
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
98
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
99
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"
|
|
100
|
+
]
|
|
101
|
+
| [
|
|
102
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
103
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
104
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
105
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
106
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
107
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
108
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"
|
|
109
|
+
]
|
|
110
|
+
| [
|
|
111
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
112
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
113
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
114
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
115
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
116
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
117
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord",
|
|
118
|
+
"useDifferentValue" | "reissueCredentialToThisDid" | "correlateDeliberately" | "proceedAndRecord"
|
|
119
|
+
];
|
|
120
|
+
/**
|
|
121
|
+
* Whether this linkage spans two or more of the holder's worlds — parts of their life they have said belong apart. **A second axis, not a restatement of `severity`.** `severity` says how strongly a disclosure would link the holder, which is a fact about provenance and proof rung and is true whatever the holder intended; this says whether the holder would mind. A value shared between two profiles in the SAME world is linkage the holder arranged on purpose — a work email in every work profile — and a consumer that alarmed on it teaches people to dismiss the alarm. A value shared ACROSS worlds is the finding worth raising. True only when two or more DISTINCT worlds appear among `sharedWith`: a profile belonging to no world is unarranged, not a second world, and contributes nothing here. Absent when the maintainer does not implement worlds.
|
|
122
|
+
*/
|
|
123
|
+
crossesWorlds?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* The distinct worlds this linkage touches, so a consumer can name them — "Work and Home share your mobile number" is a sentence a holder can act on, where "a value is shared" is not. Identifiers rather than names, on the same reasoning as every other member here: the caller already holds the world records and a name repeated on the wire is a second copy to keep correct.
|
|
126
|
+
*
|
|
127
|
+
* @maxItems 64
|
|
128
|
+
*/
|
|
129
|
+
worldIds?: Ulid[];
|
|
130
|
+
}[];
|
|
131
|
+
ext?: Ext;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
135
|
+
export type { ClaimType, Ext, Ulid, ValueType };
|
|
136
|
+
|
|
137
|
+
/** Trust Task type URI. */
|
|
138
|
+
export const TYPE_URI = "https://trusttasks.org/spec/persona/correlation/analyze/1.1" as const;
|
|
139
|
+
|
|
140
|
+
/** Stable alias for this specification's request payload shape. */
|
|
141
|
+
export type Payload = PersonaCorrelationAnalyzePayload;
|
|
142
|
+
|
|
143
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
144
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/persona/correlation/analyze/1.1#response" as const;
|
|
145
|
+
|
|
146
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
147
|
+
export type Response = PersonaCorrelationAnalyzeResponsePayload;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* This specification's payload schema, as a value.
|
|
151
|
+
*
|
|
152
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
153
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
154
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
155
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
156
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
157
|
+
*/
|
|
158
|
+
export const PAYLOAD_SCHEMA = {
|
|
159
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
160
|
+
"$id": "https://trusttasks.org/spec/persona/correlation/analyze/1.1",
|
|
161
|
+
"title": "Persona Correlation Analyze — payload",
|
|
162
|
+
"description": "Report where the holder's identities link to one another, and what can be done about each link. The findings task behind the counts the write tasks return.",
|
|
163
|
+
"type": "object",
|
|
164
|
+
"additionalProperties": false,
|
|
165
|
+
"properties": {
|
|
166
|
+
"attributeId": {
|
|
167
|
+
"$ref": "#/$defs/Ulid",
|
|
168
|
+
"description": "Analyse one attribute. Omit to analyse the whole pool."
|
|
169
|
+
},
|
|
170
|
+
"profileId": {
|
|
171
|
+
"$ref": "#/$defs/Ulid",
|
|
172
|
+
"description": "Analyse one composition — what would this profile link if bound."
|
|
173
|
+
},
|
|
174
|
+
"candidate": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"additionalProperties": false,
|
|
177
|
+
"required": [
|
|
178
|
+
"type",
|
|
179
|
+
"valueType",
|
|
180
|
+
"value"
|
|
181
|
+
],
|
|
182
|
+
"description": "Analyse a value the holder is CONSIDERING but has not written. This is what lets a builder warn before the mistake rather than after it, which is the difference between a guard and a report. A maintainer MUST NOT store a candidate.",
|
|
183
|
+
"properties": {
|
|
184
|
+
"type": {
|
|
185
|
+
"$ref": "#/$defs/ClaimType"
|
|
186
|
+
},
|
|
187
|
+
"valueType": {
|
|
188
|
+
"$ref": "#/$defs/ValueType"
|
|
189
|
+
},
|
|
190
|
+
"value": {}
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"ext": {
|
|
194
|
+
"$ref": "#/$defs/Ext"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
"$defs": {
|
|
198
|
+
"Response": {
|
|
199
|
+
"$anchor": "response",
|
|
200
|
+
"title": "Persona Correlation Analyze — response payload",
|
|
201
|
+
"description": "Success response to persona/correlation/analyze. Type https://trusttasks.org/spec/persona/correlation/analyze/1.0#response.",
|
|
202
|
+
"type": "object",
|
|
203
|
+
"additionalProperties": false,
|
|
204
|
+
"required": [
|
|
205
|
+
"findings"
|
|
206
|
+
],
|
|
207
|
+
"properties": {
|
|
208
|
+
"findings": {
|
|
209
|
+
"type": "array",
|
|
210
|
+
"maxItems": 256,
|
|
211
|
+
"items": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"additionalProperties": false,
|
|
214
|
+
"required": [
|
|
215
|
+
"severity",
|
|
216
|
+
"why",
|
|
217
|
+
"remedies"
|
|
218
|
+
],
|
|
219
|
+
"properties": {
|
|
220
|
+
"attributeId": {
|
|
221
|
+
"$ref": "#/$defs/Ulid"
|
|
222
|
+
},
|
|
223
|
+
"severity": {
|
|
224
|
+
"type": "string",
|
|
225
|
+
"enum": [
|
|
226
|
+
"low",
|
|
227
|
+
"high"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"sharedWith": {
|
|
231
|
+
"type": "array",
|
|
232
|
+
"maxItems": 128,
|
|
233
|
+
"description": "Where else this value appears, and where it has actually gone. Identifiers ARE returned here, unlike the counts the write tasks give back — this task is holder-authorized and its whole purpose is to let the holder act, which they cannot do on a number.",
|
|
234
|
+
"items": {
|
|
235
|
+
"type": "object",
|
|
236
|
+
"additionalProperties": false,
|
|
237
|
+
"properties": {
|
|
238
|
+
"profileId": {
|
|
239
|
+
"$ref": "#/$defs/Ulid"
|
|
240
|
+
},
|
|
241
|
+
"contextId": {
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
"personaDid": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
"disclosedTo": {
|
|
248
|
+
"type": "array",
|
|
249
|
+
"maxItems": 64,
|
|
250
|
+
"items": {
|
|
251
|
+
"type": "string"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"worldId": {
|
|
255
|
+
"$ref": "#/$defs/Ulid",
|
|
256
|
+
"description": "The world the profile at this location belongs to. Absent where it belongs to none, which is a real and common state rather than a gap — most profiles are unarranged until someone arranges them, and a consumer MUST NOT read absence as a world of its own."
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
"why": {
|
|
262
|
+
"type": "string",
|
|
263
|
+
"maxLength": 1024,
|
|
264
|
+
"description": "Plain-language cause. A severity with no explanation is a warning a holder learns to dismiss."
|
|
265
|
+
},
|
|
266
|
+
"remedies": {
|
|
267
|
+
"type": "array",
|
|
268
|
+
"maxItems": 8,
|
|
269
|
+
"items": {
|
|
270
|
+
"type": "string",
|
|
271
|
+
"enum": [
|
|
272
|
+
"useDifferentValue",
|
|
273
|
+
"reissueCredentialToThisDid",
|
|
274
|
+
"correlateDeliberately",
|
|
275
|
+
"proceedAndRecord"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
"description": "What the holder can actually do. Naming reissueCredentialToThisDid matters more than it looks: without it, a holder told 'this links your personas' has no action but to abandon the attribute, and the honest fix — a credential re-issued against the persona actually using it — stays invisible unless the analysis names it."
|
|
279
|
+
},
|
|
280
|
+
"crossesWorlds": {
|
|
281
|
+
"type": "boolean",
|
|
282
|
+
"description": "Whether this linkage spans two or more of the holder's worlds — parts of their life they have said belong apart. **A second axis, not a restatement of `severity`.** `severity` says how strongly a disclosure would link the holder, which is a fact about provenance and proof rung and is true whatever the holder intended; this says whether the holder would mind. A value shared between two profiles in the SAME world is linkage the holder arranged on purpose — a work email in every work profile — and a consumer that alarmed on it teaches people to dismiss the alarm. A value shared ACROSS worlds is the finding worth raising. True only when two or more DISTINCT worlds appear among `sharedWith`: a profile belonging to no world is unarranged, not a second world, and contributes nothing here. Absent when the maintainer does not implement worlds."
|
|
283
|
+
},
|
|
284
|
+
"worldIds": {
|
|
285
|
+
"type": "array",
|
|
286
|
+
"maxItems": 64,
|
|
287
|
+
"uniqueItems": true,
|
|
288
|
+
"items": {
|
|
289
|
+
"$ref": "#/$defs/Ulid"
|
|
290
|
+
},
|
|
291
|
+
"description": "The distinct worlds this linkage touches, so a consumer can name them — \"Work and Home share your mobile number\" is a sentence a holder can act on, where \"a value is shared\" is not. Identifiers rather than names, on the same reasoning as every other member here: the caller already holds the world records and a name repeated on the wire is a second copy to keep correct."
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"ext": {
|
|
297
|
+
"$ref": "#/$defs/Ext"
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
"Ext": {
|
|
302
|
+
"title": "Ext",
|
|
303
|
+
"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.",
|
|
304
|
+
"type": "object",
|
|
305
|
+
"minProperties": 1,
|
|
306
|
+
"additionalProperties": true,
|
|
307
|
+
"propertyNames": {
|
|
308
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
309
|
+
}
|
|
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
|
+
"ValueType": {
|
|
318
|
+
"title": "ValueType",
|
|
319
|
+
"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.",
|
|
320
|
+
"type": "string",
|
|
321
|
+
"enum": [
|
|
322
|
+
"string",
|
|
323
|
+
"number",
|
|
324
|
+
"boolean",
|
|
325
|
+
"date",
|
|
326
|
+
"object"
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
"ClaimType": {
|
|
330
|
+
"title": "ClaimType",
|
|
331
|
+
"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.",
|
|
332
|
+
"type": "string",
|
|
333
|
+
"minLength": 1,
|
|
334
|
+
"maxLength": 128,
|
|
335
|
+
"pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
} as const;
|
|
339
|
+
|
|
340
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
341
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
342
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
343
|
+
"$ref": "#/$defs/Response",
|
|
344
|
+
"$defs": {
|
|
345
|
+
"Response": {
|
|
346
|
+
"$anchor": "response",
|
|
347
|
+
"title": "Persona Correlation Analyze — response payload",
|
|
348
|
+
"description": "Success response to persona/correlation/analyze. Type https://trusttasks.org/spec/persona/correlation/analyze/1.0#response.",
|
|
349
|
+
"type": "object",
|
|
350
|
+
"additionalProperties": false,
|
|
351
|
+
"required": [
|
|
352
|
+
"findings"
|
|
353
|
+
],
|
|
354
|
+
"properties": {
|
|
355
|
+
"findings": {
|
|
356
|
+
"type": "array",
|
|
357
|
+
"maxItems": 256,
|
|
358
|
+
"items": {
|
|
359
|
+
"type": "object",
|
|
360
|
+
"additionalProperties": false,
|
|
361
|
+
"required": [
|
|
362
|
+
"severity",
|
|
363
|
+
"why",
|
|
364
|
+
"remedies"
|
|
365
|
+
],
|
|
366
|
+
"properties": {
|
|
367
|
+
"attributeId": {
|
|
368
|
+
"$ref": "#/$defs/Ulid"
|
|
369
|
+
},
|
|
370
|
+
"severity": {
|
|
371
|
+
"type": "string",
|
|
372
|
+
"enum": [
|
|
373
|
+
"low",
|
|
374
|
+
"high"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
"sharedWith": {
|
|
378
|
+
"type": "array",
|
|
379
|
+
"maxItems": 128,
|
|
380
|
+
"description": "Where else this value appears, and where it has actually gone. Identifiers ARE returned here, unlike the counts the write tasks give back — this task is holder-authorized and its whole purpose is to let the holder act, which they cannot do on a number.",
|
|
381
|
+
"items": {
|
|
382
|
+
"type": "object",
|
|
383
|
+
"additionalProperties": false,
|
|
384
|
+
"properties": {
|
|
385
|
+
"profileId": {
|
|
386
|
+
"$ref": "#/$defs/Ulid"
|
|
387
|
+
},
|
|
388
|
+
"contextId": {
|
|
389
|
+
"type": "string"
|
|
390
|
+
},
|
|
391
|
+
"personaDid": {
|
|
392
|
+
"type": "string"
|
|
393
|
+
},
|
|
394
|
+
"disclosedTo": {
|
|
395
|
+
"type": "array",
|
|
396
|
+
"maxItems": 64,
|
|
397
|
+
"items": {
|
|
398
|
+
"type": "string"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
"worldId": {
|
|
402
|
+
"$ref": "#/$defs/Ulid",
|
|
403
|
+
"description": "The world the profile at this location belongs to. Absent where it belongs to none, which is a real and common state rather than a gap — most profiles are unarranged until someone arranges them, and a consumer MUST NOT read absence as a world of its own."
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
"why": {
|
|
409
|
+
"type": "string",
|
|
410
|
+
"maxLength": 1024,
|
|
411
|
+
"description": "Plain-language cause. A severity with no explanation is a warning a holder learns to dismiss."
|
|
412
|
+
},
|
|
413
|
+
"remedies": {
|
|
414
|
+
"type": "array",
|
|
415
|
+
"maxItems": 8,
|
|
416
|
+
"items": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"enum": [
|
|
419
|
+
"useDifferentValue",
|
|
420
|
+
"reissueCredentialToThisDid",
|
|
421
|
+
"correlateDeliberately",
|
|
422
|
+
"proceedAndRecord"
|
|
423
|
+
]
|
|
424
|
+
},
|
|
425
|
+
"description": "What the holder can actually do. Naming reissueCredentialToThisDid matters more than it looks: without it, a holder told 'this links your personas' has no action but to abandon the attribute, and the honest fix — a credential re-issued against the persona actually using it — stays invisible unless the analysis names it."
|
|
426
|
+
},
|
|
427
|
+
"crossesWorlds": {
|
|
428
|
+
"type": "boolean",
|
|
429
|
+
"description": "Whether this linkage spans two or more of the holder's worlds — parts of their life they have said belong apart. **A second axis, not a restatement of `severity`.** `severity` says how strongly a disclosure would link the holder, which is a fact about provenance and proof rung and is true whatever the holder intended; this says whether the holder would mind. A value shared between two profiles in the SAME world is linkage the holder arranged on purpose — a work email in every work profile — and a consumer that alarmed on it teaches people to dismiss the alarm. A value shared ACROSS worlds is the finding worth raising. True only when two or more DISTINCT worlds appear among `sharedWith`: a profile belonging to no world is unarranged, not a second world, and contributes nothing here. Absent when the maintainer does not implement worlds."
|
|
430
|
+
},
|
|
431
|
+
"worldIds": {
|
|
432
|
+
"type": "array",
|
|
433
|
+
"maxItems": 64,
|
|
434
|
+
"uniqueItems": true,
|
|
435
|
+
"items": {
|
|
436
|
+
"$ref": "#/$defs/Ulid"
|
|
437
|
+
},
|
|
438
|
+
"description": "The distinct worlds this linkage touches, so a consumer can name them — \"Work and Home share your mobile number\" is a sentence a holder can act on, where \"a value is shared\" is not. Identifiers rather than names, on the same reasoning as every other member here: the caller already holds the world records and a name repeated on the wire is a second copy to keep correct."
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
"ext": {
|
|
444
|
+
"$ref": "#/$defs/Ext"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
},
|
|
448
|
+
"Ext": {
|
|
449
|
+
"title": "Ext",
|
|
450
|
+
"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.",
|
|
451
|
+
"type": "object",
|
|
452
|
+
"minProperties": 1,
|
|
453
|
+
"additionalProperties": true,
|
|
454
|
+
"propertyNames": {
|
|
455
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
"Ulid": {
|
|
459
|
+
"title": "Ulid",
|
|
460
|
+
"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.",
|
|
461
|
+
"type": "string",
|
|
462
|
+
"pattern": "^[0-9A-HJKMNP-TV-Z]{26}$"
|
|
463
|
+
},
|
|
464
|
+
"ValueType": {
|
|
465
|
+
"title": "ValueType",
|
|
466
|
+
"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.",
|
|
467
|
+
"type": "string",
|
|
468
|
+
"enum": [
|
|
469
|
+
"string",
|
|
470
|
+
"number",
|
|
471
|
+
"boolean",
|
|
472
|
+
"date",
|
|
473
|
+
"object"
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
"ClaimType": {
|
|
477
|
+
"title": "ClaimType",
|
|
478
|
+
"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.",
|
|
479
|
+
"type": "string",
|
|
480
|
+
"minLength": 1,
|
|
481
|
+
"maxLength": 128,
|
|
482
|
+
"pattern": "^(x:)?[a-z][a-zA-Z0-9]*(\\.[a-z][a-zA-Z0-9]*)*$"
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
} as const;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
489
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
490
|
+
* per-specification and cannot be derived from the document alone, and
|
|
491
|
+
* item 2 needs the schema this carries.
|
|
492
|
+
*/
|
|
493
|
+
export const SPEC = {
|
|
494
|
+
typeUri: TYPE_URI,
|
|
495
|
+
isBearer: false,
|
|
496
|
+
isProofRequired: true,
|
|
497
|
+
isRecipientRequired: true,
|
|
498
|
+
isIssuedAtRequired: false,
|
|
499
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
500
|
+
} as const;
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
504
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
505
|
+
* parties (§7.3 item 5).
|
|
506
|
+
*/
|
|
507
|
+
export const RESPONSE_SPEC = {
|
|
508
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
509
|
+
isBearer: false,
|
|
510
|
+
isProofRequired: true,
|
|
511
|
+
isRecipientRequired: true,
|
|
512
|
+
isIssuedAtRequired: false,
|
|
513
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
514
|
+
} as const;
|
|
@@ -212,7 +212,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
212
212
|
},
|
|
213
213
|
"FacetColour": {
|
|
214
214
|
"title": "FacetColour",
|
|
215
|
-
"description": "A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
215
|
+
"description": "**Superseded by `WorldColour`** — the same set, under the name the rest of the family now uses. Retained because `persona/facet/*` is retired in favour of `persona/world/*`, and a retired specification's schema is frozen, so the definition it references has to stay. New work references `WorldColour`. A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
216
216
|
"type": "string",
|
|
217
217
|
"enum": [
|
|
218
218
|
"slate",
|
|
@@ -346,7 +346,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
346
346
|
},
|
|
347
347
|
"FacetColour": {
|
|
348
348
|
"title": "FacetColour",
|
|
349
|
-
"description": "A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
349
|
+
"description": "**Superseded by `WorldColour`** — the same set, under the name the rest of the family now uses. Retained because `persona/facet/*` is retired in favour of `persona/world/*`, and a retired specification's schema is frozen, so the definition it references has to stay. New work references `WorldColour`. A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
350
350
|
"type": "string",
|
|
351
351
|
"enum": [
|
|
352
352
|
"slate",
|
|
@@ -206,7 +206,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
206
206
|
},
|
|
207
207
|
"FacetColour": {
|
|
208
208
|
"title": "FacetColour",
|
|
209
|
-
"description": "A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
209
|
+
"description": "**Superseded by `WorldColour`** — the same set, under the name the rest of the family now uses. Retained because `persona/facet/*` is retired in favour of `persona/world/*`, and a retired specification's schema is frozen, so the definition it references has to stay. New work references `WorldColour`. A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
210
210
|
"type": "string",
|
|
211
211
|
"enum": [
|
|
212
212
|
"slate",
|
|
@@ -293,7 +293,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
293
293
|
},
|
|
294
294
|
"FacetColour": {
|
|
295
295
|
"title": "FacetColour",
|
|
296
|
-
"description": "A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
296
|
+
"description": "**Superseded by `WorldColour`** — the same set, under the name the rest of the family now uses. Retained because `persona/facet/*` is retired in favour of `persona/world/*`, and a retired specification's schema is frozen, so the definition it references has to stay. New work references `WorldColour`. A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.",
|
|
297
297
|
"type": "string",
|
|
298
298
|
"enum": [
|
|
299
299
|
"slate",
|
|
@@ -45,12 +45,12 @@ export interface PersonaLocalProfilePutResponsePayload {
|
|
|
45
45
|
version: Version;
|
|
46
46
|
created: boolean;
|
|
47
47
|
/**
|
|
48
|
-
* 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.
|
|
48
|
+
* A correlation assessment of what was just written, and it is **conditional**: a maintainer MUST include it only for a caller authorized to read across the holder's contexts, and MUST omit it entirely otherwise. 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. But the index is answerable only to the holder, and returning its answer to a context-scoped caller hands that caller a yes/no oracle on any value it cares to guess — one guess per write, against the whole pool. No value leaves either way; a confirmed guess at a low-entropy value (a name, an address, a date of birth) is disclosure all the same.
|
|
49
49
|
*/
|
|
50
50
|
correlation?: {
|
|
51
51
|
severity: "none" | "low" | "high";
|
|
52
52
|
/**
|
|
53
|
-
* True when a value here also appears in the holder's pool
|
|
53
|
+
* True when a value here also appears in the holder's pool — the signal that a throwaway is not throwaway. Present only under the condition on `correlation` itself: this member is the oracle, and a maintainer that omits `correlation` for a context-scoped caller has omitted this.
|
|
54
54
|
*/
|
|
55
55
|
matchesPoolValue?: boolean;
|
|
56
56
|
};
|
|
@@ -181,7 +181,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
181
181
|
"required": [
|
|
182
182
|
"severity"
|
|
183
183
|
],
|
|
184
|
-
"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.
|
|
184
|
+
"description": "A correlation assessment of what was just written, and it is **conditional**: a maintainer MUST include it only for a caller authorized to read across the holder's contexts, and MUST omit it entirely otherwise. 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. But the index is answerable only to the holder, and returning its answer to a context-scoped caller hands that caller a yes/no oracle on any value it cares to guess — one guess per write, against the whole pool. No value leaves either way; a confirmed guess at a low-entropy value (a name, an address, a date of birth) is disclosure all the same.",
|
|
185
185
|
"properties": {
|
|
186
186
|
"severity": {
|
|
187
187
|
"type": "string",
|
|
@@ -193,7 +193,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
193
193
|
},
|
|
194
194
|
"matchesPoolValue": {
|
|
195
195
|
"type": "boolean",
|
|
196
|
-
"description": "True when a value here also appears in the holder's pool
|
|
196
|
+
"description": "True when a value here also appears in the holder's pool — the signal that a throwaway is not throwaway. Present only under the condition on `correlation` itself: this member is the oracle, and a maintainer that omits `correlation` for a context-scoped caller has omitted this."
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
},
|
|
@@ -291,7 +291,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
291
291
|
"required": [
|
|
292
292
|
"severity"
|
|
293
293
|
],
|
|
294
|
-
"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.
|
|
294
|
+
"description": "A correlation assessment of what was just written, and it is **conditional**: a maintainer MUST include it only for a caller authorized to read across the holder's contexts, and MUST omit it entirely otherwise. 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. But the index is answerable only to the holder, and returning its answer to a context-scoped caller hands that caller a yes/no oracle on any value it cares to guess — one guess per write, against the whole pool. No value leaves either way; a confirmed guess at a low-entropy value (a name, an address, a date of birth) is disclosure all the same.",
|
|
295
295
|
"properties": {
|
|
296
296
|
"severity": {
|
|
297
297
|
"type": "string",
|
|
@@ -303,7 +303,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
303
303
|
},
|
|
304
304
|
"matchesPoolValue": {
|
|
305
305
|
"type": "boolean",
|
|
306
|
-
"description": "True when a value here also appears in the holder's pool
|
|
306
|
+
"description": "True when a value here also appears in the holder's pool — the signal that a throwaway is not throwaway. Present only under the condition on `correlation` itself: this member is the oracle, and a maintainer that omits `correlation` for a context-scoped caller has omitted this."
|
|
307
307
|
}
|
|
308
308
|
}
|
|
309
309
|
},
|