@openvtc/trust-tasks 0.19.18 → 0.19.19
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 +2 -0
- package/dist/_shared/components.d.ts +38 -0
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -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/list/1.0/payload.d.ts +124 -4
- package/dist/persona/attribute/list/1.0/payload.d.ts.map +1 -1
- package/dist/persona/attribute/list/1.0/payload.js +72 -2
- package/dist/persona/attribute/list/1.0/payload.js.map +1 -1
- package/dist/persona/attribute/put/1.0/payload.d.ts +110 -4
- package/dist/persona/attribute/put/1.0/payload.d.ts.map +1 -1
- package/dist/persona/attribute/put/1.0/payload.js +62 -2
- package/dist/persona/attribute/put/1.0/payload.js.map +1 -1
- package/dist/persona/contact/get/1.0/payload.d.ts +84 -4
- package/dist/persona/contact/get/1.0/payload.d.ts.map +1 -1
- package/dist/persona/contact/get/1.0/payload.js +52 -2
- package/dist/persona/contact/get/1.0/payload.js.map +1 -1
- package/dist/persona/contact/put/1.0/payload.d.ts +84 -4
- package/dist/persona/contact/put/1.0/payload.d.ts.map +1 -1
- package/dist/persona/contact/put/1.0/payload.js +52 -2
- package/dist/persona/contact/put/1.0/payload.js.map +1 -1
- package/dist/persona/disclosure/preview/1.0/payload.d.ts +5 -5
- package/dist/persona/disclosure/preview/1.0/payload.d.ts.map +1 -1
- package/dist/persona/disclosure/preview/1.0/payload.js +4 -2
- package/dist/persona/disclosure/preview/1.0/payload.js.map +1 -1
- package/dist/persona/profile/compose/1.0/payload.d.ts +14 -0
- package/dist/persona/profile/compose/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/compose/1.0/payload.js +5 -0
- package/dist/persona/profile/compose/1.0/payload.js.map +1 -1
- package/dist/persona/profile/get/1.0/payload.d.ts +230 -6
- package/dist/persona/profile/get/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/get/1.0/payload.js +140 -2
- package/dist/persona/profile/get/1.0/payload.js.map +1 -1
- package/dist/persona/profile/list/1.0/payload.d.ts +230 -6
- package/dist/persona/profile/list/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/list/1.0/payload.js +140 -2
- package/dist/persona/profile/list/1.0/payload.js.map +1 -1
- package/dist/persona/profile/put/1.0/payload.d.ts +230 -6
- package/dist/persona/profile/put/1.0/payload.d.ts.map +1 -1
- package/dist/persona/profile/put/1.0/payload.js +138 -2
- package/dist/persona/profile/put/1.0/payload.js.map +1 -1
- package/dist/persona/profile/timeline/1.0/payload.d.ts +588 -0
- package/dist/persona/profile/timeline/1.0/payload.d.ts.map +1 -0
- package/dist/persona/profile/timeline/1.0/payload.js +322 -0
- package/dist/persona/profile/timeline/1.0/payload.js.map +1 -0
- package/dist/persona/profile/usage/1.0/payload.d.ts +533 -0
- package/dist/persona/profile/usage/1.0/payload.d.ts.map +1 -0
- package/dist/persona/profile/usage/1.0/payload.js +302 -0
- package/dist/persona/profile/usage/1.0/payload.js.map +1 -0
- package/dist/vtc/invitations/deliver/0.1/payload.d.ts +318 -0
- package/dist/vtc/invitations/deliver/0.1/payload.d.ts.map +1 -0
- package/dist/vtc/invitations/deliver/0.1/payload.js +183 -0
- package/dist/vtc/invitations/deliver/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +41 -0
- package/src/index.ts +3 -0
- package/src/persona/_shared/0.1/persona-record.ts +1 -1
- package/src/persona/attribute/list/1.0/payload.ts +72 -2
- package/src/persona/attribute/put/1.0/payload.ts +68 -2
- package/src/persona/contact/get/1.0/payload.ts +52 -2
- package/src/persona/contact/put/1.0/payload.ts +52 -2
- package/src/persona/disclosure/preview/1.0/payload.ts +5 -3
- package/src/persona/profile/compose/1.0/payload.ts +9 -0
- package/src/persona/profile/get/1.0/payload.ts +142 -4
- package/src/persona/profile/list/1.0/payload.ts +142 -4
- package/src/persona/profile/put/1.0/payload.ts +144 -4
- package/src/persona/profile/timeline/1.0/payload.ts +402 -0
- package/src/persona/profile/usage/1.0/payload.ts +354 -0
- package/src/vtc/invitations/deliver/0.1/payload.ts +234 -0
|
@@ -236,7 +236,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
236
236
|
},
|
|
237
237
|
"Provenance": {
|
|
238
238
|
"title": "Provenance",
|
|
239
|
-
"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.",
|
|
239
|
+
"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.\n\n`derived` — the value was taken from a source the holder connected or supplied — a code-hosting profile, an uploaded CV — rather than typed by them or attested by an issuer. Nobody signed it: it is the holder's claim that the source said so, and a consumer MUST NOT present it as attested. It exists as its own kind because a derived value is neither of the others — the holder did not author it, and no one vouches for it — and a holder deciding whether to disclose deserves to know which of their values they typed.\n\nFor how strongly a disclosed value identifies the holder, the kinds rank `credentialBacked` above `derived` above `selfAsserted`; `generated` values are per-verifier and do not correlate.",
|
|
240
240
|
"type": "object",
|
|
241
241
|
"required": [
|
|
242
242
|
"kind"
|
|
@@ -307,6 +307,31 @@ export const PAYLOAD_SCHEMA = {
|
|
|
307
307
|
"description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"additionalProperties": false,
|
|
313
|
+
"required": [
|
|
314
|
+
"kind",
|
|
315
|
+
"source",
|
|
316
|
+
"derivedAt"
|
|
317
|
+
],
|
|
318
|
+
"properties": {
|
|
319
|
+
"kind": {
|
|
320
|
+
"const": "derived"
|
|
321
|
+
},
|
|
322
|
+
"source": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"minLength": 1,
|
|
325
|
+
"maxLength": 64,
|
|
326
|
+
"pattern": "^[a-z][A-Za-z0-9.-]*$",
|
|
327
|
+
"description": "The KIND of source the value was taken from — `github`, `cvUpload`, `linkedIn` — never an account, handle or URL. Provenance survives to the verifier, so this member is disclosed with the claim; a handle here would disclose an identifier the holder never chose to share."
|
|
328
|
+
},
|
|
329
|
+
"derivedAt": {
|
|
330
|
+
"type": "string",
|
|
331
|
+
"format": "date-time",
|
|
332
|
+
"description": "When the value was taken from the source. A derived value is a snapshot: the source may have changed since, and nothing re-derives it."
|
|
333
|
+
}
|
|
334
|
+
}
|
|
310
335
|
}
|
|
311
336
|
]
|
|
312
337
|
},
|
|
@@ -450,7 +475,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
450
475
|
},
|
|
451
476
|
"Provenance": {
|
|
452
477
|
"title": "Provenance",
|
|
453
|
-
"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.",
|
|
478
|
+
"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.\n\n`derived` — the value was taken from a source the holder connected or supplied — a code-hosting profile, an uploaded CV — rather than typed by them or attested by an issuer. Nobody signed it: it is the holder's claim that the source said so, and a consumer MUST NOT present it as attested. It exists as its own kind because a derived value is neither of the others — the holder did not author it, and no one vouches for it — and a holder deciding whether to disclose deserves to know which of their values they typed.\n\nFor how strongly a disclosed value identifies the holder, the kinds rank `credentialBacked` above `derived` above `selfAsserted`; `generated` values are per-verifier and do not correlate.",
|
|
454
479
|
"type": "object",
|
|
455
480
|
"required": [
|
|
456
481
|
"kind"
|
|
@@ -521,6 +546,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
521
546
|
"description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
|
|
522
547
|
}
|
|
523
548
|
}
|
|
549
|
+
},
|
|
550
|
+
{
|
|
551
|
+
"additionalProperties": false,
|
|
552
|
+
"required": [
|
|
553
|
+
"kind",
|
|
554
|
+
"source",
|
|
555
|
+
"derivedAt"
|
|
556
|
+
],
|
|
557
|
+
"properties": {
|
|
558
|
+
"kind": {
|
|
559
|
+
"const": "derived"
|
|
560
|
+
},
|
|
561
|
+
"source": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"minLength": 1,
|
|
564
|
+
"maxLength": 64,
|
|
565
|
+
"pattern": "^[a-z][A-Za-z0-9.-]*$",
|
|
566
|
+
"description": "The KIND of source the value was taken from — `github`, `cvUpload`, `linkedIn` — never an account, handle or URL. Provenance survives to the verifier, so this member is disclosed with the claim; a handle here would disclose an identifier the holder never chose to share."
|
|
567
|
+
},
|
|
568
|
+
"derivedAt": {
|
|
569
|
+
"type": "string",
|
|
570
|
+
"format": "date-time",
|
|
571
|
+
"description": "When the value was taken from the source. A derived value is a snapshot: the source may have changed since, and nothing re-derives it."
|
|
572
|
+
}
|
|
573
|
+
}
|
|
524
574
|
}
|
|
525
575
|
]
|
|
526
576
|
},
|
|
@@ -66,7 +66,7 @@ export interface PersonaDisclosurePreviewResponsePayload {
|
|
|
66
66
|
arg: unknown;
|
|
67
67
|
over?: ClaimType;
|
|
68
68
|
};
|
|
69
|
-
provenance: "selfAsserted" | "credentialBacked" | "generated";
|
|
69
|
+
provenance: "selfAsserted" | "credentialBacked" | "generated" | "derived";
|
|
70
70
|
rung: ProofRung;
|
|
71
71
|
/**
|
|
72
72
|
* True when this verifier has not previously received this claim type from this persona. What makes a preview rankable rather than a flat list — a holder needs the unusual ask to stand out from the routine one.
|
|
@@ -254,7 +254,8 @@ export const PAYLOAD_SCHEMA = {
|
|
|
254
254
|
"enum": [
|
|
255
255
|
"selfAsserted",
|
|
256
256
|
"credentialBacked",
|
|
257
|
-
"generated"
|
|
257
|
+
"generated",
|
|
258
|
+
"derived"
|
|
258
259
|
]
|
|
259
260
|
},
|
|
260
261
|
"rung": {
|
|
@@ -449,7 +450,8 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
449
450
|
"enum": [
|
|
450
451
|
"selfAsserted",
|
|
451
452
|
"credentialBacked",
|
|
452
|
-
"generated"
|
|
453
|
+
"generated",
|
|
454
|
+
"derived"
|
|
453
455
|
]
|
|
454
456
|
},
|
|
455
457
|
"rung": {
|
|
@@ -38,6 +38,10 @@ export interface PersonaProfileComposePayload {
|
|
|
38
38
|
* What the context may call the face, as on persona/binding/set. Meaningful only with `personaDid`; a maintainer MUST refuse it without one rather than drop it.
|
|
39
39
|
*/
|
|
40
40
|
label?: string;
|
|
41
|
+
/**
|
|
42
|
+
* When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only with `personaDid`, and refused without one or in the past (`untilNotFuture`).
|
|
43
|
+
*/
|
|
44
|
+
until?: string;
|
|
41
45
|
ext?: Ext;
|
|
42
46
|
}
|
|
43
47
|
/**
|
|
@@ -173,6 +177,11 @@ export const PAYLOAD_SCHEMA = {
|
|
|
173
177
|
"maxLength": 128,
|
|
174
178
|
"description": "What the context may call the face, as on persona/binding/set. Meaningful only with `personaDid`; a maintainer MUST refuse it without one rather than drop it."
|
|
175
179
|
},
|
|
180
|
+
"until": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"format": "date-time",
|
|
183
|
+
"description": "When wearing the face here ends on its own, as persona/binding/set `until`: at it the binding clears and the face, if worn nowhere else, is retired — never deleted. For the face composed at the door of a conference or a listing, which is where a throwaway face is usually made. Meaningful only with `personaDid`, and refused without one or in the past (`untilNotFuture`)."
|
|
184
|
+
},
|
|
176
185
|
"ext": {
|
|
177
186
|
"$ref": "#/$defs/Ext"
|
|
178
187
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/persona/profile/get/1.0/payload.schema.json
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../_shared/components.js";
|
|
6
|
+
import type { ClaimType, Ext, FaceReach, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../_shared/components.js";
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -41,7 +41,7 @@ export interface PersonaProfileGetResponsePayload {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
44
|
-
export type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Slot, Ulid, ValueType, Version };
|
|
44
|
+
export type { ClaimType, Ext, FaceReach, Profile, ProfileEntry, ProofRung, Provenance, ResolvedClaim, Slot, Ulid, ValueType, Version };
|
|
45
45
|
|
|
46
46
|
/** Trust Task type URI. */
|
|
47
47
|
export const TYPE_URI = "https://trusttasks.org/spec/persona/profile/get/1.0" as const;
|
|
@@ -213,7 +213,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
213
213
|
},
|
|
214
214
|
"Provenance": {
|
|
215
215
|
"title": "Provenance",
|
|
216
|
-
"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.",
|
|
216
|
+
"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.\n\n`derived` — the value was taken from a source the holder connected or supplied — a code-hosting profile, an uploaded CV — rather than typed by them or attested by an issuer. Nobody signed it: it is the holder's claim that the source said so, and a consumer MUST NOT present it as attested. It exists as its own kind because a derived value is neither of the others — the holder did not author it, and no one vouches for it — and a holder deciding whether to disclose deserves to know which of their values they typed.\n\nFor how strongly a disclosed value identifies the holder, the kinds rank `credentialBacked` above `derived` above `selfAsserted`; `generated` values are per-verifier and do not correlate.",
|
|
217
217
|
"type": "object",
|
|
218
218
|
"required": [
|
|
219
219
|
"kind"
|
|
@@ -284,6 +284,31 @@ export const PAYLOAD_SCHEMA = {
|
|
|
284
284
|
"description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
|
|
285
285
|
}
|
|
286
286
|
}
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"additionalProperties": false,
|
|
290
|
+
"required": [
|
|
291
|
+
"kind",
|
|
292
|
+
"source",
|
|
293
|
+
"derivedAt"
|
|
294
|
+
],
|
|
295
|
+
"properties": {
|
|
296
|
+
"kind": {
|
|
297
|
+
"const": "derived"
|
|
298
|
+
},
|
|
299
|
+
"source": {
|
|
300
|
+
"type": "string",
|
|
301
|
+
"minLength": 1,
|
|
302
|
+
"maxLength": 64,
|
|
303
|
+
"pattern": "^[a-z][A-Za-z0-9.-]*$",
|
|
304
|
+
"description": "The KIND of source the value was taken from — `github`, `cvUpload`, `linkedIn` — never an account, handle or URL. Provenance survives to the verifier, so this member is disclosed with the claim; a handle here would disclose an identifier the holder never chose to share."
|
|
305
|
+
},
|
|
306
|
+
"derivedAt": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"format": "date-time",
|
|
309
|
+
"description": "When the value was taken from the source. A derived value is a snapshot: the source may have changed since, and nothing re-derives it."
|
|
310
|
+
}
|
|
311
|
+
}
|
|
287
312
|
}
|
|
288
313
|
]
|
|
289
314
|
},
|
|
@@ -359,6 +384,9 @@ export const PAYLOAD_SCHEMA = {
|
|
|
359
384
|
"$ref": "#/$defs/ProfileEntry"
|
|
360
385
|
}
|
|
361
386
|
},
|
|
387
|
+
"reach": {
|
|
388
|
+
"$ref": "#/$defs/FaceReach"
|
|
389
|
+
},
|
|
362
390
|
"status": {
|
|
363
391
|
"type": "string",
|
|
364
392
|
"enum": [
|
|
@@ -395,6 +423,47 @@ export const PAYLOAD_SCHEMA = {
|
|
|
395
423
|
}
|
|
396
424
|
}
|
|
397
425
|
},
|
|
426
|
+
"FaceReach": {
|
|
427
|
+
"title": "FaceReach",
|
|
428
|
+
"description": "Where a pool face may be worn. `anywhere` is the default and what an absent member means. `only` names the contexts it may be worn in, and a maintainer MUST refuse to wear it in any other (persona/binding/set `outsideReach`).\n\nA tagged object rather than a bare list of contexts, deliberately: an empty list has been read as both 'unrestricted' and 'nowhere' in this family's neighbours, and a shape where the two cannot be confused is worth more than one where they must be remembered. So `only` requires at least one context, and 'nowhere' is not a reach — it is a retired face.\n\nA context-local face has no reach: it lives in its context and is worn there by construction.",
|
|
429
|
+
"oneOf": [
|
|
430
|
+
{
|
|
431
|
+
"type": "object",
|
|
432
|
+
"additionalProperties": false,
|
|
433
|
+
"required": [
|
|
434
|
+
"kind"
|
|
435
|
+
],
|
|
436
|
+
"properties": {
|
|
437
|
+
"kind": {
|
|
438
|
+
"const": "anywhere"
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"type": "object",
|
|
444
|
+
"additionalProperties": false,
|
|
445
|
+
"required": [
|
|
446
|
+
"kind",
|
|
447
|
+
"contextIds"
|
|
448
|
+
],
|
|
449
|
+
"properties": {
|
|
450
|
+
"kind": {
|
|
451
|
+
"const": "only"
|
|
452
|
+
},
|
|
453
|
+
"contextIds": {
|
|
454
|
+
"type": "array",
|
|
455
|
+
"minItems": 1,
|
|
456
|
+
"maxItems": 256,
|
|
457
|
+
"uniqueItems": true,
|
|
458
|
+
"items": {
|
|
459
|
+
"type": "string",
|
|
460
|
+
"minLength": 1
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
]
|
|
466
|
+
},
|
|
398
467
|
"ProfileEntry": {
|
|
399
468
|
"title": "ProfileEntry",
|
|
400
469
|
"description": "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.",
|
|
@@ -634,7 +703,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
634
703
|
},
|
|
635
704
|
"Provenance": {
|
|
636
705
|
"title": "Provenance",
|
|
637
|
-
"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.",
|
|
706
|
+
"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.\n\n`derived` — the value was taken from a source the holder connected or supplied — a code-hosting profile, an uploaded CV — rather than typed by them or attested by an issuer. Nobody signed it: it is the holder's claim that the source said so, and a consumer MUST NOT present it as attested. It exists as its own kind because a derived value is neither of the others — the holder did not author it, and no one vouches for it — and a holder deciding whether to disclose deserves to know which of their values they typed.\n\nFor how strongly a disclosed value identifies the holder, the kinds rank `credentialBacked` above `derived` above `selfAsserted`; `generated` values are per-verifier and do not correlate.",
|
|
638
707
|
"type": "object",
|
|
639
708
|
"required": [
|
|
640
709
|
"kind"
|
|
@@ -705,6 +774,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
705
774
|
"description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
|
|
706
775
|
}
|
|
707
776
|
}
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
"additionalProperties": false,
|
|
780
|
+
"required": [
|
|
781
|
+
"kind",
|
|
782
|
+
"source",
|
|
783
|
+
"derivedAt"
|
|
784
|
+
],
|
|
785
|
+
"properties": {
|
|
786
|
+
"kind": {
|
|
787
|
+
"const": "derived"
|
|
788
|
+
},
|
|
789
|
+
"source": {
|
|
790
|
+
"type": "string",
|
|
791
|
+
"minLength": 1,
|
|
792
|
+
"maxLength": 64,
|
|
793
|
+
"pattern": "^[a-z][A-Za-z0-9.-]*$",
|
|
794
|
+
"description": "The KIND of source the value was taken from — `github`, `cvUpload`, `linkedIn` — never an account, handle or URL. Provenance survives to the verifier, so this member is disclosed with the claim; a handle here would disclose an identifier the holder never chose to share."
|
|
795
|
+
},
|
|
796
|
+
"derivedAt": {
|
|
797
|
+
"type": "string",
|
|
798
|
+
"format": "date-time",
|
|
799
|
+
"description": "When the value was taken from the source. A derived value is a snapshot: the source may have changed since, and nothing re-derives it."
|
|
800
|
+
}
|
|
801
|
+
}
|
|
708
802
|
}
|
|
709
803
|
]
|
|
710
804
|
},
|
|
@@ -780,6 +874,9 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
780
874
|
"$ref": "#/$defs/ProfileEntry"
|
|
781
875
|
}
|
|
782
876
|
},
|
|
877
|
+
"reach": {
|
|
878
|
+
"$ref": "#/$defs/FaceReach"
|
|
879
|
+
},
|
|
783
880
|
"status": {
|
|
784
881
|
"type": "string",
|
|
785
882
|
"enum": [
|
|
@@ -816,6 +913,47 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
816
913
|
}
|
|
817
914
|
}
|
|
818
915
|
},
|
|
916
|
+
"FaceReach": {
|
|
917
|
+
"title": "FaceReach",
|
|
918
|
+
"description": "Where a pool face may be worn. `anywhere` is the default and what an absent member means. `only` names the contexts it may be worn in, and a maintainer MUST refuse to wear it in any other (persona/binding/set `outsideReach`).\n\nA tagged object rather than a bare list of contexts, deliberately: an empty list has been read as both 'unrestricted' and 'nowhere' in this family's neighbours, and a shape where the two cannot be confused is worth more than one where they must be remembered. So `only` requires at least one context, and 'nowhere' is not a reach — it is a retired face.\n\nA context-local face has no reach: it lives in its context and is worn there by construction.",
|
|
919
|
+
"oneOf": [
|
|
920
|
+
{
|
|
921
|
+
"type": "object",
|
|
922
|
+
"additionalProperties": false,
|
|
923
|
+
"required": [
|
|
924
|
+
"kind"
|
|
925
|
+
],
|
|
926
|
+
"properties": {
|
|
927
|
+
"kind": {
|
|
928
|
+
"const": "anywhere"
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"type": "object",
|
|
934
|
+
"additionalProperties": false,
|
|
935
|
+
"required": [
|
|
936
|
+
"kind",
|
|
937
|
+
"contextIds"
|
|
938
|
+
],
|
|
939
|
+
"properties": {
|
|
940
|
+
"kind": {
|
|
941
|
+
"const": "only"
|
|
942
|
+
},
|
|
943
|
+
"contextIds": {
|
|
944
|
+
"type": "array",
|
|
945
|
+
"minItems": 1,
|
|
946
|
+
"maxItems": 256,
|
|
947
|
+
"uniqueItems": true,
|
|
948
|
+
"items": {
|
|
949
|
+
"type": "string",
|
|
950
|
+
"minLength": 1
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
]
|
|
956
|
+
},
|
|
819
957
|
"ProfileEntry": {
|
|
820
958
|
"title": "ProfileEntry",
|
|
821
959
|
"description": "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Source: specs/persona/profile/list/1.0/payload.schema.json
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../_shared/components.js";
|
|
6
|
+
import type { ClaimType, Ext, FaceReach, Profile, ProfileEntry, ProofRung, Provenance, Slot, Ulid, ValueType, Version_PersonaV0_1 as Version } from "../../../../_shared/components.js";
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -37,7 +37,7 @@ export interface PersonaProfileListResponsePayload {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
40
|
-
export type { ClaimType, Ext, Profile, ProfileEntry, ProofRung, Provenance, Slot, Ulid, ValueType, Version };
|
|
40
|
+
export type { ClaimType, Ext, FaceReach, Profile, ProfileEntry, ProofRung, Provenance, Slot, Ulid, ValueType, Version };
|
|
41
41
|
|
|
42
42
|
/** Trust Task type URI. */
|
|
43
43
|
export const TYPE_URI = "https://trusttasks.org/spec/persona/profile/list/1.0" as const;
|
|
@@ -155,6 +155,9 @@ export const PAYLOAD_SCHEMA = {
|
|
|
155
155
|
"$ref": "#/$defs/ProfileEntry"
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
|
+
"reach": {
|
|
159
|
+
"$ref": "#/$defs/FaceReach"
|
|
160
|
+
},
|
|
158
161
|
"status": {
|
|
159
162
|
"type": "string",
|
|
160
163
|
"enum": [
|
|
@@ -197,6 +200,47 @@ export const PAYLOAD_SCHEMA = {
|
|
|
197
200
|
"type": "integer",
|
|
198
201
|
"minimum": 1
|
|
199
202
|
},
|
|
203
|
+
"FaceReach": {
|
|
204
|
+
"title": "FaceReach",
|
|
205
|
+
"description": "Where a pool face may be worn. `anywhere` is the default and what an absent member means. `only` names the contexts it may be worn in, and a maintainer MUST refuse to wear it in any other (persona/binding/set `outsideReach`).\n\nA tagged object rather than a bare list of contexts, deliberately: an empty list has been read as both 'unrestricted' and 'nowhere' in this family's neighbours, and a shape where the two cannot be confused is worth more than one where they must be remembered. So `only` requires at least one context, and 'nowhere' is not a reach — it is a retired face.\n\nA context-local face has no reach: it lives in its context and is worn there by construction.",
|
|
206
|
+
"oneOf": [
|
|
207
|
+
{
|
|
208
|
+
"type": "object",
|
|
209
|
+
"additionalProperties": false,
|
|
210
|
+
"required": [
|
|
211
|
+
"kind"
|
|
212
|
+
],
|
|
213
|
+
"properties": {
|
|
214
|
+
"kind": {
|
|
215
|
+
"const": "anywhere"
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"type": "object",
|
|
221
|
+
"additionalProperties": false,
|
|
222
|
+
"required": [
|
|
223
|
+
"kind",
|
|
224
|
+
"contextIds"
|
|
225
|
+
],
|
|
226
|
+
"properties": {
|
|
227
|
+
"kind": {
|
|
228
|
+
"const": "only"
|
|
229
|
+
},
|
|
230
|
+
"contextIds": {
|
|
231
|
+
"type": "array",
|
|
232
|
+
"minItems": 1,
|
|
233
|
+
"maxItems": 256,
|
|
234
|
+
"uniqueItems": true,
|
|
235
|
+
"items": {
|
|
236
|
+
"type": "string",
|
|
237
|
+
"minLength": 1
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
},
|
|
200
244
|
"ProfileEntry": {
|
|
201
245
|
"title": "ProfileEntry",
|
|
202
246
|
"description": "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.",
|
|
@@ -311,7 +355,7 @@ export const PAYLOAD_SCHEMA = {
|
|
|
311
355
|
},
|
|
312
356
|
"Provenance": {
|
|
313
357
|
"title": "Provenance",
|
|
314
|
-
"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.",
|
|
358
|
+
"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.\n\n`derived` — the value was taken from a source the holder connected or supplied — a code-hosting profile, an uploaded CV — rather than typed by them or attested by an issuer. Nobody signed it: it is the holder's claim that the source said so, and a consumer MUST NOT present it as attested. It exists as its own kind because a derived value is neither of the others — the holder did not author it, and no one vouches for it — and a holder deciding whether to disclose deserves to know which of their values they typed.\n\nFor how strongly a disclosed value identifies the holder, the kinds rank `credentialBacked` above `derived` above `selfAsserted`; `generated` values are per-verifier and do not correlate.",
|
|
315
359
|
"type": "object",
|
|
316
360
|
"required": [
|
|
317
361
|
"kind"
|
|
@@ -382,6 +426,31 @@ export const PAYLOAD_SCHEMA = {
|
|
|
382
426
|
"description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
|
|
383
427
|
}
|
|
384
428
|
}
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"additionalProperties": false,
|
|
432
|
+
"required": [
|
|
433
|
+
"kind",
|
|
434
|
+
"source",
|
|
435
|
+
"derivedAt"
|
|
436
|
+
],
|
|
437
|
+
"properties": {
|
|
438
|
+
"kind": {
|
|
439
|
+
"const": "derived"
|
|
440
|
+
},
|
|
441
|
+
"source": {
|
|
442
|
+
"type": "string",
|
|
443
|
+
"minLength": 1,
|
|
444
|
+
"maxLength": 64,
|
|
445
|
+
"pattern": "^[a-z][A-Za-z0-9.-]*$",
|
|
446
|
+
"description": "The KIND of source the value was taken from — `github`, `cvUpload`, `linkedIn` — never an account, handle or URL. Provenance survives to the verifier, so this member is disclosed with the claim; a handle here would disclose an identifier the holder never chose to share."
|
|
447
|
+
},
|
|
448
|
+
"derivedAt": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"format": "date-time",
|
|
451
|
+
"description": "When the value was taken from the source. A derived value is a snapshot: the source may have changed since, and nothing re-derives it."
|
|
452
|
+
}
|
|
453
|
+
}
|
|
385
454
|
}
|
|
386
455
|
]
|
|
387
456
|
},
|
|
@@ -496,6 +565,9 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
496
565
|
"$ref": "#/$defs/ProfileEntry"
|
|
497
566
|
}
|
|
498
567
|
},
|
|
568
|
+
"reach": {
|
|
569
|
+
"$ref": "#/$defs/FaceReach"
|
|
570
|
+
},
|
|
499
571
|
"status": {
|
|
500
572
|
"type": "string",
|
|
501
573
|
"enum": [
|
|
@@ -538,6 +610,47 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
538
610
|
"type": "integer",
|
|
539
611
|
"minimum": 1
|
|
540
612
|
},
|
|
613
|
+
"FaceReach": {
|
|
614
|
+
"title": "FaceReach",
|
|
615
|
+
"description": "Where a pool face may be worn. `anywhere` is the default and what an absent member means. `only` names the contexts it may be worn in, and a maintainer MUST refuse to wear it in any other (persona/binding/set `outsideReach`).\n\nA tagged object rather than a bare list of contexts, deliberately: an empty list has been read as both 'unrestricted' and 'nowhere' in this family's neighbours, and a shape where the two cannot be confused is worth more than one where they must be remembered. So `only` requires at least one context, and 'nowhere' is not a reach — it is a retired face.\n\nA context-local face has no reach: it lives in its context and is worn there by construction.",
|
|
616
|
+
"oneOf": [
|
|
617
|
+
{
|
|
618
|
+
"type": "object",
|
|
619
|
+
"additionalProperties": false,
|
|
620
|
+
"required": [
|
|
621
|
+
"kind"
|
|
622
|
+
],
|
|
623
|
+
"properties": {
|
|
624
|
+
"kind": {
|
|
625
|
+
"const": "anywhere"
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
"type": "object",
|
|
631
|
+
"additionalProperties": false,
|
|
632
|
+
"required": [
|
|
633
|
+
"kind",
|
|
634
|
+
"contextIds"
|
|
635
|
+
],
|
|
636
|
+
"properties": {
|
|
637
|
+
"kind": {
|
|
638
|
+
"const": "only"
|
|
639
|
+
},
|
|
640
|
+
"contextIds": {
|
|
641
|
+
"type": "array",
|
|
642
|
+
"minItems": 1,
|
|
643
|
+
"maxItems": 256,
|
|
644
|
+
"uniqueItems": true,
|
|
645
|
+
"items": {
|
|
646
|
+
"type": "string",
|
|
647
|
+
"minLength": 1
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
]
|
|
653
|
+
},
|
|
541
654
|
"ProfileEntry": {
|
|
542
655
|
"title": "ProfileEntry",
|
|
543
656
|
"description": "One line of a profile, in exactly one of four forms. Together they are the whole of a profile's flexibility, and each exists for a case the others handle badly.\n\n`{ref}` — use the pool attribute, live. Editing the pool updates every profile that references it, which is the point.\n\n`{ref, pinVersion}` — use the value as it was at that version. For a profile that must keep presenting the value a counterparty already verified.\n\n`{ref, override}` — the same fact, a different value here. (\"In the gaming profile my display name is different.\")\n\n`{inline}` — a value that never enters the pool, and so never leaks into another profile.\n\nOmission is exclusion; there is no removal marker.\n\nAny form MAY carry a `slot` naming the role the entry plays in the profile — see `Slot`. A maintainer MUST refuse a profile in which two entries carry the same slot: a slot exists to answer one question with one entry.",
|
|
@@ -652,7 +765,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
652
765
|
},
|
|
653
766
|
"Provenance": {
|
|
654
767
|
"title": "Provenance",
|
|
655
|
-
"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.",
|
|
768
|
+
"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.\n\n`derived` — the value was taken from a source the holder connected or supplied — a code-hosting profile, an uploaded CV — rather than typed by them or attested by an issuer. Nobody signed it: it is the holder's claim that the source said so, and a consumer MUST NOT present it as attested. It exists as its own kind because a derived value is neither of the others — the holder did not author it, and no one vouches for it — and a holder deciding whether to disclose deserves to know which of their values they typed.\n\nFor how strongly a disclosed value identifies the holder, the kinds rank `credentialBacked` above `derived` above `selfAsserted`; `generated` values are per-verifier and do not correlate.",
|
|
656
769
|
"type": "object",
|
|
657
770
|
"required": [
|
|
658
771
|
"kind"
|
|
@@ -723,6 +836,31 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
723
836
|
"description": "When true (the default and the only useful setting), a distinct value is minted for each verifier."
|
|
724
837
|
}
|
|
725
838
|
}
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"additionalProperties": false,
|
|
842
|
+
"required": [
|
|
843
|
+
"kind",
|
|
844
|
+
"source",
|
|
845
|
+
"derivedAt"
|
|
846
|
+
],
|
|
847
|
+
"properties": {
|
|
848
|
+
"kind": {
|
|
849
|
+
"const": "derived"
|
|
850
|
+
},
|
|
851
|
+
"source": {
|
|
852
|
+
"type": "string",
|
|
853
|
+
"minLength": 1,
|
|
854
|
+
"maxLength": 64,
|
|
855
|
+
"pattern": "^[a-z][A-Za-z0-9.-]*$",
|
|
856
|
+
"description": "The KIND of source the value was taken from — `github`, `cvUpload`, `linkedIn` — never an account, handle or URL. Provenance survives to the verifier, so this member is disclosed with the claim; a handle here would disclose an identifier the holder never chose to share."
|
|
857
|
+
},
|
|
858
|
+
"derivedAt": {
|
|
859
|
+
"type": "string",
|
|
860
|
+
"format": "date-time",
|
|
861
|
+
"description": "When the value was taken from the source. A derived value is a snapshot: the source may have changed since, and nothing re-derives it."
|
|
862
|
+
}
|
|
863
|
+
}
|
|
726
864
|
}
|
|
727
865
|
]
|
|
728
866
|
},
|