forked from eclipse-xfsc/federated-catalogue
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfc_openapi.yaml
More file actions
4035 lines (3974 loc) · 131 KB
/
Copy pathfc_openapi.yaml
File metadata and controls
4035 lines (3974 loc) · 131 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.1
info:
title: Eclipse XFSC Federated Catalogue
description: REST API of the XFSC catalogue
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.0
servers:
- url: https://fc-server.xfsc.org
description: some future test environment
components:
schemas:
AdminHealthStatus:
type: object
properties:
catalogueStatus:
type: string
description: Catalogue service status (UP/DOWN)
graphDbStatus:
type: object
properties:
connected:
type: boolean
backend:
type: string
claimCount:
type: integer
format: int64
keycloakStatus:
type: string
description: Keycloak status (UP/DOWN/UNKNOWN)
fileStoreStatus:
type: string
description: File store status (UP/DOWN)
databaseStatus:
type: string
description: Database status (UP/DOWN)
keycloakUrl:
type: string
description: Keycloak issuer URL
fileStorePath:
type: string
description: File store directory path
AdminStats:
type: object
properties:
totalAssets:
type: integer
format: int64
description: Total number of assets in the catalogue
activeAssets:
type: integer
format: int64
description: Number of active assets
activeTrustFrameworks:
type: integer
format: int64
description: Number of active trust frameworks
totalUsers:
type: integer
format: int64
description: Total number of registered users
totalSchemas:
type: integer
format: int64
description: Total number of schemas
totalParticipants:
type: integer
format: int64
description: Total number of participants
graphClaimCount:
type: integer
format: int64
description: Number of claims in the graph database
graphBackend:
type: string
description: The graph database backend type
AnnotatedStatement:
allOf:
- $ref: '#/components/schemas/Statement'
- type: object
properties:
servers:
type: array
uniqueItems: true
items:
type: string
description: known catalog servers already queried in distributed search scenario
annotations:
type: object
additionalProperties:
type: object
description: additional properties to tune query execution
example:
queryLanguage: SPARQL
timeout: 30
withTotalCount: false
Asset:
type: object
properties:
assetHash:
type: string
id:
type: string
status:
$ref: '#/components/schemas/AssetStatus'
issuer:
type: string
validatorDids:
description: >-
The credentialSubjects of the parties that validated (parts of) the
credential.
type: array
items:
type: string
uploadDatetime:
type: string
format: date-time
example: '2022-03-01T13:00:00Z'
description: The time stamp (ISO8601) when the asset was uploaded.
statusDatetime:
type: string
format: date-time
example: '2022-05-11T15:30:00Z'
description: >-
The last time stamp (ISO8601) the status changed (for this
Catalogue)
contentType:
type: string
description: MIME content-type of the uploaded asset (e.g. application/ld+json, application/pdf)
example: 'application/ld+json'
fileSize:
type: integer
format: int64
description: Size of the uploaded asset in bytes
warnings: &warningsProperty
type: array
description: >-
Warnings issued during processing (e.g. triples removed due to reserved namespace filtering).
The operation succeeded for all remaining data. Absent or empty when no warnings occurred.
items:
type: string
example:
- "2 triple(s) were removed from your upload because they use the reserved internal namespace
<https://projects.eclipse.org/projects/technology.xfsc/federated-catalogue/meta#>.
This namespace is reserved for internal catalogue use only and cannot be set by external clients."
humanReadableId:
type: string
description: >-
IRI of the linked human-readable representation (e.g. a PDF document),
if one has been attached to this machine-readable asset. Absent when no link exists.
machineReadableId:
type: string
description: >-
IRI of the linked machine-readable asset, if this asset is a human-readable
representation linked to a machine-readable parent. Absent when no link exists.
AssetEnrichmentResponse:
type: object
description: Response returned when an existing non-RDF asset is enriched with RDF metadata.
required:
- assetId
- triplesAdded
- triplesRejected
properties:
assetId:
type: string
description: IRI (subjectId) of the enriched asset.
triplesAdded:
type: integer
description: Number of RDF triples written to the graph store after namespace filtering.
triplesRejected:
type: integer
description: Number of triples filtered out due to protected namespace policy.
AssetResult:
type: object
properties:
meta:
$ref: '#/components/schemas/Asset'
content:
type: string
Assets:
allOf:
- $ref: '#/components/schemas/ResultPage'
- type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/AssetResult'
AssetStatus:
type: string
enum:
- active
- eol
- deprecated
- revoked
AssetVersion:
type: object
required: [version, createdAt, createdBy, status, isCurrent]
properties:
version:
type: integer
description: '1-based version ordinal.'
createdAt:
type: string
format: date-time
description: 'Timestamp when this version was created (Envers revision timestamp).'
createdBy:
type: string
description: 'Issuer DID of the asset at this version.'
status:
$ref: '#/components/schemas/AssetStatus'
isCurrent:
type: boolean
description: 'Whether this is the current (latest) version.'
changeComment:
type: string
nullable: true
description: 'Optional change note provided at upload time.'
AssetVersionList:
type: object
required: [id, total, versions]
properties:
id:
type: string
description: 'The asset IRI.'
total:
type: integer
description: 'Total number of versions.'
versions:
type: array
items:
$ref: '#/components/schemas/AssetVersion'
description: 'Descending list (newest first) for the requested page.'
ComplianceCheckRequest:
type: object
required: [ frameworkProfileId, credential ]
properties:
frameworkProfileId:
type: string
description: The trust-framework profile ID to check against (e.g. "mock-2026")
credential:
type: string
description: Raw VP JWT credential to submit to the compliance service
ComplianceCheckResult:
type: object
properties:
conforms:
type: boolean
description: True when the compliance service issued an attestation
failureCategory:
type: string
nullable: true
description: Set when conforms is false; describes how the check failed (currently UNVERIFIABLE_ATTESTATION)
attestationCredential:
type: string
nullable: true
description: Raw JWT compliance credential returned by the service (present only on conforms=true)
Error:
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message
GraphDatabaseStatus:
type: object
properties:
activeBackend:
type: string
description: Currently active graph database backend
connected:
type: boolean
description: Whether the graph database is reachable
claimCount:
type: integer
format: int64
description: Number of claims in the graph database
version:
type: string
description: Graph database version or implementation info
rebuildNeeded:
type: boolean
description: |
True when the active graph store has no claims but RDF assets exist in
storage — typical after a backend switch or fresh start. The admin UI
surfaces a rebuild prompt that calls `POST /admin/graph/rebuild`. Non-RDF
assets are excluded from this check because they do not produce graph
claims even after a successful rebuild.
rdfAssetCount:
type: integer
format: int64
description: |
Number of active RDF assets in storage that would be re-indexed by a
rebuild. Surfaced alongside `rebuildNeeded` so the UI can show how many
assets the rebuild will process.
GraphDatabaseSwitchResult:
type: object
properties:
message:
type: string
description: Human-readable status message
GraphStatus:
type: object
properties:
backend:
type: string
description: The graph database backend type (NEO4J, FUSEKI, NONE)
enabled:
type: boolean
description: Whether the graph store is enabled
healthy:
type: boolean
description: Whether the graph store backend is healthy
activeAssetCount:
type: integer
format: int64
description: Number of active assets in PostgreSQL storage
claimCountInGraph:
type: integer
format: int64
description: Number of claim triples/nodes in the graph database
assetCountInGraph:
type: integer
format: int64
description: Number of distinct assets in the graph database
syncAssessment:
type: string
description: Sync assessment (empty, in-sync, out-of-sync, unknown, disabled)
KeycloakAdminUrl:
type: object
properties:
url:
type: string
description: Keycloak Admin Console URL for the catalogue realm
OntologyImpactEntry:
type: object
description: >-
One runtime-uploaded ontology and its contribution to each
registered trust-framework base class.
properties:
id:
type: string
description: Schema identifier
name:
type: string
description: >-
Display name for the ontology. Derived from the parsed
owl:Ontology IRI when present; falls back to the schema id.
uploadedAt:
type: string
format: date-time
description: When the ontology was uploaded
contributions:
type: object
description: >-
For each registered base-class name, the number of distinct
rdfs:subClassOf+ descendants reachable from the base class's primary
root and additional_roots, aggregated across active
trust-framework bundles. Base classes with zero contributions are
omitted. Empty when parseError is true.
additionalProperties:
type: integer
format: int32
parseError:
type: boolean
default: false
description: >-
True when the ontology could not be parsed or the subclass
walk timed out. The contributions map will be empty; the UI
should render a warning row so the admin does not conclude
the ontology is safe to ignore.
parseErrorMessage:
type: string
nullable: true
description: >-
Human-readable explanation when parseError is true. Null
otherwise.
required:
- id
- name
- contributions
- parseError
OntologyImpactList:
type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/OntologyImpactEntry'
noActiveBundles:
type: boolean
default: false
description: >-
True when no trust-framework bundles are active. In that case
contributions cannot be computed for any ontology; the UI
should surface a banner explaining that the OWL toggle has no
base classes to gate.
required:
- items
- noActiveBundles
OntologySchema:
type: object
properties:
ontologies:
description: 'SchemaIds of ontologies, defining the terms of a schema'
type: array
items:
type: string
example: schemaId
shapes:
description: 'SchemaIds of shapes (SHACL Shapes Constraint Language) used to validate instances against the schema.'
type: array
items:
type: string
example: schemaId
vocabularies:
description: 'SchemaIds of controlled vocabularies used in the schema'
type: array
items:
type: string
example: schemaId
jsonSchemas:
description: 'SchemaIds of JSON Schemas used to validate JSON assets.'
type: array
items:
type: string
example: schemaId
xmlSchemas:
description: 'SchemaIds of XML Schemas (XSD) used to validate XML assets.'
type: array
items:
type: string
example: schemaId
Parameters:
type: object
additionalProperties:
type: object
example:
name: "John"
limit: 10
offset: 5
Participant:
type: object
properties:
id:
type: string
description: Global ID of the participant
name:
type: string
publicKey:
type: string
asset:
type: string
Participants:
allOf:
- $ref: '#/components/schemas/ResultPage'
- type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/Participant'
ProvenanceCredential:
type: object
required: [ id, assetId, assetVersion, issuer, issuedAt, provenanceType, credentialFormat ]
properties:
id:
type: integer
format: int64
description: Internal surrogate key of the persisted provenance credential.
assetId:
type: string
description: IRI of the asset this credential is attached to.
assetVersion:
type: integer
description: 1-based Envers version ordinal the credential is linked to.
credentialId:
type: string
description: VC id field (unique per asset).
issuer:
type: string
description: DID of the VC issuer.
issuedAt:
type: string
format: date-time
description: issuedDateTime extracted from the VC.
provenanceType:
type: string
enum: [ CREATION, DERIVATION, ATTRIBUTION, MODIFICATION, GENERATION, USAGE, ASSOCIATION, DELEGATION ]
description: >
Provenance relation type of the primary PROV-O predicate detected on
credentialSubject. A single credential may carry several recognised predicates; every
recognised predicate is projected to the graph store, while this field records the type
of the first one for relational filtering. Predicate mapping: CREATION=wasGeneratedBy,
DERIVATION=wasDerivedFrom, ATTRIBUTION=wasAttributedTo, MODIFICATION=wasRevisionOf,
GENERATION=generated, USAGE=used, ASSOCIATION=wasAssociatedWith,
DELEGATION=actedOnBehalfOf.
credentialFormat:
type: string
enum: [ JSONLD, JSONLD_JWT, JWT ]
description: Detected credential format.
credentialContent:
type: string
description: Raw VC payload (JSON-LD or JWT string).
verified:
type: boolean
description: Whether this credential has been verified.
verificationTimestamp:
type: string
format: date-time
nullable: true
description: When the last verification was performed.
verificationResult:
$ref: '#/components/schemas/ProvenanceVerificationResult'
ProvenanceCredentials:
allOf:
- $ref: '#/components/schemas/ResultPage'
- type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/ProvenanceCredential'
ProvenanceVerificationResult:
type: object
properties:
isValid:
type: boolean
description: Overall validity of the credential.
verificationTimestamp:
type: string
format: date-time
verificationMethod:
type: string
description: DID verification method used.
issuerResolutionStatus:
type: string
enum: [ RESOLVED, UNRESOLVABLE, TEMPORARILY_UNAVAILABLE ]
description: Result of DID resolution for the issuer.
issuedDateTime:
type: string
format: date-time
signatureValid:
type: boolean
credentialExpiryValid:
type: boolean
validatorDids:
type: array
items:
type: string
errors:
type: array
items:
type: string
warnings:
type: array
items:
type: string
QueryInfo:
type: object
properties:
backend:
type: string
example: "NEO4J"
queryLanguage:
$ref: '#/components/schemas/QueryLanguage'
contentType:
type: string
example: "application/opencypher-query"
enabled:
type: boolean
example: true
exampleQuery:
type: string
documentation:
type: string
QueryLanguage:
type: string
enum:
- OPENCYPHER
- SPARQL
default: OPENCYPHER
RebuildStatus:
type: object
properties:
total:
type: integer
format: int64
description: Total number of assets to process
processed:
type: integer
format: int64
description: Number of assets processed so far
percentComplete:
type: integer
description: Completion percentage (0-100)
running:
type: boolean
description: Whether a rebuild is currently running
complete:
type: boolean
description: Whether the rebuild has completed
failed:
type: boolean
description: Whether the rebuild has failed
errorMessage:
type: string
description: Error message if the rebuild failed
errors:
type: integer
format: int64
description: Number of assets that failed during processing
durationMs:
type: integer
format: int64
description: Duration in milliseconds since rebuild started
Result:
type: object
additionalProperties:
type: object
ResultPage:
type: object
properties:
totalCount:
type: integer
Results:
allOf:
- $ref: '#/components/schemas/ResultPage'
- type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/Result'
Role:
type: string
example: Ro-MU-CA
SchemaModulePatch:
type: object
description: >-
Merge-patch body for PATCH /admin/schema-validation/modules/{type}. At least
one field must be present. Only the supplied fields are modified; absent fields
are left unchanged.
minProperties: 1
additionalProperties: false
properties:
enabled:
type: boolean
description: Desired enabled state of the schema validation module.
SchemaResult:
type: object
properties:
id:
type: string
description: 'The internal identifier of the schema.'
warnings:
type: array
items:
type: string
description: 'Warnings generated during schema import (e.g. filtered protected namespace statements).'
createdAt:
type: string
format: date-time
nullable: true
description: 'Timestamp when the schema was first uploaded. Present on creation, null on updates.'
version:
type: integer
nullable: true
description: 'Current version number after this operation. Present on updates, null on creation.'
previousVersion:
type: integer
nullable: true
description: 'Version number before this operation. Null for first version or on creation.'
SchemaValidationModule:
type: object
properties:
type:
type: string
description: Module type (SHACL, JSON_SCHEMA, XML_SCHEMA, OWL)
name:
type: string
description: Display name
description:
type: string
description: Module description
schemaCount:
type: integer
format: int64
description: Number of schemas for this module
enabled:
type: boolean
description: Whether this module is active
SchemaValidationStatus:
type: object
properties:
totalSchemaCount:
type: integer
format: int64
description: Total number of schemas across all modules
modules:
type: array
items:
$ref: '#/components/schemas/SchemaValidationModule'
SchemaVersion:
type: object
properties:
version:
type: integer
description: '1-based version ordinal.'
createdAt:
type: string
format: date-time
description: 'Timestamp when this version was created.'
isCurrent:
type: boolean
description: 'Whether this is the current (latest) version.'
SchemaVersionList:
type: object
properties:
schemaId:
type: string
description: 'The schema identifier.'
versions:
type: array
items:
$ref: '#/components/schemas/SchemaVersion'
Session:
type: object
properties:
userId:
type: string
creationDatetime:
type: string
format: date-time
status:
type: string
roleIds:
type: array
items:
$ref: '#/components/schemas/Role'
Statement:
type: object
properties:
statement:
type: string
example: Match (m:Movie) where m.released > 2000 RETURN m
parameters:
$ref: '#/components/schemas/Parameters'
required:
- statement
StoredValidationResult:
type: object
properties:
id:
type: integer
format: int64
description: Unique ID of the stored validation result
assetIds:
type: array
items:
type: string
description: Asset subject IRI(s) that were validated
validatorIds:
type: array
items:
type: string
description: Validator IDs (schema or trust framework) used for validation
validatorType:
type: string
enum: [SHACL, JSON_SCHEMA, XML_SCHEMA, TRUST_FRAMEWORK]
description: Distinguishes on-demand schema validation from external trust framework validation results
conforms:
type: boolean
description: True if the asset passed validation
validatedAt:
type: string
format: date-time
description: Timestamp of the validation run
report:
type: string
nullable: true
description: Serialised validation report (SHACL Turtle / JSON violations / XSD error)
contentHash:
type: string
description: SHA-256 hex digest of core fields for offline tamper detection
graphSyncStatus:
type: string
enum: [SYNCED, FAILED]
nullable: true
description: Graph database synchronization status. FAILED indicates the result could not be written to the triple store and requires manual intervention.
createdAt:
type: string
format: date-time
description: Timestamp of record creation in the database
outdated:
type: boolean
description: True if the result has been superseded by a newer validation run or asset lifecycle event
outdatedReason:
type: string
enum: [ASSET_UPDATED, ASSET_REVOKED]
nullable: true
description: Reason the result was marked outdated; null when outdated is false
TrustFrameworkBaseClassPatch:
type: object
description: >-
Merge-patch body for PATCH /admin/trust-frameworks/{bundleId}/base-classes/{baseClassName}.
At least one field must be present. Only the supplied fields are modified;
absent fields are left unchanged.
minProperties: 1
additionalProperties: false
properties:
enabled:
type: boolean
description: Desired enabled state of the base class within the bundle.
TrustFrameworkBundleEffectiveConfig:
type: object
description: >-
Effective compliance configuration of a bundle after applying any per-bundle
overrides on top of the YAML baseline. Resolved by the catalogue server at
request time; read-only.
properties:
clientType:
type: string
serviceUrl:
type: string
compliancePath:
type: string
apiVersion:
type: string
timeoutSeconds:
type: integer
trustAnchorUrl:
type: string
TrustFrameworkBundleEntry:
type: object
properties:
id:
type: string
description: Bundle profile ID (e.g. gaia-x-2511)
baseClasses:
type: object
additionalProperties:
type: boolean
description: Per-base-class enabled state for this bundle, keyed by base-class name.
effectiveConfig:
$ref: '#/components/schemas/TrustFrameworkBundleEffectiveConfig'
overriddenFields:
type: array
description: >-
Names of effective-config fields whose value currently comes from a
persisted override (DB row) rather than the bundle YAML. Allows the
UI to distinguish operator-set values from YAML defaults.
items:
type: string
TrustFrameworkEntry:
type: object
properties:
id:
type: string
description: Trust framework identifier
name:
type: string
description: Display name
enabled:
type: boolean
description: Whether this framework is active
bundles:
type: array
items:
$ref: '#/components/schemas/TrustFrameworkBundleEntry'
description: Per-bundle base-class states for this trust framework family.
TrustFrameworkPatch:
type: object
description: >-
Merge-patch body for PATCH /admin/trust-frameworks/{id}. At least one field
must be present. Only the supplied fields are modified; absent fields are
left unchanged.
minProperties: 1
additionalProperties: false
properties:
enabled:
type: boolean
description: Desired enabled state of the trust framework family.
TrustFrameworkPublicEntry:
type: object
properties:
id:
type: string
description: Family ID (e.g. "gaia-x", "mock")
name:
type: string
description: Human-readable family name
profiles:
type: array
items:
type: string
description: Profile IDs registered for this family (e.g. ["gaia-x-2511"])
User:
type: object
properties:
participantId:
type: string
description: Global ID of the associated participant
example: ExampleCompany
firstName:
type: string
example: John
lastName:
type: string
example: Doe
email:
type: string
roleIds:
type: array
items:
$ref: '#/components/schemas/Role'
required:
- participantId
- firstName
- lastName
- email
UserProfile:
allOf:
- $ref: '#/components/schemas/User'
- type: object
properties:
id:
type: string
description: Internal catalogue user id
example: ExampleCompany-John-Doe
username:
type: string
example: John Doe
required:
- id
- username
UserProfiles:
allOf:
- $ref: '#/components/schemas/ResultPage'
- type: object
properties:
items:
type: array
items:
$ref: '#/components/schemas/UserProfile'
ValidationReport:
type: object
required:
- conforms
properties:
conforms:
type: boolean
description: True if validation passed with no violations
violations:
type: array
items:
$ref: '#/components/schemas/ValidationViolation'
description: List of constraint violations (empty if conforms=true)
rawReport:
type: string
nullable: true
description: Serialised raw report (SHACL Turtle for RDF; error message for JSON/XML)
ValidationRequest:
type: object
required:
- assetIds
properties:
assetIds:
type: array
items:
type: string
minItems: 1
maxItems: 20
description: >
Asset IRIs to validate (1 up to the configured maximum, default 20 - see
`federated-catalogue.validation.max-assets-per-request`). A single-ID request runs full type-based dispatch
(SHACL for RDF assets, JSON Schema for JSON, XML Schema for XML).
Multiple IDs merge all assets into a single data graph for SHACL-only validation;
all assets must be RDF assets in that case.
schemaIds:
type: array
items:
type: string
description: >
Optional schema IDs to validate against. For single-asset requests, each schema
must match the asset type (SHACL shape for RDF, JSON Schema for JSON, XML Schema
for XML). For multi-asset requests, each must be a SHACL shape.
Mutually exclusive with validateAgainstAllSchemas=true.