-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathidentity-manager-components.yml
More file actions
708 lines (688 loc) · 21.7 KB
/
Copy pathidentity-manager-components.yml
File metadata and controls
708 lines (688 loc) · 21.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
openapi: 3.0.4
info:
title: Identity Manager API Components
version: 0.1.0
description: Request and response schemas for the VDX Identity Manager API.
paths: {}
components:
schemas:
IdentityRole:
type: string
description: |
Role the identity plays in credential workflows. Common values are
`holder`, `issuer`, and `verifier`. The value is extensible so tenants
can introduce domain-specific roles.
example: holder
IdentityPrivacyMode:
type: string
description: |
Privacy mode for the identity profile. This controls whether profile
details may be represented in Party data or whether contact and matching
material should remain identifier-only.
enum:
- partyProfiled
- partyPublicOnly
- identifierOnly
- pseudonymous
example: identifierOnly
IdentifierType:
type: string
description: |
Identifier family. Built-in examples include `email`, `phone`, `did`,
`x509`, `vat`, `lei`, `tin`, `passport`, `url`, and `jwks_url`. Tenants
may allow additional values.
example: email
IdentifierProtectionMode:
type: string
description: |
Protection mode applied to the identifier value. Protected identifiers
can still be matched without exposing the original value in ordinary API
responses.
enum:
- plaintext
- searchableEncrypted
- searchableBlindIndex
- saltedBlinded
example: searchableEncrypted
IdentityIdentifierValueMode:
type: string
description: |
Value representation to return for identifier reads. `lookup` returns
the matching key representation, `masked` returns a display-safe value,
and `revealed` returns the readable value only when the caller is
authorized and policy permits reveal.
enum:
- lookup
- masked
- revealed
default: revealed
example: masked
Identity:
type: object
description: |
Identity record used as the stable subject for credential, login, and
identifier matching flows. An identity may exist without public profile
data and may optionally include identifiers when requested.
required:
- partyId
- tenantId
- identityRole
- isDefault
- privacyMode
- createdAt
- updatedAt
properties:
partyId:
type: string
format: uuid
description: Stable identity ID.
example: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
tenantId:
type: string
description: Tenant that owns the identity.
example: "tenant-acme"
identityRole:
$ref: '#/components/schemas/IdentityRole'
isDefault:
type: boolean
description: Whether this is the tenant's default identity for its role or owner.
example: false
specializationSubtype:
type: string
nullable: true
description: Optional business-role specialization, such as `employee` or `customer`.
example: employee
privacyMode:
$ref: '#/components/schemas/IdentityPrivacyMode'
createdAt:
type: string
format: date-time
example: "2026-06-18T09:15:00Z"
createdById:
type: string
format: uuid
nullable: true
example: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
updatedAt:
type: string
format: date-time
example: "2026-06-18T09:15:00Z"
updatedById:
type: string
format: uuid
nullable: true
example: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
deletedAt:
type: string
format: date-time
nullable: true
example: null
deletedById:
type: string
format: uuid
nullable: true
example: null
identityIdentifiers:
type: array
nullable: true
description: Identifiers attached to the identity when `includeIdentityIdentifiers=true`.
items:
$ref: '#/components/schemas/IdentityIdentifier'
partyBindings:
type: array
nullable: true
description: Party bindings when requested by APIs that expose binding expansion.
items:
$ref: '#/components/schemas/IdentityPartyBinding'
example:
partyId: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
tenantId: "tenant-acme"
identityRole: "holder"
isDefault: false
specializationSubtype: "employee"
privacyMode: "identifierOnly"
createdAt: "2026-06-18T09:15:00Z"
createdById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
updatedAt: "2026-06-18T09:15:00Z"
updatedById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
deletedAt: null
deletedById: null
identityIdentifiers: null
partyBindings: null
IdentityCreateRequest:
type: object
description: Create a new identity.
required:
- identityRole
properties:
partyId:
type: string
format: uuid
nullable: true
description: Optional caller-provided identity ID. Omit to let the service assign one.
example: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
identityRole:
$ref: '#/components/schemas/IdentityRole'
isDefault:
type: boolean
description: Mark this identity as the default for its role or owner.
default: false
example: false
ownerId:
type: string
format: uuid
nullable: true
description: Optional owner Party ID when this identity belongs to a person or organization.
example: "0c868ec0-0715-48a9-9908-851d78b742c8"
privacyMode:
$ref: '#/components/schemas/IdentityPrivacyMode'
specializationSubtype:
type: string
nullable: true
description: Optional role specialization for the identity.
example: employee
example:
identityRole: "holder"
isDefault: false
ownerId: "0c868ec0-0715-48a9-9908-851d78b742c8"
privacyMode: "identifierOnly"
specializationSubtype: "employee"
IdentityUpdateRequest:
type: object
description: |
Update mutable identity settings. Fields set to `null` are ignored by
the current API; send only values that should change.
required:
- partyId
properties:
partyId:
type: string
format: uuid
description: Identity ID being updated.
example: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
identityRole:
allOf:
- $ref: '#/components/schemas/IdentityRole'
nullable: true
isDefault:
type: boolean
nullable: true
example: true
privacyMode:
allOf:
- $ref: '#/components/schemas/IdentityPrivacyMode'
nullable: true
example:
partyId: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
isDefault: true
privacyMode: "partyPublicOnly"
IdentityPageResponse:
type: object
description: Paginated identity list response.
required:
- data
- pagination
properties:
data:
type: array
items:
$ref: '#/components/schemas/Identity'
pagination:
$ref: './common-components.yml#/components/schemas/PageMeta'
example:
data:
- partyId: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
tenantId: "tenant-acme"
identityRole: "holder"
isDefault: false
specializationSubtype: "employee"
privacyMode: "identifierOnly"
createdAt: "2026-06-18T09:15:00Z"
createdById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
updatedAt: "2026-06-18T09:15:00Z"
updatedById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
deletedAt: null
deletedById: null
identityIdentifiers: null
partyBindings: null
pagination:
limit: 20
offset: 0
page: 0
size: 20
total: 1
totalPages: 1
hasMore: false
IdentityIdentifier:
type: object
description: |
Identifier attached to an identity. The `value` field follows the
requested `valueMode`; ordinary list/read calls should use `masked`
unless the caller explicitly needs lookup or revealed material.
required:
- id
- identityId
- tenantId
- identifierType
- value
- isPrimary
- isVerified
- validFrom
- createdAt
- updatedAt
properties:
id:
type: string
format: uuid
description: Identifier ID.
example: "6c36e57d-2c46-4a53-a8ff-b60e47f97f11"
identityId:
type: string
format: uuid
description: Identity this identifier belongs to.
example: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
tenantId:
type: string
description: Tenant that owns the identifier.
example: "tenant-acme"
identifierType:
$ref: '#/components/schemas/IdentifierType'
value:
type: string
description: Identifier value representation selected by `valueMode`.
example: "a***@example.com"
protectionMode:
allOf:
- $ref: '#/components/schemas/IdentifierProtectionMode'
nullable: true
isPrimary:
type: boolean
description: Whether this is the primary identifier of its type for the identity.
example: true
isVerified:
type: boolean
description: Whether the identifier has been verified.
example: true
verifiedAt:
type: string
format: date-time
nullable: true
example: "2026-06-18T09:16:00Z"
validFrom:
type: string
format: date-time
example: "2026-06-18T09:15:00Z"
validUntil:
type: string
format: date-time
nullable: true
example: null
createdAt:
type: string
format: date-time
example: "2026-06-18T09:15:00Z"
createdById:
type: string
format: uuid
nullable: true
example: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
updatedAt:
type: string
format: date-time
example: "2026-06-18T09:16:00Z"
updatedById:
type: string
format: uuid
nullable: true
example: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
deletedAt:
type: string
format: date-time
nullable: true
example: null
deletedById:
type: string
format: uuid
nullable: true
example: null
x509Extension:
allOf:
- $ref: '#/components/schemas/X509ExtensionData'
nullable: true
registrationExtension:
allOf:
- $ref: '#/components/schemas/RegistrationExtensionData'
nullable: true
electronicExtension:
allOf:
- $ref: '#/components/schemas/ElectronicExtensionData'
nullable: true
example:
id: "6c36e57d-2c46-4a53-a8ff-b60e47f97f11"
identityId: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
tenantId: "tenant-acme"
identifierType: "email"
value: "a***@example.com"
protectionMode: "searchableEncrypted"
isPrimary: true
isVerified: true
verifiedAt: "2026-06-18T09:16:00Z"
validFrom: "2026-06-18T09:15:00Z"
validUntil: null
createdAt: "2026-06-18T09:15:00Z"
createdById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
updatedAt: "2026-06-18T09:16:00Z"
updatedById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
deletedAt: null
deletedById: null
x509Extension: null
registrationExtension: null
electronicExtension:
scheme: "email"
endpointUrl: "mailto:alice@example.com"
transportProfile: null
documentTypes: null
serviceMetadataUrl: null
IdentityIdentifierCreateRequest:
type: object
description: |
Create an identifier from a raw value. The API accepts the value the
user or upstream system knows, such as an email address, phone number,
DID, VAT number, LEI, or certificate subject identifier.
required:
- identifierType
- rawValue
- validFrom
properties:
id:
type: string
format: uuid
nullable: true
description: Optional identifier ID. Omit to let the service assign one.
example: "6c36e57d-2c46-4a53-a8ff-b60e47f97f11"
identifierType:
$ref: '#/components/schemas/IdentifierType'
rawValue:
type: string
description: Raw identifier value supplied by the caller.
example: "alice@example.com"
isPrimary:
type: boolean
description: Mark this as the primary identifier of this type for the identity.
default: false
example: true
isVerified:
type: boolean
description: Mark the identifier as already verified.
default: false
example: false
verifiedAt:
type: string
format: date-time
nullable: true
example: null
validFrom:
type: string
format: date-time
example: "2026-06-18T09:15:00Z"
validUntil:
type: string
format: date-time
nullable: true
example: null
x509Extension:
allOf:
- $ref: '#/components/schemas/IdentifierX509CreateInput'
nullable: true
registrationExtension:
allOf:
- $ref: '#/components/schemas/IdentifierRegistrationCreateInput'
nullable: true
electronicExtension:
allOf:
- $ref: '#/components/schemas/IdentifierElectronicCreateInput'
nullable: true
example:
identifierType: "email"
rawValue: "alice@example.com"
isPrimary: true
isVerified: false
verifiedAt: null
validFrom: "2026-06-18T09:15:00Z"
validUntil: null
electronicExtension:
electronicType: "work"
label: "Work email"
IdentityIdentifierUpdateRequest:
type: object
description: |
Update mutable identifier metadata. The identifier value itself is not
changed through this endpoint; create a new identifier when the actual
value changes.
required:
- id
properties:
id:
type: string
format: uuid
description: Identifier ID being updated.
example: "6c36e57d-2c46-4a53-a8ff-b60e47f97f11"
isPrimary:
type: boolean
nullable: true
example: true
isVerified:
type: boolean
nullable: true
example: true
verifiedAt:
type: string
format: date-time
nullable: true
example: "2026-06-18T09:16:00Z"
validUntil:
type: string
format: date-time
nullable: true
example: null
example:
id: "6c36e57d-2c46-4a53-a8ff-b60e47f97f11"
isPrimary: true
isVerified: true
verifiedAt: "2026-06-18T09:16:00Z"
validUntil: null
IdentityIdentifierListResponse:
type: object
description: List response for identity identifiers.
required:
- data
properties:
data:
type: array
items:
$ref: '#/components/schemas/IdentityIdentifier'
example:
data:
- id: "6c36e57d-2c46-4a53-a8ff-b60e47f97f11"
identityId: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
tenantId: "tenant-acme"
identifierType: "email"
value: "a***@example.com"
protectionMode: "searchableEncrypted"
isPrimary: true
isVerified: true
verifiedAt: "2026-06-18T09:16:00Z"
validFrom: "2026-06-18T09:15:00Z"
validUntil: null
createdAt: "2026-06-18T09:15:00Z"
createdById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
updatedAt: "2026-06-18T09:16:00Z"
updatedById: "8f4ac7fb-9862-4a15-a164-053bf4a3cf12"
deletedAt: null
deletedById: null
x509Extension: null
registrationExtension: null
electronicExtension:
scheme: "email"
endpointUrl: "mailto:alice@example.com"
transportProfile: null
documentTypes: null
serviceMetadataUrl: null
IdentifierX509CreateInput:
type: object
description: Additional certificate data for `x509` identifiers.
properties:
issuerDn:
type: string
nullable: true
example: "CN=Example Issuing CA,O=Example Trust Services,C=NL"
subjectDn:
type: string
nullable: true
example: "CN=Acme Signing Certificate,O=Acme B.V.,C=NL"
serialNumber:
type: string
nullable: true
example: "4F2A9B"
certificatePem:
type: string
nullable: true
example: "-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
notBefore:
type: string
format: date-time
nullable: true
example: "2026-01-01T00:00:00Z"
notAfter:
type: string
format: date-time
nullable: true
example: "2027-01-01T00:00:00Z"
IdentifierRegistrationCreateInput:
type: object
description: Additional registration data for business identifiers such as VAT, LEI, or local company numbers.
required:
- registrationType
properties:
registrationType:
type: string
example: "VAT"
issuingAuthority:
type: string
nullable: true
example: "EU VAT Information Exchange System"
jurisdictionCountry:
type: string
nullable: true
description: ISO 3166-1 alpha-2 country code.
example: "NL"
IdentifierElectronicCreateInput:
type: object
description: Additional address metadata for electronic identifiers such as email, phone, or URL.
required:
- electronicType
properties:
electronicType:
type: string
example: "work"
label:
type: string
nullable: true
example: "Work email"
X509ExtensionData:
type: object
description: Certificate data returned when X.509 extension expansion is requested.
properties:
issuerDn:
type: string
nullable: true
example: "CN=Example Issuing CA,O=Example Trust Services,C=NL"
subjectDn:
type: string
nullable: true
example: "CN=Acme Signing Certificate,O=Acme B.V.,C=NL"
serialNumber:
type: string
nullable: true
example: "4F2A9B"
certificatePem:
type: string
nullable: true
example: "-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
notBefore:
type: string
format: date-time
nullable: true
example: "2026-01-01T00:00:00Z"
notAfter:
type: string
format: date-time
nullable: true
example: "2027-01-01T00:00:00Z"
RegistrationExtensionData:
type: object
description: Registration metadata returned when registration extension expansion is requested.
properties:
authority:
type: string
nullable: true
example: "GLEIF"
countryCode:
type: string
nullable: true
example: "NL"
registrationDate:
type: string
format: date-time
nullable: true
example: "2024-01-01T00:00:00Z"
expirationDate:
type: string
format: date-time
nullable: true
example: null
status:
type: string
nullable: true
example: "ACTIVE"
ElectronicExtensionData:
type: object
description: Electronic address metadata returned when electronic extension expansion is requested.
properties:
scheme:
type: string
nullable: true
example: "email"
endpointUrl:
type: string
format: uri
nullable: true
example: "mailto:alice@example.com"
transportProfile:
type: string
nullable: true
example: null
documentTypes:
type: array
nullable: true
items:
type: string
example: null
serviceMetadataUrl:
type: string
format: uri
nullable: true
example: null
IdentityPartyBinding:
type: object
description: |
Optional binding between an identity and a Party record. Returned only
by APIs that explicitly include Party binding expansion.
additionalProperties: true
example:
identityId: "4c7e79f0-9f6d-4a38-8455-6e0b3f4f5a10"
partyId: "0c868ec0-0715-48a9-9908-851d78b742c8"
partyType: "natural_person"
bindingType: "owner"
validFrom: "2026-06-18T09:15:00Z"
validUntil: null