@twin.org/node 0.0.3-next.20 → 0.0.3-next.22
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/locales/en.json +13780 -4
- package/docs/changelog.md +28 -0
- package/docs/open-api/spec.json +1403 -241
- package/package.json +2 -2
package/docs/open-api/spec.json
CHANGED
|
@@ -2467,6 +2467,132 @@
|
|
|
2467
2467
|
}
|
|
2468
2468
|
}
|
|
2469
2469
|
},
|
|
2470
|
+
"/identity/verifiable-credential/verify/document": {
|
|
2471
|
+
"post": {
|
|
2472
|
+
"operationId": "identityVerifiableCredentialVerifyDocument",
|
|
2473
|
+
"summary": "Verify an identity verifiable credential document",
|
|
2474
|
+
"tags": [
|
|
2475
|
+
"Identity"
|
|
2476
|
+
],
|
|
2477
|
+
"requestBody": {
|
|
2478
|
+
"description": "Request to verify a verifiable credential.",
|
|
2479
|
+
"required": true,
|
|
2480
|
+
"content": {
|
|
2481
|
+
"application/json": {
|
|
2482
|
+
"schema": {
|
|
2483
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
2484
|
+
},
|
|
2485
|
+
"examples": {
|
|
2486
|
+
"identityVerifiableCredentialVerifyDocumentRequestExample": {
|
|
2487
|
+
"value": {
|
|
2488
|
+
"@context": [
|
|
2489
|
+
"https://www.w3.org/2018/credentials/v1",
|
|
2490
|
+
"https://schema.org"
|
|
2491
|
+
],
|
|
2492
|
+
"id": "https://example.com/credentials/3732",
|
|
2493
|
+
"type": [
|
|
2494
|
+
"VerifiableCredential",
|
|
2495
|
+
"Person"
|
|
2496
|
+
],
|
|
2497
|
+
"credentialSubject": {
|
|
2498
|
+
"id": "did:entity-storage:0x4757993355b921a8229bd780f30921b6a0216a72e6c3f37a09d13b8426a17def",
|
|
2499
|
+
"name": "Jane Doe"
|
|
2500
|
+
},
|
|
2501
|
+
"issuer": "did:entity-storage:0x879c31386f992cfa29b77fe31e37256d69f6a57653cee4eb60ad4c4613c5515a",
|
|
2502
|
+
"issuanceDate": "2025-01-24T09:21:51.500Z",
|
|
2503
|
+
"credentialStatus": {
|
|
2504
|
+
"id": "did:entity-storage:0x879c31386f992cfa29b77fe31e37256d69f6a57653cee4eb60ad4c4613c5515a#revocation",
|
|
2505
|
+
"type": "BitstringStatusList",
|
|
2506
|
+
"revocationBitmapIndex": "5"
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
}
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
},
|
|
2514
|
+
"responses": {
|
|
2515
|
+
"200": {
|
|
2516
|
+
"description": "Response to verifying a verifiable credential.",
|
|
2517
|
+
"content": {
|
|
2518
|
+
"application/json": {
|
|
2519
|
+
"schema": {
|
|
2520
|
+
"$ref": "#/components/schemas/IdentityVerifiableCredentialVerifyResponse"
|
|
2521
|
+
},
|
|
2522
|
+
"examples": {
|
|
2523
|
+
"identityVerifiableCredentialVerifyResponseExample": {
|
|
2524
|
+
"value": {
|
|
2525
|
+
"revoked": false,
|
|
2526
|
+
"verifiableCredential": {
|
|
2527
|
+
"@context": [
|
|
2528
|
+
"https://www.w3.org/2018/credentials/v1",
|
|
2529
|
+
"https://schema.org"
|
|
2530
|
+
],
|
|
2531
|
+
"id": "https://example.com/credentials/3732",
|
|
2532
|
+
"type": [
|
|
2533
|
+
"VerifiableCredential",
|
|
2534
|
+
"Person"
|
|
2535
|
+
],
|
|
2536
|
+
"credentialSubject": {
|
|
2537
|
+
"id": "did:entity-storage:0x4757993355b921a8229bd780f30921b6a0216a72e6c3f37a09d13b8426a17def",
|
|
2538
|
+
"name": "Jane Doe"
|
|
2539
|
+
},
|
|
2540
|
+
"issuer": "did:entity-storage:0x879c31386f992cfa29b77fe31e37256d69f6a57653cee4eb60ad4c4613c5515a",
|
|
2541
|
+
"issuanceDate": "2025-01-24T09:21:51.500Z",
|
|
2542
|
+
"credentialStatus": {
|
|
2543
|
+
"id": "did:entity-storage:0x879c31386f992cfa29b77fe31e37256d69f6a57653cee4eb60ad4c4613c5515a#revocation",
|
|
2544
|
+
"type": "BitstringStatusList",
|
|
2545
|
+
"revocationBitmapIndex": "5"
|
|
2546
|
+
}
|
|
2547
|
+
}
|
|
2548
|
+
}
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
},
|
|
2554
|
+
"400": {
|
|
2555
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
2556
|
+
"content": {
|
|
2557
|
+
"application/json": {
|
|
2558
|
+
"schema": {
|
|
2559
|
+
"$ref": "#/components/schemas/Error"
|
|
2560
|
+
},
|
|
2561
|
+
"examples": {
|
|
2562
|
+
"exampleResponse": {
|
|
2563
|
+
"value": {
|
|
2564
|
+
"name": "GeneralError",
|
|
2565
|
+
"message": "errorMessage",
|
|
2566
|
+
"properties": {
|
|
2567
|
+
"foo": "bar"
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
}
|
|
2571
|
+
}
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
},
|
|
2575
|
+
"500": {
|
|
2576
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
2577
|
+
"content": {
|
|
2578
|
+
"application/json": {
|
|
2579
|
+
"schema": {
|
|
2580
|
+
"$ref": "#/components/schemas/Error"
|
|
2581
|
+
},
|
|
2582
|
+
"examples": {
|
|
2583
|
+
"exampleResponse": {
|
|
2584
|
+
"value": {
|
|
2585
|
+
"name": "InternalServerError",
|
|
2586
|
+
"message": "errorMessage"
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
}
|
|
2593
|
+
}
|
|
2594
|
+
}
|
|
2595
|
+
},
|
|
2470
2596
|
"/identity/verifiable-credential/verify": {
|
|
2471
2597
|
"get": {
|
|
2472
2598
|
"operationId": "identityVerifiableCredentialVerify",
|
|
@@ -3097,7 +3223,7 @@
|
|
|
3097
3223
|
"identityProofCreateResponseExample": {
|
|
3098
3224
|
"value": {
|
|
3099
3225
|
"@context": [
|
|
3100
|
-
"https://
|
|
3226
|
+
"https://w3id.org/security/data-integrity/v2",
|
|
3101
3227
|
"https://www.w3.org/ns/credentials/examples/v2"
|
|
3102
3228
|
],
|
|
3103
3229
|
"type": "DataIntegrityProof",
|
|
@@ -3210,7 +3336,7 @@
|
|
|
3210
3336
|
}
|
|
3211
3337
|
},
|
|
3212
3338
|
"proof": {
|
|
3213
|
-
"@context": "https://
|
|
3339
|
+
"@context": "https://w3id.org/security/data-integrity/v2",
|
|
3214
3340
|
"type": "DataIntegrityProof",
|
|
3215
3341
|
"cryptosuite": "eddsa-jcs-2022",
|
|
3216
3342
|
"created": "2025-01-24T11:32:13.106Z",
|
|
@@ -4234,7 +4360,7 @@
|
|
|
4234
4360
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4235
4361
|
"encodingFormat": "application/pdf",
|
|
4236
4362
|
"blobSize": 42,
|
|
4237
|
-
"
|
|
4363
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4238
4364
|
"fileExtension": "pdf",
|
|
4239
4365
|
"metadata": {
|
|
4240
4366
|
"@context": "https://schema.org",
|
|
@@ -4273,7 +4399,7 @@
|
|
|
4273
4399
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4274
4400
|
"encodingFormat": "application/pdf",
|
|
4275
4401
|
"blobSize": 42,
|
|
4276
|
-
"
|
|
4402
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4277
4403
|
"fileExtension": "pdf",
|
|
4278
4404
|
"metadata": {
|
|
4279
4405
|
"@context": "https://schema.org",
|
|
@@ -4453,7 +4579,7 @@
|
|
|
4453
4579
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4454
4580
|
"encodingFormat": "application/pdf",
|
|
4455
4581
|
"blobSize": 42,
|
|
4456
|
-
"
|
|
4582
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4457
4583
|
"fileExtension": "pdf",
|
|
4458
4584
|
"metadata": {
|
|
4459
4585
|
"@context": "https://schema.org",
|
|
@@ -4482,7 +4608,7 @@
|
|
|
4482
4608
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4483
4609
|
"encodingFormat": "application/pdf",
|
|
4484
4610
|
"blobSize": 42,
|
|
4485
|
-
"
|
|
4611
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4486
4612
|
"fileExtension": "pdf",
|
|
4487
4613
|
"metadata": {
|
|
4488
4614
|
"@context": "https://schema.org",
|
|
@@ -6690,9 +6816,9 @@
|
|
|
6690
6816
|
"attestationGetResponseExample": {
|
|
6691
6817
|
"value": {
|
|
6692
6818
|
"@context": [
|
|
6819
|
+
"https://schema.org",
|
|
6693
6820
|
"https://schema.twindev.org/attestation/",
|
|
6694
|
-
"https://schema.twindev.org/common/"
|
|
6695
|
-
"https://schema.org"
|
|
6821
|
+
"https://schema.twindev.org/common/"
|
|
6696
6822
|
],
|
|
6697
6823
|
"type": "Information",
|
|
6698
6824
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -6716,9 +6842,9 @@
|
|
|
6716
6842
|
"attestationVerifyResponseFailExample": {
|
|
6717
6843
|
"value": {
|
|
6718
6844
|
"@context": [
|
|
6845
|
+
"https://schema.org",
|
|
6719
6846
|
"https://schema.twindev.org/attestation/",
|
|
6720
|
-
"https://schema.twindev.org/common/"
|
|
6721
|
-
"https://schema.org"
|
|
6847
|
+
"https://schema.twindev.org/common/"
|
|
6722
6848
|
],
|
|
6723
6849
|
"type": "Information",
|
|
6724
6850
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -6750,9 +6876,9 @@
|
|
|
6750
6876
|
"attestationGetResponseExample": {
|
|
6751
6877
|
"value": {
|
|
6752
6878
|
"@context": [
|
|
6879
|
+
"https://schema.org",
|
|
6753
6880
|
"https://schema.twindev.org/attestation/",
|
|
6754
|
-
"https://schema.twindev.org/common/"
|
|
6755
|
-
"https://schema.org"
|
|
6881
|
+
"https://schema.twindev.org/common/"
|
|
6756
6882
|
],
|
|
6757
6883
|
"type": "Information",
|
|
6758
6884
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -6776,9 +6902,9 @@
|
|
|
6776
6902
|
"attestationVerifyResponseFailExample": {
|
|
6777
6903
|
"value": {
|
|
6778
6904
|
"@context": [
|
|
6905
|
+
"https://schema.org",
|
|
6779
6906
|
"https://schema.twindev.org/attestation/",
|
|
6780
|
-
"https://schema.twindev.org/common/"
|
|
6781
|
-
"https://schema.org"
|
|
6907
|
+
"https://schema.twindev.org/common/"
|
|
6782
6908
|
],
|
|
6783
6909
|
"type": "Information",
|
|
6784
6910
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -7084,7 +7210,7 @@
|
|
|
7084
7210
|
"value": {
|
|
7085
7211
|
"receipt": {
|
|
7086
7212
|
"@context": "https://schema.twindev.org/verifiable-storage/",
|
|
7087
|
-
"type": "
|
|
7213
|
+
"type": "VerifiableStorageIotaReceipt2026"
|
|
7088
7214
|
},
|
|
7089
7215
|
"id": "verifiable:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg=="
|
|
7090
7216
|
}
|
|
@@ -7216,7 +7342,7 @@
|
|
|
7216
7342
|
"verifiableStorageUpdateResponseExample": {
|
|
7217
7343
|
"value": {
|
|
7218
7344
|
"@context": "https://schema.twindev.org/verifiable-storage/",
|
|
7219
|
-
"type": "
|
|
7345
|
+
"type": "VerifiableStorageIotaReceipt2026"
|
|
7220
7346
|
}
|
|
7221
7347
|
}
|
|
7222
7348
|
}
|
|
@@ -7530,7 +7656,7 @@
|
|
|
7530
7656
|
"schema": {
|
|
7531
7657
|
"type": "string"
|
|
7532
7658
|
},
|
|
7533
|
-
"description": "e.g. test
|
|
7659
|
+
"description": "e.g. test%3A1234567890"
|
|
7534
7660
|
}
|
|
7535
7661
|
}
|
|
7536
7662
|
},
|
|
@@ -7632,7 +7758,7 @@
|
|
|
7632
7758
|
"type": "string"
|
|
7633
7759
|
},
|
|
7634
7760
|
"style": "simple",
|
|
7635
|
-
"example": "
|
|
7761
|
+
"example": "immutable-proof:1234567890"
|
|
7636
7762
|
},
|
|
7637
7763
|
{
|
|
7638
7764
|
"name": "accept",
|
|
@@ -7656,26 +7782,37 @@
|
|
|
7656
7782
|
"content": {
|
|
7657
7783
|
"application/json": {
|
|
7658
7784
|
"schema": {
|
|
7659
|
-
"$ref": "https://schema.twindev.org/
|
|
7785
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
7660
7786
|
},
|
|
7661
7787
|
"examples": {
|
|
7662
7788
|
"immutableProofGetResponseExample": {
|
|
7663
7789
|
"value": {
|
|
7664
7790
|
"@context": [
|
|
7791
|
+
"https://www.w3.org/2018/credentials/v1",
|
|
7665
7792
|
"https://schema.twindev.org/immutable-proof/",
|
|
7666
7793
|
"https://schema.twindev.org/common/"
|
|
7667
7794
|
],
|
|
7668
|
-
"type":
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7795
|
+
"type": [
|
|
7796
|
+
"VerifiableCredential",
|
|
7797
|
+
"ImmutableProof"
|
|
7798
|
+
],
|
|
7799
|
+
"id": "immutable-proof:1234567890",
|
|
7800
|
+
"credentialSubject": {
|
|
7801
|
+
"id": "ais:1234567890",
|
|
7802
|
+
"proofIntegrity": "EAOKyDN0mYQbBh91eMdVeroxQx1H4GfnRbmt6n/2L/Y="
|
|
7803
|
+
},
|
|
7672
7804
|
"proof": {
|
|
7673
|
-
"@context": "https://www.w3.org/ns/credentials/v2",
|
|
7674
7805
|
"type": "DataIntegrityProof",
|
|
7675
7806
|
"cryptosuite": "eddsa-jcs-2022",
|
|
7676
7807
|
"created": "2024-08-22T11:56:56.272Z",
|
|
7677
7808
|
"proofPurpose": "assertionMethod",
|
|
7678
|
-
"proofValue": "7DdiPPYtxLjCD3wA1po2rv..."
|
|
7809
|
+
"proofValue": "7DdiPPYtxLjCD3wA1po2rv...",
|
|
7810
|
+
"verificationMethod": "did:iota:testnet:0xcb07cabaa2f23b7e53d8cdc4228efb351ebb270554d13bc382e4f94ca8d3136b#immutable-proof-assertion",
|
|
7811
|
+
"verifiableStorageId": "verifiable-storage:1234567890",
|
|
7812
|
+
"immutableReceipt": {
|
|
7813
|
+
"id": "immutable-receipt:1234567890",
|
|
7814
|
+
"type": "ImmutableReceipt"
|
|
7815
|
+
}
|
|
7679
7816
|
}
|
|
7680
7817
|
}
|
|
7681
7818
|
}
|
|
@@ -7683,26 +7820,37 @@
|
|
|
7683
7820
|
},
|
|
7684
7821
|
"application/ld+json": {
|
|
7685
7822
|
"schema": {
|
|
7686
|
-
"$ref": "https://schema.twindev.org/
|
|
7823
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
7687
7824
|
},
|
|
7688
7825
|
"examples": {
|
|
7689
7826
|
"immutableProofJsonLdGetResponseExample": {
|
|
7690
7827
|
"value": {
|
|
7691
7828
|
"@context": [
|
|
7829
|
+
"https://www.w3.org/2018/credentials/v1",
|
|
7692
7830
|
"https://schema.twindev.org/immutable-proof/",
|
|
7693
7831
|
"https://schema.twindev.org/common/"
|
|
7694
7832
|
],
|
|
7695
|
-
"type":
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7833
|
+
"type": [
|
|
7834
|
+
"VerifiableCredential",
|
|
7835
|
+
"ImmutableProof"
|
|
7836
|
+
],
|
|
7837
|
+
"id": "immutable-proof:1234567890",
|
|
7838
|
+
"credentialSubject": {
|
|
7839
|
+
"id": "ais:1234567890",
|
|
7840
|
+
"proofIntegrity": "EAOKyDN0mYQbBh91eMdVeroxQx1H4GfnRbmt6n/2L/Y="
|
|
7841
|
+
},
|
|
7699
7842
|
"proof": {
|
|
7700
|
-
"@context": "https://www.w3.org/ns/credentials/v2",
|
|
7701
7843
|
"type": "DataIntegrityProof",
|
|
7702
7844
|
"cryptosuite": "eddsa-jcs-2022",
|
|
7703
7845
|
"created": "2024-08-22T11:56:56.272Z",
|
|
7704
7846
|
"proofPurpose": "assertionMethod",
|
|
7705
|
-
"proofValue": "7DdiPPYtxLjCD3wA1po2rv..."
|
|
7847
|
+
"proofValue": "7DdiPPYtxLjCD3wA1po2rv...",
|
|
7848
|
+
"verificationMethod": "did:iota:testnet:0xcb07cabaa2f23b7e53d8cdc4228efb351ebb270554d13bc382e4f94ca8d3136b#immutable-proof-assertion",
|
|
7849
|
+
"verifiableStorageId": "verifiable-storage:1234567890",
|
|
7850
|
+
"immutableReceipt": {
|
|
7851
|
+
"id": "immutable-receipt:1234567890",
|
|
7852
|
+
"type": "ImmutableReceipt"
|
|
7853
|
+
}
|
|
7706
7854
|
}
|
|
7707
7855
|
}
|
|
7708
7856
|
}
|
|
@@ -7816,7 +7964,7 @@
|
|
|
7816
7964
|
"type": "string"
|
|
7817
7965
|
},
|
|
7818
7966
|
"style": "simple",
|
|
7819
|
-
"example": "
|
|
7967
|
+
"example": "immutable-proof:1234567890"
|
|
7820
7968
|
},
|
|
7821
7969
|
{
|
|
7822
7970
|
"name": "accept",
|
|
@@ -7854,7 +8002,7 @@
|
|
|
7854
8002
|
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
7855
8003
|
"type": "ImmutableProofVerification",
|
|
7856
8004
|
"verified": false,
|
|
7857
|
-
"failure": "
|
|
8005
|
+
"failure": "verificationFailure"
|
|
7858
8006
|
}
|
|
7859
8007
|
}
|
|
7860
8008
|
}
|
|
@@ -8619,7 +8767,7 @@
|
|
|
8619
8767
|
"schema": {
|
|
8620
8768
|
"type": "string"
|
|
8621
8769
|
},
|
|
8622
|
-
"description": "e.g. aig
|
|
8770
|
+
"description": "e.g. aig%3A123456"
|
|
8623
8771
|
}
|
|
8624
8772
|
}
|
|
8625
8773
|
},
|
|
@@ -8752,7 +8900,7 @@
|
|
|
8752
8900
|
"type": "DigitalDocument",
|
|
8753
8901
|
"name": "bill-of-lading"
|
|
8754
8902
|
},
|
|
8755
|
-
"
|
|
8903
|
+
"integrity": "sha256-E3Duqrp6bHojSx+CzDttAToAiP1eFkCDAPBbKLABVGM=",
|
|
8756
8904
|
"blobStorageId": "blob:memory:1370eeaaba7a6c7a234b1f82cc3b6d013a0088fd5e16408300f05b28b0015463",
|
|
8757
8905
|
"dateCreated": "2024-08-22T04:13:20.000Z",
|
|
8758
8906
|
"organizationIdentity": "did:entity-storage:0x0101010101010101010101010101010101010101010101010101010101010101",
|
|
@@ -8983,9 +9131,9 @@
|
|
|
8983
9131
|
"itemListElement": [
|
|
8984
9132
|
{
|
|
8985
9133
|
"@context": [
|
|
9134
|
+
"https://schema.org",
|
|
8986
9135
|
"https://schema.twindev.org/documents/",
|
|
8987
|
-
"https://schema.twindev.org/common/"
|
|
8988
|
-
"https://schema.org"
|
|
9136
|
+
"https://schema.twindev.org/common/"
|
|
8989
9137
|
],
|
|
8990
9138
|
"type": "Document",
|
|
8991
9139
|
"id": "2721000:0",
|
|
@@ -8994,7 +9142,7 @@
|
|
|
8994
9142
|
"documentCode": "unece:DocumentCodeList#705",
|
|
8995
9143
|
"documentRevision": 0,
|
|
8996
9144
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
8997
|
-
"
|
|
9145
|
+
"integrity": "sha256-123456",
|
|
8998
9146
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
8999
9147
|
"annotationObject": {
|
|
9000
9148
|
"@context": "https://schema.org",
|
|
@@ -9025,9 +9173,9 @@
|
|
|
9025
9173
|
"itemListElement": [
|
|
9026
9174
|
{
|
|
9027
9175
|
"@context": [
|
|
9176
|
+
"https://schema.org",
|
|
9028
9177
|
"https://schema.twindev.org/documents/",
|
|
9029
|
-
"https://schema.twindev.org/common/"
|
|
9030
|
-
"https://schema.org"
|
|
9178
|
+
"https://schema.twindev.org/common/"
|
|
9031
9179
|
],
|
|
9032
9180
|
"type": "Document",
|
|
9033
9181
|
"id": "2721000:0",
|
|
@@ -9036,7 +9184,7 @@
|
|
|
9036
9184
|
"documentCode": "unece:DocumentCodeList#705",
|
|
9037
9185
|
"documentRevision": 0,
|
|
9038
9186
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
9039
|
-
"
|
|
9187
|
+
"integrity": "sha256-123456",
|
|
9040
9188
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
9041
9189
|
"annotationObject": {
|
|
9042
9190
|
"@context": "https://schema.org",
|
|
@@ -9182,9 +9330,9 @@
|
|
|
9182
9330
|
"DocumentManagementGetRevisionResponseExample": {
|
|
9183
9331
|
"value": {
|
|
9184
9332
|
"@context": [
|
|
9333
|
+
"https://schema.org",
|
|
9185
9334
|
"https://schema.twindev.org/documents/",
|
|
9186
|
-
"https://schema.twindev.org/common/"
|
|
9187
|
-
"https://schema.org"
|
|
9335
|
+
"https://schema.twindev.org/common/"
|
|
9188
9336
|
],
|
|
9189
9337
|
"type": "Document",
|
|
9190
9338
|
"id": "2721000:0",
|
|
@@ -9193,7 +9341,7 @@
|
|
|
9193
9341
|
"documentCode": "unece:DocumentCodeList#705",
|
|
9194
9342
|
"documentRevision": 1,
|
|
9195
9343
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
9196
|
-
"
|
|
9344
|
+
"integrity": "sha256-123456",
|
|
9197
9345
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
9198
9346
|
"annotationObject": {
|
|
9199
9347
|
"@context": "https://schema.org",
|
|
@@ -9214,9 +9362,9 @@
|
|
|
9214
9362
|
"DocumentManagementGetRevisionResponseExample": {
|
|
9215
9363
|
"value": {
|
|
9216
9364
|
"@context": [
|
|
9365
|
+
"https://schema.org",
|
|
9217
9366
|
"https://schema.twindev.org/documents/",
|
|
9218
|
-
"https://schema.twindev.org/common/"
|
|
9219
|
-
"https://schema.org"
|
|
9367
|
+
"https://schema.twindev.org/common/"
|
|
9220
9368
|
],
|
|
9221
9369
|
"type": "Document",
|
|
9222
9370
|
"id": "2721000:0",
|
|
@@ -9225,7 +9373,7 @@
|
|
|
9225
9373
|
"documentCode": "unece:DocumentCodeList#705",
|
|
9226
9374
|
"documentRevision": 1,
|
|
9227
9375
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
9228
|
-
"
|
|
9376
|
+
"integrity": "sha256-123456",
|
|
9229
9377
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
9230
9378
|
"annotationObject": {
|
|
9231
9379
|
"@context": "https://schema.org",
|
|
@@ -9542,7 +9690,7 @@
|
|
|
9542
9690
|
"schema": {
|
|
9543
9691
|
"type": "string"
|
|
9544
9692
|
},
|
|
9545
|
-
"description": "e.g. aig
|
|
9693
|
+
"description": "e.g. aig%3A1234567890"
|
|
9546
9694
|
}
|
|
9547
9695
|
}
|
|
9548
9696
|
},
|
|
@@ -9916,15 +10064,6 @@
|
|
|
9916
10064
|
"type": "string"
|
|
9917
10065
|
}
|
|
9918
10066
|
},
|
|
9919
|
-
{
|
|
9920
|
-
"name": "includeChangesets",
|
|
9921
|
-
"description": "Whether to include the changesets of the vertex, defaults to false.",
|
|
9922
|
-
"in": "query",
|
|
9923
|
-
"required": false,
|
|
9924
|
-
"schema": {
|
|
9925
|
-
"type": "string"
|
|
9926
|
-
}
|
|
9927
|
-
},
|
|
9928
10067
|
{
|
|
9929
10068
|
"name": "verifySignatureDepth",
|
|
9930
10069
|
"description": "How many signatures to verify, none, current or all, defaults to \"none\".",
|
|
@@ -10269,68 +10408,589 @@
|
|
|
10269
10408
|
}
|
|
10270
10409
|
}
|
|
10271
10410
|
},
|
|
10272
|
-
"/
|
|
10273
|
-
"
|
|
10274
|
-
"operationId": "
|
|
10275
|
-
"summary": "
|
|
10411
|
+
"/aig/{id}/changesets/{changesetId}": {
|
|
10412
|
+
"get": {
|
|
10413
|
+
"operationId": "auditableItemGraphChangesetGet",
|
|
10414
|
+
"summary": "Get a graph vertex changeset",
|
|
10276
10415
|
"tags": [
|
|
10277
|
-
"Auditable Item
|
|
10416
|
+
"Auditable Item Graph"
|
|
10417
|
+
],
|
|
10418
|
+
"parameters": [
|
|
10419
|
+
{
|
|
10420
|
+
"name": "id",
|
|
10421
|
+
"description": "The id of the vertex to get the changeset from.",
|
|
10422
|
+
"in": "path",
|
|
10423
|
+
"required": true,
|
|
10424
|
+
"schema": {
|
|
10425
|
+
"type": "string"
|
|
10426
|
+
},
|
|
10427
|
+
"style": "simple",
|
|
10428
|
+
"example": "aig:1234567890"
|
|
10429
|
+
},
|
|
10430
|
+
{
|
|
10431
|
+
"name": "changesetId",
|
|
10432
|
+
"description": "The id of the changeset to get.",
|
|
10433
|
+
"in": "path",
|
|
10434
|
+
"required": true,
|
|
10435
|
+
"schema": {
|
|
10436
|
+
"type": "string"
|
|
10437
|
+
},
|
|
10438
|
+
"style": "simple",
|
|
10439
|
+
"example": "changeset:1234567890"
|
|
10440
|
+
},
|
|
10441
|
+
{
|
|
10442
|
+
"name": "verifySignatureDepth",
|
|
10443
|
+
"description": "How many signatures to verify, none, current or all, defaults to \"none\".",
|
|
10444
|
+
"in": "query",
|
|
10445
|
+
"required": false,
|
|
10446
|
+
"schema": {
|
|
10447
|
+
"$ref": "#/components/schemas/VerifyDepth"
|
|
10448
|
+
}
|
|
10449
|
+
},
|
|
10450
|
+
{
|
|
10451
|
+
"name": "accept",
|
|
10452
|
+
"in": "header",
|
|
10453
|
+
"required": true,
|
|
10454
|
+
"schema": {
|
|
10455
|
+
"type": "string"
|
|
10456
|
+
},
|
|
10457
|
+
"style": "simple",
|
|
10458
|
+
"example": "application/json"
|
|
10459
|
+
}
|
|
10278
10460
|
],
|
|
10279
10461
|
"security": [
|
|
10280
10462
|
{
|
|
10281
10463
|
"jwtBearerAuthScheme": []
|
|
10282
10464
|
}
|
|
10283
10465
|
],
|
|
10284
|
-
"requestBody": {
|
|
10285
|
-
"description": "Create an auditable item stream.",
|
|
10286
|
-
"required": true,
|
|
10287
|
-
"content": {
|
|
10288
|
-
"application/json": {
|
|
10289
|
-
"schema": {
|
|
10290
|
-
"$ref": "#/components/schemas/AuditableItemStreamCreateRequest"
|
|
10291
|
-
},
|
|
10292
|
-
"examples": {
|
|
10293
|
-
"auditableItemStreamCreateRequestExample": {
|
|
10294
|
-
"value": {
|
|
10295
|
-
"annotationObject": {
|
|
10296
|
-
"@context": "https://schema.org",
|
|
10297
|
-
"@type": "Note",
|
|
10298
|
-
"content": "This is a simple note"
|
|
10299
|
-
},
|
|
10300
|
-
"entries": [
|
|
10301
|
-
{
|
|
10302
|
-
"entryObject": {
|
|
10303
|
-
"@context": "https://schema.org",
|
|
10304
|
-
"@type": "Event",
|
|
10305
|
-
"startDate": "2011-04-09T20:00:00Z",
|
|
10306
|
-
"description": "A description of the event"
|
|
10307
|
-
}
|
|
10308
|
-
}
|
|
10309
|
-
]
|
|
10310
|
-
}
|
|
10311
|
-
}
|
|
10312
|
-
}
|
|
10313
|
-
}
|
|
10314
|
-
}
|
|
10315
|
-
},
|
|
10316
10466
|
"responses": {
|
|
10317
|
-
"
|
|
10318
|
-
"description": "
|
|
10319
|
-
"headers": {
|
|
10320
|
-
"location": {
|
|
10321
|
-
"schema": {
|
|
10322
|
-
"type": "string"
|
|
10323
|
-
},
|
|
10324
|
-
"description": "e.g. ais:1234567890"
|
|
10325
|
-
}
|
|
10326
|
-
}
|
|
10327
|
-
},
|
|
10328
|
-
"400": {
|
|
10329
|
-
"description": "The server cannot process the request, see the content for more details.",
|
|
10467
|
+
"200": {
|
|
10468
|
+
"description": "Response to getting an auditable item graph vertex changeset.",
|
|
10330
10469
|
"content": {
|
|
10331
10470
|
"application/json": {
|
|
10332
10471
|
"schema": {
|
|
10333
|
-
"$ref": "
|
|
10472
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
|
|
10473
|
+
},
|
|
10474
|
+
"examples": {
|
|
10475
|
+
"auditableItemGraphChangesetGetResponseExample": {
|
|
10476
|
+
"value": {
|
|
10477
|
+
"@context": [
|
|
10478
|
+
"https://schema.twindev.org/aig/",
|
|
10479
|
+
"https://schema.twindev.org/common/"
|
|
10480
|
+
],
|
|
10481
|
+
"type": "AuditableItemGraphChangeset",
|
|
10482
|
+
"id": "aig:1234567890",
|
|
10483
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10484
|
+
"patches": [
|
|
10485
|
+
{
|
|
10486
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10487
|
+
"patchOperation": "add",
|
|
10488
|
+
"patchPath": "/annotationObject",
|
|
10489
|
+
"patchValue": {
|
|
10490
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10491
|
+
"type": "Create",
|
|
10492
|
+
"actor": {
|
|
10493
|
+
"type": "Person",
|
|
10494
|
+
"id": "acct:person@example.org",
|
|
10495
|
+
"name": "Person"
|
|
10496
|
+
},
|
|
10497
|
+
"object": {
|
|
10498
|
+
"type": "Note",
|
|
10499
|
+
"content": "This is a simple note"
|
|
10500
|
+
},
|
|
10501
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10502
|
+
}
|
|
10503
|
+
},
|
|
10504
|
+
{
|
|
10505
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10506
|
+
"patchOperation": "add",
|
|
10507
|
+
"patchPath": "/aliases",
|
|
10508
|
+
"patchValue": [
|
|
10509
|
+
{
|
|
10510
|
+
"id": "foo123",
|
|
10511
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10512
|
+
},
|
|
10513
|
+
{
|
|
10514
|
+
"id": "bar456",
|
|
10515
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10516
|
+
}
|
|
10517
|
+
]
|
|
10518
|
+
}
|
|
10519
|
+
],
|
|
10520
|
+
"verification": {
|
|
10521
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10522
|
+
"type": "ImmutableProofVerification",
|
|
10523
|
+
"verified": true
|
|
10524
|
+
}
|
|
10525
|
+
}
|
|
10526
|
+
}
|
|
10527
|
+
}
|
|
10528
|
+
},
|
|
10529
|
+
"application/ld+json": {
|
|
10530
|
+
"schema": {
|
|
10531
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
|
|
10532
|
+
},
|
|
10533
|
+
"examples": {
|
|
10534
|
+
"auditableItemGraphChangesetJsonLdGetResponseExample": {
|
|
10535
|
+
"value": {
|
|
10536
|
+
"@context": [
|
|
10537
|
+
"https://schema.twindev.org/aig/",
|
|
10538
|
+
"https://schema.twindev.org/common/",
|
|
10539
|
+
"https://schema.org"
|
|
10540
|
+
],
|
|
10541
|
+
"type": "AuditableItemGraphChangeset",
|
|
10542
|
+
"id": "aig:1234567890",
|
|
10543
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10544
|
+
"patches": [
|
|
10545
|
+
{
|
|
10546
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10547
|
+
"patchOperation": "add",
|
|
10548
|
+
"patchPath": "/annotationObject",
|
|
10549
|
+
"patchValue": {
|
|
10550
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10551
|
+
"type": "Create",
|
|
10552
|
+
"actor": {
|
|
10553
|
+
"type": "Person",
|
|
10554
|
+
"id": "acct:person@example.org",
|
|
10555
|
+
"name": "Person"
|
|
10556
|
+
},
|
|
10557
|
+
"object": {
|
|
10558
|
+
"type": "Note",
|
|
10559
|
+
"content": "This is a simple note"
|
|
10560
|
+
},
|
|
10561
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10562
|
+
}
|
|
10563
|
+
},
|
|
10564
|
+
{
|
|
10565
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10566
|
+
"patchOperation": "add",
|
|
10567
|
+
"patchPath": "/aliases",
|
|
10568
|
+
"patchValue": [
|
|
10569
|
+
{
|
|
10570
|
+
"id": "foo123",
|
|
10571
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10572
|
+
},
|
|
10573
|
+
{
|
|
10574
|
+
"id": "bar456",
|
|
10575
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10576
|
+
}
|
|
10577
|
+
]
|
|
10578
|
+
}
|
|
10579
|
+
],
|
|
10580
|
+
"verification": {
|
|
10581
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10582
|
+
"type": "ImmutableProofVerification",
|
|
10583
|
+
"verified": true
|
|
10584
|
+
}
|
|
10585
|
+
}
|
|
10586
|
+
}
|
|
10587
|
+
}
|
|
10588
|
+
}
|
|
10589
|
+
},
|
|
10590
|
+
"headers": {
|
|
10591
|
+
"content-type": {
|
|
10592
|
+
"schema": {
|
|
10593
|
+
"type": "string"
|
|
10594
|
+
},
|
|
10595
|
+
"description": "e.g. application/ld+json"
|
|
10596
|
+
}
|
|
10597
|
+
}
|
|
10598
|
+
},
|
|
10599
|
+
"400": {
|
|
10600
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
10601
|
+
"content": {
|
|
10602
|
+
"application/json": {
|
|
10603
|
+
"schema": {
|
|
10604
|
+
"$ref": "#/components/schemas/Error"
|
|
10605
|
+
},
|
|
10606
|
+
"examples": {
|
|
10607
|
+
"exampleResponse": {
|
|
10608
|
+
"value": {
|
|
10609
|
+
"name": "GeneralError",
|
|
10610
|
+
"message": "errorMessage",
|
|
10611
|
+
"properties": {
|
|
10612
|
+
"foo": "bar"
|
|
10613
|
+
}
|
|
10614
|
+
}
|
|
10615
|
+
}
|
|
10616
|
+
}
|
|
10617
|
+
}
|
|
10618
|
+
}
|
|
10619
|
+
},
|
|
10620
|
+
"401": {
|
|
10621
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
10622
|
+
"content": {
|
|
10623
|
+
"application/json": {
|
|
10624
|
+
"schema": {
|
|
10625
|
+
"$ref": "#/components/schemas/Error"
|
|
10626
|
+
},
|
|
10627
|
+
"examples": {
|
|
10628
|
+
"exampleResponse": {
|
|
10629
|
+
"value": {
|
|
10630
|
+
"name": "UnauthorizedError",
|
|
10631
|
+
"message": "errorMessage"
|
|
10632
|
+
}
|
|
10633
|
+
}
|
|
10634
|
+
}
|
|
10635
|
+
}
|
|
10636
|
+
}
|
|
10637
|
+
},
|
|
10638
|
+
"500": {
|
|
10639
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
10640
|
+
"content": {
|
|
10641
|
+
"application/json": {
|
|
10642
|
+
"schema": {
|
|
10643
|
+
"$ref": "#/components/schemas/Error"
|
|
10644
|
+
},
|
|
10645
|
+
"examples": {
|
|
10646
|
+
"exampleResponse": {
|
|
10647
|
+
"value": {
|
|
10648
|
+
"name": "InternalServerError",
|
|
10649
|
+
"message": "errorMessage"
|
|
10650
|
+
}
|
|
10651
|
+
}
|
|
10652
|
+
}
|
|
10653
|
+
}
|
|
10654
|
+
}
|
|
10655
|
+
}
|
|
10656
|
+
}
|
|
10657
|
+
}
|
|
10658
|
+
},
|
|
10659
|
+
"/aig/{id}/changesets": {
|
|
10660
|
+
"get": {
|
|
10661
|
+
"operationId": "auditableItemGraphChangesetList",
|
|
10662
|
+
"summary": "Get a list of graph vertex changesets",
|
|
10663
|
+
"tags": [
|
|
10664
|
+
"Auditable Item Graph"
|
|
10665
|
+
],
|
|
10666
|
+
"parameters": [
|
|
10667
|
+
{
|
|
10668
|
+
"name": "id",
|
|
10669
|
+
"description": "The id of the changeset to get.",
|
|
10670
|
+
"in": "path",
|
|
10671
|
+
"required": true,
|
|
10672
|
+
"schema": {
|
|
10673
|
+
"type": "string"
|
|
10674
|
+
},
|
|
10675
|
+
"style": "simple",
|
|
10676
|
+
"example": "aig:1234567890"
|
|
10677
|
+
},
|
|
10678
|
+
{
|
|
10679
|
+
"name": "cursor",
|
|
10680
|
+
"description": "The optional cursor to get next chunk.",
|
|
10681
|
+
"in": "query",
|
|
10682
|
+
"required": false,
|
|
10683
|
+
"schema": {
|
|
10684
|
+
"type": "string"
|
|
10685
|
+
}
|
|
10686
|
+
},
|
|
10687
|
+
{
|
|
10688
|
+
"name": "limit",
|
|
10689
|
+
"description": "Limit the number of entities to return.",
|
|
10690
|
+
"in": "query",
|
|
10691
|
+
"required": false,
|
|
10692
|
+
"schema": {
|
|
10693
|
+
"type": "string"
|
|
10694
|
+
}
|
|
10695
|
+
},
|
|
10696
|
+
{
|
|
10697
|
+
"name": "verifySignatureDepth",
|
|
10698
|
+
"description": "How many signatures to verify, none, current or all, defaults to \"none\".",
|
|
10699
|
+
"in": "query",
|
|
10700
|
+
"required": false,
|
|
10701
|
+
"schema": {
|
|
10702
|
+
"$ref": "#/components/schemas/VerifyDepth"
|
|
10703
|
+
}
|
|
10704
|
+
},
|
|
10705
|
+
{
|
|
10706
|
+
"name": "accept",
|
|
10707
|
+
"in": "header",
|
|
10708
|
+
"required": true,
|
|
10709
|
+
"schema": {
|
|
10710
|
+
"type": "string"
|
|
10711
|
+
},
|
|
10712
|
+
"style": "simple",
|
|
10713
|
+
"example": "application/json"
|
|
10714
|
+
}
|
|
10715
|
+
],
|
|
10716
|
+
"security": [
|
|
10717
|
+
{
|
|
10718
|
+
"jwtBearerAuthScheme": []
|
|
10719
|
+
}
|
|
10720
|
+
],
|
|
10721
|
+
"responses": {
|
|
10722
|
+
"200": {
|
|
10723
|
+
"description": "Response to getting an auditable item graph vertex changeset.",
|
|
10724
|
+
"content": {
|
|
10725
|
+
"application/json": {
|
|
10726
|
+
"schema": {
|
|
10727
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangesetList"
|
|
10728
|
+
},
|
|
10729
|
+
"examples": {
|
|
10730
|
+
"auditableItemGraphChangesetListResponseExample": {
|
|
10731
|
+
"value": {
|
|
10732
|
+
"@context": [
|
|
10733
|
+
"https://schema.org",
|
|
10734
|
+
"https://schema.twindev.org/aig/",
|
|
10735
|
+
"https://schema.twindev.org/common/"
|
|
10736
|
+
],
|
|
10737
|
+
"type": [
|
|
10738
|
+
"ItemList",
|
|
10739
|
+
"AuditableItemGraphChangesetList"
|
|
10740
|
+
],
|
|
10741
|
+
"itemListElement": [
|
|
10742
|
+
{
|
|
10743
|
+
"type": "AuditableItemGraphChangeset",
|
|
10744
|
+
"id": "aig:1234567890",
|
|
10745
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10746
|
+
"patches": [
|
|
10747
|
+
{
|
|
10748
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10749
|
+
"patchOperation": "add",
|
|
10750
|
+
"patchPath": "/annotationObject",
|
|
10751
|
+
"patchValue": {
|
|
10752
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10753
|
+
"type": "Create",
|
|
10754
|
+
"actor": {
|
|
10755
|
+
"type": "Person",
|
|
10756
|
+
"id": "acct:person@example.org",
|
|
10757
|
+
"name": "Person"
|
|
10758
|
+
},
|
|
10759
|
+
"object": {
|
|
10760
|
+
"type": "Note",
|
|
10761
|
+
"content": "This is a simple note"
|
|
10762
|
+
},
|
|
10763
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10764
|
+
}
|
|
10765
|
+
},
|
|
10766
|
+
{
|
|
10767
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10768
|
+
"patchOperation": "add",
|
|
10769
|
+
"patchPath": "/aliases",
|
|
10770
|
+
"patchValue": [
|
|
10771
|
+
{
|
|
10772
|
+
"id": "foo123",
|
|
10773
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10774
|
+
},
|
|
10775
|
+
{
|
|
10776
|
+
"id": "bar456",
|
|
10777
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10778
|
+
}
|
|
10779
|
+
]
|
|
10780
|
+
}
|
|
10781
|
+
],
|
|
10782
|
+
"verification": {
|
|
10783
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10784
|
+
"type": "ImmutableProofVerification",
|
|
10785
|
+
"verified": true
|
|
10786
|
+
}
|
|
10787
|
+
}
|
|
10788
|
+
]
|
|
10789
|
+
}
|
|
10790
|
+
}
|
|
10791
|
+
}
|
|
10792
|
+
},
|
|
10793
|
+
"application/ld+json": {
|
|
10794
|
+
"schema": {
|
|
10795
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
|
|
10796
|
+
},
|
|
10797
|
+
"examples": {
|
|
10798
|
+
"auditableItemGraphChangesetJsonLdGetResponseExample": {
|
|
10799
|
+
"value": {
|
|
10800
|
+
"@context": [
|
|
10801
|
+
"https://schema.org",
|
|
10802
|
+
"https://schema.twindev.org/aig/",
|
|
10803
|
+
"https://schema.twindev.org/common/",
|
|
10804
|
+
"https://schema.org"
|
|
10805
|
+
],
|
|
10806
|
+
"type": [
|
|
10807
|
+
"ItemList",
|
|
10808
|
+
"AuditableItemGraphChangesetList"
|
|
10809
|
+
],
|
|
10810
|
+
"itemListElement": [
|
|
10811
|
+
{
|
|
10812
|
+
"type": "AuditableItemGraphChangeset",
|
|
10813
|
+
"id": "aig:1234567890",
|
|
10814
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10815
|
+
"patches": [
|
|
10816
|
+
{
|
|
10817
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10818
|
+
"patchOperation": "add",
|
|
10819
|
+
"patchPath": "/annotationObject",
|
|
10820
|
+
"patchValue": {
|
|
10821
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10822
|
+
"type": "Create",
|
|
10823
|
+
"actor": {
|
|
10824
|
+
"type": "Person",
|
|
10825
|
+
"id": "acct:person@example.org",
|
|
10826
|
+
"name": "Person"
|
|
10827
|
+
},
|
|
10828
|
+
"object": {
|
|
10829
|
+
"type": "Note",
|
|
10830
|
+
"content": "This is a simple note"
|
|
10831
|
+
},
|
|
10832
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10833
|
+
}
|
|
10834
|
+
},
|
|
10835
|
+
{
|
|
10836
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10837
|
+
"patchOperation": "add",
|
|
10838
|
+
"patchPath": "/aliases",
|
|
10839
|
+
"patchValue": [
|
|
10840
|
+
{
|
|
10841
|
+
"id": "foo123",
|
|
10842
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10843
|
+
},
|
|
10844
|
+
{
|
|
10845
|
+
"id": "bar456",
|
|
10846
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10847
|
+
}
|
|
10848
|
+
]
|
|
10849
|
+
}
|
|
10850
|
+
],
|
|
10851
|
+
"verification": {
|
|
10852
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10853
|
+
"type": "ImmutableProofVerification",
|
|
10854
|
+
"verified": true
|
|
10855
|
+
}
|
|
10856
|
+
}
|
|
10857
|
+
]
|
|
10858
|
+
}
|
|
10859
|
+
}
|
|
10860
|
+
}
|
|
10861
|
+
}
|
|
10862
|
+
},
|
|
10863
|
+
"headers": {
|
|
10864
|
+
"content-type": {
|
|
10865
|
+
"schema": {
|
|
10866
|
+
"type": "string"
|
|
10867
|
+
},
|
|
10868
|
+
"description": "e.g. application/ld+json"
|
|
10869
|
+
}
|
|
10870
|
+
}
|
|
10871
|
+
},
|
|
10872
|
+
"400": {
|
|
10873
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
10874
|
+
"content": {
|
|
10875
|
+
"application/json": {
|
|
10876
|
+
"schema": {
|
|
10877
|
+
"$ref": "#/components/schemas/Error"
|
|
10878
|
+
},
|
|
10879
|
+
"examples": {
|
|
10880
|
+
"exampleResponse": {
|
|
10881
|
+
"value": {
|
|
10882
|
+
"name": "GeneralError",
|
|
10883
|
+
"message": "errorMessage",
|
|
10884
|
+
"properties": {
|
|
10885
|
+
"foo": "bar"
|
|
10886
|
+
}
|
|
10887
|
+
}
|
|
10888
|
+
}
|
|
10889
|
+
}
|
|
10890
|
+
}
|
|
10891
|
+
}
|
|
10892
|
+
},
|
|
10893
|
+
"401": {
|
|
10894
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
10895
|
+
"content": {
|
|
10896
|
+
"application/json": {
|
|
10897
|
+
"schema": {
|
|
10898
|
+
"$ref": "#/components/schemas/Error"
|
|
10899
|
+
},
|
|
10900
|
+
"examples": {
|
|
10901
|
+
"exampleResponse": {
|
|
10902
|
+
"value": {
|
|
10903
|
+
"name": "UnauthorizedError",
|
|
10904
|
+
"message": "errorMessage"
|
|
10905
|
+
}
|
|
10906
|
+
}
|
|
10907
|
+
}
|
|
10908
|
+
}
|
|
10909
|
+
}
|
|
10910
|
+
},
|
|
10911
|
+
"500": {
|
|
10912
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
10913
|
+
"content": {
|
|
10914
|
+
"application/json": {
|
|
10915
|
+
"schema": {
|
|
10916
|
+
"$ref": "#/components/schemas/Error"
|
|
10917
|
+
},
|
|
10918
|
+
"examples": {
|
|
10919
|
+
"exampleResponse": {
|
|
10920
|
+
"value": {
|
|
10921
|
+
"name": "InternalServerError",
|
|
10922
|
+
"message": "errorMessage"
|
|
10923
|
+
}
|
|
10924
|
+
}
|
|
10925
|
+
}
|
|
10926
|
+
}
|
|
10927
|
+
}
|
|
10928
|
+
}
|
|
10929
|
+
}
|
|
10930
|
+
}
|
|
10931
|
+
},
|
|
10932
|
+
"/ais": {
|
|
10933
|
+
"post": {
|
|
10934
|
+
"operationId": "auditableItemStreamCreate",
|
|
10935
|
+
"summary": "Create a new stream",
|
|
10936
|
+
"tags": [
|
|
10937
|
+
"Auditable Item Stream"
|
|
10938
|
+
],
|
|
10939
|
+
"security": [
|
|
10940
|
+
{
|
|
10941
|
+
"jwtBearerAuthScheme": []
|
|
10942
|
+
}
|
|
10943
|
+
],
|
|
10944
|
+
"requestBody": {
|
|
10945
|
+
"description": "Create an auditable item stream.",
|
|
10946
|
+
"required": true,
|
|
10947
|
+
"content": {
|
|
10948
|
+
"application/json": {
|
|
10949
|
+
"schema": {
|
|
10950
|
+
"$ref": "#/components/schemas/AuditableItemStreamCreateRequest"
|
|
10951
|
+
},
|
|
10952
|
+
"examples": {
|
|
10953
|
+
"auditableItemStreamCreateRequestExample": {
|
|
10954
|
+
"value": {
|
|
10955
|
+
"annotationObject": {
|
|
10956
|
+
"@context": "https://schema.org",
|
|
10957
|
+
"@type": "Note",
|
|
10958
|
+
"content": "This is a simple note"
|
|
10959
|
+
},
|
|
10960
|
+
"entries": [
|
|
10961
|
+
{
|
|
10962
|
+
"entryObject": {
|
|
10963
|
+
"@context": "https://schema.org",
|
|
10964
|
+
"@type": "Event",
|
|
10965
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
10966
|
+
"description": "A description of the event"
|
|
10967
|
+
}
|
|
10968
|
+
}
|
|
10969
|
+
]
|
|
10970
|
+
}
|
|
10971
|
+
}
|
|
10972
|
+
}
|
|
10973
|
+
}
|
|
10974
|
+
}
|
|
10975
|
+
},
|
|
10976
|
+
"responses": {
|
|
10977
|
+
"201": {
|
|
10978
|
+
"description": "The rest request ended in created response.",
|
|
10979
|
+
"headers": {
|
|
10980
|
+
"location": {
|
|
10981
|
+
"schema": {
|
|
10982
|
+
"type": "string"
|
|
10983
|
+
},
|
|
10984
|
+
"description": "e.g. ais%3A1234567890"
|
|
10985
|
+
}
|
|
10986
|
+
}
|
|
10987
|
+
},
|
|
10988
|
+
"400": {
|
|
10989
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
10990
|
+
"content": {
|
|
10991
|
+
"application/json": {
|
|
10992
|
+
"schema": {
|
|
10993
|
+
"$ref": "#/components/schemas/Error"
|
|
10334
10994
|
},
|
|
10335
10995
|
"examples": {
|
|
10336
10996
|
"exampleResponse": {
|
|
@@ -10501,7 +11161,8 @@
|
|
|
10501
11161
|
},
|
|
10502
11162
|
"organizationIdentity": "did:iota:1234567890",
|
|
10503
11163
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10504
|
-
"immutableInterval": 10
|
|
11164
|
+
"immutableInterval": 10,
|
|
11165
|
+
"numberOfItems": 0
|
|
10505
11166
|
}
|
|
10506
11167
|
]
|
|
10507
11168
|
}
|
|
@@ -10541,7 +11202,8 @@
|
|
|
10541
11202
|
},
|
|
10542
11203
|
"organizationIdentity": "did:iota:1234567890",
|
|
10543
11204
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10544
|
-
"immutableInterval": 10
|
|
11205
|
+
"immutableInterval": 10,
|
|
11206
|
+
"numberOfItems": 0
|
|
10545
11207
|
}
|
|
10546
11208
|
]
|
|
10547
11209
|
}
|
|
@@ -10737,6 +11399,7 @@
|
|
|
10737
11399
|
"organizationIdentity": "did:iota:1234567890",
|
|
10738
11400
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10739
11401
|
"immutableInterval": 10,
|
|
11402
|
+
"numberOfItems": 1,
|
|
10740
11403
|
"entries": [
|
|
10741
11404
|
{
|
|
10742
11405
|
"@context": [
|
|
@@ -10783,6 +11446,7 @@
|
|
|
10783
11446
|
"organizationIdentity": "did:iota:1234567890",
|
|
10784
11447
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10785
11448
|
"immutableInterval": 10,
|
|
11449
|
+
"numberOfItems": 1,
|
|
10786
11450
|
"entries": [
|
|
10787
11451
|
{
|
|
10788
11452
|
"@context": [
|
|
@@ -11133,7 +11797,9 @@
|
|
|
11133
11797
|
}
|
|
11134
11798
|
}
|
|
11135
11799
|
}
|
|
11136
|
-
}
|
|
11800
|
+
}
|
|
11801
|
+
},
|
|
11802
|
+
"/ais/{id}/entries": {
|
|
11137
11803
|
"post": {
|
|
11138
11804
|
"operationId": "auditableItemStreamCreateEntry",
|
|
11139
11805
|
"summary": "Create a new stream entry",
|
|
@@ -11166,30 +11832,268 @@
|
|
|
11166
11832
|
"schema": {
|
|
11167
11833
|
"$ref": "#/components/schemas/AuditableItemStreamCreateEntryRequest"
|
|
11168
11834
|
},
|
|
11169
|
-
"examples": {
|
|
11170
|
-
"auditableItemStreamCreateEntryRequestExample": {
|
|
11171
|
-
"value": {
|
|
11172
|
-
"entryObject": {
|
|
11173
|
-
"@context": "https://schema.org",
|
|
11174
|
-
"@type": "Event",
|
|
11175
|
-
"startDate": "2011-04-09T20:00:00Z",
|
|
11176
|
-
"description": "A description of the event"
|
|
11835
|
+
"examples": {
|
|
11836
|
+
"auditableItemStreamCreateEntryRequestExample": {
|
|
11837
|
+
"value": {
|
|
11838
|
+
"entryObject": {
|
|
11839
|
+
"@context": "https://schema.org",
|
|
11840
|
+
"@type": "Event",
|
|
11841
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
11842
|
+
"description": "A description of the event"
|
|
11843
|
+
}
|
|
11844
|
+
}
|
|
11845
|
+
}
|
|
11846
|
+
}
|
|
11847
|
+
}
|
|
11848
|
+
}
|
|
11849
|
+
},
|
|
11850
|
+
"responses": {
|
|
11851
|
+
"201": {
|
|
11852
|
+
"description": "The rest request ended in created response.",
|
|
11853
|
+
"headers": {
|
|
11854
|
+
"location": {
|
|
11855
|
+
"schema": {
|
|
11856
|
+
"type": "string"
|
|
11857
|
+
},
|
|
11858
|
+
"description": "e.g. ais%3A1234567890%3A01010101010"
|
|
11859
|
+
}
|
|
11860
|
+
}
|
|
11861
|
+
},
|
|
11862
|
+
"400": {
|
|
11863
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
11864
|
+
"content": {
|
|
11865
|
+
"application/json": {
|
|
11866
|
+
"schema": {
|
|
11867
|
+
"$ref": "#/components/schemas/Error"
|
|
11868
|
+
},
|
|
11869
|
+
"examples": {
|
|
11870
|
+
"exampleResponse": {
|
|
11871
|
+
"value": {
|
|
11872
|
+
"name": "GeneralError",
|
|
11873
|
+
"message": "errorMessage",
|
|
11874
|
+
"properties": {
|
|
11875
|
+
"foo": "bar"
|
|
11876
|
+
}
|
|
11877
|
+
}
|
|
11878
|
+
}
|
|
11879
|
+
}
|
|
11880
|
+
}
|
|
11881
|
+
}
|
|
11882
|
+
},
|
|
11883
|
+
"401": {
|
|
11884
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
11885
|
+
"content": {
|
|
11886
|
+
"application/json": {
|
|
11887
|
+
"schema": {
|
|
11888
|
+
"$ref": "#/components/schemas/Error"
|
|
11889
|
+
},
|
|
11890
|
+
"examples": {
|
|
11891
|
+
"exampleResponse": {
|
|
11892
|
+
"value": {
|
|
11893
|
+
"name": "UnauthorizedError",
|
|
11894
|
+
"message": "errorMessage"
|
|
11895
|
+
}
|
|
11896
|
+
}
|
|
11897
|
+
}
|
|
11898
|
+
}
|
|
11899
|
+
}
|
|
11900
|
+
},
|
|
11901
|
+
"500": {
|
|
11902
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
11903
|
+
"content": {
|
|
11904
|
+
"application/json": {
|
|
11905
|
+
"schema": {
|
|
11906
|
+
"$ref": "#/components/schemas/Error"
|
|
11907
|
+
},
|
|
11908
|
+
"examples": {
|
|
11909
|
+
"exampleResponse": {
|
|
11910
|
+
"value": {
|
|
11911
|
+
"name": "InternalServerError",
|
|
11912
|
+
"message": "errorMessage"
|
|
11913
|
+
}
|
|
11914
|
+
}
|
|
11915
|
+
}
|
|
11916
|
+
}
|
|
11917
|
+
}
|
|
11918
|
+
}
|
|
11919
|
+
}
|
|
11920
|
+
},
|
|
11921
|
+
"get": {
|
|
11922
|
+
"operationId": "auditableItemStreamListEntries",
|
|
11923
|
+
"summary": "Get the entry objects in a stream",
|
|
11924
|
+
"tags": [
|
|
11925
|
+
"Auditable Item Stream"
|
|
11926
|
+
],
|
|
11927
|
+
"parameters": [
|
|
11928
|
+
{
|
|
11929
|
+
"name": "id",
|
|
11930
|
+
"description": "The id of the stream to get.",
|
|
11931
|
+
"in": "path",
|
|
11932
|
+
"required": true,
|
|
11933
|
+
"schema": {
|
|
11934
|
+
"type": "string"
|
|
11935
|
+
},
|
|
11936
|
+
"style": "simple",
|
|
11937
|
+
"example": "ais:1234567890"
|
|
11938
|
+
},
|
|
11939
|
+
{
|
|
11940
|
+
"name": "conditions",
|
|
11941
|
+
"description": "The conditions to filter the stream, JSON stringified IComparator[].",
|
|
11942
|
+
"in": "query",
|
|
11943
|
+
"required": false,
|
|
11944
|
+
"schema": {
|
|
11945
|
+
"type": "string"
|
|
11946
|
+
}
|
|
11947
|
+
},
|
|
11948
|
+
{
|
|
11949
|
+
"name": "includeDeleted",
|
|
11950
|
+
"description": "Whether to include deleted entries, defaults to false.",
|
|
11951
|
+
"in": "query",
|
|
11952
|
+
"required": false,
|
|
11953
|
+
"schema": {
|
|
11954
|
+
"type": "string"
|
|
11955
|
+
}
|
|
11956
|
+
},
|
|
11957
|
+
{
|
|
11958
|
+
"name": "verifyEntries",
|
|
11959
|
+
"description": "Should the entries be verified, defaults to false.",
|
|
11960
|
+
"in": "query",
|
|
11961
|
+
"required": false,
|
|
11962
|
+
"schema": {
|
|
11963
|
+
"type": "string"
|
|
11964
|
+
}
|
|
11965
|
+
},
|
|
11966
|
+
{
|
|
11967
|
+
"name": "order",
|
|
11968
|
+
"description": "Retrieve the entries in ascending/descending time order, defaults to Ascending.",
|
|
11969
|
+
"in": "query",
|
|
11970
|
+
"required": false,
|
|
11971
|
+
"schema": {
|
|
11972
|
+
"$ref": "#/components/schemas/SortDirection"
|
|
11973
|
+
}
|
|
11974
|
+
},
|
|
11975
|
+
{
|
|
11976
|
+
"name": "limit",
|
|
11977
|
+
"description": "How many entries to return.",
|
|
11978
|
+
"in": "query",
|
|
11979
|
+
"required": false,
|
|
11980
|
+
"schema": {
|
|
11981
|
+
"type": "string"
|
|
11982
|
+
}
|
|
11983
|
+
},
|
|
11984
|
+
{
|
|
11985
|
+
"name": "cursor",
|
|
11986
|
+
"description": "Cursor to use for next chunk of data.",
|
|
11987
|
+
"in": "query",
|
|
11988
|
+
"required": false,
|
|
11989
|
+
"schema": {
|
|
11990
|
+
"type": "string"
|
|
11991
|
+
}
|
|
11992
|
+
},
|
|
11993
|
+
{
|
|
11994
|
+
"name": "accept",
|
|
11995
|
+
"in": "header",
|
|
11996
|
+
"required": true,
|
|
11997
|
+
"schema": {
|
|
11998
|
+
"type": "string"
|
|
11999
|
+
},
|
|
12000
|
+
"style": "simple"
|
|
12001
|
+
}
|
|
12002
|
+
],
|
|
12003
|
+
"security": [
|
|
12004
|
+
{
|
|
12005
|
+
"jwtBearerAuthScheme": []
|
|
12006
|
+
}
|
|
12007
|
+
],
|
|
12008
|
+
"responses": {
|
|
12009
|
+
"200": {
|
|
12010
|
+
"description": "Response to getting an auditable item stream entries.",
|
|
12011
|
+
"content": {
|
|
12012
|
+
"application/json": {
|
|
12013
|
+
"schema": {
|
|
12014
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryList"
|
|
12015
|
+
},
|
|
12016
|
+
"examples": {
|
|
12017
|
+
"auditableItemStreamListEntriesResponseExample": {
|
|
12018
|
+
"value": {
|
|
12019
|
+
"@context": [
|
|
12020
|
+
"https://schema.org",
|
|
12021
|
+
"https://schema.twindev.org/ais/",
|
|
12022
|
+
"https://schema.twindev.org/common/"
|
|
12023
|
+
],
|
|
12024
|
+
"type": [
|
|
12025
|
+
"ItemList",
|
|
12026
|
+
"AuditableItemStreamEntryList"
|
|
12027
|
+
],
|
|
12028
|
+
"itemListElement": [
|
|
12029
|
+
{
|
|
12030
|
+
"@context": [
|
|
12031
|
+
"https://schema.twindev.org/ais/",
|
|
12032
|
+
"https://schema.twindev.org/common/"
|
|
12033
|
+
],
|
|
12034
|
+
"type": "AuditableItemStreamEntry",
|
|
12035
|
+
"id": "tst:1234567890",
|
|
12036
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
12037
|
+
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
12038
|
+
"index": 0,
|
|
12039
|
+
"entryObject": {
|
|
12040
|
+
"@context": "https://schema.org",
|
|
12041
|
+
"@type": "Event",
|
|
12042
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
12043
|
+
"description": "A description of the event"
|
|
12044
|
+
}
|
|
12045
|
+
}
|
|
12046
|
+
]
|
|
12047
|
+
}
|
|
12048
|
+
}
|
|
12049
|
+
}
|
|
12050
|
+
},
|
|
12051
|
+
"application/ld+json": {
|
|
12052
|
+
"schema": {
|
|
12053
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryList"
|
|
12054
|
+
},
|
|
12055
|
+
"examples": {
|
|
12056
|
+
"auditableItemStreamJsonLdListEntriesResponseExample": {
|
|
12057
|
+
"value": {
|
|
12058
|
+
"@context": [
|
|
12059
|
+
"https://schema.org",
|
|
12060
|
+
"https://schema.twindev.org/ais/",
|
|
12061
|
+
"https://schema.twindev.org/common/"
|
|
12062
|
+
],
|
|
12063
|
+
"type": [
|
|
12064
|
+
"ItemList",
|
|
12065
|
+
"AuditableItemStreamEntryList"
|
|
12066
|
+
],
|
|
12067
|
+
"itemListElement": [
|
|
12068
|
+
{
|
|
12069
|
+
"@context": [
|
|
12070
|
+
"https://schema.twindev.org/ais/",
|
|
12071
|
+
"https://schema.twindev.org/common/"
|
|
12072
|
+
],
|
|
12073
|
+
"type": "AuditableItemStreamEntry",
|
|
12074
|
+
"id": "tst:1234567890",
|
|
12075
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
12076
|
+
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
12077
|
+
"index": 0,
|
|
12078
|
+
"entryObject": {
|
|
12079
|
+
"@context": "https://schema.org",
|
|
12080
|
+
"@type": "Event",
|
|
12081
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
12082
|
+
"description": "A description of the event"
|
|
12083
|
+
}
|
|
12084
|
+
}
|
|
12085
|
+
]
|
|
11177
12086
|
}
|
|
11178
12087
|
}
|
|
11179
12088
|
}
|
|
11180
12089
|
}
|
|
11181
|
-
}
|
|
11182
|
-
}
|
|
11183
|
-
},
|
|
11184
|
-
"responses": {
|
|
11185
|
-
"201": {
|
|
11186
|
-
"description": "The rest request ended in created response.",
|
|
12090
|
+
},
|
|
11187
12091
|
"headers": {
|
|
11188
|
-
"
|
|
12092
|
+
"content-type": {
|
|
11189
12093
|
"schema": {
|
|
11190
12094
|
"type": "string"
|
|
11191
12095
|
},
|
|
11192
|
-
"description": "e.g.
|
|
12096
|
+
"description": "e.g. application/ld+json"
|
|
11193
12097
|
}
|
|
11194
12098
|
}
|
|
11195
12099
|
},
|
|
@@ -11232,6 +12136,27 @@
|
|
|
11232
12136
|
}
|
|
11233
12137
|
}
|
|
11234
12138
|
},
|
|
12139
|
+
"404": {
|
|
12140
|
+
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
12141
|
+
"content": {
|
|
12142
|
+
"application/json": {
|
|
12143
|
+
"schema": {
|
|
12144
|
+
"$ref": "#/components/schemas/NotFoundResponse"
|
|
12145
|
+
},
|
|
12146
|
+
"examples": {
|
|
12147
|
+
"exampleResponse": {
|
|
12148
|
+
"value": {
|
|
12149
|
+
"name": "NotFoundError",
|
|
12150
|
+
"message": "errorMessage",
|
|
12151
|
+
"properties": {
|
|
12152
|
+
"notFoundId": "1"
|
|
12153
|
+
}
|
|
12154
|
+
}
|
|
12155
|
+
}
|
|
12156
|
+
}
|
|
12157
|
+
}
|
|
12158
|
+
}
|
|
12159
|
+
},
|
|
11235
12160
|
"500": {
|
|
11236
12161
|
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
11237
12162
|
"content": {
|
|
@@ -11253,7 +12178,7 @@
|
|
|
11253
12178
|
}
|
|
11254
12179
|
}
|
|
11255
12180
|
},
|
|
11256
|
-
"/ais/{id}/{entryId}": {
|
|
12181
|
+
"/ais/{id}/entries/{entryId}": {
|
|
11257
12182
|
"get": {
|
|
11258
12183
|
"operationId": "auditableItemStreamGetEntry",
|
|
11259
12184
|
"summary": "Get a stream entry",
|
|
@@ -11714,10 +12639,10 @@
|
|
|
11714
12639
|
}
|
|
11715
12640
|
}
|
|
11716
12641
|
},
|
|
11717
|
-
"/ais/{id}/{entryId}/object": {
|
|
12642
|
+
"/ais/{id}/entries/{entryId}/object": {
|
|
11718
12643
|
"get": {
|
|
11719
12644
|
"operationId": "auditableItemStreamGetEntryObject",
|
|
11720
|
-
"summary": "Get a stream entry",
|
|
12645
|
+
"summary": "Get a stream entry object",
|
|
11721
12646
|
"tags": [
|
|
11722
12647
|
"Auditable Item Stream"
|
|
11723
12648
|
],
|
|
@@ -11756,19 +12681,269 @@
|
|
|
11756
12681
|
"content": {
|
|
11757
12682
|
"application/json": {
|
|
11758
12683
|
"schema": {
|
|
11759
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
12684
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
12685
|
+
},
|
|
12686
|
+
"examples": {
|
|
12687
|
+
"auditableItemStreamGetEntryObjectResponseExample": {
|
|
12688
|
+
"value": {
|
|
12689
|
+
"@context": "https://schema.org",
|
|
12690
|
+
"@type": "Event",
|
|
12691
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
12692
|
+
"description": "A description of the event"
|
|
12693
|
+
}
|
|
12694
|
+
}
|
|
12695
|
+
}
|
|
12696
|
+
}
|
|
12697
|
+
}
|
|
12698
|
+
},
|
|
12699
|
+
"400": {
|
|
12700
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
12701
|
+
"content": {
|
|
12702
|
+
"application/json": {
|
|
12703
|
+
"schema": {
|
|
12704
|
+
"$ref": "#/components/schemas/Error"
|
|
12705
|
+
},
|
|
12706
|
+
"examples": {
|
|
12707
|
+
"exampleResponse": {
|
|
12708
|
+
"value": {
|
|
12709
|
+
"name": "GeneralError",
|
|
12710
|
+
"message": "errorMessage",
|
|
12711
|
+
"properties": {
|
|
12712
|
+
"foo": "bar"
|
|
12713
|
+
}
|
|
12714
|
+
}
|
|
12715
|
+
}
|
|
12716
|
+
}
|
|
12717
|
+
}
|
|
12718
|
+
}
|
|
12719
|
+
},
|
|
12720
|
+
"401": {
|
|
12721
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
12722
|
+
"content": {
|
|
12723
|
+
"application/json": {
|
|
12724
|
+
"schema": {
|
|
12725
|
+
"$ref": "#/components/schemas/Error"
|
|
12726
|
+
},
|
|
12727
|
+
"examples": {
|
|
12728
|
+
"exampleResponse": {
|
|
12729
|
+
"value": {
|
|
12730
|
+
"name": "UnauthorizedError",
|
|
12731
|
+
"message": "errorMessage"
|
|
12732
|
+
}
|
|
12733
|
+
}
|
|
12734
|
+
}
|
|
12735
|
+
}
|
|
12736
|
+
}
|
|
12737
|
+
},
|
|
12738
|
+
"404": {
|
|
12739
|
+
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
12740
|
+
"content": {
|
|
12741
|
+
"application/json": {
|
|
12742
|
+
"schema": {
|
|
12743
|
+
"$ref": "#/components/schemas/NotFoundResponse"
|
|
12744
|
+
},
|
|
12745
|
+
"examples": {
|
|
12746
|
+
"exampleResponse": {
|
|
12747
|
+
"value": {
|
|
12748
|
+
"name": "NotFoundError",
|
|
12749
|
+
"message": "errorMessage",
|
|
12750
|
+
"properties": {
|
|
12751
|
+
"notFoundId": "1"
|
|
12752
|
+
}
|
|
12753
|
+
}
|
|
12754
|
+
}
|
|
12755
|
+
}
|
|
12756
|
+
}
|
|
12757
|
+
}
|
|
12758
|
+
},
|
|
12759
|
+
"500": {
|
|
12760
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
12761
|
+
"content": {
|
|
12762
|
+
"application/json": {
|
|
12763
|
+
"schema": {
|
|
12764
|
+
"$ref": "#/components/schemas/Error"
|
|
12765
|
+
},
|
|
12766
|
+
"examples": {
|
|
12767
|
+
"exampleResponse": {
|
|
12768
|
+
"value": {
|
|
12769
|
+
"name": "InternalServerError",
|
|
12770
|
+
"message": "errorMessage"
|
|
12771
|
+
}
|
|
12772
|
+
}
|
|
12773
|
+
}
|
|
12774
|
+
}
|
|
12775
|
+
}
|
|
12776
|
+
}
|
|
12777
|
+
}
|
|
12778
|
+
}
|
|
12779
|
+
},
|
|
12780
|
+
"/ais/entries": {
|
|
12781
|
+
"get": {
|
|
12782
|
+
"operationId": "auditableItemStreamListEntriesNoStream",
|
|
12783
|
+
"summary": "Get the entry objects for all streams",
|
|
12784
|
+
"tags": [
|
|
12785
|
+
"Auditable Item Stream"
|
|
12786
|
+
],
|
|
12787
|
+
"parameters": [
|
|
12788
|
+
{
|
|
12789
|
+
"name": "conditions",
|
|
12790
|
+
"description": "The conditions to filter the stream, JSON stringified IComparator[].",
|
|
12791
|
+
"in": "query",
|
|
12792
|
+
"required": false,
|
|
12793
|
+
"schema": {
|
|
12794
|
+
"type": "string"
|
|
12795
|
+
}
|
|
12796
|
+
},
|
|
12797
|
+
{
|
|
12798
|
+
"name": "includeDeleted",
|
|
12799
|
+
"description": "Whether to include deleted entries, defaults to false.",
|
|
12800
|
+
"in": "query",
|
|
12801
|
+
"required": false,
|
|
12802
|
+
"schema": {
|
|
12803
|
+
"type": "string"
|
|
12804
|
+
}
|
|
12805
|
+
},
|
|
12806
|
+
{
|
|
12807
|
+
"name": "verifyEntries",
|
|
12808
|
+
"description": "Should the entries be verified, defaults to false.",
|
|
12809
|
+
"in": "query",
|
|
12810
|
+
"required": false,
|
|
12811
|
+
"schema": {
|
|
12812
|
+
"type": "string"
|
|
12813
|
+
}
|
|
12814
|
+
},
|
|
12815
|
+
{
|
|
12816
|
+
"name": "order",
|
|
12817
|
+
"description": "Retrieve the entries in ascending/descending time order, defaults to Ascending.",
|
|
12818
|
+
"in": "query",
|
|
12819
|
+
"required": false,
|
|
12820
|
+
"schema": {
|
|
12821
|
+
"$ref": "#/components/schemas/SortDirection"
|
|
12822
|
+
}
|
|
12823
|
+
},
|
|
12824
|
+
{
|
|
12825
|
+
"name": "limit",
|
|
12826
|
+
"description": "How many entries to return.",
|
|
12827
|
+
"in": "query",
|
|
12828
|
+
"required": false,
|
|
12829
|
+
"schema": {
|
|
12830
|
+
"type": "string"
|
|
12831
|
+
}
|
|
12832
|
+
},
|
|
12833
|
+
{
|
|
12834
|
+
"name": "cursor",
|
|
12835
|
+
"description": "Cursor to use for next chunk of data.",
|
|
12836
|
+
"in": "query",
|
|
12837
|
+
"required": false,
|
|
12838
|
+
"schema": {
|
|
12839
|
+
"type": "string"
|
|
12840
|
+
}
|
|
12841
|
+
},
|
|
12842
|
+
{
|
|
12843
|
+
"name": "accept",
|
|
12844
|
+
"in": "header",
|
|
12845
|
+
"required": true,
|
|
12846
|
+
"schema": {
|
|
12847
|
+
"type": "string"
|
|
12848
|
+
},
|
|
12849
|
+
"style": "simple"
|
|
12850
|
+
}
|
|
12851
|
+
],
|
|
12852
|
+
"security": [
|
|
12853
|
+
{
|
|
12854
|
+
"jwtBearerAuthScheme": []
|
|
12855
|
+
}
|
|
12856
|
+
],
|
|
12857
|
+
"responses": {
|
|
12858
|
+
"200": {
|
|
12859
|
+
"description": "Response to getting an auditable item stream entries.",
|
|
12860
|
+
"content": {
|
|
12861
|
+
"application/json": {
|
|
12862
|
+
"schema": {
|
|
12863
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryList"
|
|
11760
12864
|
},
|
|
11761
12865
|
"examples": {
|
|
11762
|
-
"
|
|
12866
|
+
"auditableItemStreamListEntriesNoStreamResponseExample": {
|
|
11763
12867
|
"value": {
|
|
11764
|
-
"@context":
|
|
11765
|
-
|
|
11766
|
-
|
|
11767
|
-
|
|
12868
|
+
"@context": [
|
|
12869
|
+
"https://schema.org",
|
|
12870
|
+
"https://schema.twindev.org/ais/",
|
|
12871
|
+
"https://schema.twindev.org/common/"
|
|
12872
|
+
],
|
|
12873
|
+
"type": [
|
|
12874
|
+
"ItemList",
|
|
12875
|
+
"AuditableItemStreamEntryList"
|
|
12876
|
+
],
|
|
12877
|
+
"itemListElement": [
|
|
12878
|
+
{
|
|
12879
|
+
"@context": [
|
|
12880
|
+
"https://schema.twindev.org/ais/",
|
|
12881
|
+
"https://schema.twindev.org/common/"
|
|
12882
|
+
],
|
|
12883
|
+
"type": "AuditableItemStreamEntry",
|
|
12884
|
+
"id": "tst:1234567890",
|
|
12885
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
12886
|
+
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
12887
|
+
"index": 0,
|
|
12888
|
+
"entryObject": {
|
|
12889
|
+
"@context": "https://schema.org",
|
|
12890
|
+
"@type": "Event",
|
|
12891
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
12892
|
+
"description": "A description of the event"
|
|
12893
|
+
}
|
|
12894
|
+
}
|
|
12895
|
+
]
|
|
12896
|
+
}
|
|
12897
|
+
}
|
|
12898
|
+
}
|
|
12899
|
+
},
|
|
12900
|
+
"application/ld+json": {
|
|
12901
|
+
"schema": {
|
|
12902
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryList"
|
|
12903
|
+
},
|
|
12904
|
+
"examples": {
|
|
12905
|
+
"auditableItemStreamJsonLdListEntriesNoStreamResponseExample": {
|
|
12906
|
+
"value": {
|
|
12907
|
+
"@context": [
|
|
12908
|
+
"https://schema.org",
|
|
12909
|
+
"https://schema.twindev.org/ais/",
|
|
12910
|
+
"https://schema.twindev.org/common/"
|
|
12911
|
+
],
|
|
12912
|
+
"type": [
|
|
12913
|
+
"ItemList",
|
|
12914
|
+
"AuditableItemStreamEntryList"
|
|
12915
|
+
],
|
|
12916
|
+
"itemListElement": [
|
|
12917
|
+
{
|
|
12918
|
+
"@context": [
|
|
12919
|
+
"https://schema.twindev.org/ais/",
|
|
12920
|
+
"https://schema.twindev.org/common/"
|
|
12921
|
+
],
|
|
12922
|
+
"type": "AuditableItemStreamEntry",
|
|
12923
|
+
"id": "tst:1234567890",
|
|
12924
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
12925
|
+
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
12926
|
+
"index": 0,
|
|
12927
|
+
"entryObject": {
|
|
12928
|
+
"@context": "https://schema.org",
|
|
12929
|
+
"@type": "Event",
|
|
12930
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
12931
|
+
"description": "A description of the event"
|
|
12932
|
+
}
|
|
12933
|
+
}
|
|
12934
|
+
]
|
|
11768
12935
|
}
|
|
11769
12936
|
}
|
|
11770
12937
|
}
|
|
11771
12938
|
}
|
|
12939
|
+
},
|
|
12940
|
+
"headers": {
|
|
12941
|
+
"content-type": {
|
|
12942
|
+
"schema": {
|
|
12943
|
+
"type": "string"
|
|
12944
|
+
},
|
|
12945
|
+
"description": "e.g. application/ld+json"
|
|
12946
|
+
}
|
|
11772
12947
|
}
|
|
11773
12948
|
},
|
|
11774
12949
|
"400": {
|
|
@@ -11852,9 +13027,9 @@
|
|
|
11852
13027
|
}
|
|
11853
13028
|
}
|
|
11854
13029
|
},
|
|
11855
|
-
"/ais/{id}/entries": {
|
|
13030
|
+
"/ais/{id}/entries/objects": {
|
|
11856
13031
|
"get": {
|
|
11857
|
-
"operationId": "
|
|
13032
|
+
"operationId": "auditableItemStreamListEntryObjects",
|
|
11858
13033
|
"summary": "Get the entry objects in a stream",
|
|
11859
13034
|
"tags": [
|
|
11860
13035
|
"Auditable Item Stream"
|
|
@@ -11889,15 +13064,6 @@
|
|
|
11889
13064
|
"type": "string"
|
|
11890
13065
|
}
|
|
11891
13066
|
},
|
|
11892
|
-
{
|
|
11893
|
-
"name": "verifyEntries",
|
|
11894
|
-
"description": "Should the entries be verified, defaults to false.",
|
|
11895
|
-
"in": "query",
|
|
11896
|
-
"required": false,
|
|
11897
|
-
"schema": {
|
|
11898
|
-
"type": "string"
|
|
11899
|
-
}
|
|
11900
|
-
},
|
|
11901
13067
|
{
|
|
11902
13068
|
"name": "order",
|
|
11903
13069
|
"description": "Retrieve the entries in ascending/descending time order, defaults to Ascending.",
|
|
@@ -11942,53 +13108,14 @@
|
|
|
11942
13108
|
],
|
|
11943
13109
|
"responses": {
|
|
11944
13110
|
"200": {
|
|
11945
|
-
"description": "Response to getting an auditable item stream entries.",
|
|
13111
|
+
"description": "Response to getting an auditable item stream entries objects.",
|
|
11946
13112
|
"content": {
|
|
11947
13113
|
"application/json": {
|
|
11948
13114
|
"schema": {
|
|
11949
|
-
"$ref": "https://schema.twindev.org/ais/
|
|
11950
|
-
},
|
|
11951
|
-
"examples": {
|
|
11952
|
-
"auditableItemStreamListEntriesResponseExample": {
|
|
11953
|
-
"value": {
|
|
11954
|
-
"@context": [
|
|
11955
|
-
"https://schema.org",
|
|
11956
|
-
"https://schema.twindev.org/ais/",
|
|
11957
|
-
"https://schema.twindev.org/common/"
|
|
11958
|
-
],
|
|
11959
|
-
"type": [
|
|
11960
|
-
"ItemList",
|
|
11961
|
-
"AuditableItemStreamEntryList"
|
|
11962
|
-
],
|
|
11963
|
-
"itemListElement": [
|
|
11964
|
-
{
|
|
11965
|
-
"@context": [
|
|
11966
|
-
"https://schema.twindev.org/ais/",
|
|
11967
|
-
"https://schema.twindev.org/common/"
|
|
11968
|
-
],
|
|
11969
|
-
"type": "AuditableItemStreamEntry",
|
|
11970
|
-
"id": "tst:1234567890",
|
|
11971
|
-
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
11972
|
-
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
11973
|
-
"index": 0,
|
|
11974
|
-
"entryObject": {
|
|
11975
|
-
"@context": "https://schema.org",
|
|
11976
|
-
"@type": "Event",
|
|
11977
|
-
"startDate": "2011-04-09T20:00:00Z",
|
|
11978
|
-
"description": "A description of the event"
|
|
11979
|
-
}
|
|
11980
|
-
}
|
|
11981
|
-
]
|
|
11982
|
-
}
|
|
11983
|
-
}
|
|
11984
|
-
}
|
|
11985
|
-
},
|
|
11986
|
-
"application/ld+json": {
|
|
11987
|
-
"schema": {
|
|
11988
|
-
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryList"
|
|
13115
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryObjectList"
|
|
11989
13116
|
},
|
|
11990
13117
|
"examples": {
|
|
11991
|
-
"
|
|
13118
|
+
"auditableItemStreamListEntryObjectsResponseExample": {
|
|
11992
13119
|
"value": {
|
|
11993
13120
|
"@context": [
|
|
11994
13121
|
"https://schema.org",
|
|
@@ -11997,39 +13124,20 @@
|
|
|
11997
13124
|
],
|
|
11998
13125
|
"type": [
|
|
11999
13126
|
"ItemList",
|
|
12000
|
-
"
|
|
13127
|
+
"AuditableItemStreamEntryObjectList"
|
|
12001
13128
|
],
|
|
12002
13129
|
"itemListElement": [
|
|
12003
13130
|
{
|
|
12004
|
-
"@context":
|
|
12005
|
-
|
|
12006
|
-
|
|
12007
|
-
|
|
12008
|
-
"type": "AuditableItemStreamEntry",
|
|
12009
|
-
"id": "tst:1234567890",
|
|
12010
|
-
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
12011
|
-
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
12012
|
-
"index": 0,
|
|
12013
|
-
"entryObject": {
|
|
12014
|
-
"@context": "https://schema.org",
|
|
12015
|
-
"@type": "Event",
|
|
12016
|
-
"startDate": "2011-04-09T20:00:00Z",
|
|
12017
|
-
"description": "A description of the event"
|
|
12018
|
-
}
|
|
13131
|
+
"@context": "https://schema.org",
|
|
13132
|
+
"@type": "Event",
|
|
13133
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
13134
|
+
"description": "A description of the event"
|
|
12019
13135
|
}
|
|
12020
13136
|
]
|
|
12021
13137
|
}
|
|
12022
13138
|
}
|
|
12023
13139
|
}
|
|
12024
13140
|
}
|
|
12025
|
-
},
|
|
12026
|
-
"headers": {
|
|
12027
|
-
"content-type": {
|
|
12028
|
-
"schema": {
|
|
12029
|
-
"type": "string"
|
|
12030
|
-
},
|
|
12031
|
-
"description": "e.g. application/ld+json"
|
|
12032
|
-
}
|
|
12033
13141
|
}
|
|
12034
13142
|
},
|
|
12035
13143
|
"400": {
|
|
@@ -12113,25 +13221,14 @@
|
|
|
12113
13221
|
}
|
|
12114
13222
|
}
|
|
12115
13223
|
},
|
|
12116
|
-
"/ais/
|
|
13224
|
+
"/ais/entries/objects": {
|
|
12117
13225
|
"get": {
|
|
12118
|
-
"operationId": "
|
|
12119
|
-
"summary": "Get the entry objects
|
|
13226
|
+
"operationId": "auditableItemStreamListEntryObjectsNoStream",
|
|
13227
|
+
"summary": "Get the entry objects for all streams",
|
|
12120
13228
|
"tags": [
|
|
12121
13229
|
"Auditable Item Stream"
|
|
12122
13230
|
],
|
|
12123
13231
|
"parameters": [
|
|
12124
|
-
{
|
|
12125
|
-
"name": "id",
|
|
12126
|
-
"description": "The id of the stream to get.",
|
|
12127
|
-
"in": "path",
|
|
12128
|
-
"required": true,
|
|
12129
|
-
"schema": {
|
|
12130
|
-
"type": "string"
|
|
12131
|
-
},
|
|
12132
|
-
"style": "simple",
|
|
12133
|
-
"example": "ais:1234567890"
|
|
12134
|
-
},
|
|
12135
13232
|
{
|
|
12136
13233
|
"name": "conditions",
|
|
12137
13234
|
"description": "The conditions to filter the stream, JSON stringified IComparator[].",
|
|
@@ -12201,7 +13298,7 @@
|
|
|
12201
13298
|
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryObjectList"
|
|
12202
13299
|
},
|
|
12203
13300
|
"examples": {
|
|
12204
|
-
"
|
|
13301
|
+
"auditableItemStreamListEntryObjectsNoStreamResponseExample": {
|
|
12205
13302
|
"value": {
|
|
12206
13303
|
"@context": [
|
|
12207
13304
|
"https://schema.org",
|
|
@@ -19671,6 +20768,25 @@
|
|
|
19671
20768
|
},
|
|
19672
20769
|
{
|
|
19673
20770
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20771
|
+
},
|
|
20772
|
+
{
|
|
20773
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20774
|
+
},
|
|
20775
|
+
{
|
|
20776
|
+
"type": "array",
|
|
20777
|
+
"items": {
|
|
20778
|
+
"anyOf": [
|
|
20779
|
+
{
|
|
20780
|
+
"type": "string"
|
|
20781
|
+
},
|
|
20782
|
+
{
|
|
20783
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20784
|
+
},
|
|
20785
|
+
{
|
|
20786
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20787
|
+
}
|
|
20788
|
+
]
|
|
20789
|
+
}
|
|
19674
20790
|
}
|
|
19675
20791
|
],
|
|
19676
20792
|
"description": "The assigner of the policy. Applies to all rules unless overridden at rule level."
|
|
@@ -19682,6 +20798,25 @@
|
|
|
19682
20798
|
},
|
|
19683
20799
|
{
|
|
19684
20800
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20801
|
+
},
|
|
20802
|
+
{
|
|
20803
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20804
|
+
},
|
|
20805
|
+
{
|
|
20806
|
+
"type": "array",
|
|
20807
|
+
"items": {
|
|
20808
|
+
"anyOf": [
|
|
20809
|
+
{
|
|
20810
|
+
"type": "string"
|
|
20811
|
+
},
|
|
20812
|
+
{
|
|
20813
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20814
|
+
},
|
|
20815
|
+
{
|
|
20816
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20817
|
+
}
|
|
20818
|
+
]
|
|
20819
|
+
}
|
|
19685
20820
|
}
|
|
19686
20821
|
],
|
|
19687
20822
|
"description": "The assignee of the policy. Applies to all rules unless overridden at rule level."
|
|
@@ -19694,6 +20829,9 @@
|
|
|
19694
20829
|
{
|
|
19695
20830
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
19696
20831
|
},
|
|
20832
|
+
{
|
|
20833
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
20834
|
+
},
|
|
19697
20835
|
{
|
|
19698
20836
|
"type": "array",
|
|
19699
20837
|
"items": {
|
|
@@ -19703,6 +20841,9 @@
|
|
|
19703
20841
|
},
|
|
19704
20842
|
{
|
|
19705
20843
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
20844
|
+
},
|
|
20845
|
+
{
|
|
20846
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
19706
20847
|
}
|
|
19707
20848
|
]
|
|
19708
20849
|
}
|
|
@@ -19758,24 +20899,45 @@
|
|
|
19758
20899
|
"$ref": "https://schema.twindev.org/w3c-odrl/ConflictStrategyType"
|
|
19759
20900
|
},
|
|
19760
20901
|
"permission": {
|
|
19761
|
-
"
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
|
|
20902
|
+
"anyOf": [
|
|
20903
|
+
{
|
|
20904
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
20905
|
+
},
|
|
20906
|
+
{
|
|
20907
|
+
"type": "array",
|
|
20908
|
+
"items": {
|
|
20909
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
20910
|
+
}
|
|
20911
|
+
}
|
|
20912
|
+
],
|
|
19765
20913
|
"description": "The permissions in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
19766
20914
|
},
|
|
19767
20915
|
"prohibition": {
|
|
19768
|
-
"
|
|
19769
|
-
|
|
19770
|
-
|
|
19771
|
-
|
|
20916
|
+
"anyOf": [
|
|
20917
|
+
{
|
|
20918
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
20919
|
+
},
|
|
20920
|
+
{
|
|
20921
|
+
"type": "array",
|
|
20922
|
+
"items": {
|
|
20923
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
20924
|
+
}
|
|
20925
|
+
}
|
|
20926
|
+
],
|
|
19772
20927
|
"description": "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
19773
20928
|
},
|
|
19774
20929
|
"obligation": {
|
|
19775
|
-
"
|
|
19776
|
-
|
|
19777
|
-
|
|
19778
|
-
|
|
20930
|
+
"anyOf": [
|
|
20931
|
+
{
|
|
20932
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
20933
|
+
},
|
|
20934
|
+
{
|
|
20935
|
+
"type": "array",
|
|
20936
|
+
"items": {
|
|
20937
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
20938
|
+
}
|
|
20939
|
+
}
|
|
20940
|
+
],
|
|
19779
20941
|
"description": "The obligations in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
19780
20942
|
},
|
|
19781
20943
|
"@id": {
|