@twin.org/document-management-service 0.0.1-next.9 → 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +303 -114
- package/dist/esm/index.mjs +304 -116
- package/dist/types/documentManagementRoutes.d.ts +10 -2
- package/dist/types/documentManagementService.d.ts +26 -1
- package/dist/types/models/IDocumentManagementStorageServiceConstructorOptions.d.ts +5 -0
- package/docs/changelog.md +181 -0
- package/docs/open-api/spec.json +444 -1350
- package/docs/reference/classes/DocumentManagementService.md +90 -0
- package/docs/reference/functions/documentManagementGetRevision.md +31 -0
- package/docs/reference/functions/documentManagementUpdate.md +1 -1
- package/docs/reference/index.md +1 -0
- package/docs/reference/interfaces/IDocumentManagementServiceConstructorOptions.md +14 -0
- package/locales/en.json +2 -1
- package/package.json +73 -15
package/docs/open-api/spec.json
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"paths": {
|
|
24
|
-
"/
|
|
24
|
+
"/document-management": {
|
|
25
25
|
"post": {
|
|
26
26
|
"operationId": "DocumentManagementSet",
|
|
27
27
|
"summary": "Store a document in an auditable item graph vertex and add its content to blob storage.",
|
|
@@ -163,7 +163,10 @@
|
|
|
163
163
|
"in": "query",
|
|
164
164
|
"required": false,
|
|
165
165
|
"schema": {
|
|
166
|
-
"type":
|
|
166
|
+
"type": [
|
|
167
|
+
"number",
|
|
168
|
+
"string"
|
|
169
|
+
]
|
|
167
170
|
}
|
|
168
171
|
},
|
|
169
172
|
{
|
|
@@ -182,6 +185,80 @@
|
|
|
182
185
|
}
|
|
183
186
|
],
|
|
184
187
|
"responses": {
|
|
188
|
+
"200": {
|
|
189
|
+
"description": "Response to query the documents from an auditable item graph vertex.",
|
|
190
|
+
"content": {
|
|
191
|
+
"application/json": {
|
|
192
|
+
"schema": {
|
|
193
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphVertexList"
|
|
194
|
+
},
|
|
195
|
+
"examples": {
|
|
196
|
+
"DocumentManagementQueryResponseExample": {
|
|
197
|
+
"value": {
|
|
198
|
+
"@context": [
|
|
199
|
+
"https://schema.org",
|
|
200
|
+
"https://schema.twindev.org/aig/"
|
|
201
|
+
],
|
|
202
|
+
"type": [
|
|
203
|
+
"ItemList",
|
|
204
|
+
"AuditableItemGraphVertexList"
|
|
205
|
+
],
|
|
206
|
+
"itemListElement": [
|
|
207
|
+
{
|
|
208
|
+
"@context": [
|
|
209
|
+
"https://schema.twindev.org/aig/",
|
|
210
|
+
"https://schema.twindev.org/common/"
|
|
211
|
+
],
|
|
212
|
+
"id": "aig:c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7c7",
|
|
213
|
+
"type": "AuditableItemGraphVertex",
|
|
214
|
+
"dateCreated": "2024-08-22T04:13:20.000Z",
|
|
215
|
+
"aliases": [
|
|
216
|
+
{
|
|
217
|
+
"@context": [
|
|
218
|
+
"https://schema.twindev.org/aig/"
|
|
219
|
+
],
|
|
220
|
+
"id": "test-id-0",
|
|
221
|
+
"type": "AuditableItemGraphAlias",
|
|
222
|
+
"dateCreated": "2024-08-22T04:13:20.000Z"
|
|
223
|
+
}
|
|
224
|
+
],
|
|
225
|
+
"resources": [
|
|
226
|
+
{
|
|
227
|
+
"@context": "https://schema.twindev.org/aig/",
|
|
228
|
+
"type": "AuditableItemGraphResource",
|
|
229
|
+
"dateCreated": "2024-08-22T04:13:20.000Z",
|
|
230
|
+
"resourceObject": {
|
|
231
|
+
"@context": [
|
|
232
|
+
"https://schema.twindev.org/documents/",
|
|
233
|
+
"https://schema.twindev.org/common/",
|
|
234
|
+
"https://schema.org"
|
|
235
|
+
],
|
|
236
|
+
"type": "Document",
|
|
237
|
+
"id": "test-id-0:0",
|
|
238
|
+
"documentId": "test-id-0",
|
|
239
|
+
"documentCode": "unece:DocumentCodeList#705",
|
|
240
|
+
"documentRevision": 0,
|
|
241
|
+
"annotationObject": {
|
|
242
|
+
"@context": "https://schema.org",
|
|
243
|
+
"type": "DigitalDocument",
|
|
244
|
+
"name": "bill-of-lading"
|
|
245
|
+
},
|
|
246
|
+
"blobHash": "sha256:E3Duqrp6bHojSx+CzDttAToAiP1eFkCDAPBbKLABVGM=",
|
|
247
|
+
"blobStorageId": "blob:memory:1370eeaaba7a6c7a234b1f82cc3b6d013a0088fd5e16408300f05b28b0015463",
|
|
248
|
+
"dateCreated": "2024-08-22T04:13:20.000Z",
|
|
249
|
+
"nodeIdentity": "did:entity-storage:0x0101010101010101010101010101010101010101010101010101010101010101",
|
|
250
|
+
"userIdentity": "did:entity-storage:0x0404040404040404040404040404040404040404040404040404040404040404"
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
]
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
},
|
|
185
262
|
"400": {
|
|
186
263
|
"description": "The server cannot process the request, see the content for more details.",
|
|
187
264
|
"content": {
|
|
@@ -242,7 +319,7 @@
|
|
|
242
319
|
}
|
|
243
320
|
}
|
|
244
321
|
},
|
|
245
|
-
"/
|
|
322
|
+
"/document-management/{auditableItemGraphDocumentId}": {
|
|
246
323
|
"put": {
|
|
247
324
|
"operationId": "DocumentManagementUpdate",
|
|
248
325
|
"summary": "Update a document in an auditable item graph vertex and add its content to blob storage.",
|
|
@@ -377,7 +454,10 @@
|
|
|
377
454
|
"in": "query",
|
|
378
455
|
"required": false,
|
|
379
456
|
"schema": {
|
|
380
|
-
"type":
|
|
457
|
+
"type": [
|
|
458
|
+
"boolean",
|
|
459
|
+
"string"
|
|
460
|
+
]
|
|
381
461
|
}
|
|
382
462
|
},
|
|
383
463
|
{
|
|
@@ -386,7 +466,10 @@
|
|
|
386
466
|
"in": "query",
|
|
387
467
|
"required": false,
|
|
388
468
|
"schema": {
|
|
389
|
-
"type":
|
|
469
|
+
"type": [
|
|
470
|
+
"boolean",
|
|
471
|
+
"string"
|
|
472
|
+
]
|
|
390
473
|
}
|
|
391
474
|
},
|
|
392
475
|
{
|
|
@@ -395,7 +478,10 @@
|
|
|
395
478
|
"in": "query",
|
|
396
479
|
"required": false,
|
|
397
480
|
"schema": {
|
|
398
|
-
"type":
|
|
481
|
+
"type": [
|
|
482
|
+
"boolean",
|
|
483
|
+
"string"
|
|
484
|
+
]
|
|
399
485
|
}
|
|
400
486
|
},
|
|
401
487
|
{
|
|
@@ -404,7 +490,28 @@
|
|
|
404
490
|
"in": "query",
|
|
405
491
|
"required": false,
|
|
406
492
|
"schema": {
|
|
407
|
-
"type":
|
|
493
|
+
"type": [
|
|
494
|
+
"boolean",
|
|
495
|
+
"string"
|
|
496
|
+
]
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"name": "extractRuleGroupId",
|
|
501
|
+
"description": "If provided will extract data from the document using the specified rule group id.",
|
|
502
|
+
"in": "query",
|
|
503
|
+
"required": false,
|
|
504
|
+
"schema": {
|
|
505
|
+
"type": "string"
|
|
506
|
+
}
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "extractMimeType",
|
|
510
|
+
"description": "By default extraction will auto detect the mime type of the document, this can be used to override the detection.",
|
|
511
|
+
"in": "query",
|
|
512
|
+
"required": false,
|
|
513
|
+
"schema": {
|
|
514
|
+
"type": "string"
|
|
408
515
|
}
|
|
409
516
|
},
|
|
410
517
|
{
|
|
@@ -413,7 +520,10 @@
|
|
|
413
520
|
"in": "query",
|
|
414
521
|
"required": false,
|
|
415
522
|
"schema": {
|
|
416
|
-
"type":
|
|
523
|
+
"type": [
|
|
524
|
+
"number",
|
|
525
|
+
"string"
|
|
526
|
+
]
|
|
417
527
|
}
|
|
418
528
|
},
|
|
419
529
|
{
|
|
@@ -452,11 +562,12 @@
|
|
|
452
562
|
"DocumentManagementGetResponseExample": {
|
|
453
563
|
"value": {
|
|
454
564
|
"@context": [
|
|
565
|
+
"https://schema.org",
|
|
455
566
|
"https://schema.twindev.org/documents/",
|
|
456
567
|
"https://schema.twindev.org/common/"
|
|
457
568
|
],
|
|
458
|
-
"type": "
|
|
459
|
-
"
|
|
569
|
+
"type": "ItemList",
|
|
570
|
+
"itemListElement": [
|
|
460
571
|
{
|
|
461
572
|
"@context": [
|
|
462
573
|
"https://schema.twindev.org/documents/",
|
|
@@ -493,11 +604,12 @@
|
|
|
493
604
|
"DocumentManagementGetResponseExample": {
|
|
494
605
|
"value": {
|
|
495
606
|
"@context": [
|
|
607
|
+
"https://schema.org",
|
|
496
608
|
"https://schema.twindev.org/documents/",
|
|
497
609
|
"https://schema.twindev.org/common/"
|
|
498
610
|
],
|
|
499
|
-
"type": "
|
|
500
|
-
"
|
|
611
|
+
"type": "ItemList",
|
|
612
|
+
"itemListElement": [
|
|
501
613
|
{
|
|
502
614
|
"@context": [
|
|
503
615
|
"https://schema.twindev.org/documents/",
|
|
@@ -609,7 +721,192 @@
|
|
|
609
721
|
}
|
|
610
722
|
}
|
|
611
723
|
},
|
|
612
|
-
"/
|
|
724
|
+
"/document-management/{auditableItemGraphDocumentId}/{revision}": {
|
|
725
|
+
"get": {
|
|
726
|
+
"operationId": "DocumentManagementGetRevision",
|
|
727
|
+
"summary": "Get the data for a document revision from document management",
|
|
728
|
+
"tags": [
|
|
729
|
+
"Document Management"
|
|
730
|
+
],
|
|
731
|
+
"parameters": [
|
|
732
|
+
{
|
|
733
|
+
"name": "auditableItemGraphDocumentId",
|
|
734
|
+
"description": "",
|
|
735
|
+
"in": "path",
|
|
736
|
+
"required": true,
|
|
737
|
+
"schema": {
|
|
738
|
+
"type": "string"
|
|
739
|
+
},
|
|
740
|
+
"style": "simple",
|
|
741
|
+
"example": "aig:123456"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"name": "revision",
|
|
745
|
+
"description": "",
|
|
746
|
+
"in": "path",
|
|
747
|
+
"required": true,
|
|
748
|
+
"schema": {
|
|
749
|
+
"type": "string"
|
|
750
|
+
},
|
|
751
|
+
"style": "simple",
|
|
752
|
+
"example": "1"
|
|
753
|
+
}
|
|
754
|
+
],
|
|
755
|
+
"security": [
|
|
756
|
+
{
|
|
757
|
+
"jwtBearerAuthScheme": []
|
|
758
|
+
}
|
|
759
|
+
],
|
|
760
|
+
"responses": {
|
|
761
|
+
"200": {
|
|
762
|
+
"description": "Response to get a document revision from an auditable item graph vertex.",
|
|
763
|
+
"content": {
|
|
764
|
+
"application/json": {
|
|
765
|
+
"schema": {
|
|
766
|
+
"$ref": "#/components/schemas/Document"
|
|
767
|
+
},
|
|
768
|
+
"examples": {
|
|
769
|
+
"DocumentManagementGetRevisionResponseExample": {
|
|
770
|
+
"value": {
|
|
771
|
+
"@context": [
|
|
772
|
+
"https://schema.twindev.org/documents/",
|
|
773
|
+
"https://schema.twindev.org/common/",
|
|
774
|
+
"https://schema.org"
|
|
775
|
+
],
|
|
776
|
+
"type": "Document",
|
|
777
|
+
"id": "2721000:0",
|
|
778
|
+
"documentId": "2721000",
|
|
779
|
+
"documentIdFormat": "bol",
|
|
780
|
+
"documentCode": "unece:DocumentCodeList#705",
|
|
781
|
+
"documentRevision": 1,
|
|
782
|
+
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
783
|
+
"blobHash": "sha256:123456",
|
|
784
|
+
"dateCreated": "2024-01-01T00:00:00Z",
|
|
785
|
+
"annotationObject": {
|
|
786
|
+
"@context": "https://schema.org",
|
|
787
|
+
"@type": "DigitalDocument",
|
|
788
|
+
"name": "myfile.pdf"
|
|
789
|
+
},
|
|
790
|
+
"nodeIdentity": "did:entity-storage:0x6363636363636363636363636363636363636363636363636363636363636363",
|
|
791
|
+
"userIdentity": "did:entity-storage:0x6363636363636363636363636363636363636363636363636363636363636363"
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
},
|
|
796
|
+
"application/ld+json": {
|
|
797
|
+
"schema": {
|
|
798
|
+
"$ref": "#/components/schemas/Document"
|
|
799
|
+
},
|
|
800
|
+
"examples": {
|
|
801
|
+
"DocumentManagementGetRevisionResponseExample": {
|
|
802
|
+
"value": {
|
|
803
|
+
"@context": [
|
|
804
|
+
"https://schema.twindev.org/documents/",
|
|
805
|
+
"https://schema.twindev.org/common/",
|
|
806
|
+
"https://schema.org"
|
|
807
|
+
],
|
|
808
|
+
"type": "Document",
|
|
809
|
+
"id": "2721000:0",
|
|
810
|
+
"documentId": "2721000",
|
|
811
|
+
"documentIdFormat": "bol",
|
|
812
|
+
"documentCode": "unece:DocumentCodeList#705",
|
|
813
|
+
"documentRevision": 1,
|
|
814
|
+
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
815
|
+
"blobHash": "sha256:123456",
|
|
816
|
+
"dateCreated": "2024-01-01T00:00:00Z",
|
|
817
|
+
"annotationObject": {
|
|
818
|
+
"@context": "https://schema.org",
|
|
819
|
+
"@type": "DigitalDocument",
|
|
820
|
+
"name": "myfile.pdf"
|
|
821
|
+
},
|
|
822
|
+
"nodeIdentity": "did:entity-storage:0x6363636363636363636363636363636363636363636363636363636363636363",
|
|
823
|
+
"userIdentity": "did:entity-storage:0x6363636363636363636363636363636363636363636363636363636363636363"
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
},
|
|
830
|
+
"400": {
|
|
831
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
832
|
+
"content": {
|
|
833
|
+
"application/json": {
|
|
834
|
+
"schema": {
|
|
835
|
+
"$ref": "#/components/schemas/Error"
|
|
836
|
+
},
|
|
837
|
+
"examples": {
|
|
838
|
+
"exampleResponse": {
|
|
839
|
+
"value": {
|
|
840
|
+
"name": "GeneralError",
|
|
841
|
+
"message": "component.error",
|
|
842
|
+
"properties": {
|
|
843
|
+
"foo": "bar"
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
"401": {
|
|
852
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
853
|
+
"content": {
|
|
854
|
+
"application/json": {
|
|
855
|
+
"schema": {
|
|
856
|
+
"$ref": "#/components/schemas/Error"
|
|
857
|
+
},
|
|
858
|
+
"examples": {
|
|
859
|
+
"exampleResponse": {
|
|
860
|
+
"value": {
|
|
861
|
+
"name": "UnauthorizedError",
|
|
862
|
+
"message": "component.error"
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
},
|
|
869
|
+
"404": {
|
|
870
|
+
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
871
|
+
"content": {
|
|
872
|
+
"application/json": {
|
|
873
|
+
"schema": {
|
|
874
|
+
"$ref": "#/components/schemas/NotFoundResponse"
|
|
875
|
+
},
|
|
876
|
+
"examples": {
|
|
877
|
+
"exampleResponse": {
|
|
878
|
+
"value": {
|
|
879
|
+
"name": "NotFoundError",
|
|
880
|
+
"message": "component.error",
|
|
881
|
+
"properties": {
|
|
882
|
+
"notFoundId": "1"
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}
|
|
889
|
+
},
|
|
890
|
+
"500": {
|
|
891
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
892
|
+
"content": {
|
|
893
|
+
"application/json": {
|
|
894
|
+
"schema": {
|
|
895
|
+
"$ref": "#/components/schemas/Error"
|
|
896
|
+
},
|
|
897
|
+
"examples": {
|
|
898
|
+
"exampleResponse": {
|
|
899
|
+
"value": {
|
|
900
|
+
"name": "InternalServerError",
|
|
901
|
+
"message": "component.error"
|
|
902
|
+
}
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
},
|
|
613
910
|
"delete": {
|
|
614
911
|
"operationId": "DocumentManagementRemove",
|
|
615
912
|
"summary": "Remove an document from an auditable item graph vertex",
|
|
@@ -733,16 +1030,17 @@
|
|
|
733
1030
|
},
|
|
734
1031
|
"components": {
|
|
735
1032
|
"schemas": {
|
|
736
|
-
"
|
|
1033
|
+
"Document": {
|
|
737
1034
|
"type": "object",
|
|
738
1035
|
"properties": {
|
|
739
1036
|
"@context": {
|
|
740
1037
|
"type": "array",
|
|
741
1038
|
"minItems": 3,
|
|
742
|
-
"
|
|
1039
|
+
"description": "JSON-LD Context.",
|
|
1040
|
+
"prefixItems": [
|
|
743
1041
|
{
|
|
744
1042
|
"type": "string",
|
|
745
|
-
"const": "https://schema.twindev.org/
|
|
1043
|
+
"const": "https://schema.twindev.org/documents/"
|
|
746
1044
|
},
|
|
747
1045
|
{
|
|
748
1046
|
"type": "string",
|
|
@@ -753,283 +1051,144 @@
|
|
|
753
1051
|
"const": "https://schema.org"
|
|
754
1052
|
}
|
|
755
1053
|
],
|
|
756
|
-
"
|
|
757
|
-
"$ref": "
|
|
758
|
-
}
|
|
759
|
-
"description": "JSON-LD Context."
|
|
1054
|
+
"items": {
|
|
1055
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
1056
|
+
}
|
|
760
1057
|
},
|
|
761
1058
|
"type": {
|
|
762
1059
|
"type": "string",
|
|
763
|
-
"const": "
|
|
1060
|
+
"const": "Document",
|
|
764
1061
|
"description": "JSON-LD Type."
|
|
765
1062
|
},
|
|
766
1063
|
"id": {
|
|
767
1064
|
"type": "string",
|
|
768
|
-
"description": "The
|
|
1065
|
+
"description": "The full id of the document."
|
|
769
1066
|
},
|
|
770
|
-
"
|
|
1067
|
+
"documentId": {
|
|
1068
|
+
"type": "string",
|
|
1069
|
+
"description": "The id of the document."
|
|
1070
|
+
},
|
|
1071
|
+
"documentIdFormat": {
|
|
1072
|
+
"type": "string",
|
|
1073
|
+
"description": "The format of the document id."
|
|
1074
|
+
},
|
|
1075
|
+
"documentCode": {
|
|
1076
|
+
"$ref": "#/components/schemas/UneceDocumentCodes"
|
|
1077
|
+
},
|
|
1078
|
+
"documentRevision": {
|
|
1079
|
+
"type": "number",
|
|
1080
|
+
"description": "The revision of the document as a 0 based index."
|
|
1081
|
+
},
|
|
1082
|
+
"annotationObject": {
|
|
1083
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1084
|
+
},
|
|
1085
|
+
"blobStorageId": {
|
|
771
1086
|
"type": "string",
|
|
772
|
-
"description": "
|
|
1087
|
+
"description": "The blob storage id for the document."
|
|
773
1088
|
},
|
|
774
|
-
"
|
|
1089
|
+
"blobHash": {
|
|
775
1090
|
"type": "string",
|
|
776
|
-
"description": "
|
|
1091
|
+
"description": "The hash of the blob data."
|
|
1092
|
+
},
|
|
1093
|
+
"blobStorageEntry": {
|
|
1094
|
+
"$ref": "https://schema.twindev.org/blob-storage/BlobStorageEntry"
|
|
1095
|
+
},
|
|
1096
|
+
"extractedData": {
|
|
1097
|
+
"description": "The data extracted from the document using data extraction services."
|
|
777
1098
|
},
|
|
778
|
-
"
|
|
1099
|
+
"attestationId": {
|
|
779
1100
|
"type": "string",
|
|
780
|
-
"description": "The
|
|
1101
|
+
"description": "The attestation for the document if one was created."
|
|
781
1102
|
},
|
|
782
|
-
"
|
|
1103
|
+
"attestationInformation": {
|
|
1104
|
+
"$ref": "https://schema.twindev.org/attestation/AttestationInformation"
|
|
1105
|
+
},
|
|
1106
|
+
"dateCreated": {
|
|
783
1107
|
"type": "string",
|
|
784
|
-
"description": "The
|
|
1108
|
+
"description": "The date/time of when the document was created."
|
|
785
1109
|
},
|
|
786
|
-
"
|
|
787
|
-
"
|
|
1110
|
+
"dateModified": {
|
|
1111
|
+
"type": "string",
|
|
1112
|
+
"description": "The date/time of when the document was modified."
|
|
788
1113
|
},
|
|
789
|
-
"
|
|
790
|
-
"
|
|
1114
|
+
"dateDeleted": {
|
|
1115
|
+
"type": "string",
|
|
1116
|
+
"description": "The date/time of when the document was deleted, as we never actually remove items."
|
|
791
1117
|
},
|
|
792
|
-
"
|
|
793
|
-
"type": "
|
|
794
|
-
"description": "
|
|
1118
|
+
"nodeIdentity": {
|
|
1119
|
+
"type": "string",
|
|
1120
|
+
"description": "The node which added the document to the graph."
|
|
795
1121
|
},
|
|
796
|
-
"
|
|
1122
|
+
"userIdentity": {
|
|
797
1123
|
"type": "string",
|
|
798
|
-
"description": "The
|
|
1124
|
+
"description": "The user who added the document to the graph."
|
|
799
1125
|
}
|
|
800
1126
|
},
|
|
801
1127
|
"required": [
|
|
802
1128
|
"@context",
|
|
803
1129
|
"type",
|
|
804
1130
|
"id",
|
|
1131
|
+
"documentId",
|
|
1132
|
+
"documentCode",
|
|
1133
|
+
"documentRevision",
|
|
1134
|
+
"blobStorageId",
|
|
1135
|
+
"blobHash",
|
|
805
1136
|
"dateCreated",
|
|
806
|
-
"
|
|
807
|
-
"
|
|
1137
|
+
"nodeIdentity",
|
|
1138
|
+
"userIdentity"
|
|
808
1139
|
],
|
|
809
1140
|
"additionalProperties": false,
|
|
810
|
-
"description": "Interface describing
|
|
1141
|
+
"description": "Interface describing a document."
|
|
811
1142
|
},
|
|
812
|
-
"
|
|
1143
|
+
"DocumentList": {
|
|
813
1144
|
"type": "object",
|
|
814
1145
|
"properties": {
|
|
815
1146
|
"@context": {
|
|
816
1147
|
"type": "array",
|
|
817
|
-
"minItems":
|
|
818
|
-
"
|
|
1148
|
+
"minItems": 3,
|
|
1149
|
+
"description": "JSON-LD Context.",
|
|
1150
|
+
"prefixItems": [
|
|
1151
|
+
{
|
|
1152
|
+
"type": "string",
|
|
1153
|
+
"const": "https://schema.org"
|
|
1154
|
+
},
|
|
819
1155
|
{
|
|
820
1156
|
"type": "string",
|
|
821
|
-
"const": "https://schema.twindev.org/
|
|
1157
|
+
"const": "https://schema.twindev.org/documents/"
|
|
822
1158
|
},
|
|
823
1159
|
{
|
|
824
1160
|
"type": "string",
|
|
825
1161
|
"const": "https://schema.twindev.org/common/"
|
|
826
1162
|
}
|
|
827
1163
|
],
|
|
828
|
-
"
|
|
829
|
-
"$ref": "
|
|
830
|
-
}
|
|
831
|
-
"description": "JSON-LD Context."
|
|
1164
|
+
"items": {
|
|
1165
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdContextDefinitionElement"
|
|
1166
|
+
}
|
|
832
1167
|
},
|
|
833
1168
|
"type": {
|
|
834
1169
|
"type": "string",
|
|
835
|
-
"const": "
|
|
1170
|
+
"const": "ItemList",
|
|
836
1171
|
"description": "JSON-LD Type."
|
|
837
1172
|
},
|
|
838
|
-
"
|
|
839
|
-
"type": "
|
|
840
|
-
"description": "The
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
1173
|
+
"itemListElement": {
|
|
1174
|
+
"type": "array",
|
|
1175
|
+
"description": "The list of documents.",
|
|
1176
|
+
"prefixItems": [
|
|
1177
|
+
{
|
|
1178
|
+
"$ref": "#/components/schemas/Document"
|
|
1179
|
+
}
|
|
1180
|
+
]
|
|
845
1181
|
},
|
|
846
|
-
"
|
|
847
|
-
"type": "string",
|
|
848
|
-
"description": "The date/time when the entry was modified."
|
|
849
|
-
},
|
|
850
|
-
"blobSize": {
|
|
851
|
-
"type": "number",
|
|
852
|
-
"description": "The size of the data in the blob."
|
|
853
|
-
},
|
|
854
|
-
"blobHash": {
|
|
855
|
-
"type": "string",
|
|
856
|
-
"description": "The hash of the data in the blob."
|
|
857
|
-
},
|
|
858
|
-
"encodingFormat": {
|
|
859
|
-
"type": "string",
|
|
860
|
-
"description": "The mime type for the blob."
|
|
861
|
-
},
|
|
862
|
-
"fileExtension": {
|
|
863
|
-
"type": "string",
|
|
864
|
-
"description": "The extension."
|
|
865
|
-
},
|
|
866
|
-
"metadata": {
|
|
867
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
868
|
-
},
|
|
869
|
-
"blob": {
|
|
870
|
-
"type": "string",
|
|
871
|
-
"description": "The blob in base64 format, included if the includeContent flag was set in the request."
|
|
872
|
-
}
|
|
873
|
-
},
|
|
874
|
-
"required": [
|
|
875
|
-
"@context",
|
|
876
|
-
"type",
|
|
877
|
-
"id",
|
|
878
|
-
"dateCreated",
|
|
879
|
-
"blobSize",
|
|
880
|
-
"blobHash"
|
|
881
|
-
],
|
|
882
|
-
"additionalProperties": false,
|
|
883
|
-
"description": "Interface describing a blob storage entry."
|
|
884
|
-
},
|
|
885
|
-
"Document": {
|
|
886
|
-
"type": "object",
|
|
887
|
-
"properties": {
|
|
888
|
-
"@context": {
|
|
889
|
-
"type": "array",
|
|
890
|
-
"minItems": 3,
|
|
891
|
-
"items": [
|
|
892
|
-
{
|
|
893
|
-
"type": "string",
|
|
894
|
-
"const": "https://schema.twindev.org/documents/"
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
"type": "string",
|
|
898
|
-
"const": "https://schema.twindev.org/common/"
|
|
899
|
-
},
|
|
900
|
-
{
|
|
901
|
-
"type": "string",
|
|
902
|
-
"const": "https://schema.org"
|
|
903
|
-
}
|
|
904
|
-
],
|
|
905
|
-
"additionalItems": {
|
|
906
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
907
|
-
},
|
|
908
|
-
"description": "JSON-LD Context."
|
|
909
|
-
},
|
|
910
|
-
"type": {
|
|
911
|
-
"type": "string",
|
|
912
|
-
"const": "Document",
|
|
913
|
-
"description": "JSON-LD Type."
|
|
914
|
-
},
|
|
915
|
-
"id": {
|
|
916
|
-
"type": "string",
|
|
917
|
-
"description": "The full id of the document."
|
|
918
|
-
},
|
|
919
|
-
"documentId": {
|
|
920
|
-
"type": "string",
|
|
921
|
-
"description": "The id of the document."
|
|
922
|
-
},
|
|
923
|
-
"documentIdFormat": {
|
|
924
|
-
"type": "string",
|
|
925
|
-
"description": "The format of the document id."
|
|
926
|
-
},
|
|
927
|
-
"documentCode": {
|
|
928
|
-
"$ref": "#/components/schemas/UneceDocumentCodes"
|
|
929
|
-
},
|
|
930
|
-
"documentRevision": {
|
|
931
|
-
"type": "number",
|
|
932
|
-
"description": "The revision of the document as a 0 based index."
|
|
933
|
-
},
|
|
934
|
-
"annotationObject": {
|
|
935
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
936
|
-
},
|
|
937
|
-
"blobStorageId": {
|
|
938
|
-
"type": "string",
|
|
939
|
-
"description": "The blob storage id for the document."
|
|
940
|
-
},
|
|
941
|
-
"blobHash": {
|
|
942
|
-
"type": "string",
|
|
943
|
-
"description": "The hash of the blob data."
|
|
944
|
-
},
|
|
945
|
-
"blobStorageEntry": {
|
|
946
|
-
"$ref": "#/components/schemas/BlobStorageEntry"
|
|
947
|
-
},
|
|
948
|
-
"attestationId": {
|
|
949
|
-
"type": "string",
|
|
950
|
-
"description": "The attestation for the document if one was created."
|
|
951
|
-
},
|
|
952
|
-
"attestationInformation": {
|
|
953
|
-
"$ref": "#/components/schemas/AttestationInformation"
|
|
954
|
-
},
|
|
955
|
-
"dateCreated": {
|
|
956
|
-
"type": "string",
|
|
957
|
-
"description": "The date/time of when the document was created."
|
|
958
|
-
},
|
|
959
|
-
"dateModified": {
|
|
960
|
-
"type": "string",
|
|
961
|
-
"description": "The date/time of when the document was modified."
|
|
962
|
-
},
|
|
963
|
-
"dateDeleted": {
|
|
964
|
-
"type": "string",
|
|
965
|
-
"description": "The date/time of when the document was deleted, as we never actually remove items."
|
|
966
|
-
},
|
|
967
|
-
"nodeIdentity": {
|
|
968
|
-
"type": "string",
|
|
969
|
-
"description": "The node which added the document to the graph."
|
|
970
|
-
},
|
|
971
|
-
"userIdentity": {
|
|
972
|
-
"type": "string",
|
|
973
|
-
"description": "The user who added the document to the graph."
|
|
974
|
-
}
|
|
975
|
-
},
|
|
976
|
-
"required": [
|
|
977
|
-
"@context",
|
|
978
|
-
"type",
|
|
979
|
-
"id",
|
|
980
|
-
"documentId",
|
|
981
|
-
"documentCode",
|
|
982
|
-
"documentRevision",
|
|
983
|
-
"blobStorageId",
|
|
984
|
-
"blobHash",
|
|
985
|
-
"dateCreated",
|
|
986
|
-
"nodeIdentity",
|
|
987
|
-
"userIdentity"
|
|
988
|
-
],
|
|
989
|
-
"additionalProperties": false,
|
|
990
|
-
"description": "Interface describing a document."
|
|
991
|
-
},
|
|
992
|
-
"DocumentList": {
|
|
993
|
-
"type": "object",
|
|
994
|
-
"properties": {
|
|
995
|
-
"@context": {
|
|
1182
|
+
"edges": {
|
|
996
1183
|
"type": "array",
|
|
997
|
-
"
|
|
998
|
-
"
|
|
999
|
-
{
|
|
1000
|
-
"type": "string",
|
|
1001
|
-
"const": "https://schema.twindev.org/documents/"
|
|
1002
|
-
},
|
|
1184
|
+
"description": "The ids of the other vertices which are connected to the document.",
|
|
1185
|
+
"prefixItems": [
|
|
1003
1186
|
{
|
|
1004
|
-
"type": "string"
|
|
1005
|
-
"const": "https://schema.twindev.org/common/"
|
|
1187
|
+
"type": "string"
|
|
1006
1188
|
}
|
|
1007
|
-
]
|
|
1008
|
-
"additionalItems": {
|
|
1009
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1010
|
-
},
|
|
1011
|
-
"description": "JSON-LD Context."
|
|
1012
|
-
},
|
|
1013
|
-
"type": {
|
|
1014
|
-
"type": "string",
|
|
1015
|
-
"const": "DocumentList",
|
|
1016
|
-
"description": "JSON-LD Type."
|
|
1017
|
-
},
|
|
1018
|
-
"documents": {
|
|
1019
|
-
"type": "array",
|
|
1020
|
-
"items": {
|
|
1021
|
-
"$ref": "#/components/schemas/Document"
|
|
1022
|
-
},
|
|
1023
|
-
"description": "The list of documents."
|
|
1024
|
-
},
|
|
1025
|
-
"edges": {
|
|
1026
|
-
"type": "array",
|
|
1027
|
-
"items": {
|
|
1028
|
-
"type": "string"
|
|
1029
|
-
},
|
|
1030
|
-
"description": "The ids of the other vertices which are connected to the document."
|
|
1189
|
+
]
|
|
1031
1190
|
},
|
|
1032
|
-
"
|
|
1191
|
+
"nextItem": {
|
|
1033
1192
|
"type": "string",
|
|
1034
1193
|
"description": "The cursor to get the next chunk of documents."
|
|
1035
1194
|
}
|
|
@@ -1037,7 +1196,7 @@
|
|
|
1037
1196
|
"required": [
|
|
1038
1197
|
"@context",
|
|
1039
1198
|
"type",
|
|
1040
|
-
"
|
|
1199
|
+
"itemListElement"
|
|
1041
1200
|
],
|
|
1042
1201
|
"additionalProperties": false,
|
|
1043
1202
|
"description": "Interface describing a list of document entries."
|
|
@@ -1061,29 +1220,31 @@
|
|
|
1061
1220
|
"description": "The data to create the document with, in base64."
|
|
1062
1221
|
},
|
|
1063
1222
|
"annotationObject": {
|
|
1064
|
-
"$ref": "
|
|
1223
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1065
1224
|
},
|
|
1066
1225
|
"auditableItemGraphEdges": {
|
|
1067
1226
|
"type": "array",
|
|
1068
|
-
"
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
"
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1227
|
+
"description": "The auditable item graph vertices to connect the document to.",
|
|
1228
|
+
"prefixItems": [
|
|
1229
|
+
{
|
|
1230
|
+
"type": "object",
|
|
1231
|
+
"properties": {
|
|
1232
|
+
"id": {
|
|
1233
|
+
"type": "string"
|
|
1234
|
+
},
|
|
1235
|
+
"addAlias": {
|
|
1236
|
+
"type": "boolean"
|
|
1237
|
+
},
|
|
1238
|
+
"aliasAnnotationObject": {
|
|
1239
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1240
|
+
}
|
|
1076
1241
|
},
|
|
1077
|
-
"
|
|
1078
|
-
"
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
],
|
|
1084
|
-
"additionalProperties": false
|
|
1085
|
-
},
|
|
1086
|
-
"description": "The auditable item graph vertices to connect the document to."
|
|
1242
|
+
"required": [
|
|
1243
|
+
"id"
|
|
1244
|
+
],
|
|
1245
|
+
"additionalProperties": false
|
|
1246
|
+
}
|
|
1247
|
+
]
|
|
1087
1248
|
},
|
|
1088
1249
|
"createAttestation": {
|
|
1089
1250
|
"type": "boolean",
|
|
@@ -1094,7 +1255,7 @@
|
|
|
1094
1255
|
"description": "Flag to add the document id as an alias to the aig vertex, defaults to true."
|
|
1095
1256
|
},
|
|
1096
1257
|
"aliasAnnotationObject": {
|
|
1097
|
-
"$ref": "
|
|
1258
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1098
1259
|
}
|
|
1099
1260
|
},
|
|
1100
1261
|
"required": [
|
|
@@ -1113,29 +1274,31 @@
|
|
|
1113
1274
|
"description": "The data to create the document with, in base64."
|
|
1114
1275
|
},
|
|
1115
1276
|
"annotationObject": {
|
|
1116
|
-
"$ref": "
|
|
1277
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1117
1278
|
},
|
|
1118
1279
|
"auditableItemGraphEdges": {
|
|
1119
1280
|
"type": "array",
|
|
1120
|
-
"
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
"
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1281
|
+
"description": "The auditable item graph vertices to connect the document to.",
|
|
1282
|
+
"prefixItems": [
|
|
1283
|
+
{
|
|
1284
|
+
"type": "object",
|
|
1285
|
+
"properties": {
|
|
1286
|
+
"id": {
|
|
1287
|
+
"type": "string"
|
|
1288
|
+
},
|
|
1289
|
+
"addAlias": {
|
|
1290
|
+
"type": "boolean"
|
|
1291
|
+
},
|
|
1292
|
+
"aliasAnnotationObject": {
|
|
1293
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
1294
|
+
}
|
|
1128
1295
|
},
|
|
1129
|
-
"
|
|
1130
|
-
"
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
],
|
|
1136
|
-
"additionalProperties": false
|
|
1137
|
-
},
|
|
1138
|
-
"description": "The auditable item graph vertices to connect the document to."
|
|
1296
|
+
"required": [
|
|
1297
|
+
"id"
|
|
1298
|
+
],
|
|
1299
|
+
"additionalProperties": false
|
|
1300
|
+
}
|
|
1301
|
+
]
|
|
1139
1302
|
}
|
|
1140
1303
|
},
|
|
1141
1304
|
"additionalProperties": false,
|
|
@@ -1176,1075 +1339,6 @@
|
|
|
1176
1339
|
"additionalProperties": false,
|
|
1177
1340
|
"description": "Model to describe serialized error."
|
|
1178
1341
|
},
|
|
1179
|
-
"JsonLdContainerType": {
|
|
1180
|
-
"type": "string",
|
|
1181
|
-
"enum": [
|
|
1182
|
-
"@language",
|
|
1183
|
-
"@index",
|
|
1184
|
-
"@id",
|
|
1185
|
-
"@graph",
|
|
1186
|
-
"@type"
|
|
1187
|
-
],
|
|
1188
|
-
"description": "Helper Types"
|
|
1189
|
-
},
|
|
1190
|
-
"JsonLdContainerTypeArray": {
|
|
1191
|
-
"anyOf": [
|
|
1192
|
-
{
|
|
1193
|
-
"type": "array",
|
|
1194
|
-
"minItems": 2,
|
|
1195
|
-
"items": [
|
|
1196
|
-
{
|
|
1197
|
-
"type": "string",
|
|
1198
|
-
"const": "@graph"
|
|
1199
|
-
},
|
|
1200
|
-
{
|
|
1201
|
-
"type": "string",
|
|
1202
|
-
"const": "@id"
|
|
1203
|
-
}
|
|
1204
|
-
],
|
|
1205
|
-
"maxItems": 2
|
|
1206
|
-
},
|
|
1207
|
-
{
|
|
1208
|
-
"type": "array",
|
|
1209
|
-
"minItems": 2,
|
|
1210
|
-
"items": [
|
|
1211
|
-
{
|
|
1212
|
-
"type": "string",
|
|
1213
|
-
"const": "@id"
|
|
1214
|
-
},
|
|
1215
|
-
{
|
|
1216
|
-
"type": "string",
|
|
1217
|
-
"const": "@graph"
|
|
1218
|
-
}
|
|
1219
|
-
],
|
|
1220
|
-
"maxItems": 2
|
|
1221
|
-
},
|
|
1222
|
-
{
|
|
1223
|
-
"type": "array",
|
|
1224
|
-
"minItems": 3,
|
|
1225
|
-
"items": [
|
|
1226
|
-
{
|
|
1227
|
-
"type": "string",
|
|
1228
|
-
"const": "@set"
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
"type": "string",
|
|
1232
|
-
"const": "@graph"
|
|
1233
|
-
},
|
|
1234
|
-
{
|
|
1235
|
-
"type": "string",
|
|
1236
|
-
"const": "@id"
|
|
1237
|
-
}
|
|
1238
|
-
],
|
|
1239
|
-
"maxItems": 3
|
|
1240
|
-
},
|
|
1241
|
-
{
|
|
1242
|
-
"type": "array",
|
|
1243
|
-
"minItems": 3,
|
|
1244
|
-
"items": [
|
|
1245
|
-
{
|
|
1246
|
-
"type": "string",
|
|
1247
|
-
"const": "@set"
|
|
1248
|
-
},
|
|
1249
|
-
{
|
|
1250
|
-
"type": "string",
|
|
1251
|
-
"const": "@id"
|
|
1252
|
-
},
|
|
1253
|
-
{
|
|
1254
|
-
"type": "string",
|
|
1255
|
-
"const": "@graph"
|
|
1256
|
-
}
|
|
1257
|
-
],
|
|
1258
|
-
"maxItems": 3
|
|
1259
|
-
},
|
|
1260
|
-
{
|
|
1261
|
-
"type": "array",
|
|
1262
|
-
"minItems": 3,
|
|
1263
|
-
"items": [
|
|
1264
|
-
{
|
|
1265
|
-
"type": "string",
|
|
1266
|
-
"const": "@graph"
|
|
1267
|
-
},
|
|
1268
|
-
{
|
|
1269
|
-
"type": "string",
|
|
1270
|
-
"const": "@set"
|
|
1271
|
-
},
|
|
1272
|
-
{
|
|
1273
|
-
"type": "string",
|
|
1274
|
-
"const": "@id"
|
|
1275
|
-
}
|
|
1276
|
-
],
|
|
1277
|
-
"maxItems": 3
|
|
1278
|
-
},
|
|
1279
|
-
{
|
|
1280
|
-
"type": "array",
|
|
1281
|
-
"minItems": 3,
|
|
1282
|
-
"items": [
|
|
1283
|
-
{
|
|
1284
|
-
"type": "string",
|
|
1285
|
-
"const": "@id"
|
|
1286
|
-
},
|
|
1287
|
-
{
|
|
1288
|
-
"type": "string",
|
|
1289
|
-
"const": "@set"
|
|
1290
|
-
},
|
|
1291
|
-
{
|
|
1292
|
-
"type": "string",
|
|
1293
|
-
"const": "@graph"
|
|
1294
|
-
}
|
|
1295
|
-
],
|
|
1296
|
-
"maxItems": 3
|
|
1297
|
-
},
|
|
1298
|
-
{
|
|
1299
|
-
"type": "array",
|
|
1300
|
-
"minItems": 3,
|
|
1301
|
-
"items": [
|
|
1302
|
-
{
|
|
1303
|
-
"type": "string",
|
|
1304
|
-
"const": "@graph"
|
|
1305
|
-
},
|
|
1306
|
-
{
|
|
1307
|
-
"type": "string",
|
|
1308
|
-
"const": "@id"
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
"type": "string",
|
|
1312
|
-
"const": "@set"
|
|
1313
|
-
}
|
|
1314
|
-
],
|
|
1315
|
-
"maxItems": 3
|
|
1316
|
-
},
|
|
1317
|
-
{
|
|
1318
|
-
"type": "array",
|
|
1319
|
-
"minItems": 3,
|
|
1320
|
-
"items": [
|
|
1321
|
-
{
|
|
1322
|
-
"type": "string",
|
|
1323
|
-
"const": "@id"
|
|
1324
|
-
},
|
|
1325
|
-
{
|
|
1326
|
-
"type": "string",
|
|
1327
|
-
"const": "@graph"
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
"type": "string",
|
|
1331
|
-
"const": "@set"
|
|
1332
|
-
}
|
|
1333
|
-
],
|
|
1334
|
-
"maxItems": 3
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
"type": "array",
|
|
1338
|
-
"minItems": 2,
|
|
1339
|
-
"items": [
|
|
1340
|
-
{
|
|
1341
|
-
"type": "string",
|
|
1342
|
-
"const": "@set"
|
|
1343
|
-
},
|
|
1344
|
-
{
|
|
1345
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1346
|
-
}
|
|
1347
|
-
],
|
|
1348
|
-
"maxItems": 2
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
"type": "array",
|
|
1352
|
-
"minItems": 2,
|
|
1353
|
-
"items": [
|
|
1354
|
-
{
|
|
1355
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
"type": "string",
|
|
1359
|
-
"const": "@set"
|
|
1360
|
-
}
|
|
1361
|
-
],
|
|
1362
|
-
"maxItems": 2
|
|
1363
|
-
}
|
|
1364
|
-
],
|
|
1365
|
-
"description": "Helper Types."
|
|
1366
|
-
},
|
|
1367
|
-
"JsonLdContextDefinition": {
|
|
1368
|
-
"type": "object",
|
|
1369
|
-
"properties": {
|
|
1370
|
-
"@base": {
|
|
1371
|
-
"type": [
|
|
1372
|
-
"string",
|
|
1373
|
-
"null"
|
|
1374
|
-
]
|
|
1375
|
-
},
|
|
1376
|
-
"@direction": {
|
|
1377
|
-
"type": [
|
|
1378
|
-
"string",
|
|
1379
|
-
"null"
|
|
1380
|
-
],
|
|
1381
|
-
"enum": [
|
|
1382
|
-
"ltr",
|
|
1383
|
-
"rtl",
|
|
1384
|
-
null
|
|
1385
|
-
]
|
|
1386
|
-
},
|
|
1387
|
-
"@import": {
|
|
1388
|
-
"type": "string"
|
|
1389
|
-
},
|
|
1390
|
-
"@language": {
|
|
1391
|
-
"type": "string"
|
|
1392
|
-
},
|
|
1393
|
-
"@propagate": {
|
|
1394
|
-
"type": "boolean"
|
|
1395
|
-
},
|
|
1396
|
-
"@protected": {
|
|
1397
|
-
"type": "boolean"
|
|
1398
|
-
},
|
|
1399
|
-
"@type": {
|
|
1400
|
-
"type": "object",
|
|
1401
|
-
"properties": {
|
|
1402
|
-
"@container": {
|
|
1403
|
-
"type": "string",
|
|
1404
|
-
"const": "@set"
|
|
1405
|
-
},
|
|
1406
|
-
"@protected": {
|
|
1407
|
-
"type": "boolean"
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
"required": [
|
|
1411
|
-
"@container"
|
|
1412
|
-
],
|
|
1413
|
-
"additionalProperties": false
|
|
1414
|
-
},
|
|
1415
|
-
"@version": {
|
|
1416
|
-
"type": "string",
|
|
1417
|
-
"const": "1.1"
|
|
1418
|
-
},
|
|
1419
|
-
"@vocab": {
|
|
1420
|
-
"type": [
|
|
1421
|
-
"string",
|
|
1422
|
-
"null"
|
|
1423
|
-
]
|
|
1424
|
-
}
|
|
1425
|
-
},
|
|
1426
|
-
"additionalProperties": {
|
|
1427
|
-
"anyOf": [
|
|
1428
|
-
{
|
|
1429
|
-
"type": "null"
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"type": "string"
|
|
1433
|
-
},
|
|
1434
|
-
{
|
|
1435
|
-
"$ref": "#/components/schemas/JsonLdExpandedTermDefinition"
|
|
1436
|
-
}
|
|
1437
|
-
]
|
|
1438
|
-
},
|
|
1439
|
-
"description": "A context definition defines a local context in a node object."
|
|
1440
|
-
},
|
|
1441
|
-
"JsonLdContextDefinitionElement": {
|
|
1442
|
-
"anyOf": [
|
|
1443
|
-
{
|
|
1444
|
-
"type": "null"
|
|
1445
|
-
},
|
|
1446
|
-
{
|
|
1447
|
-
"type": "string"
|
|
1448
|
-
},
|
|
1449
|
-
{
|
|
1450
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1451
|
-
}
|
|
1452
|
-
],
|
|
1453
|
-
"description": "A context definition element is used to define the types of a context definition."
|
|
1454
|
-
},
|
|
1455
|
-
"JsonLdContextDefinitionRoot": {
|
|
1456
|
-
"anyOf": [
|
|
1457
|
-
{
|
|
1458
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1459
|
-
},
|
|
1460
|
-
{
|
|
1461
|
-
"type": "array",
|
|
1462
|
-
"items": {
|
|
1463
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionElement"
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
],
|
|
1467
|
-
"description": "A context definition root is used to define the root of a context definition."
|
|
1468
|
-
},
|
|
1469
|
-
"JsonLdExpandedTermDefinition": {
|
|
1470
|
-
"anyOf": [
|
|
1471
|
-
{
|
|
1472
|
-
"type": "object",
|
|
1473
|
-
"additionalProperties": false,
|
|
1474
|
-
"properties": {
|
|
1475
|
-
"@id": {
|
|
1476
|
-
"anyOf": [
|
|
1477
|
-
{
|
|
1478
|
-
"type": "string"
|
|
1479
|
-
},
|
|
1480
|
-
{
|
|
1481
|
-
"type": "array",
|
|
1482
|
-
"items": {
|
|
1483
|
-
"type": "string"
|
|
1484
|
-
}
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
"type": "null"
|
|
1488
|
-
}
|
|
1489
|
-
]
|
|
1490
|
-
},
|
|
1491
|
-
"@nest": {
|
|
1492
|
-
"type": "string"
|
|
1493
|
-
},
|
|
1494
|
-
"@container": {
|
|
1495
|
-
"anyOf": [
|
|
1496
|
-
{
|
|
1497
|
-
"type": "string",
|
|
1498
|
-
"const": "@list"
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
"type": "string",
|
|
1502
|
-
"const": "@set"
|
|
1503
|
-
},
|
|
1504
|
-
{
|
|
1505
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
"type": "array",
|
|
1509
|
-
"items": {
|
|
1510
|
-
"anyOf": [
|
|
1511
|
-
{
|
|
1512
|
-
"type": "string",
|
|
1513
|
-
"const": "@list"
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
"type": "string",
|
|
1517
|
-
"const": "@set"
|
|
1518
|
-
},
|
|
1519
|
-
{
|
|
1520
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1521
|
-
}
|
|
1522
|
-
]
|
|
1523
|
-
}
|
|
1524
|
-
},
|
|
1525
|
-
{
|
|
1526
|
-
"$ref": "#/components/schemas/JsonLdContainerTypeArray"
|
|
1527
|
-
},
|
|
1528
|
-
{
|
|
1529
|
-
"type": "null"
|
|
1530
|
-
}
|
|
1531
|
-
]
|
|
1532
|
-
},
|
|
1533
|
-
"@type": {
|
|
1534
|
-
"type": "string"
|
|
1535
|
-
},
|
|
1536
|
-
"@language": {
|
|
1537
|
-
"type": "string"
|
|
1538
|
-
},
|
|
1539
|
-
"@index": {
|
|
1540
|
-
"type": "string"
|
|
1541
|
-
},
|
|
1542
|
-
"@context": {
|
|
1543
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1544
|
-
},
|
|
1545
|
-
"@prefix": {
|
|
1546
|
-
"type": "boolean"
|
|
1547
|
-
},
|
|
1548
|
-
"@propagate": {
|
|
1549
|
-
"type": "boolean"
|
|
1550
|
-
},
|
|
1551
|
-
"@protected": {
|
|
1552
|
-
"type": "boolean"
|
|
1553
|
-
}
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
{
|
|
1557
|
-
"type": "object",
|
|
1558
|
-
"additionalProperties": false,
|
|
1559
|
-
"properties": {
|
|
1560
|
-
"@reverse": {
|
|
1561
|
-
"type": "string"
|
|
1562
|
-
},
|
|
1563
|
-
"@container": {
|
|
1564
|
-
"type": [
|
|
1565
|
-
"string",
|
|
1566
|
-
"null"
|
|
1567
|
-
],
|
|
1568
|
-
"enum": [
|
|
1569
|
-
"@set",
|
|
1570
|
-
"@index",
|
|
1571
|
-
null
|
|
1572
|
-
]
|
|
1573
|
-
},
|
|
1574
|
-
"@type": {
|
|
1575
|
-
"type": "string"
|
|
1576
|
-
},
|
|
1577
|
-
"@language": {
|
|
1578
|
-
"type": "string"
|
|
1579
|
-
},
|
|
1580
|
-
"@index": {
|
|
1581
|
-
"type": "string"
|
|
1582
|
-
},
|
|
1583
|
-
"@context": {
|
|
1584
|
-
"$ref": "#/components/schemas/JsonLdContextDefinition"
|
|
1585
|
-
},
|
|
1586
|
-
"@prefix": {
|
|
1587
|
-
"type": "boolean"
|
|
1588
|
-
},
|
|
1589
|
-
"@propagate": {
|
|
1590
|
-
"type": "boolean"
|
|
1591
|
-
},
|
|
1592
|
-
"@protected": {
|
|
1593
|
-
"type": "boolean"
|
|
1594
|
-
}
|
|
1595
|
-
},
|
|
1596
|
-
"required": [
|
|
1597
|
-
"@reverse"
|
|
1598
|
-
]
|
|
1599
|
-
}
|
|
1600
|
-
],
|
|
1601
|
-
"description": "An expanded term definition is used to describe the mapping between a term and its expanded identifier, as well as other properties of the value associated with the term when it is used as key in a node object."
|
|
1602
|
-
},
|
|
1603
|
-
"JsonLdGraphObject": {
|
|
1604
|
-
"type": "object",
|
|
1605
|
-
"properties": {
|
|
1606
|
-
"@graph": {
|
|
1607
|
-
"anyOf": [
|
|
1608
|
-
{
|
|
1609
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1610
|
-
},
|
|
1611
|
-
{
|
|
1612
|
-
"type": "array",
|
|
1613
|
-
"items": {
|
|
1614
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
]
|
|
1618
|
-
},
|
|
1619
|
-
"@index": {
|
|
1620
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
1621
|
-
},
|
|
1622
|
-
"@id": {
|
|
1623
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
1624
|
-
},
|
|
1625
|
-
"@context": {
|
|
1626
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
1627
|
-
}
|
|
1628
|
-
},
|
|
1629
|
-
"required": [
|
|
1630
|
-
"@graph"
|
|
1631
|
-
],
|
|
1632
|
-
"additionalProperties": false,
|
|
1633
|
-
"description": "A graph object represents a named graph, which MAY include an explicit graph name."
|
|
1634
|
-
},
|
|
1635
|
-
"JsonLdIdMap": {
|
|
1636
|
-
"type": "object",
|
|
1637
|
-
"additionalProperties": {
|
|
1638
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1639
|
-
},
|
|
1640
|
-
"description": "An id map is used to associate an IRI with a value that allows easy programmatic access."
|
|
1641
|
-
},
|
|
1642
|
-
"JsonLdIncludedBlock": {
|
|
1643
|
-
"anyOf": [
|
|
1644
|
-
{
|
|
1645
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
"type": "array",
|
|
1649
|
-
"items": {
|
|
1650
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1651
|
-
}
|
|
1652
|
-
}
|
|
1653
|
-
],
|
|
1654
|
-
"description": "An included block is used to provide a set of node objects."
|
|
1655
|
-
},
|
|
1656
|
-
"JsonLdIndexMap": {
|
|
1657
|
-
"type": "object",
|
|
1658
|
-
"additionalProperties": {
|
|
1659
|
-
"anyOf": [
|
|
1660
|
-
{
|
|
1661
|
-
"$ref": "#/components/schemas/JsonLdIndexMapItem"
|
|
1662
|
-
},
|
|
1663
|
-
{
|
|
1664
|
-
"type": "array",
|
|
1665
|
-
"items": {
|
|
1666
|
-
"$ref": "#/components/schemas/JsonLdIndexMapItem"
|
|
1667
|
-
}
|
|
1668
|
-
}
|
|
1669
|
-
]
|
|
1670
|
-
},
|
|
1671
|
-
"description": "An index map allows keys that have no semantic meaning, but should be preserved regardless, to be used in JSON-LD documents."
|
|
1672
|
-
},
|
|
1673
|
-
"JsonLdIndexMapItem": {
|
|
1674
|
-
"anyOf": [
|
|
1675
|
-
{
|
|
1676
|
-
"type": "null"
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
"type": "boolean"
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"type": "number"
|
|
1683
|
-
},
|
|
1684
|
-
{
|
|
1685
|
-
"type": "string"
|
|
1686
|
-
},
|
|
1687
|
-
{
|
|
1688
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1689
|
-
},
|
|
1690
|
-
{
|
|
1691
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
1692
|
-
},
|
|
1693
|
-
{
|
|
1694
|
-
"$ref": "#/components/schemas/JsonLdListObject"
|
|
1695
|
-
},
|
|
1696
|
-
{
|
|
1697
|
-
"$ref": "#/components/schemas/JsonLdSetObject"
|
|
1698
|
-
}
|
|
1699
|
-
],
|
|
1700
|
-
"description": "The items that can be stored in an index map."
|
|
1701
|
-
},
|
|
1702
|
-
"JsonLdJsonArray": {
|
|
1703
|
-
"type": "array",
|
|
1704
|
-
"items": {
|
|
1705
|
-
"$ref": "#/components/schemas/JsonLdJsonValue"
|
|
1706
|
-
},
|
|
1707
|
-
"description": "JSON Type for array."
|
|
1708
|
-
},
|
|
1709
|
-
"JsonLdJsonObject": {
|
|
1710
|
-
"type": "object",
|
|
1711
|
-
"additionalProperties": {
|
|
1712
|
-
"anyOf": [
|
|
1713
|
-
{
|
|
1714
|
-
"$ref": "#/components/schemas/JsonLdJsonValue"
|
|
1715
|
-
},
|
|
1716
|
-
{
|
|
1717
|
-
"not": {}
|
|
1718
|
-
}
|
|
1719
|
-
]
|
|
1720
|
-
},
|
|
1721
|
-
"description": "JSON Type for object."
|
|
1722
|
-
},
|
|
1723
|
-
"JsonLdJsonPrimitive": {
|
|
1724
|
-
"type": [
|
|
1725
|
-
"string",
|
|
1726
|
-
"number",
|
|
1727
|
-
"boolean",
|
|
1728
|
-
"null"
|
|
1729
|
-
],
|
|
1730
|
-
"description": "JSON Primitive."
|
|
1731
|
-
},
|
|
1732
|
-
"JsonLdJsonValue": {
|
|
1733
|
-
"anyOf": [
|
|
1734
|
-
{
|
|
1735
|
-
"$ref": "#/components/schemas/JsonLdJsonPrimitive"
|
|
1736
|
-
},
|
|
1737
|
-
{
|
|
1738
|
-
"$ref": "#/components/schemas/JsonLdJsonArray"
|
|
1739
|
-
},
|
|
1740
|
-
{
|
|
1741
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
1742
|
-
}
|
|
1743
|
-
],
|
|
1744
|
-
"description": "JSON Value."
|
|
1745
|
-
},
|
|
1746
|
-
"JsonLdKeyword": {
|
|
1747
|
-
"type": "object",
|
|
1748
|
-
"properties": {
|
|
1749
|
-
"@base": {
|
|
1750
|
-
"type": [
|
|
1751
|
-
"string",
|
|
1752
|
-
"null"
|
|
1753
|
-
]
|
|
1754
|
-
},
|
|
1755
|
-
"@container": {
|
|
1756
|
-
"anyOf": [
|
|
1757
|
-
{
|
|
1758
|
-
"type": "string",
|
|
1759
|
-
"const": "@list"
|
|
1760
|
-
},
|
|
1761
|
-
{
|
|
1762
|
-
"type": "string",
|
|
1763
|
-
"const": "@set"
|
|
1764
|
-
},
|
|
1765
|
-
{
|
|
1766
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1767
|
-
},
|
|
1768
|
-
{
|
|
1769
|
-
"type": "array",
|
|
1770
|
-
"items": {
|
|
1771
|
-
"anyOf": [
|
|
1772
|
-
{
|
|
1773
|
-
"type": "string",
|
|
1774
|
-
"const": "@list"
|
|
1775
|
-
},
|
|
1776
|
-
{
|
|
1777
|
-
"type": "string",
|
|
1778
|
-
"const": "@set"
|
|
1779
|
-
},
|
|
1780
|
-
{
|
|
1781
|
-
"$ref": "#/components/schemas/JsonLdContainerType"
|
|
1782
|
-
}
|
|
1783
|
-
]
|
|
1784
|
-
}
|
|
1785
|
-
},
|
|
1786
|
-
{
|
|
1787
|
-
"$ref": "#/components/schemas/JsonLdContainerTypeArray"
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
"type": "null"
|
|
1791
|
-
}
|
|
1792
|
-
]
|
|
1793
|
-
},
|
|
1794
|
-
"@context": {
|
|
1795
|
-
"$ref": "#/components/schemas/JsonLdContextDefinitionRoot"
|
|
1796
|
-
},
|
|
1797
|
-
"@direction": {
|
|
1798
|
-
"type": [
|
|
1799
|
-
"string",
|
|
1800
|
-
"null"
|
|
1801
|
-
],
|
|
1802
|
-
"enum": [
|
|
1803
|
-
"ltr",
|
|
1804
|
-
"rtl",
|
|
1805
|
-
null
|
|
1806
|
-
]
|
|
1807
|
-
},
|
|
1808
|
-
"@graph": {
|
|
1809
|
-
"anyOf": [
|
|
1810
|
-
{
|
|
1811
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
1812
|
-
},
|
|
1813
|
-
{
|
|
1814
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1815
|
-
},
|
|
1816
|
-
{
|
|
1817
|
-
"type": "array",
|
|
1818
|
-
"items": {
|
|
1819
|
-
"anyOf": [
|
|
1820
|
-
{
|
|
1821
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
1822
|
-
},
|
|
1823
|
-
{
|
|
1824
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
1825
|
-
}
|
|
1826
|
-
]
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
]
|
|
1830
|
-
},
|
|
1831
|
-
"@id": {
|
|
1832
|
-
"anyOf": [
|
|
1833
|
-
{
|
|
1834
|
-
"type": "string"
|
|
1835
|
-
},
|
|
1836
|
-
{
|
|
1837
|
-
"type": "array",
|
|
1838
|
-
"items": {
|
|
1839
|
-
"type": "string"
|
|
1840
|
-
}
|
|
1841
|
-
}
|
|
1842
|
-
]
|
|
1843
|
-
},
|
|
1844
|
-
"@import": {
|
|
1845
|
-
"type": "string"
|
|
1846
|
-
},
|
|
1847
|
-
"@included": {
|
|
1848
|
-
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
1849
|
-
},
|
|
1850
|
-
"@index": {
|
|
1851
|
-
"type": "string"
|
|
1852
|
-
},
|
|
1853
|
-
"@json": {
|
|
1854
|
-
"type": "string",
|
|
1855
|
-
"const": "@json"
|
|
1856
|
-
},
|
|
1857
|
-
"@language": {
|
|
1858
|
-
"type": "string"
|
|
1859
|
-
},
|
|
1860
|
-
"@list": {
|
|
1861
|
-
"anyOf": [
|
|
1862
|
-
{
|
|
1863
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1864
|
-
},
|
|
1865
|
-
{
|
|
1866
|
-
"type": "array",
|
|
1867
|
-
"items": {
|
|
1868
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1869
|
-
}
|
|
1870
|
-
}
|
|
1871
|
-
]
|
|
1872
|
-
},
|
|
1873
|
-
"@nest": {
|
|
1874
|
-
"type": "object"
|
|
1875
|
-
},
|
|
1876
|
-
"@none": {
|
|
1877
|
-
"type": "string",
|
|
1878
|
-
"const": "@none"
|
|
1879
|
-
},
|
|
1880
|
-
"@prefix": {
|
|
1881
|
-
"type": "boolean"
|
|
1882
|
-
},
|
|
1883
|
-
"@propagate": {
|
|
1884
|
-
"type": "boolean"
|
|
1885
|
-
},
|
|
1886
|
-
"@protected": {
|
|
1887
|
-
"type": "boolean"
|
|
1888
|
-
},
|
|
1889
|
-
"@reverse": {
|
|
1890
|
-
"type": "string"
|
|
1891
|
-
},
|
|
1892
|
-
"@set": {
|
|
1893
|
-
"anyOf": [
|
|
1894
|
-
{
|
|
1895
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1896
|
-
},
|
|
1897
|
-
{
|
|
1898
|
-
"type": "array",
|
|
1899
|
-
"items": {
|
|
1900
|
-
"$ref": "#/components/schemas/JsonLdListOrSetItem"
|
|
1901
|
-
}
|
|
1902
|
-
}
|
|
1903
|
-
]
|
|
1904
|
-
},
|
|
1905
|
-
"@type": {
|
|
1906
|
-
"type": "string"
|
|
1907
|
-
},
|
|
1908
|
-
"@value": {
|
|
1909
|
-
"type": [
|
|
1910
|
-
"null",
|
|
1911
|
-
"boolean",
|
|
1912
|
-
"number",
|
|
1913
|
-
"string"
|
|
1914
|
-
]
|
|
1915
|
-
},
|
|
1916
|
-
"@version": {
|
|
1917
|
-
"type": "string",
|
|
1918
|
-
"const": "1.1"
|
|
1919
|
-
},
|
|
1920
|
-
"@vocab": {
|
|
1921
|
-
"type": [
|
|
1922
|
-
"string",
|
|
1923
|
-
"null"
|
|
1924
|
-
]
|
|
1925
|
-
}
|
|
1926
|
-
},
|
|
1927
|
-
"required": [
|
|
1928
|
-
"@base",
|
|
1929
|
-
"@container",
|
|
1930
|
-
"@context",
|
|
1931
|
-
"@direction",
|
|
1932
|
-
"@graph",
|
|
1933
|
-
"@id",
|
|
1934
|
-
"@import",
|
|
1935
|
-
"@included",
|
|
1936
|
-
"@index",
|
|
1937
|
-
"@json",
|
|
1938
|
-
"@language",
|
|
1939
|
-
"@list",
|
|
1940
|
-
"@nest",
|
|
1941
|
-
"@none",
|
|
1942
|
-
"@prefix",
|
|
1943
|
-
"@propagate",
|
|
1944
|
-
"@protected",
|
|
1945
|
-
"@reverse",
|
|
1946
|
-
"@set",
|
|
1947
|
-
"@type",
|
|
1948
|
-
"@value",
|
|
1949
|
-
"@version",
|
|
1950
|
-
"@vocab"
|
|
1951
|
-
],
|
|
1952
|
-
"additionalProperties": false,
|
|
1953
|
-
"description": "A list of keywords and their types. Only used for internal reference; not an actual interface. Not for export."
|
|
1954
|
-
},
|
|
1955
|
-
"JsonLdLanguageMap": {
|
|
1956
|
-
"type": "object",
|
|
1957
|
-
"additionalProperties": {
|
|
1958
|
-
"anyOf": [
|
|
1959
|
-
{
|
|
1960
|
-
"type": "null"
|
|
1961
|
-
},
|
|
1962
|
-
{
|
|
1963
|
-
"type": "string"
|
|
1964
|
-
},
|
|
1965
|
-
{
|
|
1966
|
-
"type": "array",
|
|
1967
|
-
"items": {
|
|
1968
|
-
"type": "string"
|
|
1969
|
-
}
|
|
1970
|
-
}
|
|
1971
|
-
]
|
|
1972
|
-
},
|
|
1973
|
-
"description": "A language map is used to associate a language with a value in a way that allows easy programmatic access."
|
|
1974
|
-
},
|
|
1975
|
-
"JsonLdListObject": {
|
|
1976
|
-
"type": "object",
|
|
1977
|
-
"properties": {
|
|
1978
|
-
"@list": {
|
|
1979
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
1980
|
-
},
|
|
1981
|
-
"@index": {
|
|
1982
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
1983
|
-
}
|
|
1984
|
-
},
|
|
1985
|
-
"required": [
|
|
1986
|
-
"@list"
|
|
1987
|
-
],
|
|
1988
|
-
"additionalProperties": false,
|
|
1989
|
-
"description": "A list represents an ordered set of values."
|
|
1990
|
-
},
|
|
1991
|
-
"JsonLdListOrSetItem": {
|
|
1992
|
-
"anyOf": [
|
|
1993
|
-
{
|
|
1994
|
-
"type": "null"
|
|
1995
|
-
},
|
|
1996
|
-
{
|
|
1997
|
-
"type": "boolean"
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"type": "number"
|
|
2001
|
-
},
|
|
2002
|
-
{
|
|
2003
|
-
"type": "string"
|
|
2004
|
-
},
|
|
2005
|
-
{
|
|
2006
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2007
|
-
},
|
|
2008
|
-
{
|
|
2009
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
2010
|
-
}
|
|
2011
|
-
],
|
|
2012
|
-
"description": "A list or set item can be a null, boolean, number, string, node object, or value object."
|
|
2013
|
-
},
|
|
2014
|
-
"JsonLdNodeObject": {
|
|
2015
|
-
"type": "object",
|
|
2016
|
-
"additionalProperties": {
|
|
2017
|
-
"anyOf": [
|
|
2018
|
-
{
|
|
2019
|
-
"$ref": "#/components/schemas/JsonLdNodePrimitive"
|
|
2020
|
-
},
|
|
2021
|
-
{
|
|
2022
|
-
"$ref": "#/components/schemas/JsonLdLanguageMap"
|
|
2023
|
-
},
|
|
2024
|
-
{
|
|
2025
|
-
"$ref": "#/components/schemas/JsonLdIndexMap"
|
|
2026
|
-
},
|
|
2027
|
-
{
|
|
2028
|
-
"$ref": "#/components/schemas/JsonLdIncludedBlock"
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
"$ref": "#/components/schemas/JsonLdIdMap"
|
|
2032
|
-
},
|
|
2033
|
-
{
|
|
2034
|
-
"$ref": "#/components/schemas/JsonLdTypeMap"
|
|
2035
|
-
},
|
|
2036
|
-
{
|
|
2037
|
-
"type": "array"
|
|
2038
|
-
}
|
|
2039
|
-
]
|
|
2040
|
-
},
|
|
2041
|
-
"properties": {
|
|
2042
|
-
"@context": {
|
|
2043
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2044
|
-
},
|
|
2045
|
-
"@id": {
|
|
2046
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2047
|
-
},
|
|
2048
|
-
"@included": {
|
|
2049
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2050
|
-
},
|
|
2051
|
-
"@graph": {
|
|
2052
|
-
"anyOf": [
|
|
2053
|
-
{
|
|
2054
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2055
|
-
},
|
|
2056
|
-
{
|
|
2057
|
-
"type": "array",
|
|
2058
|
-
"items": {
|
|
2059
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2060
|
-
}
|
|
2061
|
-
}
|
|
2062
|
-
]
|
|
2063
|
-
},
|
|
2064
|
-
"@nest": {
|
|
2065
|
-
"anyOf": [
|
|
2066
|
-
{
|
|
2067
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
2068
|
-
},
|
|
2069
|
-
{
|
|
2070
|
-
"type": "array",
|
|
2071
|
-
"items": {
|
|
2072
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
2073
|
-
}
|
|
2074
|
-
}
|
|
2075
|
-
]
|
|
2076
|
-
},
|
|
2077
|
-
"@type": {
|
|
2078
|
-
"anyOf": [
|
|
2079
|
-
{
|
|
2080
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2081
|
-
},
|
|
2082
|
-
{
|
|
2083
|
-
"type": "array",
|
|
2084
|
-
"items": {
|
|
2085
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2086
|
-
}
|
|
2087
|
-
}
|
|
2088
|
-
]
|
|
2089
|
-
},
|
|
2090
|
-
"@reverse": {
|
|
2091
|
-
"type": "object",
|
|
2092
|
-
"additionalProperties": {
|
|
2093
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2094
|
-
}
|
|
2095
|
-
},
|
|
2096
|
-
"@index": {
|
|
2097
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2098
|
-
}
|
|
2099
|
-
},
|
|
2100
|
-
"description": "A node object represents zero or more properties of a node in the graph serialized by the JSON-LD document."
|
|
2101
|
-
},
|
|
2102
|
-
"JsonLdNodePrimitive": {
|
|
2103
|
-
"anyOf": [
|
|
2104
|
-
{
|
|
2105
|
-
"type": "null"
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"type": "boolean"
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
"type": "number"
|
|
2112
|
-
},
|
|
2113
|
-
{
|
|
2114
|
-
"type": "string"
|
|
2115
|
-
},
|
|
2116
|
-
{
|
|
2117
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2118
|
-
},
|
|
2119
|
-
{
|
|
2120
|
-
"$ref": "#/components/schemas/JsonLdGraphObject"
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
"$ref": "#/components/schemas/JsonLdValueObject"
|
|
2124
|
-
},
|
|
2125
|
-
{
|
|
2126
|
-
"$ref": "#/components/schemas/JsonLdListObject"
|
|
2127
|
-
},
|
|
2128
|
-
{
|
|
2129
|
-
"$ref": "#/components/schemas/JsonLdSetObject"
|
|
2130
|
-
}
|
|
2131
|
-
],
|
|
2132
|
-
"description": "A node primitive is a JSON-LD value which is not one of the defined NodeObject properties."
|
|
2133
|
-
},
|
|
2134
|
-
"JsonLdSetObject": {
|
|
2135
|
-
"type": "object",
|
|
2136
|
-
"properties": {
|
|
2137
|
-
"@set": {
|
|
2138
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2139
|
-
},
|
|
2140
|
-
"@index": {
|
|
2141
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2142
|
-
}
|
|
2143
|
-
},
|
|
2144
|
-
"required": [
|
|
2145
|
-
"@set"
|
|
2146
|
-
],
|
|
2147
|
-
"additionalProperties": false,
|
|
2148
|
-
"description": "A set represents an unordered set of values."
|
|
2149
|
-
},
|
|
2150
|
-
"JsonLdTypeMap": {
|
|
2151
|
-
"type": "object",
|
|
2152
|
-
"additionalProperties": {
|
|
2153
|
-
"anyOf": [
|
|
2154
|
-
{
|
|
2155
|
-
"type": "string"
|
|
2156
|
-
},
|
|
2157
|
-
{
|
|
2158
|
-
"$ref": "#/components/schemas/JsonLdNodeObject"
|
|
2159
|
-
}
|
|
2160
|
-
]
|
|
2161
|
-
},
|
|
2162
|
-
"description": "A type map is used to associate an IRI with a value that allows easy programmatic access."
|
|
2163
|
-
},
|
|
2164
|
-
"JsonLdValueObject": {
|
|
2165
|
-
"anyOf": [
|
|
2166
|
-
{
|
|
2167
|
-
"type": "object",
|
|
2168
|
-
"additionalProperties": false,
|
|
2169
|
-
"properties": {
|
|
2170
|
-
"@value": {
|
|
2171
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2172
|
-
},
|
|
2173
|
-
"@language": {
|
|
2174
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2175
|
-
},
|
|
2176
|
-
"@direction": {
|
|
2177
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2178
|
-
},
|
|
2179
|
-
"@index": {
|
|
2180
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2181
|
-
},
|
|
2182
|
-
"@context": {
|
|
2183
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2184
|
-
}
|
|
2185
|
-
},
|
|
2186
|
-
"required": [
|
|
2187
|
-
"@value"
|
|
2188
|
-
]
|
|
2189
|
-
},
|
|
2190
|
-
{
|
|
2191
|
-
"type": "object",
|
|
2192
|
-
"additionalProperties": false,
|
|
2193
|
-
"properties": {
|
|
2194
|
-
"@value": {
|
|
2195
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2196
|
-
},
|
|
2197
|
-
"@type": {
|
|
2198
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2199
|
-
},
|
|
2200
|
-
"@index": {
|
|
2201
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2202
|
-
},
|
|
2203
|
-
"@context": {
|
|
2204
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2205
|
-
}
|
|
2206
|
-
},
|
|
2207
|
-
"required": [
|
|
2208
|
-
"@type",
|
|
2209
|
-
"@value"
|
|
2210
|
-
]
|
|
2211
|
-
},
|
|
2212
|
-
{
|
|
2213
|
-
"type": "object",
|
|
2214
|
-
"additionalProperties": false,
|
|
2215
|
-
"properties": {
|
|
2216
|
-
"@value": {
|
|
2217
|
-
"anyOf": [
|
|
2218
|
-
{
|
|
2219
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2220
|
-
},
|
|
2221
|
-
{
|
|
2222
|
-
"$ref": "#/components/schemas/JsonLdJsonObject"
|
|
2223
|
-
},
|
|
2224
|
-
{
|
|
2225
|
-
"$ref": "#/components/schemas/JsonLdJsonArray"
|
|
2226
|
-
}
|
|
2227
|
-
]
|
|
2228
|
-
},
|
|
2229
|
-
"@type": {
|
|
2230
|
-
"type": "string",
|
|
2231
|
-
"const": "@json"
|
|
2232
|
-
},
|
|
2233
|
-
"@index": {
|
|
2234
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2235
|
-
},
|
|
2236
|
-
"@context": {
|
|
2237
|
-
"$ref": "#/components/schemas/JsonLdKeyword"
|
|
2238
|
-
}
|
|
2239
|
-
},
|
|
2240
|
-
"required": [
|
|
2241
|
-
"@type",
|
|
2242
|
-
"@value"
|
|
2243
|
-
]
|
|
2244
|
-
}
|
|
2245
|
-
],
|
|
2246
|
-
"description": "A value object is used to explicitly associate a type or a language with a value to create a typed value or a language-tagged string and possibly associate a base direction."
|
|
2247
|
-
},
|
|
2248
1342
|
"NotFoundResponse": {
|
|
2249
1343
|
"type": "object",
|
|
2250
1344
|
"additionalProperties": false,
|