-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparty-manager-components.yml
More file actions
1915 lines (1844 loc) · 68.8 KB
/
Copy pathparty-manager-components.yml
File metadata and controls
1915 lines (1844 loc) · 68.8 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
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.4
info:
title: Party Manager Components
version: 0.1.0
description: |
Entity, request, and enum schemas for the Party Manager API.
Every party is one coherent, typed JSON object discriminated by `partyType`. The five concrete
types (`natural_person`, `organization`, `organization_unit`, `service`, `group`) each carry the
shared party fields together with the attributes specific to that type. A party bears zero or
more specializations (roles) that bind it to a semantic profile. Identifiers are UUIDs and all
timestamps are RFC 3339 / ISO 8601 in UTC.
paths: {}
components:
parameters:
PartyId:
name: id
in: path
required: true
description: Unique identifier of a party.
schema:
type: string
format: uuid
example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
RelationshipId:
name: id
in: path
required: true
description: Unique identifier of a party relationship.
schema:
type: string
format: uuid
example: "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f80"
MemberId:
name: memberId
in: path
required: true
description: Identifier of the party that is a member of the group.
schema:
type: string
format: uuid
example: "1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed"
IdentityId:
name: identityId
in: path
required: true
description: Identifier of the identity the application binding applies to.
schema:
type: string
format: uuid
example: "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d"
ApplicationId:
name: applicationId
in: path
required: true
description: Identifier of the application (a `service` party with the `authenticable` capability).
schema:
type: string
format: uuid
example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
schemas:
# ─── Enums ──────────────────────────────────────────────────
PartyType:
type: string
description: |
The discriminator that identifies which concrete party a [PartyEntity] is. This is an open,
string-valued type: tenants and extensions may introduce additional values. Values are
lower_snake_case.
Core values:
- `natural_person`: a human individual.
- `organization`: a company, institution, or other legal entity.
- `organization_unit`: a unit within an organization (department, division, sub-tenant scope).
- `service`: a software-backed service participant (endpoint, integration, automated actor).
- `group`: a collection of parties grouped for addressing or authorization.
- `software`: executable software registered as a party (a server, connector, or app), for
example a registered attribute source. The deep software model lives in the software
manager and is keyed by the same party id.
- `asset`: a non-executing data asset (a dataset, registry, document corpus) that has no
runtime of its own but can still carry capabilities and governance data.
example: organization
PartyOrigin:
type: string
description: |
Where a party record comes from and who owns its lifecycle.
- `managed`: created and maintained natively in this tenant. The tenant is free to edit and
delete it.
- `external`: synced in from an outside source (an external IdP, a bulk import,
auto-discovery, and similar). The source of record stays elsewhere, so edits may be
overwritten on the next sync.
enum:
- external
- managed
default: managed
example: managed
AuthMethod:
type: string
description: |
An authentication method an application's login surface accepts for an identity. Open,
string-valued: extensions may add values. Pick the methods an application should permit:
- `password`: identifier plus password. The familiar default for first-party applications.
- `email_otp`: a one-time passcode delivered by email. Use for low-friction or passwordless
sign-in.
- `magic_link`: a single-use link delivered out of band. Use for passwordless sign-in where
a clickable link suits the channel.
- `totp`: a time-based one-time password from an authenticator app. Use as a second factor.
- `federated_oidc`: login delegated to an external OIDC identity provider. Use when the
identity is owned by another IdP.
- `wallet`: authentication by verifiable presentation from a wallet. Use for high-assurance,
credential-backed login.
example: password
ApplicationCapability:
type: string
description: |
A capability a `service` party supports. Open, string-valued: extensions may add values. The
core value `authenticable` marks a service that acts as an application login surface, so
identities can be bound to it and authenticate against it. A service without this capability
is a plain endpoint or integration, not a login surface.
example: authenticable
IdentifierType:
type: string
description: |
The type of a login identifier. Open, string-valued: extensions may add values (for example
`vat`, `lei`, `email`, `phone`). Core values are `did` (a W3C Decentralized Identifier) and
`x509` (an X.509 certificate).
example: did
BindingStatus:
type: string
description: |
The lifecycle status of a binding between an identity and an application's login surface.
- `active`: the identity may authenticate against the application.
- `suspended`: authentication is blocked for now but the binding is kept and can be made
active again.
- `revoked`: the binding is permanently withdrawn and the identity can no longer use it.
enum:
- active
- suspended
- revoked
default: active
example: active
RelationshipStatus:
type: string
description: Lifecycle status of a party relationship.
enum:
- ACTIVE
- PENDING
- SUSPENDED
- TERMINATED
- EXPIRED
default: ACTIVE
example: ACTIVE
# ─── Specialization ─────────────────────────────────────────
PartySpecialization:
type: object
description: |
A role a party plays, scoped to the organization unit that role lives in. A party may bear
several specializations at once (multi-typing): one organization can be both a `supplier` to a
procurement unit and a `customer` of a sales unit, and one person can be an `employee` of a
department and a `student` of a faculty. Because an organization-unit affiliation belongs to the
role rather than to the person, each specialization carries its own `organizationUnitId`; the
party itself needs no synthetic home unit. When typed, the role is bound to a semantic profile
(`profileId`) pinned to a version (`profileVersion`), and its `attributes` are validated against
that profile (licensed feature). A party holds at most one specialization per `subtype`. An
untyped declaration (null `profileId`) is just a `subtype` label with no profile binding.
required:
- subtype
properties:
subtype:
type: string
description: The role this party plays. For an organization, values like `supplier`, `customer`, or `partner`; for a person, values like `employee`, `student`, or `contractor`.
example: supplier
profileId:
type: string
nullable: true
description: The semantic profile this role is bound to; null for an untyped declaration.
example: profile.supplier
profileVersion:
type: string
nullable: true
description: The profile version the attributes were validated and captured against.
example: "2"
organizationUnitId:
type: string
format: uuid
nullable: true
description: The organization unit this role is scoped to; null means the role is not unit-scoped (tenant-global) and falls back to the party's home unit.
example: "5c1a9d80-7e3b-4f21-9c44-0b2e6f8a1d3c"
attributes:
type: object
nullable: true
additionalProperties: true
description: The captured values for this role, validated against the bound profile. Populated only with the semantic license.
example:
subtype: supplier
profileId: profile.supplier
profileVersion: "2"
organizationUnitId: "5c1a9d80-7e3b-4f21-9c44-0b2e6f8a1d3c"
# ─── Party base and concrete types ──────────────────────────
PartyBase:
type: object
description: |
The shared contract every party carries: identity, origin, the single home organization unit,
and the standard audit fields. The concrete subtypes add their type-specific attributes. This
schema is not returned on its own; see [PartyEntity] for the polymorphic envelope.
required:
- id
- tenantId
- partyType
- origin
- displayName
- createdAt
- updatedAt
properties:
id:
type: string
format: uuid
description: Unique identifier for the party.
example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
tenantId:
type: string
description: Identifier of the owning tenant. Resolved from the bearer token on writes.
example: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType:
$ref: '#/components/schemas/PartyType'
origin:
$ref: '#/components/schemas/PartyOrigin'
displayName:
type: string
description: Human-readable display name. Always present.
example: "Sofia Almeida"
uri:
type: string
format: uri
nullable: true
description: Optional canonical URI for the party (DID, URL, and similar).
example: "did:web:voltaic-robotics.example"
jurisdiction:
type: string
nullable: true
description: Primary jurisdiction (ISO 3166-1 code or region such as `EU`, `US`, `SE`).
example: "SE"
ownerId:
type: string
format: uuid
nullable: true
description: The owning party, if this party is owned by another.
example: "2c4e6a80-3b5d-4f70-9a12-8c0d1e2f3a4b"
organizationUnitId:
type: string
format: uuid
nullable: true
description: The single home organization unit; null means the tenant root.
specializations:
type: array
description: The specializations (roles) this party bears; multi-typing allows several.
items:
$ref: '#/components/schemas/PartySpecialization'
createdAt:
type: string
format: date-time
example: "2026-01-15T09:30:00Z"
createdById:
type: string
format: uuid
nullable: true
description: Party that created this record.
updatedAt:
type: string
format: date-time
example: "2026-01-15T09:30:00Z"
updatedById:
type: string
format: uuid
nullable: true
description: Party that last updated this record.
deletedAt:
type: string
format: date-time
nullable: true
description: Soft-delete marker. Null when the party is active.
deletedById:
type: string
format: uuid
nullable: true
description: Party that soft-deleted this record.
electronicAddresses:
type: array
nullable: true
description: The electronic addresses anchored at this party. Populated only when `include=electronicAddresses` is requested.
items:
$ref: '#/components/schemas/ElectronicAddress'
physicalAddresses:
type: array
nullable: true
description: The physical addresses anchored at this party. Populated only when `include=physicalAddresses` is requested.
items:
$ref: '#/components/schemas/PhysicalAddress'
Person:
description: A human individual. A coherent party object with `partyType` `natural_person`.
allOf:
- $ref: '#/components/schemas/PartyBase'
- type: object
properties:
firstName:
type: string
nullable: true
description: Given name.
example: "Sofia"
middleName:
type: string
nullable: true
description: Middle name(s).
lastName:
type: string
nullable: true
description: Family name.
example: "Almeida"
birthDate:
type: string
format: date
nullable: true
description: Date of birth.
example: "1990-05-17"
example:
id: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
tenantId: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType: natural_person
origin: managed
displayName: "Sofia Almeida"
firstName: "Sofia"
lastName: "Almeida"
birthDate: "1990-05-17"
organizationUnitId: null
specializations:
- subtype: employee
profileId: profile.employee
profileVersion: "3"
organizationUnitId: "5c1a9d80-7e3b-4f21-9c44-0b2e6f8a1d3c"
- subtype: instructor
profileId: profile.instructor
profileVersion: "1"
organizationUnitId: "1f4d6a30-6b2c-4e74-8d51-2a3b4c5d6e66"
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
Organization:
description: A company, institution, or other legal entity. A party object with `partyType` `organization`.
allOf:
- $ref: '#/components/schemas/PartyBase'
- type: object
required:
- legalName
properties:
legalName:
type: string
description: Registered legal name.
example: "Lindqvist Precision AB"
organizationType:
type: string
nullable: true
description: 'Organization type. Common values: `company`, `government`, `non_profit`, `educational`, `healthcare`, `financial`, `other`.'
example: "company"
industry:
type: string
nullable: true
description: Industry classification.
example: "Precision machining"
contactEmail:
type: string
format: email
nullable: true
description: Primary contact email.
example: "sales@lindqvist-precision.example"
websiteUrl:
type: string
format: uri
nullable: true
description: Public website URL.
example: "https://lindqvist-precision.example"
privacyPolicyUri:
type: string
format: uri
nullable: true
description: Privacy policy URI.
example: "https://lindqvist-precision.example/privacy"
tosUri:
type: string
format: uri
nullable: true
description: Terms of service URI.
example: "https://lindqvist-precision.example/terms"
example:
id: "4b1d7c20-8e3f-4a51-9c62-3d4e5f6a7b88"
tenantId: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType: organization
origin: managed
displayName: "Lindqvist Precision AB"
legalName: "Lindqvist Precision AB"
organizationType: "company"
industry: "Precision machining"
contactEmail: "sales@lindqvist-precision.example"
websiteUrl: "https://lindqvist-precision.example"
jurisdiction: "SE"
organizationUnitId: null
specializations:
- subtype: supplier
profileId: profile.supplier
profileVersion: "2"
organizationUnitId: "7d2b8e10-4f6a-4c52-8b31-9e0a1d2c3f44"
- subtype: customer
profileId: profile.customer
profileVersion: "1"
organizationUnitId: "9e3c7f20-5a1b-4d63-7c40-0f1b2e3d4a55"
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
OrganizationUnit:
description: |
A unit within an organization (department, division, sub-tenant scope). A party object with
`partyType` `organization_unit`.
allOf:
- $ref: '#/components/schemas/PartyBase'
- type: object
required:
- name
properties:
parentOuId:
type: string
format: uuid
nullable: true
description: The organization unit this unit sits under. Null marks the tenant root unit, which has no parent.
example: "2c4e6a80-3b5d-4f70-9a12-8c0d1e2f3a4b"
name:
type: string
description: The unit name shown in administration views and used when scoping roles to a unit.
example: "Controls Engineering"
tosUri:
type: string
format: uri
nullable: true
description: Terms of service document that applies to parties acting within this unit. Null when the unit relies on the terms set higher in the tree.
example: "https://voltaic-robotics.example/legal/academy-terms"
branding:
type: object
nullable: true
additionalProperties: true
description: Logo, colours, and display strings applied to flows scoped to this unit. Null when the unit inherits branding from an ancestor.
ouInheritancePolicy:
type: string
description: How a child unit treats configuration coming from its ancestors. READ_ONLY_ANCESTOR lets the unit read inherited values but not change them, which keeps tenant-wide settings under central control. Pick this unless the unit must override ancestor configuration on its own.
default: READ_ONLY_ANCESTOR
example: READ_ONLY_ANCESTOR
childUnits:
type: array
nullable: true
description: The child organization units. Populated only when `include=children` is requested.
items:
$ref: '#/components/schemas/OrganizationUnit'
members:
type: array
nullable: true
description: The parties whose home organization unit is this unit. Populated only when `include=members` is requested.
items:
$ref: '#/components/schemas/PartyEntity'
example:
id: "5c1a9d80-7e3b-4f21-9c44-0b2e6f8a1d3c"
tenantId: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType: organization_unit
origin: managed
displayName: "Controls Engineering"
name: "Controls Engineering"
parentOuId: "2c4e6a80-3b5d-4f70-9a12-8c0d1e2f3a4b"
ouInheritancePolicy: READ_ONLY_ANCESTOR
specializations: []
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
Service:
description: |
A software-backed service participant (endpoint, integration, automated actor). A party object
with `partyType` `service`. A service that carries the `authenticable` capability is an
application's login surface.
allOf:
- $ref: '#/components/schemas/PartyBase'
- type: object
properties:
serviceType:
type: string
nullable: true
description: What kind of service this party represents, used to route it to the right integration. For example oid4vci_issuer for a credential issuer endpoint or oid4vp_verifier for a presentation verifier. Null when the service has no fixed protocol role.
example: "oid4vci_issuer"
endpointUri:
type: string
format: uri
nullable: true
description: The base URL the service is reached at. For an OID4VCI issuer this is the credential issuer identifier used by wallets. Null when the service has no externally reachable endpoint.
example: "https://issuer.voltaic-robotics.example"
oauthClientId:
type: string
nullable: true
description: The OAuth client identifier the service presents when it authenticates to the platform or to upstream providers.
example: "voltaic-issuer"
example:
id: "2d4f6a80-1c3e-4b5d-8a7f-9e0c1b2d3f4a"
tenantId: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType: service
origin: managed
displayName: "Voltaic Issuer"
serviceType: "oid4vci_issuer"
endpointUri: "https://issuer.voltaic-robotics.example"
oauthClientId: "voltaic-issuer"
specializations: []
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
Group:
description: |
A collection of parties grouped for addressing or authorization. A party object with
`partyType` `group`. A group never bears specializations.
allOf:
- $ref: '#/components/schemas/PartyBase'
- type: object
required:
- name
properties:
name:
type: string
description: The group name used when addressing the group or referencing it in authorization rules.
example: "EU Compliance Reviewers"
members:
type: array
nullable: true
description: The parties that belong to the group. Populated only when `include=members` is requested.
items:
$ref: '#/components/schemas/PartyEntity'
example:
id: "6e2c8a40-9f1b-4d52-8c73-4a5b6c7d8e90"
tenantId: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType: group
origin: managed
displayName: "EU Compliance Reviewers"
name: "EU Compliance Reviewers"
specializations: []
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
Software:
description: |
Executable software registered as a party (a server, connector, or app), for example a
registered attribute source. A party object with `partyType` `software`. This is the lite
party view: the deep software model (capabilities, endpoints, deployments, credentials)
lives in the software manager and is keyed by the same party id.
allOf:
- $ref: '#/components/schemas/PartyBase'
- type: object
properties:
softwareKind:
type: string
nullable: true
description: What kind of software this party is, for example SERVER or APP. Null when the software store carries no detail row for the party.
example: "SERVER"
displayVersion:
type: string
nullable: true
description: Human-readable version string.
example: "11.2"
vendorId:
type: string
format: uuid
nullable: true
description: The vendor of this software.
example: "7f3b9c10-2d4e-4a61-8b52-1c0d9e8f7a66"
example:
id: "8a4d2c60-3e1f-4b72-9d83-5b6c7d8e9f01"
tenantId: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType: software
origin: external
displayName: "HR System"
softwareKind: "SERVER"
displayVersion: "11.2"
vendorId: "7f3b9c10-2d4e-4a61-8b52-1c0d9e8f7a66"
specializations: []
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
Asset:
description: |
A non-executing data asset registered as a party (a dataset, registry, or document corpus).
A party object with `partyType` `asset`. It has no runtime of its own but can still carry
capabilities (such as serving as an attribute source) and governance data; it carries only
the shared party contract.
allOf:
- $ref: '#/components/schemas/PartyBase'
- type: object
example:
id: "9b5e3d70-4f2a-4c83-8e94-6c7d8e9f0a12"
tenantId: "8a1f0c44-2b6e-4d39-9f72-1c5a3e8b0d24"
partyType: asset
origin: external
displayName: "Employee Registry"
specializations: []
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
PartyEntity:
description: |
The merged, typed view of a party: one coherent JSON object that is itself a party, identified
by its `partyType` discriminator. Endpoints that operate across party types return and accept
this polymorphic shape.
oneOf:
- $ref: '#/components/schemas/Person'
- $ref: '#/components/schemas/Organization'
- $ref: '#/components/schemas/OrganizationUnit'
- $ref: '#/components/schemas/Service'
- $ref: '#/components/schemas/Group'
- $ref: '#/components/schemas/Software'
- $ref: '#/components/schemas/Asset'
discriminator:
propertyName: partyType
mapping:
natural_person: '#/components/schemas/Person'
organization: '#/components/schemas/Organization'
organization_unit: '#/components/schemas/OrganizationUnit'
service: '#/components/schemas/Service'
group: '#/components/schemas/Group'
software: '#/components/schemas/Software'
asset: '#/components/schemas/Asset'
# ─── Create / update request bodies (writable subset) ───────
PartyWritableBase:
type: object
description: |
The writable party fields common to every create and update body. Server-set fields (`id`,
`tenantId`, `partyType`, audit timestamps) are never accepted on the wire.
properties:
displayName:
type: string
example: "Sofia Almeida"
origin:
$ref: '#/components/schemas/PartyOrigin'
uri:
type: string
format: uri
nullable: true
example: "did:web:voltaic-robotics.example"
jurisdiction:
type: string
nullable: true
example: "SE"
ownerId:
type: string
format: uuid
nullable: true
organizationUnitId:
type: string
format: uuid
nullable: true
description: The single home organization unit; null means the tenant root. Leave null when the party's units are carried by its specializations instead.
specializations:
type: array
items:
$ref: '#/components/schemas/PartySpecialization'
PersonCreateRequest:
type: object
description: Create a `natural_person` party.
required:
- displayName
allOf:
- $ref: '#/components/schemas/PartyWritableBase'
- type: object
properties:
firstName:
type: string
nullable: true
example: "Sofia"
middleName:
type: string
nullable: true
lastName:
type: string
nullable: true
example: "Almeida"
birthDate:
type: string
format: date
nullable: true
example: "1990-05-17"
PersonUpdateRequest:
type: object
description: Update a `natural_person` party. Omitted fields are left unchanged.
allOf:
- $ref: '#/components/schemas/PersonCreateRequest'
OrganizationCreateRequest:
type: object
description: Create an `organization` party.
required:
- displayName
- legalName
allOf:
- $ref: '#/components/schemas/PartyWritableBase'
- type: object
properties:
legalName:
type: string
example: "Lindqvist Precision AB"
organizationType:
type: string
nullable: true
example: "company"
industry:
type: string
nullable: true
example: "Precision machining"
contactEmail:
type: string
format: email
nullable: true
example: "sales@lindqvist-precision.example"
websiteUrl:
type: string
format: uri
nullable: true
example: "https://lindqvist-precision.example"
privacyPolicyUri:
type: string
format: uri
nullable: true
tosUri:
type: string
format: uri
nullable: true
OrganizationUpdateRequest:
type: object
description: Update an `organization` party. Omitted fields are left unchanged.
allOf:
- $ref: '#/components/schemas/OrganizationCreateRequest'
OrganizationUnitCreateRequest:
type: object
description: Create an `organization_unit` party.
required:
- displayName
- name
allOf:
- $ref: '#/components/schemas/PartyWritableBase'
- type: object
properties:
parentOuId:
type: string
format: uuid
nullable: true
description: The organization unit this new unit sits under. Null places it at the tenant root.
example: "2c4e6a80-3b5d-4f70-9a12-8c0d1e2f3a4b"
name:
type: string
description: The unit name shown in administration views and used when scoping roles to a unit.
example: "Controls Engineering"
tosUri:
type: string
format: uri
nullable: true
description: Terms of service document that applies to parties acting within this unit. Null to inherit the terms set higher in the tree.
example: "https://voltaic-robotics.example/legal/academy-terms"
branding:
type: object
nullable: true
additionalProperties: true
description: Logo, colours, and display strings applied to flows scoped to this unit. Null to inherit branding from an ancestor.
ouInheritancePolicy:
type: string
description: How the unit treats configuration coming from its ancestors. READ_ONLY_ANCESTOR lets the unit read inherited values without changing them. Send this unless the unit must override ancestor configuration.
default: READ_ONLY_ANCESTOR
example: READ_ONLY_ANCESTOR
OrganizationUnitUpdateRequest:
type: object
description: Update an `organization_unit` party. Omitted fields are left unchanged.
allOf:
- $ref: '#/components/schemas/OrganizationUnitCreateRequest'
ServiceCreateRequest:
type: object
description: Create a `service` party.
required:
- displayName
allOf:
- $ref: '#/components/schemas/PartyWritableBase'
- type: object
properties:
serviceType:
type: string
nullable: true
description: What kind of service this party represents, such as oid4vci_issuer for a credential issuer or oid4vp_verifier for a presentation verifier. Null when the service has no fixed protocol role.
example: "oid4vci_issuer"
endpointUri:
type: string
format: uri
nullable: true
description: The base URL the service is reached at. For an OID4VCI issuer this is the credential issuer identifier used by wallets. Null when the service has no externally reachable endpoint.
example: "https://issuer.voltaic-robotics.example"
oauthClientId:
type: string
nullable: true
description: The OAuth client identifier the service presents when it authenticates to the platform or to upstream providers.
example: "voltaic-issuer"
ServiceUpdateRequest:
type: object
description: Update a `service` party. Omitted fields are left unchanged.
allOf:
- $ref: '#/components/schemas/ServiceCreateRequest'
GroupCreateRequest:
type: object
description: Create a `group` party. A group never bears specializations.
required:
- displayName
- name
properties:
displayName:
type: string
example: "EU Compliance Reviewers"
origin:
$ref: '#/components/schemas/PartyOrigin'
uri:
type: string
format: uri
nullable: true
jurisdiction:
type: string
nullable: true
ownerId:
type: string
format: uuid
nullable: true
organizationUnitId:
type: string
format: uuid
nullable: true
name:
type: string
example: "EU Compliance Reviewers"
GroupUpdateRequest:
type: object
description: Update a `group` party. Omitted fields are left unchanged.
allOf:
- $ref: '#/components/schemas/GroupCreateRequest'
GroupMembersUpdateRequest:
type: object
description: |
Replace the full membership of a group with the supplied set of party ids. The call is a
full replacement: ids absent from the set are removed and ids present are added, so the
group ends up with exactly the listed members. Members may be of any party type.
required:
- memberIds
properties:
memberIds:
type: array
description: The complete set of party ids that should be members of the group after the call. An empty array clears the membership.
items:
type: string
format: uuid
example:
memberIds:
- "3fa85f64-5717-4562-b3fc-2c963f66afa6"
- "4b1d7c20-8e3f-4a51-9c62-3d4e5f6a7b88"
# ─── Addresses and registrations ────────────────────────────
OrganizationRegistration:
type: object
description: |
A business registration for an organization (VAT, LEI, DUNS, Chamber of Commerce, and
similar). An organization may hold several registrations across authorities and jurisdictions.
required:
- id
- tenantId
- organizationId
- registrationType
- value
- createdAt
- updatedAt
properties:
id:
type: string
format: uuid
example: "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d"
tenantId:
type: string
example: "7e9f1c20-1b2a-4c3d-8e5f-0a1b2c3d4e5f"
organizationId:
type: string
format: uuid
description: The `organization` party this registration belongs to.
example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
registrationType:
type: string
description: |
Open classification of the registration. Common values: `VAT`, `LEI`, `DUNS`,
`CHAMBER_OF_COMMERCE`, `TAX_ID`, `EUID`, `OTHER`.
example: "VAT"
value:
type: string
description: The registration identifier value.
example: "NL123456789B01"
issuingAuthority:
type: string
example: "Belastingdienst"
jurisdictionCountry:
type: string
minLength: 2
maxLength: 2
description: ISO 3166-1 alpha-2 country code.
example: "NL"
validFrom:
type: string
format: date-time
example: "2024-01-01T00:00:00Z"
validUntil:
type: string
format: date-time
nullable: true
createdAt:
type: string
format: date-time
example: "2026-01-15T09:30:00Z"
createdById:
type: string
format: uuid
nullable: true
updatedAt:
type: string
format: date-time
example: "2026-01-15T09:30:00Z"
updatedById:
type: string
format: uuid
nullable: true
example:
id: "9a8b7c6d-5e4f-4a3b-2c1d-0e9f8a7b6c5d"
tenantId: "7e9f1c20-1b2a-4c3d-8e5f-0a1b2c3d4e5f"
organizationId: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
registrationType: "VAT"
value: "NL123456789B01"
issuingAuthority: "Belastingdienst"
jurisdictionCountry: "NL"
createdAt: "2026-01-15T09:30:00Z"
updatedAt: "2026-01-15T09:30:00Z"
OrganizationRegistrationCreateRequest:
type: object
description: A business registration to attach to an `organization` party.
required:
- registrationType
- value
properties:
registrationType:
type: string
description: 'Open classification. Common values: `VAT`, `LEI`, `DUNS`, `CHAMBER_OF_COMMERCE`, `TAX_ID`, `EUID`, `OTHER`.'
example: "VAT"
value:
type: string
example: "NL123456789B01"
issuingAuthority:
type: string
example: "Belastingdienst"
jurisdictionCountry:
type: string
minLength: 2
maxLength: 2
description: ISO 3166-1 alpha-2 country code.
example: "NL"
validFrom:
type: string
format: date-time