@twin.org/node 0.0.3-next.20 → 0.0.3-next.21
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 +21 -3
- package/docs/changelog.md +14 -0
- package/docs/open-api/spec.json +1091 -464
- package/package.json +2 -2
package/docs/open-api/spec.json
CHANGED
|
@@ -2486,6 +2486,17 @@
|
|
|
2486
2486
|
"example": "eyJraWQiOi...D1Z3AQ"
|
|
2487
2487
|
}
|
|
2488
2488
|
],
|
|
2489
|
+
"requestBody": {
|
|
2490
|
+
"description": "Request to verify a verifiable credential.",
|
|
2491
|
+
"required": true,
|
|
2492
|
+
"content": {
|
|
2493
|
+
"application/json": {
|
|
2494
|
+
"schema": {
|
|
2495
|
+
"$ref": "#/components/schemas/IdentityVerifiableCredentialVerifyRequest"
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
},
|
|
2489
2500
|
"responses": {
|
|
2490
2501
|
"200": {
|
|
2491
2502
|
"description": "Response to verifying a verifiable credential.",
|
|
@@ -3097,7 +3108,7 @@
|
|
|
3097
3108
|
"identityProofCreateResponseExample": {
|
|
3098
3109
|
"value": {
|
|
3099
3110
|
"@context": [
|
|
3100
|
-
"https://
|
|
3111
|
+
"https://w3id.org/security/data-integrity/v2",
|
|
3101
3112
|
"https://www.w3.org/ns/credentials/examples/v2"
|
|
3102
3113
|
],
|
|
3103
3114
|
"type": "DataIntegrityProof",
|
|
@@ -3210,7 +3221,7 @@
|
|
|
3210
3221
|
}
|
|
3211
3222
|
},
|
|
3212
3223
|
"proof": {
|
|
3213
|
-
"@context": "https://
|
|
3224
|
+
"@context": "https://w3id.org/security/data-integrity/v2",
|
|
3214
3225
|
"type": "DataIntegrityProof",
|
|
3215
3226
|
"cryptosuite": "eddsa-jcs-2022",
|
|
3216
3227
|
"created": "2025-01-24T11:32:13.106Z",
|
|
@@ -4234,7 +4245,7 @@
|
|
|
4234
4245
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4235
4246
|
"encodingFormat": "application/pdf",
|
|
4236
4247
|
"blobSize": 42,
|
|
4237
|
-
"
|
|
4248
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4238
4249
|
"fileExtension": "pdf",
|
|
4239
4250
|
"metadata": {
|
|
4240
4251
|
"@context": "https://schema.org",
|
|
@@ -4273,7 +4284,7 @@
|
|
|
4273
4284
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4274
4285
|
"encodingFormat": "application/pdf",
|
|
4275
4286
|
"blobSize": 42,
|
|
4276
|
-
"
|
|
4287
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4277
4288
|
"fileExtension": "pdf",
|
|
4278
4289
|
"metadata": {
|
|
4279
4290
|
"@context": "https://schema.org",
|
|
@@ -4453,7 +4464,7 @@
|
|
|
4453
4464
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4454
4465
|
"encodingFormat": "application/pdf",
|
|
4455
4466
|
"blobSize": 42,
|
|
4456
|
-
"
|
|
4467
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4457
4468
|
"fileExtension": "pdf",
|
|
4458
4469
|
"metadata": {
|
|
4459
4470
|
"@context": "https://schema.org",
|
|
@@ -4482,7 +4493,7 @@
|
|
|
4482
4493
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
4483
4494
|
"encodingFormat": "application/pdf",
|
|
4484
4495
|
"blobSize": 42,
|
|
4485
|
-
"
|
|
4496
|
+
"integrity": "sha256-c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
4486
4497
|
"fileExtension": "pdf",
|
|
4487
4498
|
"metadata": {
|
|
4488
4499
|
"@context": "https://schema.org",
|
|
@@ -6690,9 +6701,9 @@
|
|
|
6690
6701
|
"attestationGetResponseExample": {
|
|
6691
6702
|
"value": {
|
|
6692
6703
|
"@context": [
|
|
6704
|
+
"https://schema.org",
|
|
6693
6705
|
"https://schema.twindev.org/attestation/",
|
|
6694
|
-
"https://schema.twindev.org/common/"
|
|
6695
|
-
"https://schema.org"
|
|
6706
|
+
"https://schema.twindev.org/common/"
|
|
6696
6707
|
],
|
|
6697
6708
|
"type": "Information",
|
|
6698
6709
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -6716,9 +6727,9 @@
|
|
|
6716
6727
|
"attestationVerifyResponseFailExample": {
|
|
6717
6728
|
"value": {
|
|
6718
6729
|
"@context": [
|
|
6730
|
+
"https://schema.org",
|
|
6719
6731
|
"https://schema.twindev.org/attestation/",
|
|
6720
|
-
"https://schema.twindev.org/common/"
|
|
6721
|
-
"https://schema.org"
|
|
6732
|
+
"https://schema.twindev.org/common/"
|
|
6722
6733
|
],
|
|
6723
6734
|
"type": "Information",
|
|
6724
6735
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -6750,9 +6761,9 @@
|
|
|
6750
6761
|
"attestationGetResponseExample": {
|
|
6751
6762
|
"value": {
|
|
6752
6763
|
"@context": [
|
|
6764
|
+
"https://schema.org",
|
|
6753
6765
|
"https://schema.twindev.org/attestation/",
|
|
6754
|
-
"https://schema.twindev.org/common/"
|
|
6755
|
-
"https://schema.org"
|
|
6766
|
+
"https://schema.twindev.org/common/"
|
|
6756
6767
|
],
|
|
6757
6768
|
"type": "Information",
|
|
6758
6769
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -6776,9 +6787,9 @@
|
|
|
6776
6787
|
"attestationVerifyResponseFailExample": {
|
|
6777
6788
|
"value": {
|
|
6778
6789
|
"@context": [
|
|
6790
|
+
"https://schema.org",
|
|
6779
6791
|
"https://schema.twindev.org/attestation/",
|
|
6780
|
-
"https://schema.twindev.org/common/"
|
|
6781
|
-
"https://schema.org"
|
|
6792
|
+
"https://schema.twindev.org/common/"
|
|
6782
6793
|
],
|
|
6783
6794
|
"type": "Information",
|
|
6784
6795
|
"id": "attestation:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg==",
|
|
@@ -7084,7 +7095,7 @@
|
|
|
7084
7095
|
"value": {
|
|
7085
7096
|
"receipt": {
|
|
7086
7097
|
"@context": "https://schema.twindev.org/verifiable-storage/",
|
|
7087
|
-
"type": "
|
|
7098
|
+
"type": "VerifiableStorageIotaReceipt2026"
|
|
7088
7099
|
},
|
|
7089
7100
|
"id": "verifiable:iota:aW90YS1uZnQ6dHN0OjB4NzYyYjljNDllYTg2OWUwZWJkYTliYmZhNzY5Mzk0NDdhNDI4ZGNmMTc4YzVkMTVhYjQ0N2UyZDRmYmJiNGViMg=="
|
|
7090
7101
|
}
|
|
@@ -7216,7 +7227,7 @@
|
|
|
7216
7227
|
"verifiableStorageUpdateResponseExample": {
|
|
7217
7228
|
"value": {
|
|
7218
7229
|
"@context": "https://schema.twindev.org/verifiable-storage/",
|
|
7219
|
-
"type": "
|
|
7230
|
+
"type": "VerifiableStorageIotaReceipt2026"
|
|
7220
7231
|
}
|
|
7221
7232
|
}
|
|
7222
7233
|
}
|
|
@@ -7530,7 +7541,7 @@
|
|
|
7530
7541
|
"schema": {
|
|
7531
7542
|
"type": "string"
|
|
7532
7543
|
},
|
|
7533
|
-
"description": "e.g. test
|
|
7544
|
+
"description": "e.g. test%3A1234567890"
|
|
7534
7545
|
}
|
|
7535
7546
|
}
|
|
7536
7547
|
},
|
|
@@ -7632,7 +7643,7 @@
|
|
|
7632
7643
|
"type": "string"
|
|
7633
7644
|
},
|
|
7634
7645
|
"style": "simple",
|
|
7635
|
-
"example": "
|
|
7646
|
+
"example": "immutable-proof:1234567890"
|
|
7636
7647
|
},
|
|
7637
7648
|
{
|
|
7638
7649
|
"name": "accept",
|
|
@@ -7656,26 +7667,37 @@
|
|
|
7656
7667
|
"content": {
|
|
7657
7668
|
"application/json": {
|
|
7658
7669
|
"schema": {
|
|
7659
|
-
"$ref": "https://schema.twindev.org/
|
|
7670
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
7660
7671
|
},
|
|
7661
7672
|
"examples": {
|
|
7662
7673
|
"immutableProofGetResponseExample": {
|
|
7663
7674
|
"value": {
|
|
7664
7675
|
"@context": [
|
|
7676
|
+
"https://www.w3.org/2018/credentials/v1",
|
|
7665
7677
|
"https://schema.twindev.org/immutable-proof/",
|
|
7666
7678
|
"https://schema.twindev.org/common/"
|
|
7667
7679
|
],
|
|
7668
|
-
"type":
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7680
|
+
"type": [
|
|
7681
|
+
"VerifiableCredential",
|
|
7682
|
+
"ImmutableProof"
|
|
7683
|
+
],
|
|
7684
|
+
"id": "immutable-proof:1234567890",
|
|
7685
|
+
"credentialSubject": {
|
|
7686
|
+
"id": "ais:1234567890",
|
|
7687
|
+
"proofIntegrity": "EAOKyDN0mYQbBh91eMdVeroxQx1H4GfnRbmt6n/2L/Y="
|
|
7688
|
+
},
|
|
7672
7689
|
"proof": {
|
|
7673
|
-
"@context": "https://www.w3.org/ns/credentials/v2",
|
|
7674
7690
|
"type": "DataIntegrityProof",
|
|
7675
7691
|
"cryptosuite": "eddsa-jcs-2022",
|
|
7676
7692
|
"created": "2024-08-22T11:56:56.272Z",
|
|
7677
7693
|
"proofPurpose": "assertionMethod",
|
|
7678
|
-
"proofValue": "7DdiPPYtxLjCD3wA1po2rv..."
|
|
7694
|
+
"proofValue": "7DdiPPYtxLjCD3wA1po2rv...",
|
|
7695
|
+
"verificationMethod": "did:iota:testnet:0xcb07cabaa2f23b7e53d8cdc4228efb351ebb270554d13bc382e4f94ca8d3136b#immutable-proof-assertion",
|
|
7696
|
+
"verifiableStorageId": "verifiable-storage:1234567890",
|
|
7697
|
+
"immutableReceipt": {
|
|
7698
|
+
"id": "immutable-receipt:1234567890",
|
|
7699
|
+
"type": "ImmutableReceipt"
|
|
7700
|
+
}
|
|
7679
7701
|
}
|
|
7680
7702
|
}
|
|
7681
7703
|
}
|
|
@@ -7683,26 +7705,37 @@
|
|
|
7683
7705
|
},
|
|
7684
7706
|
"application/ld+json": {
|
|
7685
7707
|
"schema": {
|
|
7686
|
-
"$ref": "https://schema.twindev.org/
|
|
7708
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
7687
7709
|
},
|
|
7688
7710
|
"examples": {
|
|
7689
7711
|
"immutableProofJsonLdGetResponseExample": {
|
|
7690
7712
|
"value": {
|
|
7691
7713
|
"@context": [
|
|
7714
|
+
"https://www.w3.org/2018/credentials/v1",
|
|
7692
7715
|
"https://schema.twindev.org/immutable-proof/",
|
|
7693
7716
|
"https://schema.twindev.org/common/"
|
|
7694
7717
|
],
|
|
7695
|
-
"type":
|
|
7696
|
-
|
|
7697
|
-
|
|
7698
|
-
|
|
7718
|
+
"type": [
|
|
7719
|
+
"VerifiableCredential",
|
|
7720
|
+
"ImmutableProof"
|
|
7721
|
+
],
|
|
7722
|
+
"id": "immutable-proof:1234567890",
|
|
7723
|
+
"credentialSubject": {
|
|
7724
|
+
"id": "ais:1234567890",
|
|
7725
|
+
"proofIntegrity": "EAOKyDN0mYQbBh91eMdVeroxQx1H4GfnRbmt6n/2L/Y="
|
|
7726
|
+
},
|
|
7699
7727
|
"proof": {
|
|
7700
|
-
"@context": "https://www.w3.org/ns/credentials/v2",
|
|
7701
7728
|
"type": "DataIntegrityProof",
|
|
7702
7729
|
"cryptosuite": "eddsa-jcs-2022",
|
|
7703
7730
|
"created": "2024-08-22T11:56:56.272Z",
|
|
7704
7731
|
"proofPurpose": "assertionMethod",
|
|
7705
|
-
"proofValue": "7DdiPPYtxLjCD3wA1po2rv..."
|
|
7732
|
+
"proofValue": "7DdiPPYtxLjCD3wA1po2rv...",
|
|
7733
|
+
"verificationMethod": "did:iota:testnet:0xcb07cabaa2f23b7e53d8cdc4228efb351ebb270554d13bc382e4f94ca8d3136b#immutable-proof-assertion",
|
|
7734
|
+
"verifiableStorageId": "verifiable-storage:1234567890",
|
|
7735
|
+
"immutableReceipt": {
|
|
7736
|
+
"id": "immutable-receipt:1234567890",
|
|
7737
|
+
"type": "ImmutableReceipt"
|
|
7738
|
+
}
|
|
7706
7739
|
}
|
|
7707
7740
|
}
|
|
7708
7741
|
}
|
|
@@ -7816,7 +7849,7 @@
|
|
|
7816
7849
|
"type": "string"
|
|
7817
7850
|
},
|
|
7818
7851
|
"style": "simple",
|
|
7819
|
-
"example": "
|
|
7852
|
+
"example": "immutable-proof:1234567890"
|
|
7820
7853
|
},
|
|
7821
7854
|
{
|
|
7822
7855
|
"name": "accept",
|
|
@@ -7854,7 +7887,7 @@
|
|
|
7854
7887
|
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
7855
7888
|
"type": "ImmutableProofVerification",
|
|
7856
7889
|
"verified": false,
|
|
7857
|
-
"failure": "
|
|
7890
|
+
"failure": "verificationFailure"
|
|
7858
7891
|
}
|
|
7859
7892
|
}
|
|
7860
7893
|
}
|
|
@@ -8619,7 +8652,7 @@
|
|
|
8619
8652
|
"schema": {
|
|
8620
8653
|
"type": "string"
|
|
8621
8654
|
},
|
|
8622
|
-
"description": "e.g. aig
|
|
8655
|
+
"description": "e.g. aig%3A123456"
|
|
8623
8656
|
}
|
|
8624
8657
|
}
|
|
8625
8658
|
},
|
|
@@ -8752,7 +8785,7 @@
|
|
|
8752
8785
|
"type": "DigitalDocument",
|
|
8753
8786
|
"name": "bill-of-lading"
|
|
8754
8787
|
},
|
|
8755
|
-
"
|
|
8788
|
+
"integrity": "sha256-E3Duqrp6bHojSx+CzDttAToAiP1eFkCDAPBbKLABVGM=",
|
|
8756
8789
|
"blobStorageId": "blob:memory:1370eeaaba7a6c7a234b1f82cc3b6d013a0088fd5e16408300f05b28b0015463",
|
|
8757
8790
|
"dateCreated": "2024-08-22T04:13:20.000Z",
|
|
8758
8791
|
"organizationIdentity": "did:entity-storage:0x0101010101010101010101010101010101010101010101010101010101010101",
|
|
@@ -8983,9 +9016,9 @@
|
|
|
8983
9016
|
"itemListElement": [
|
|
8984
9017
|
{
|
|
8985
9018
|
"@context": [
|
|
9019
|
+
"https://schema.org",
|
|
8986
9020
|
"https://schema.twindev.org/documents/",
|
|
8987
|
-
"https://schema.twindev.org/common/"
|
|
8988
|
-
"https://schema.org"
|
|
9021
|
+
"https://schema.twindev.org/common/"
|
|
8989
9022
|
],
|
|
8990
9023
|
"type": "Document",
|
|
8991
9024
|
"id": "2721000:0",
|
|
@@ -8994,7 +9027,7 @@
|
|
|
8994
9027
|
"documentCode": "unece:DocumentCodeList#705",
|
|
8995
9028
|
"documentRevision": 0,
|
|
8996
9029
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
8997
|
-
"
|
|
9030
|
+
"integrity": "sha256-123456",
|
|
8998
9031
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
8999
9032
|
"annotationObject": {
|
|
9000
9033
|
"@context": "https://schema.org",
|
|
@@ -9025,9 +9058,9 @@
|
|
|
9025
9058
|
"itemListElement": [
|
|
9026
9059
|
{
|
|
9027
9060
|
"@context": [
|
|
9061
|
+
"https://schema.org",
|
|
9028
9062
|
"https://schema.twindev.org/documents/",
|
|
9029
|
-
"https://schema.twindev.org/common/"
|
|
9030
|
-
"https://schema.org"
|
|
9063
|
+
"https://schema.twindev.org/common/"
|
|
9031
9064
|
],
|
|
9032
9065
|
"type": "Document",
|
|
9033
9066
|
"id": "2721000:0",
|
|
@@ -9036,7 +9069,7 @@
|
|
|
9036
9069
|
"documentCode": "unece:DocumentCodeList#705",
|
|
9037
9070
|
"documentRevision": 0,
|
|
9038
9071
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
9039
|
-
"
|
|
9072
|
+
"integrity": "sha256-123456",
|
|
9040
9073
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
9041
9074
|
"annotationObject": {
|
|
9042
9075
|
"@context": "https://schema.org",
|
|
@@ -9182,9 +9215,9 @@
|
|
|
9182
9215
|
"DocumentManagementGetRevisionResponseExample": {
|
|
9183
9216
|
"value": {
|
|
9184
9217
|
"@context": [
|
|
9218
|
+
"https://schema.org",
|
|
9185
9219
|
"https://schema.twindev.org/documents/",
|
|
9186
|
-
"https://schema.twindev.org/common/"
|
|
9187
|
-
"https://schema.org"
|
|
9220
|
+
"https://schema.twindev.org/common/"
|
|
9188
9221
|
],
|
|
9189
9222
|
"type": "Document",
|
|
9190
9223
|
"id": "2721000:0",
|
|
@@ -9193,7 +9226,7 @@
|
|
|
9193
9226
|
"documentCode": "unece:DocumentCodeList#705",
|
|
9194
9227
|
"documentRevision": 1,
|
|
9195
9228
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
9196
|
-
"
|
|
9229
|
+
"integrity": "sha256-123456",
|
|
9197
9230
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
9198
9231
|
"annotationObject": {
|
|
9199
9232
|
"@context": "https://schema.org",
|
|
@@ -9214,9 +9247,9 @@
|
|
|
9214
9247
|
"DocumentManagementGetRevisionResponseExample": {
|
|
9215
9248
|
"value": {
|
|
9216
9249
|
"@context": [
|
|
9250
|
+
"https://schema.org",
|
|
9217
9251
|
"https://schema.twindev.org/documents/",
|
|
9218
|
-
"https://schema.twindev.org/common/"
|
|
9219
|
-
"https://schema.org"
|
|
9252
|
+
"https://schema.twindev.org/common/"
|
|
9220
9253
|
],
|
|
9221
9254
|
"type": "Document",
|
|
9222
9255
|
"id": "2721000:0",
|
|
@@ -9225,7 +9258,7 @@
|
|
|
9225
9258
|
"documentCode": "unece:DocumentCodeList#705",
|
|
9226
9259
|
"documentRevision": 1,
|
|
9227
9260
|
"blobStorageId": "blob-memory:c57d94b088f4c6d2cb32ded014813d0c786aa00134c8ee22f84b1e2545602a70",
|
|
9228
|
-
"
|
|
9261
|
+
"integrity": "sha256-123456",
|
|
9229
9262
|
"dateCreated": "2024-01-01T00:00:00Z",
|
|
9230
9263
|
"annotationObject": {
|
|
9231
9264
|
"@context": "https://schema.org",
|
|
@@ -9542,7 +9575,7 @@
|
|
|
9542
9575
|
"schema": {
|
|
9543
9576
|
"type": "string"
|
|
9544
9577
|
},
|
|
9545
|
-
"description": "e.g. aig
|
|
9578
|
+
"description": "e.g. aig%3A1234567890"
|
|
9546
9579
|
}
|
|
9547
9580
|
}
|
|
9548
9581
|
},
|
|
@@ -9916,15 +9949,6 @@
|
|
|
9916
9949
|
"type": "string"
|
|
9917
9950
|
}
|
|
9918
9951
|
},
|
|
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
9952
|
{
|
|
9929
9953
|
"name": "verifySignatureDepth",
|
|
9930
9954
|
"description": "How many signatures to verify, none, current or all, defaults to \"none\".",
|
|
@@ -10269,59 +10293,191 @@
|
|
|
10269
10293
|
}
|
|
10270
10294
|
}
|
|
10271
10295
|
},
|
|
10272
|
-
"/
|
|
10273
|
-
"
|
|
10274
|
-
"operationId": "
|
|
10275
|
-
"summary": "
|
|
10296
|
+
"/aig/{id}/changesets/{changesetId}": {
|
|
10297
|
+
"get": {
|
|
10298
|
+
"operationId": "auditableItemGraphChangesetGet",
|
|
10299
|
+
"summary": "Get a graph vertex changeset",
|
|
10276
10300
|
"tags": [
|
|
10277
|
-
"Auditable Item
|
|
10301
|
+
"Auditable Item Graph"
|
|
10302
|
+
],
|
|
10303
|
+
"parameters": [
|
|
10304
|
+
{
|
|
10305
|
+
"name": "id",
|
|
10306
|
+
"description": "The id of the vertex to get the changeset from.",
|
|
10307
|
+
"in": "path",
|
|
10308
|
+
"required": true,
|
|
10309
|
+
"schema": {
|
|
10310
|
+
"type": "string"
|
|
10311
|
+
},
|
|
10312
|
+
"style": "simple",
|
|
10313
|
+
"example": "aig:1234567890"
|
|
10314
|
+
},
|
|
10315
|
+
{
|
|
10316
|
+
"name": "changesetId",
|
|
10317
|
+
"description": "The id of the changeset to get.",
|
|
10318
|
+
"in": "path",
|
|
10319
|
+
"required": true,
|
|
10320
|
+
"schema": {
|
|
10321
|
+
"type": "string"
|
|
10322
|
+
},
|
|
10323
|
+
"style": "simple",
|
|
10324
|
+
"example": "changeset:1234567890"
|
|
10325
|
+
},
|
|
10326
|
+
{
|
|
10327
|
+
"name": "verifySignatureDepth",
|
|
10328
|
+
"description": "How many signatures to verify, none, current or all, defaults to \"none\".",
|
|
10329
|
+
"in": "query",
|
|
10330
|
+
"required": false,
|
|
10331
|
+
"schema": {
|
|
10332
|
+
"$ref": "#/components/schemas/VerifyDepth"
|
|
10333
|
+
}
|
|
10334
|
+
},
|
|
10335
|
+
{
|
|
10336
|
+
"name": "accept",
|
|
10337
|
+
"in": "header",
|
|
10338
|
+
"required": true,
|
|
10339
|
+
"schema": {
|
|
10340
|
+
"type": "string"
|
|
10341
|
+
},
|
|
10342
|
+
"style": "simple",
|
|
10343
|
+
"example": "application/json"
|
|
10344
|
+
}
|
|
10278
10345
|
],
|
|
10279
10346
|
"security": [
|
|
10280
10347
|
{
|
|
10281
10348
|
"jwtBearerAuthScheme": []
|
|
10282
10349
|
}
|
|
10283
10350
|
],
|
|
10284
|
-
"
|
|
10285
|
-
"
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10351
|
+
"responses": {
|
|
10352
|
+
"200": {
|
|
10353
|
+
"description": "Response to getting an auditable item graph vertex changeset.",
|
|
10354
|
+
"content": {
|
|
10355
|
+
"application/json": {
|
|
10356
|
+
"schema": {
|
|
10357
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
|
|
10358
|
+
},
|
|
10359
|
+
"examples": {
|
|
10360
|
+
"auditableItemGraphChangesetGetResponseExample": {
|
|
10361
|
+
"value": {
|
|
10362
|
+
"@context": [
|
|
10363
|
+
"https://schema.twindev.org/aig/",
|
|
10364
|
+
"https://schema.twindev.org/common/"
|
|
10365
|
+
],
|
|
10366
|
+
"type": "AuditableItemGraphChangeset",
|
|
10367
|
+
"id": "aig:1234567890",
|
|
10368
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10369
|
+
"patches": [
|
|
10370
|
+
{
|
|
10371
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10372
|
+
"patchOperation": "add",
|
|
10373
|
+
"patchPath": "/annotationObject",
|
|
10374
|
+
"patchValue": {
|
|
10375
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10376
|
+
"type": "Create",
|
|
10377
|
+
"actor": {
|
|
10378
|
+
"type": "Person",
|
|
10379
|
+
"id": "acct:person@example.org",
|
|
10380
|
+
"name": "Person"
|
|
10381
|
+
},
|
|
10382
|
+
"object": {
|
|
10383
|
+
"type": "Note",
|
|
10384
|
+
"content": "This is a simple note"
|
|
10385
|
+
},
|
|
10386
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10387
|
+
}
|
|
10388
|
+
},
|
|
10389
|
+
{
|
|
10390
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10391
|
+
"patchOperation": "add",
|
|
10392
|
+
"patchPath": "/aliases",
|
|
10393
|
+
"patchValue": [
|
|
10394
|
+
{
|
|
10395
|
+
"id": "foo123",
|
|
10396
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10397
|
+
},
|
|
10398
|
+
{
|
|
10399
|
+
"id": "bar456",
|
|
10400
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10401
|
+
}
|
|
10402
|
+
]
|
|
10403
|
+
}
|
|
10404
|
+
],
|
|
10405
|
+
"verification": {
|
|
10406
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10407
|
+
"type": "ImmutableProofVerification",
|
|
10408
|
+
"verified": true
|
|
10409
|
+
}
|
|
10410
|
+
}
|
|
10411
|
+
}
|
|
10412
|
+
}
|
|
10291
10413
|
},
|
|
10292
|
-
"
|
|
10293
|
-
"
|
|
10294
|
-
"
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10302
|
-
"
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10414
|
+
"application/ld+json": {
|
|
10415
|
+
"schema": {
|
|
10416
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
|
|
10417
|
+
},
|
|
10418
|
+
"examples": {
|
|
10419
|
+
"auditableItemGraphChangesetJsonLdGetResponseExample": {
|
|
10420
|
+
"value": {
|
|
10421
|
+
"@context": [
|
|
10422
|
+
"https://schema.twindev.org/aig/",
|
|
10423
|
+
"https://schema.twindev.org/common/",
|
|
10424
|
+
"https://schema.org"
|
|
10425
|
+
],
|
|
10426
|
+
"type": "AuditableItemGraphChangeset",
|
|
10427
|
+
"id": "aig:1234567890",
|
|
10428
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10429
|
+
"patches": [
|
|
10430
|
+
{
|
|
10431
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10432
|
+
"patchOperation": "add",
|
|
10433
|
+
"patchPath": "/annotationObject",
|
|
10434
|
+
"patchValue": {
|
|
10435
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10436
|
+
"type": "Create",
|
|
10437
|
+
"actor": {
|
|
10438
|
+
"type": "Person",
|
|
10439
|
+
"id": "acct:person@example.org",
|
|
10440
|
+
"name": "Person"
|
|
10441
|
+
},
|
|
10442
|
+
"object": {
|
|
10443
|
+
"type": "Note",
|
|
10444
|
+
"content": "This is a simple note"
|
|
10445
|
+
},
|
|
10446
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10447
|
+
}
|
|
10448
|
+
},
|
|
10449
|
+
{
|
|
10450
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10451
|
+
"patchOperation": "add",
|
|
10452
|
+
"patchPath": "/aliases",
|
|
10453
|
+
"patchValue": [
|
|
10454
|
+
{
|
|
10455
|
+
"id": "foo123",
|
|
10456
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10457
|
+
},
|
|
10458
|
+
{
|
|
10459
|
+
"id": "bar456",
|
|
10460
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10461
|
+
}
|
|
10462
|
+
]
|
|
10307
10463
|
}
|
|
10464
|
+
],
|
|
10465
|
+
"verification": {
|
|
10466
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10467
|
+
"type": "ImmutableProofVerification",
|
|
10468
|
+
"verified": true
|
|
10308
10469
|
}
|
|
10309
|
-
|
|
10470
|
+
}
|
|
10310
10471
|
}
|
|
10311
10472
|
}
|
|
10312
10473
|
}
|
|
10313
|
-
}
|
|
10314
|
-
}
|
|
10315
|
-
},
|
|
10316
|
-
"responses": {
|
|
10317
|
-
"201": {
|
|
10318
|
-
"description": "The rest request ended in created response.",
|
|
10474
|
+
},
|
|
10319
10475
|
"headers": {
|
|
10320
|
-
"
|
|
10476
|
+
"content-type": {
|
|
10321
10477
|
"schema": {
|
|
10322
10478
|
"type": "string"
|
|
10323
10479
|
},
|
|
10324
|
-
"description": "e.g.
|
|
10480
|
+
"description": "e.g. application/ld+json"
|
|
10325
10481
|
}
|
|
10326
10482
|
}
|
|
10327
10483
|
},
|
|
@@ -10383,48 +10539,30 @@
|
|
|
10383
10539
|
}
|
|
10384
10540
|
}
|
|
10385
10541
|
}
|
|
10386
|
-
}
|
|
10542
|
+
}
|
|
10543
|
+
},
|
|
10544
|
+
"/aig/{id}/changesets": {
|
|
10387
10545
|
"get": {
|
|
10388
|
-
"operationId": "
|
|
10389
|
-
"summary": "
|
|
10546
|
+
"operationId": "auditableItemGraphChangesetList",
|
|
10547
|
+
"summary": "Get a list of graph vertex changesets",
|
|
10390
10548
|
"tags": [
|
|
10391
|
-
"Auditable Item
|
|
10549
|
+
"Auditable Item Graph"
|
|
10392
10550
|
],
|
|
10393
10551
|
"parameters": [
|
|
10394
10552
|
{
|
|
10395
|
-
"name": "
|
|
10396
|
-
"description": "The
|
|
10397
|
-
"in": "
|
|
10398
|
-
"required":
|
|
10553
|
+
"name": "id",
|
|
10554
|
+
"description": "The id of the changeset to get.",
|
|
10555
|
+
"in": "path",
|
|
10556
|
+
"required": true,
|
|
10399
10557
|
"schema": {
|
|
10400
10558
|
"type": "string"
|
|
10401
|
-
}
|
|
10402
|
-
|
|
10403
|
-
|
|
10404
|
-
"name": "orderBy",
|
|
10405
|
-
"description": "The order for the results, default to created.",
|
|
10406
|
-
"in": "query",
|
|
10407
|
-
"required": false,
|
|
10408
|
-
"schema": {
|
|
10409
|
-
"type": "string",
|
|
10410
|
-
"enum": [
|
|
10411
|
-
"dateCreated",
|
|
10412
|
-
"dateModified"
|
|
10413
|
-
]
|
|
10414
|
-
}
|
|
10415
|
-
},
|
|
10416
|
-
{
|
|
10417
|
-
"name": "orderByDirection",
|
|
10418
|
-
"description": "The direction for the order, defaults to desc.",
|
|
10419
|
-
"in": "query",
|
|
10420
|
-
"required": false,
|
|
10421
|
-
"schema": {
|
|
10422
|
-
"$ref": "#/components/schemas/SortDirection"
|
|
10423
|
-
}
|
|
10559
|
+
},
|
|
10560
|
+
"style": "simple",
|
|
10561
|
+
"example": "aig:1234567890"
|
|
10424
10562
|
},
|
|
10425
10563
|
{
|
|
10426
|
-
"name": "
|
|
10427
|
-
"description": "The
|
|
10564
|
+
"name": "cursor",
|
|
10565
|
+
"description": "The optional cursor to get next chunk.",
|
|
10428
10566
|
"in": "query",
|
|
10429
10567
|
"required": false,
|
|
10430
10568
|
"schema": {
|
|
@@ -10432,8 +10570,8 @@
|
|
|
10432
10570
|
}
|
|
10433
10571
|
},
|
|
10434
10572
|
{
|
|
10435
|
-
"name": "
|
|
10436
|
-
"description": "
|
|
10573
|
+
"name": "limit",
|
|
10574
|
+
"description": "Limit the number of entities to return.",
|
|
10437
10575
|
"in": "query",
|
|
10438
10576
|
"required": false,
|
|
10439
10577
|
"schema": {
|
|
@@ -10441,12 +10579,12 @@
|
|
|
10441
10579
|
}
|
|
10442
10580
|
},
|
|
10443
10581
|
{
|
|
10444
|
-
"name": "
|
|
10445
|
-
"description": "
|
|
10582
|
+
"name": "verifySignatureDepth",
|
|
10583
|
+
"description": "How many signatures to verify, none, current or all, defaults to \"none\".",
|
|
10446
10584
|
"in": "query",
|
|
10447
10585
|
"required": false,
|
|
10448
10586
|
"schema": {
|
|
10449
|
-
"
|
|
10587
|
+
"$ref": "#/components/schemas/VerifyDepth"
|
|
10450
10588
|
}
|
|
10451
10589
|
},
|
|
10452
10590
|
{
|
|
@@ -10456,7 +10594,8 @@
|
|
|
10456
10594
|
"schema": {
|
|
10457
10595
|
"type": "string"
|
|
10458
10596
|
},
|
|
10459
|
-
"style": "simple"
|
|
10597
|
+
"style": "simple",
|
|
10598
|
+
"example": "application/json"
|
|
10460
10599
|
}
|
|
10461
10600
|
],
|
|
10462
10601
|
"security": [
|
|
@@ -10466,18 +10605,424 @@
|
|
|
10466
10605
|
],
|
|
10467
10606
|
"responses": {
|
|
10468
10607
|
"200": {
|
|
10469
|
-
"description": "
|
|
10608
|
+
"description": "Response to getting an auditable item graph vertex changeset.",
|
|
10470
10609
|
"content": {
|
|
10471
10610
|
"application/json": {
|
|
10472
10611
|
"schema": {
|
|
10473
|
-
"$ref": "https://schema.twindev.org/
|
|
10612
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangesetList"
|
|
10474
10613
|
},
|
|
10475
10614
|
"examples": {
|
|
10476
|
-
"
|
|
10615
|
+
"auditableItemGraphChangesetListResponseExample": {
|
|
10477
10616
|
"value": {
|
|
10478
10617
|
"@context": [
|
|
10479
10618
|
"https://schema.org",
|
|
10480
|
-
"https://schema.twindev.org/
|
|
10619
|
+
"https://schema.twindev.org/aig/",
|
|
10620
|
+
"https://schema.twindev.org/common/"
|
|
10621
|
+
],
|
|
10622
|
+
"type": [
|
|
10623
|
+
"ItemList",
|
|
10624
|
+
"AuditableItemGraphChangesetList"
|
|
10625
|
+
],
|
|
10626
|
+
"itemListElement": [
|
|
10627
|
+
{
|
|
10628
|
+
"type": "AuditableItemGraphChangeset",
|
|
10629
|
+
"id": "aig:1234567890",
|
|
10630
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10631
|
+
"patches": [
|
|
10632
|
+
{
|
|
10633
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10634
|
+
"patchOperation": "add",
|
|
10635
|
+
"patchPath": "/annotationObject",
|
|
10636
|
+
"patchValue": {
|
|
10637
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10638
|
+
"type": "Create",
|
|
10639
|
+
"actor": {
|
|
10640
|
+
"type": "Person",
|
|
10641
|
+
"id": "acct:person@example.org",
|
|
10642
|
+
"name": "Person"
|
|
10643
|
+
},
|
|
10644
|
+
"object": {
|
|
10645
|
+
"type": "Note",
|
|
10646
|
+
"content": "This is a simple note"
|
|
10647
|
+
},
|
|
10648
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10649
|
+
}
|
|
10650
|
+
},
|
|
10651
|
+
{
|
|
10652
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10653
|
+
"patchOperation": "add",
|
|
10654
|
+
"patchPath": "/aliases",
|
|
10655
|
+
"patchValue": [
|
|
10656
|
+
{
|
|
10657
|
+
"id": "foo123",
|
|
10658
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10659
|
+
},
|
|
10660
|
+
{
|
|
10661
|
+
"id": "bar456",
|
|
10662
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10663
|
+
}
|
|
10664
|
+
]
|
|
10665
|
+
}
|
|
10666
|
+
],
|
|
10667
|
+
"verification": {
|
|
10668
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10669
|
+
"type": "ImmutableProofVerification",
|
|
10670
|
+
"verified": true
|
|
10671
|
+
}
|
|
10672
|
+
}
|
|
10673
|
+
]
|
|
10674
|
+
}
|
|
10675
|
+
}
|
|
10676
|
+
}
|
|
10677
|
+
},
|
|
10678
|
+
"application/ld+json": {
|
|
10679
|
+
"schema": {
|
|
10680
|
+
"$ref": "https://schema.twindev.org/aig/AuditableItemGraphChangeset"
|
|
10681
|
+
},
|
|
10682
|
+
"examples": {
|
|
10683
|
+
"auditableItemGraphChangesetJsonLdGetResponseExample": {
|
|
10684
|
+
"value": {
|
|
10685
|
+
"@context": [
|
|
10686
|
+
"https://schema.org",
|
|
10687
|
+
"https://schema.twindev.org/aig/",
|
|
10688
|
+
"https://schema.twindev.org/common/",
|
|
10689
|
+
"https://schema.org"
|
|
10690
|
+
],
|
|
10691
|
+
"type": [
|
|
10692
|
+
"ItemList",
|
|
10693
|
+
"AuditableItemGraphChangesetList"
|
|
10694
|
+
],
|
|
10695
|
+
"itemListElement": [
|
|
10696
|
+
{
|
|
10697
|
+
"type": "AuditableItemGraphChangeset",
|
|
10698
|
+
"id": "aig:1234567890",
|
|
10699
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
10700
|
+
"patches": [
|
|
10701
|
+
{
|
|
10702
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10703
|
+
"patchOperation": "add",
|
|
10704
|
+
"patchPath": "/annotationObject",
|
|
10705
|
+
"patchValue": {
|
|
10706
|
+
"@context": "https://www.w3.org/ns/activitystreams",
|
|
10707
|
+
"type": "Create",
|
|
10708
|
+
"actor": {
|
|
10709
|
+
"type": "Person",
|
|
10710
|
+
"id": "acct:person@example.org",
|
|
10711
|
+
"name": "Person"
|
|
10712
|
+
},
|
|
10713
|
+
"object": {
|
|
10714
|
+
"type": "Note",
|
|
10715
|
+
"content": "This is a simple note"
|
|
10716
|
+
},
|
|
10717
|
+
"published": "2015-01-25T12:34:56Z"
|
|
10718
|
+
}
|
|
10719
|
+
},
|
|
10720
|
+
{
|
|
10721
|
+
"type": "AuditableItemGraphPatchOperation",
|
|
10722
|
+
"patchOperation": "add",
|
|
10723
|
+
"patchPath": "/aliases",
|
|
10724
|
+
"patchValue": [
|
|
10725
|
+
{
|
|
10726
|
+
"id": "foo123",
|
|
10727
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10728
|
+
},
|
|
10729
|
+
{
|
|
10730
|
+
"id": "bar456",
|
|
10731
|
+
"dateCreated": "2015-01-25T12:34:56Z"
|
|
10732
|
+
}
|
|
10733
|
+
]
|
|
10734
|
+
}
|
|
10735
|
+
],
|
|
10736
|
+
"verification": {
|
|
10737
|
+
"@context": "https://schema.twindev.org/immutable-proof/",
|
|
10738
|
+
"type": "ImmutableProofVerification",
|
|
10739
|
+
"verified": true
|
|
10740
|
+
}
|
|
10741
|
+
}
|
|
10742
|
+
]
|
|
10743
|
+
}
|
|
10744
|
+
}
|
|
10745
|
+
}
|
|
10746
|
+
}
|
|
10747
|
+
},
|
|
10748
|
+
"headers": {
|
|
10749
|
+
"content-type": {
|
|
10750
|
+
"schema": {
|
|
10751
|
+
"type": "string"
|
|
10752
|
+
},
|
|
10753
|
+
"description": "e.g. application/ld+json"
|
|
10754
|
+
}
|
|
10755
|
+
}
|
|
10756
|
+
},
|
|
10757
|
+
"400": {
|
|
10758
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
10759
|
+
"content": {
|
|
10760
|
+
"application/json": {
|
|
10761
|
+
"schema": {
|
|
10762
|
+
"$ref": "#/components/schemas/Error"
|
|
10763
|
+
},
|
|
10764
|
+
"examples": {
|
|
10765
|
+
"exampleResponse": {
|
|
10766
|
+
"value": {
|
|
10767
|
+
"name": "GeneralError",
|
|
10768
|
+
"message": "errorMessage",
|
|
10769
|
+
"properties": {
|
|
10770
|
+
"foo": "bar"
|
|
10771
|
+
}
|
|
10772
|
+
}
|
|
10773
|
+
}
|
|
10774
|
+
}
|
|
10775
|
+
}
|
|
10776
|
+
}
|
|
10777
|
+
},
|
|
10778
|
+
"401": {
|
|
10779
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
10780
|
+
"content": {
|
|
10781
|
+
"application/json": {
|
|
10782
|
+
"schema": {
|
|
10783
|
+
"$ref": "#/components/schemas/Error"
|
|
10784
|
+
},
|
|
10785
|
+
"examples": {
|
|
10786
|
+
"exampleResponse": {
|
|
10787
|
+
"value": {
|
|
10788
|
+
"name": "UnauthorizedError",
|
|
10789
|
+
"message": "errorMessage"
|
|
10790
|
+
}
|
|
10791
|
+
}
|
|
10792
|
+
}
|
|
10793
|
+
}
|
|
10794
|
+
}
|
|
10795
|
+
},
|
|
10796
|
+
"500": {
|
|
10797
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
10798
|
+
"content": {
|
|
10799
|
+
"application/json": {
|
|
10800
|
+
"schema": {
|
|
10801
|
+
"$ref": "#/components/schemas/Error"
|
|
10802
|
+
},
|
|
10803
|
+
"examples": {
|
|
10804
|
+
"exampleResponse": {
|
|
10805
|
+
"value": {
|
|
10806
|
+
"name": "InternalServerError",
|
|
10807
|
+
"message": "errorMessage"
|
|
10808
|
+
}
|
|
10809
|
+
}
|
|
10810
|
+
}
|
|
10811
|
+
}
|
|
10812
|
+
}
|
|
10813
|
+
}
|
|
10814
|
+
}
|
|
10815
|
+
}
|
|
10816
|
+
},
|
|
10817
|
+
"/ais": {
|
|
10818
|
+
"post": {
|
|
10819
|
+
"operationId": "auditableItemStreamCreate",
|
|
10820
|
+
"summary": "Create a new stream",
|
|
10821
|
+
"tags": [
|
|
10822
|
+
"Auditable Item Stream"
|
|
10823
|
+
],
|
|
10824
|
+
"security": [
|
|
10825
|
+
{
|
|
10826
|
+
"jwtBearerAuthScheme": []
|
|
10827
|
+
}
|
|
10828
|
+
],
|
|
10829
|
+
"requestBody": {
|
|
10830
|
+
"description": "Create an auditable item stream.",
|
|
10831
|
+
"required": true,
|
|
10832
|
+
"content": {
|
|
10833
|
+
"application/json": {
|
|
10834
|
+
"schema": {
|
|
10835
|
+
"$ref": "#/components/schemas/AuditableItemStreamCreateRequest"
|
|
10836
|
+
},
|
|
10837
|
+
"examples": {
|
|
10838
|
+
"auditableItemStreamCreateRequestExample": {
|
|
10839
|
+
"value": {
|
|
10840
|
+
"annotationObject": {
|
|
10841
|
+
"@context": "https://schema.org",
|
|
10842
|
+
"@type": "Note",
|
|
10843
|
+
"content": "This is a simple note"
|
|
10844
|
+
},
|
|
10845
|
+
"entries": [
|
|
10846
|
+
{
|
|
10847
|
+
"entryObject": {
|
|
10848
|
+
"@context": "https://schema.org",
|
|
10849
|
+
"@type": "Event",
|
|
10850
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
10851
|
+
"description": "A description of the event"
|
|
10852
|
+
}
|
|
10853
|
+
}
|
|
10854
|
+
]
|
|
10855
|
+
}
|
|
10856
|
+
}
|
|
10857
|
+
}
|
|
10858
|
+
}
|
|
10859
|
+
}
|
|
10860
|
+
},
|
|
10861
|
+
"responses": {
|
|
10862
|
+
"201": {
|
|
10863
|
+
"description": "The rest request ended in created response.",
|
|
10864
|
+
"headers": {
|
|
10865
|
+
"location": {
|
|
10866
|
+
"schema": {
|
|
10867
|
+
"type": "string"
|
|
10868
|
+
},
|
|
10869
|
+
"description": "e.g. ais%3A1234567890"
|
|
10870
|
+
}
|
|
10871
|
+
}
|
|
10872
|
+
},
|
|
10873
|
+
"400": {
|
|
10874
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
10875
|
+
"content": {
|
|
10876
|
+
"application/json": {
|
|
10877
|
+
"schema": {
|
|
10878
|
+
"$ref": "#/components/schemas/Error"
|
|
10879
|
+
},
|
|
10880
|
+
"examples": {
|
|
10881
|
+
"exampleResponse": {
|
|
10882
|
+
"value": {
|
|
10883
|
+
"name": "GeneralError",
|
|
10884
|
+
"message": "errorMessage",
|
|
10885
|
+
"properties": {
|
|
10886
|
+
"foo": "bar"
|
|
10887
|
+
}
|
|
10888
|
+
}
|
|
10889
|
+
}
|
|
10890
|
+
}
|
|
10891
|
+
}
|
|
10892
|
+
}
|
|
10893
|
+
},
|
|
10894
|
+
"401": {
|
|
10895
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
10896
|
+
"content": {
|
|
10897
|
+
"application/json": {
|
|
10898
|
+
"schema": {
|
|
10899
|
+
"$ref": "#/components/schemas/Error"
|
|
10900
|
+
},
|
|
10901
|
+
"examples": {
|
|
10902
|
+
"exampleResponse": {
|
|
10903
|
+
"value": {
|
|
10904
|
+
"name": "UnauthorizedError",
|
|
10905
|
+
"message": "errorMessage"
|
|
10906
|
+
}
|
|
10907
|
+
}
|
|
10908
|
+
}
|
|
10909
|
+
}
|
|
10910
|
+
}
|
|
10911
|
+
},
|
|
10912
|
+
"500": {
|
|
10913
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
10914
|
+
"content": {
|
|
10915
|
+
"application/json": {
|
|
10916
|
+
"schema": {
|
|
10917
|
+
"$ref": "#/components/schemas/Error"
|
|
10918
|
+
},
|
|
10919
|
+
"examples": {
|
|
10920
|
+
"exampleResponse": {
|
|
10921
|
+
"value": {
|
|
10922
|
+
"name": "InternalServerError",
|
|
10923
|
+
"message": "errorMessage"
|
|
10924
|
+
}
|
|
10925
|
+
}
|
|
10926
|
+
}
|
|
10927
|
+
}
|
|
10928
|
+
}
|
|
10929
|
+
}
|
|
10930
|
+
}
|
|
10931
|
+
},
|
|
10932
|
+
"get": {
|
|
10933
|
+
"operationId": "auditableItemStreamList",
|
|
10934
|
+
"summary": "Query streams",
|
|
10935
|
+
"tags": [
|
|
10936
|
+
"Auditable Item Stream"
|
|
10937
|
+
],
|
|
10938
|
+
"parameters": [
|
|
10939
|
+
{
|
|
10940
|
+
"name": "conditions",
|
|
10941
|
+
"description": "The conditions to filter the streams, JSON stringified IComparator[].",
|
|
10942
|
+
"in": "query",
|
|
10943
|
+
"required": false,
|
|
10944
|
+
"schema": {
|
|
10945
|
+
"type": "string"
|
|
10946
|
+
}
|
|
10947
|
+
},
|
|
10948
|
+
{
|
|
10949
|
+
"name": "orderBy",
|
|
10950
|
+
"description": "The order for the results, default to created.",
|
|
10951
|
+
"in": "query",
|
|
10952
|
+
"required": false,
|
|
10953
|
+
"schema": {
|
|
10954
|
+
"type": "string",
|
|
10955
|
+
"enum": [
|
|
10956
|
+
"dateCreated",
|
|
10957
|
+
"dateModified"
|
|
10958
|
+
]
|
|
10959
|
+
}
|
|
10960
|
+
},
|
|
10961
|
+
{
|
|
10962
|
+
"name": "orderByDirection",
|
|
10963
|
+
"description": "The direction for the order, defaults to desc.",
|
|
10964
|
+
"in": "query",
|
|
10965
|
+
"required": false,
|
|
10966
|
+
"schema": {
|
|
10967
|
+
"$ref": "#/components/schemas/SortDirection"
|
|
10968
|
+
}
|
|
10969
|
+
},
|
|
10970
|
+
{
|
|
10971
|
+
"name": "properties",
|
|
10972
|
+
"description": "The properties to return as a comma separated list, defaults to \"id,object\".",
|
|
10973
|
+
"in": "query",
|
|
10974
|
+
"required": false,
|
|
10975
|
+
"schema": {
|
|
10976
|
+
"type": "string"
|
|
10977
|
+
}
|
|
10978
|
+
},
|
|
10979
|
+
{
|
|
10980
|
+
"name": "cursor",
|
|
10981
|
+
"description": "The optional cursor to get next chunk.",
|
|
10982
|
+
"in": "query",
|
|
10983
|
+
"required": false,
|
|
10984
|
+
"schema": {
|
|
10985
|
+
"type": "string"
|
|
10986
|
+
}
|
|
10987
|
+
},
|
|
10988
|
+
{
|
|
10989
|
+
"name": "limit",
|
|
10990
|
+
"description": "Limit the number of entities to return.",
|
|
10991
|
+
"in": "query",
|
|
10992
|
+
"required": false,
|
|
10993
|
+
"schema": {
|
|
10994
|
+
"type": "string"
|
|
10995
|
+
}
|
|
10996
|
+
},
|
|
10997
|
+
{
|
|
10998
|
+
"name": "accept",
|
|
10999
|
+
"in": "header",
|
|
11000
|
+
"required": true,
|
|
11001
|
+
"schema": {
|
|
11002
|
+
"type": "string"
|
|
11003
|
+
},
|
|
11004
|
+
"style": "simple"
|
|
11005
|
+
}
|
|
11006
|
+
],
|
|
11007
|
+
"security": [
|
|
11008
|
+
{
|
|
11009
|
+
"jwtBearerAuthScheme": []
|
|
11010
|
+
}
|
|
11011
|
+
],
|
|
11012
|
+
"responses": {
|
|
11013
|
+
"200": {
|
|
11014
|
+
"description": "The response to getting the a list of the streams.",
|
|
11015
|
+
"content": {
|
|
11016
|
+
"application/json": {
|
|
11017
|
+
"schema": {
|
|
11018
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamList"
|
|
11019
|
+
},
|
|
11020
|
+
"examples": {
|
|
11021
|
+
"auditableItemStreamListResponseExample": {
|
|
11022
|
+
"value": {
|
|
11023
|
+
"@context": [
|
|
11024
|
+
"https://schema.org",
|
|
11025
|
+
"https://schema.twindev.org/ais/",
|
|
10481
11026
|
"https://schema.twindev.org/common/"
|
|
10482
11027
|
],
|
|
10483
11028
|
"type": [
|
|
@@ -10501,7 +11046,8 @@
|
|
|
10501
11046
|
},
|
|
10502
11047
|
"organizationIdentity": "did:iota:1234567890",
|
|
10503
11048
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10504
|
-
"immutableInterval": 10
|
|
11049
|
+
"immutableInterval": 10,
|
|
11050
|
+
"numberOfItems": 0
|
|
10505
11051
|
}
|
|
10506
11052
|
]
|
|
10507
11053
|
}
|
|
@@ -10541,7 +11087,8 @@
|
|
|
10541
11087
|
},
|
|
10542
11088
|
"organizationIdentity": "did:iota:1234567890",
|
|
10543
11089
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10544
|
-
"immutableInterval": 10
|
|
11090
|
+
"immutableInterval": 10,
|
|
11091
|
+
"numberOfItems": 0
|
|
10545
11092
|
}
|
|
10546
11093
|
]
|
|
10547
11094
|
}
|
|
@@ -10737,6 +11284,7 @@
|
|
|
10737
11284
|
"organizationIdentity": "did:iota:1234567890",
|
|
10738
11285
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10739
11286
|
"immutableInterval": 10,
|
|
11287
|
+
"numberOfItems": 1,
|
|
10740
11288
|
"entries": [
|
|
10741
11289
|
{
|
|
10742
11290
|
"@context": [
|
|
@@ -10783,6 +11331,7 @@
|
|
|
10783
11331
|
"organizationIdentity": "did:iota:1234567890",
|
|
10784
11332
|
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
10785
11333
|
"immutableInterval": 10,
|
|
11334
|
+
"numberOfItems": 1,
|
|
10786
11335
|
"entries": [
|
|
10787
11336
|
{
|
|
10788
11337
|
"@context": [
|
|
@@ -11133,7 +11682,9 @@
|
|
|
11133
11682
|
}
|
|
11134
11683
|
}
|
|
11135
11684
|
}
|
|
11136
|
-
}
|
|
11685
|
+
}
|
|
11686
|
+
},
|
|
11687
|
+
"/ais/{id}/entries": {
|
|
11137
11688
|
"post": {
|
|
11138
11689
|
"operationId": "auditableItemStreamCreateEntry",
|
|
11139
11690
|
"summary": "Create a new stream entry",
|
|
@@ -11166,30 +11717,268 @@
|
|
|
11166
11717
|
"schema": {
|
|
11167
11718
|
"$ref": "#/components/schemas/AuditableItemStreamCreateEntryRequest"
|
|
11168
11719
|
},
|
|
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"
|
|
11720
|
+
"examples": {
|
|
11721
|
+
"auditableItemStreamCreateEntryRequestExample": {
|
|
11722
|
+
"value": {
|
|
11723
|
+
"entryObject": {
|
|
11724
|
+
"@context": "https://schema.org",
|
|
11725
|
+
"@type": "Event",
|
|
11726
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
11727
|
+
"description": "A description of the event"
|
|
11728
|
+
}
|
|
11729
|
+
}
|
|
11730
|
+
}
|
|
11731
|
+
}
|
|
11732
|
+
}
|
|
11733
|
+
}
|
|
11734
|
+
},
|
|
11735
|
+
"responses": {
|
|
11736
|
+
"201": {
|
|
11737
|
+
"description": "The rest request ended in created response.",
|
|
11738
|
+
"headers": {
|
|
11739
|
+
"location": {
|
|
11740
|
+
"schema": {
|
|
11741
|
+
"type": "string"
|
|
11742
|
+
},
|
|
11743
|
+
"description": "e.g. ais%3A1234567890%3A01010101010"
|
|
11744
|
+
}
|
|
11745
|
+
}
|
|
11746
|
+
},
|
|
11747
|
+
"400": {
|
|
11748
|
+
"description": "The server cannot process the request, see the content for more details.",
|
|
11749
|
+
"content": {
|
|
11750
|
+
"application/json": {
|
|
11751
|
+
"schema": {
|
|
11752
|
+
"$ref": "#/components/schemas/Error"
|
|
11753
|
+
},
|
|
11754
|
+
"examples": {
|
|
11755
|
+
"exampleResponse": {
|
|
11756
|
+
"value": {
|
|
11757
|
+
"name": "GeneralError",
|
|
11758
|
+
"message": "errorMessage",
|
|
11759
|
+
"properties": {
|
|
11760
|
+
"foo": "bar"
|
|
11761
|
+
}
|
|
11762
|
+
}
|
|
11763
|
+
}
|
|
11764
|
+
}
|
|
11765
|
+
}
|
|
11766
|
+
}
|
|
11767
|
+
},
|
|
11768
|
+
"401": {
|
|
11769
|
+
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
11770
|
+
"content": {
|
|
11771
|
+
"application/json": {
|
|
11772
|
+
"schema": {
|
|
11773
|
+
"$ref": "#/components/schemas/Error"
|
|
11774
|
+
},
|
|
11775
|
+
"examples": {
|
|
11776
|
+
"exampleResponse": {
|
|
11777
|
+
"value": {
|
|
11778
|
+
"name": "UnauthorizedError",
|
|
11779
|
+
"message": "errorMessage"
|
|
11780
|
+
}
|
|
11781
|
+
}
|
|
11782
|
+
}
|
|
11783
|
+
}
|
|
11784
|
+
}
|
|
11785
|
+
},
|
|
11786
|
+
"500": {
|
|
11787
|
+
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
11788
|
+
"content": {
|
|
11789
|
+
"application/json": {
|
|
11790
|
+
"schema": {
|
|
11791
|
+
"$ref": "#/components/schemas/Error"
|
|
11792
|
+
},
|
|
11793
|
+
"examples": {
|
|
11794
|
+
"exampleResponse": {
|
|
11795
|
+
"value": {
|
|
11796
|
+
"name": "InternalServerError",
|
|
11797
|
+
"message": "errorMessage"
|
|
11798
|
+
}
|
|
11799
|
+
}
|
|
11800
|
+
}
|
|
11801
|
+
}
|
|
11802
|
+
}
|
|
11803
|
+
}
|
|
11804
|
+
}
|
|
11805
|
+
},
|
|
11806
|
+
"get": {
|
|
11807
|
+
"operationId": "auditableItemStreamListEntries",
|
|
11808
|
+
"summary": "Get the entry objects in a stream",
|
|
11809
|
+
"tags": [
|
|
11810
|
+
"Auditable Item Stream"
|
|
11811
|
+
],
|
|
11812
|
+
"parameters": [
|
|
11813
|
+
{
|
|
11814
|
+
"name": "id",
|
|
11815
|
+
"description": "The id of the stream to get.",
|
|
11816
|
+
"in": "path",
|
|
11817
|
+
"required": true,
|
|
11818
|
+
"schema": {
|
|
11819
|
+
"type": "string"
|
|
11820
|
+
},
|
|
11821
|
+
"style": "simple",
|
|
11822
|
+
"example": "ais:1234567890"
|
|
11823
|
+
},
|
|
11824
|
+
{
|
|
11825
|
+
"name": "conditions",
|
|
11826
|
+
"description": "The conditions to filter the stream, JSON stringified IComparator[].",
|
|
11827
|
+
"in": "query",
|
|
11828
|
+
"required": false,
|
|
11829
|
+
"schema": {
|
|
11830
|
+
"type": "string"
|
|
11831
|
+
}
|
|
11832
|
+
},
|
|
11833
|
+
{
|
|
11834
|
+
"name": "includeDeleted",
|
|
11835
|
+
"description": "Whether to include deleted entries, defaults to false.",
|
|
11836
|
+
"in": "query",
|
|
11837
|
+
"required": false,
|
|
11838
|
+
"schema": {
|
|
11839
|
+
"type": "string"
|
|
11840
|
+
}
|
|
11841
|
+
},
|
|
11842
|
+
{
|
|
11843
|
+
"name": "verifyEntries",
|
|
11844
|
+
"description": "Should the entries be verified, defaults to false.",
|
|
11845
|
+
"in": "query",
|
|
11846
|
+
"required": false,
|
|
11847
|
+
"schema": {
|
|
11848
|
+
"type": "string"
|
|
11849
|
+
}
|
|
11850
|
+
},
|
|
11851
|
+
{
|
|
11852
|
+
"name": "order",
|
|
11853
|
+
"description": "Retrieve the entries in ascending/descending time order, defaults to Ascending.",
|
|
11854
|
+
"in": "query",
|
|
11855
|
+
"required": false,
|
|
11856
|
+
"schema": {
|
|
11857
|
+
"$ref": "#/components/schemas/SortDirection"
|
|
11858
|
+
}
|
|
11859
|
+
},
|
|
11860
|
+
{
|
|
11861
|
+
"name": "limit",
|
|
11862
|
+
"description": "How many entries to return.",
|
|
11863
|
+
"in": "query",
|
|
11864
|
+
"required": false,
|
|
11865
|
+
"schema": {
|
|
11866
|
+
"type": "string"
|
|
11867
|
+
}
|
|
11868
|
+
},
|
|
11869
|
+
{
|
|
11870
|
+
"name": "cursor",
|
|
11871
|
+
"description": "Cursor to use for next chunk of data.",
|
|
11872
|
+
"in": "query",
|
|
11873
|
+
"required": false,
|
|
11874
|
+
"schema": {
|
|
11875
|
+
"type": "string"
|
|
11876
|
+
}
|
|
11877
|
+
},
|
|
11878
|
+
{
|
|
11879
|
+
"name": "accept",
|
|
11880
|
+
"in": "header",
|
|
11881
|
+
"required": true,
|
|
11882
|
+
"schema": {
|
|
11883
|
+
"type": "string"
|
|
11884
|
+
},
|
|
11885
|
+
"style": "simple"
|
|
11886
|
+
}
|
|
11887
|
+
],
|
|
11888
|
+
"security": [
|
|
11889
|
+
{
|
|
11890
|
+
"jwtBearerAuthScheme": []
|
|
11891
|
+
}
|
|
11892
|
+
],
|
|
11893
|
+
"responses": {
|
|
11894
|
+
"200": {
|
|
11895
|
+
"description": "Response to getting an auditable item stream entries.",
|
|
11896
|
+
"content": {
|
|
11897
|
+
"application/json": {
|
|
11898
|
+
"schema": {
|
|
11899
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryList"
|
|
11900
|
+
},
|
|
11901
|
+
"examples": {
|
|
11902
|
+
"auditableItemStreamListEntriesResponseExample": {
|
|
11903
|
+
"value": {
|
|
11904
|
+
"@context": [
|
|
11905
|
+
"https://schema.org",
|
|
11906
|
+
"https://schema.twindev.org/ais/",
|
|
11907
|
+
"https://schema.twindev.org/common/"
|
|
11908
|
+
],
|
|
11909
|
+
"type": [
|
|
11910
|
+
"ItemList",
|
|
11911
|
+
"AuditableItemStreamEntryList"
|
|
11912
|
+
],
|
|
11913
|
+
"itemListElement": [
|
|
11914
|
+
{
|
|
11915
|
+
"@context": [
|
|
11916
|
+
"https://schema.twindev.org/ais/",
|
|
11917
|
+
"https://schema.twindev.org/common/"
|
|
11918
|
+
],
|
|
11919
|
+
"type": "AuditableItemStreamEntry",
|
|
11920
|
+
"id": "tst:1234567890",
|
|
11921
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
11922
|
+
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
11923
|
+
"index": 0,
|
|
11924
|
+
"entryObject": {
|
|
11925
|
+
"@context": "https://schema.org",
|
|
11926
|
+
"@type": "Event",
|
|
11927
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
11928
|
+
"description": "A description of the event"
|
|
11929
|
+
}
|
|
11930
|
+
}
|
|
11931
|
+
]
|
|
11932
|
+
}
|
|
11933
|
+
}
|
|
11934
|
+
}
|
|
11935
|
+
},
|
|
11936
|
+
"application/ld+json": {
|
|
11937
|
+
"schema": {
|
|
11938
|
+
"$ref": "https://schema.twindev.org/ais/AuditableItemStreamEntryList"
|
|
11939
|
+
},
|
|
11940
|
+
"examples": {
|
|
11941
|
+
"auditableItemStreamJsonLdListEntriesResponseExample": {
|
|
11942
|
+
"value": {
|
|
11943
|
+
"@context": [
|
|
11944
|
+
"https://schema.org",
|
|
11945
|
+
"https://schema.twindev.org/ais/",
|
|
11946
|
+
"https://schema.twindev.org/common/"
|
|
11947
|
+
],
|
|
11948
|
+
"type": [
|
|
11949
|
+
"ItemList",
|
|
11950
|
+
"AuditableItemStreamEntryList"
|
|
11951
|
+
],
|
|
11952
|
+
"itemListElement": [
|
|
11953
|
+
{
|
|
11954
|
+
"@context": [
|
|
11955
|
+
"https://schema.twindev.org/ais/",
|
|
11956
|
+
"https://schema.twindev.org/common/"
|
|
11957
|
+
],
|
|
11958
|
+
"type": "AuditableItemStreamEntry",
|
|
11959
|
+
"id": "tst:1234567890",
|
|
11960
|
+
"dateCreated": "2024-08-22T11:55:16.271Z",
|
|
11961
|
+
"proofId": "0101010101010101010101010101010101010101010101010101010101010101",
|
|
11962
|
+
"index": 0,
|
|
11963
|
+
"entryObject": {
|
|
11964
|
+
"@context": "https://schema.org",
|
|
11965
|
+
"@type": "Event",
|
|
11966
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
11967
|
+
"description": "A description of the event"
|
|
11968
|
+
}
|
|
11969
|
+
}
|
|
11970
|
+
]
|
|
11177
11971
|
}
|
|
11178
11972
|
}
|
|
11179
11973
|
}
|
|
11180
11974
|
}
|
|
11181
|
-
}
|
|
11182
|
-
}
|
|
11183
|
-
},
|
|
11184
|
-
"responses": {
|
|
11185
|
-
"201": {
|
|
11186
|
-
"description": "The rest request ended in created response.",
|
|
11975
|
+
},
|
|
11187
11976
|
"headers": {
|
|
11188
|
-
"
|
|
11977
|
+
"content-type": {
|
|
11189
11978
|
"schema": {
|
|
11190
11979
|
"type": "string"
|
|
11191
11980
|
},
|
|
11192
|
-
"description": "e.g.
|
|
11981
|
+
"description": "e.g. application/ld+json"
|
|
11193
11982
|
}
|
|
11194
11983
|
}
|
|
11195
11984
|
},
|
|
@@ -11232,6 +12021,27 @@
|
|
|
11232
12021
|
}
|
|
11233
12022
|
}
|
|
11234
12023
|
},
|
|
12024
|
+
"404": {
|
|
12025
|
+
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
12026
|
+
"content": {
|
|
12027
|
+
"application/json": {
|
|
12028
|
+
"schema": {
|
|
12029
|
+
"$ref": "#/components/schemas/NotFoundResponse"
|
|
12030
|
+
},
|
|
12031
|
+
"examples": {
|
|
12032
|
+
"exampleResponse": {
|
|
12033
|
+
"value": {
|
|
12034
|
+
"name": "NotFoundError",
|
|
12035
|
+
"message": "errorMessage",
|
|
12036
|
+
"properties": {
|
|
12037
|
+
"notFoundId": "1"
|
|
12038
|
+
}
|
|
12039
|
+
}
|
|
12040
|
+
}
|
|
12041
|
+
}
|
|
12042
|
+
}
|
|
12043
|
+
}
|
|
12044
|
+
},
|
|
11235
12045
|
"500": {
|
|
11236
12046
|
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
11237
12047
|
"content": {
|
|
@@ -11253,7 +12063,7 @@
|
|
|
11253
12063
|
}
|
|
11254
12064
|
}
|
|
11255
12065
|
},
|
|
11256
|
-
"/ais/{id}/{entryId}": {
|
|
12066
|
+
"/ais/{id}/entries/{entryId}": {
|
|
11257
12067
|
"get": {
|
|
11258
12068
|
"operationId": "auditableItemStreamGetEntry",
|
|
11259
12069
|
"summary": "Get a stream entry",
|
|
@@ -11608,168 +12418,30 @@
|
|
|
11608
12418
|
}
|
|
11609
12419
|
],
|
|
11610
12420
|
"requestBody": {
|
|
11611
|
-
"description": "Update an entry in the auditable item stream.",
|
|
11612
|
-
"required": true,
|
|
11613
|
-
"content": {
|
|
11614
|
-
"application/json": {
|
|
11615
|
-
"schema": {
|
|
11616
|
-
"$ref": "#/components/schemas/AuditableItemStreamUpdateEntryRequest"
|
|
11617
|
-
},
|
|
11618
|
-
"examples": {
|
|
11619
|
-
"auditableItemStreamUpdateRequestExample": {
|
|
11620
|
-
"value": {
|
|
11621
|
-
"entryObject": {
|
|
11622
|
-
"@context": "https://schema.org",
|
|
11623
|
-
"@type": "Note",
|
|
11624
|
-
"content": "This is a simple note"
|
|
11625
|
-
}
|
|
11626
|
-
}
|
|
11627
|
-
}
|
|
11628
|
-
}
|
|
11629
|
-
}
|
|
11630
|
-
}
|
|
11631
|
-
},
|
|
11632
|
-
"responses": {
|
|
11633
|
-
"204": {
|
|
11634
|
-
"description": "The rest request ended in success with no data."
|
|
11635
|
-
},
|
|
11636
|
-
"400": {
|
|
11637
|
-
"description": "The server cannot process the request, see the content for more details.",
|
|
11638
|
-
"content": {
|
|
11639
|
-
"application/json": {
|
|
11640
|
-
"schema": {
|
|
11641
|
-
"$ref": "#/components/schemas/Error"
|
|
11642
|
-
},
|
|
11643
|
-
"examples": {
|
|
11644
|
-
"exampleResponse": {
|
|
11645
|
-
"value": {
|
|
11646
|
-
"name": "GeneralError",
|
|
11647
|
-
"message": "errorMessage",
|
|
11648
|
-
"properties": {
|
|
11649
|
-
"foo": "bar"
|
|
11650
|
-
}
|
|
11651
|
-
}
|
|
11652
|
-
}
|
|
11653
|
-
}
|
|
11654
|
-
}
|
|
11655
|
-
}
|
|
11656
|
-
},
|
|
11657
|
-
"401": {
|
|
11658
|
-
"description": "You are not authorized to use the API or no credentials were supplied, see the content for more details.",
|
|
11659
|
-
"content": {
|
|
11660
|
-
"application/json": {
|
|
11661
|
-
"schema": {
|
|
11662
|
-
"$ref": "#/components/schemas/Error"
|
|
11663
|
-
},
|
|
11664
|
-
"examples": {
|
|
11665
|
-
"exampleResponse": {
|
|
11666
|
-
"value": {
|
|
11667
|
-
"name": "UnauthorizedError",
|
|
11668
|
-
"message": "errorMessage"
|
|
11669
|
-
}
|
|
11670
|
-
}
|
|
11671
|
-
}
|
|
11672
|
-
}
|
|
11673
|
-
}
|
|
11674
|
-
},
|
|
11675
|
-
"404": {
|
|
11676
|
-
"description": "The resource you tried to access does not exist, see the content for more details.",
|
|
11677
|
-
"content": {
|
|
11678
|
-
"application/json": {
|
|
11679
|
-
"schema": {
|
|
11680
|
-
"$ref": "#/components/schemas/NotFoundResponse"
|
|
11681
|
-
},
|
|
11682
|
-
"examples": {
|
|
11683
|
-
"exampleResponse": {
|
|
11684
|
-
"value": {
|
|
11685
|
-
"name": "NotFoundError",
|
|
11686
|
-
"message": "errorMessage",
|
|
11687
|
-
"properties": {
|
|
11688
|
-
"notFoundId": "1"
|
|
11689
|
-
}
|
|
11690
|
-
}
|
|
11691
|
-
}
|
|
11692
|
-
}
|
|
11693
|
-
}
|
|
11694
|
-
}
|
|
11695
|
-
},
|
|
11696
|
-
"500": {
|
|
11697
|
-
"description": "The server has encountered a situation it does not know how to handle, see the content for more details.",
|
|
11698
|
-
"content": {
|
|
11699
|
-
"application/json": {
|
|
11700
|
-
"schema": {
|
|
11701
|
-
"$ref": "#/components/schemas/Error"
|
|
11702
|
-
},
|
|
11703
|
-
"examples": {
|
|
11704
|
-
"exampleResponse": {
|
|
11705
|
-
"value": {
|
|
11706
|
-
"name": "InternalServerError",
|
|
11707
|
-
"message": "errorMessage"
|
|
11708
|
-
}
|
|
11709
|
-
}
|
|
11710
|
-
}
|
|
11711
|
-
}
|
|
11712
|
-
}
|
|
11713
|
-
}
|
|
11714
|
-
}
|
|
11715
|
-
}
|
|
11716
|
-
},
|
|
11717
|
-
"/ais/{id}/{entryId}/object": {
|
|
11718
|
-
"get": {
|
|
11719
|
-
"operationId": "auditableItemStreamGetEntryObject",
|
|
11720
|
-
"summary": "Get a stream entry",
|
|
11721
|
-
"tags": [
|
|
11722
|
-
"Auditable Item Stream"
|
|
11723
|
-
],
|
|
11724
|
-
"parameters": [
|
|
11725
|
-
{
|
|
11726
|
-
"name": "id",
|
|
11727
|
-
"description": "",
|
|
11728
|
-
"in": "path",
|
|
11729
|
-
"required": true,
|
|
11730
|
-
"schema": {
|
|
11731
|
-
"type": "string"
|
|
11732
|
-
},
|
|
11733
|
-
"style": "simple",
|
|
11734
|
-
"example": "ais:1234567890"
|
|
11735
|
-
},
|
|
11736
|
-
{
|
|
11737
|
-
"name": "entryId",
|
|
11738
|
-
"description": "",
|
|
11739
|
-
"in": "path",
|
|
11740
|
-
"required": true,
|
|
11741
|
-
"schema": {
|
|
11742
|
-
"type": "string"
|
|
11743
|
-
},
|
|
11744
|
-
"style": "simple",
|
|
11745
|
-
"example": "ais:1234567890:01010101010"
|
|
11746
|
-
}
|
|
11747
|
-
],
|
|
11748
|
-
"security": [
|
|
11749
|
-
{
|
|
11750
|
-
"jwtBearerAuthScheme": []
|
|
11751
|
-
}
|
|
11752
|
-
],
|
|
11753
|
-
"responses": {
|
|
11754
|
-
"200": {
|
|
11755
|
-
"description": "Response to getting an auditable item stream entry object.",
|
|
11756
|
-
"content": {
|
|
11757
|
-
"application/json": {
|
|
11758
|
-
"schema": {
|
|
11759
|
-
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
11760
|
-
},
|
|
11761
|
-
"examples": {
|
|
11762
|
-
"auditableItemStreamGetEntryObjectResponseExample": {
|
|
11763
|
-
"value": {
|
|
12421
|
+
"description": "Update an entry in the auditable item stream.",
|
|
12422
|
+
"required": true,
|
|
12423
|
+
"content": {
|
|
12424
|
+
"application/json": {
|
|
12425
|
+
"schema": {
|
|
12426
|
+
"$ref": "#/components/schemas/AuditableItemStreamUpdateEntryRequest"
|
|
12427
|
+
},
|
|
12428
|
+
"examples": {
|
|
12429
|
+
"auditableItemStreamUpdateRequestExample": {
|
|
12430
|
+
"value": {
|
|
12431
|
+
"entryObject": {
|
|
11764
12432
|
"@context": "https://schema.org",
|
|
11765
|
-
"@type": "
|
|
11766
|
-
"
|
|
11767
|
-
"description": "A description of the event"
|
|
12433
|
+
"@type": "Note",
|
|
12434
|
+
"content": "This is a simple note"
|
|
11768
12435
|
}
|
|
11769
12436
|
}
|
|
11770
12437
|
}
|
|
11771
12438
|
}
|
|
11772
12439
|
}
|
|
12440
|
+
}
|
|
12441
|
+
},
|
|
12442
|
+
"responses": {
|
|
12443
|
+
"204": {
|
|
12444
|
+
"description": "The rest request ended in success with no data."
|
|
11773
12445
|
},
|
|
11774
12446
|
"400": {
|
|
11775
12447
|
"description": "The server cannot process the request, see the content for more details.",
|
|
@@ -11852,17 +12524,17 @@
|
|
|
11852
12524
|
}
|
|
11853
12525
|
}
|
|
11854
12526
|
},
|
|
11855
|
-
"/ais/{id}/entries": {
|
|
12527
|
+
"/ais/{id}/entries/{entryId}/object": {
|
|
11856
12528
|
"get": {
|
|
11857
|
-
"operationId": "
|
|
11858
|
-
"summary": "Get
|
|
12529
|
+
"operationId": "auditableItemStreamGetEntryObject",
|
|
12530
|
+
"summary": "Get a stream entry object",
|
|
11859
12531
|
"tags": [
|
|
11860
12532
|
"Auditable Item Stream"
|
|
11861
12533
|
],
|
|
11862
12534
|
"parameters": [
|
|
11863
12535
|
{
|
|
11864
12536
|
"name": "id",
|
|
11865
|
-
"description": "
|
|
12537
|
+
"description": "",
|
|
11866
12538
|
"in": "path",
|
|
11867
12539
|
"required": true,
|
|
11868
12540
|
"schema": {
|
|
@@ -11872,67 +12544,15 @@
|
|
|
11872
12544
|
"example": "ais:1234567890"
|
|
11873
12545
|
},
|
|
11874
12546
|
{
|
|
11875
|
-
"name": "
|
|
11876
|
-
"description": "
|
|
11877
|
-
"in": "
|
|
11878
|
-
"required": false,
|
|
11879
|
-
"schema": {
|
|
11880
|
-
"type": "string"
|
|
11881
|
-
}
|
|
11882
|
-
},
|
|
11883
|
-
{
|
|
11884
|
-
"name": "includeDeleted",
|
|
11885
|
-
"description": "Whether to include deleted entries, defaults to false.",
|
|
11886
|
-
"in": "query",
|
|
11887
|
-
"required": false,
|
|
11888
|
-
"schema": {
|
|
11889
|
-
"type": "string"
|
|
11890
|
-
}
|
|
11891
|
-
},
|
|
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
|
-
{
|
|
11902
|
-
"name": "order",
|
|
11903
|
-
"description": "Retrieve the entries in ascending/descending time order, defaults to Ascending.",
|
|
11904
|
-
"in": "query",
|
|
11905
|
-
"required": false,
|
|
11906
|
-
"schema": {
|
|
11907
|
-
"$ref": "#/components/schemas/SortDirection"
|
|
11908
|
-
}
|
|
11909
|
-
},
|
|
11910
|
-
{
|
|
11911
|
-
"name": "limit",
|
|
11912
|
-
"description": "How many entries to return.",
|
|
11913
|
-
"in": "query",
|
|
11914
|
-
"required": false,
|
|
11915
|
-
"schema": {
|
|
11916
|
-
"type": "string"
|
|
11917
|
-
}
|
|
11918
|
-
},
|
|
11919
|
-
{
|
|
11920
|
-
"name": "cursor",
|
|
11921
|
-
"description": "Cursor to use for next chunk of data.",
|
|
11922
|
-
"in": "query",
|
|
11923
|
-
"required": false,
|
|
11924
|
-
"schema": {
|
|
11925
|
-
"type": "string"
|
|
11926
|
-
}
|
|
11927
|
-
},
|
|
11928
|
-
{
|
|
11929
|
-
"name": "accept",
|
|
11930
|
-
"in": "header",
|
|
12547
|
+
"name": "entryId",
|
|
12548
|
+
"description": "",
|
|
12549
|
+
"in": "path",
|
|
11931
12550
|
"required": true,
|
|
11932
12551
|
"schema": {
|
|
11933
12552
|
"type": "string"
|
|
11934
12553
|
},
|
|
11935
|
-
"style": "simple"
|
|
12554
|
+
"style": "simple",
|
|
12555
|
+
"example": "ais:1234567890:01010101010"
|
|
11936
12556
|
}
|
|
11937
12557
|
],
|
|
11938
12558
|
"security": [
|
|
@@ -11942,94 +12562,23 @@
|
|
|
11942
12562
|
],
|
|
11943
12563
|
"responses": {
|
|
11944
12564
|
"200": {
|
|
11945
|
-
"description": "Response to getting an auditable item stream
|
|
12565
|
+
"description": "Response to getting an auditable item stream entry object.",
|
|
11946
12566
|
"content": {
|
|
11947
12567
|
"application/json": {
|
|
11948
12568
|
"schema": {
|
|
11949
|
-
"$ref": "https://schema.twindev.org/
|
|
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"
|
|
12569
|
+
"$ref": "https://schema.twindev.org/json-ld/JsonLdNodeObject"
|
|
11989
12570
|
},
|
|
11990
12571
|
"examples": {
|
|
11991
|
-
"
|
|
12572
|
+
"auditableItemStreamGetEntryObjectResponseExample": {
|
|
11992
12573
|
"value": {
|
|
11993
|
-
"@context":
|
|
11994
|
-
|
|
11995
|
-
|
|
11996
|
-
|
|
11997
|
-
],
|
|
11998
|
-
"type": [
|
|
11999
|
-
"ItemList",
|
|
12000
|
-
"AuditableItemStreamEntryList"
|
|
12001
|
-
],
|
|
12002
|
-
"itemListElement": [
|
|
12003
|
-
{
|
|
12004
|
-
"@context": [
|
|
12005
|
-
"https://schema.twindev.org/ais/",
|
|
12006
|
-
"https://schema.twindev.org/common/"
|
|
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
|
-
}
|
|
12019
|
-
}
|
|
12020
|
-
]
|
|
12574
|
+
"@context": "https://schema.org",
|
|
12575
|
+
"@type": "Event",
|
|
12576
|
+
"startDate": "2011-04-09T20:00:00Z",
|
|
12577
|
+
"description": "A description of the event"
|
|
12021
12578
|
}
|
|
12022
12579
|
}
|
|
12023
12580
|
}
|
|
12024
12581
|
}
|
|
12025
|
-
},
|
|
12026
|
-
"headers": {
|
|
12027
|
-
"content-type": {
|
|
12028
|
-
"schema": {
|
|
12029
|
-
"type": "string"
|
|
12030
|
-
},
|
|
12031
|
-
"description": "e.g. application/ld+json"
|
|
12032
|
-
}
|
|
12033
12582
|
}
|
|
12034
12583
|
},
|
|
12035
12584
|
"400": {
|
|
@@ -19235,6 +19784,19 @@
|
|
|
19235
19784
|
"additionalProperties": false,
|
|
19236
19785
|
"description": "The response payload."
|
|
19237
19786
|
},
|
|
19787
|
+
"IdentityVerifiableCredentialVerifyRequest": {
|
|
19788
|
+
"type": "object",
|
|
19789
|
+
"properties": {
|
|
19790
|
+
"credential": {
|
|
19791
|
+
"$ref": "https://schema.twindev.org/w3c-did/DidVerifiableCredential"
|
|
19792
|
+
}
|
|
19793
|
+
},
|
|
19794
|
+
"required": [
|
|
19795
|
+
"credential"
|
|
19796
|
+
],
|
|
19797
|
+
"additionalProperties": false,
|
|
19798
|
+
"description": "The body parameters."
|
|
19799
|
+
},
|
|
19238
19800
|
"IdentityVerifiableCredentialVerifyResponse": {
|
|
19239
19801
|
"type": "object",
|
|
19240
19802
|
"properties": {
|
|
@@ -19671,6 +20233,25 @@
|
|
|
19671
20233
|
},
|
|
19672
20234
|
{
|
|
19673
20235
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20236
|
+
},
|
|
20237
|
+
{
|
|
20238
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20239
|
+
},
|
|
20240
|
+
{
|
|
20241
|
+
"type": "array",
|
|
20242
|
+
"items": {
|
|
20243
|
+
"anyOf": [
|
|
20244
|
+
{
|
|
20245
|
+
"type": "string"
|
|
20246
|
+
},
|
|
20247
|
+
{
|
|
20248
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20249
|
+
},
|
|
20250
|
+
{
|
|
20251
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20252
|
+
}
|
|
20253
|
+
]
|
|
20254
|
+
}
|
|
19674
20255
|
}
|
|
19675
20256
|
],
|
|
19676
20257
|
"description": "The assigner of the policy. Applies to all rules unless overridden at rule level."
|
|
@@ -19682,6 +20263,25 @@
|
|
|
19682
20263
|
},
|
|
19683
20264
|
{
|
|
19684
20265
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20266
|
+
},
|
|
20267
|
+
{
|
|
20268
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20269
|
+
},
|
|
20270
|
+
{
|
|
20271
|
+
"type": "array",
|
|
20272
|
+
"items": {
|
|
20273
|
+
"anyOf": [
|
|
20274
|
+
{
|
|
20275
|
+
"type": "string"
|
|
20276
|
+
},
|
|
20277
|
+
{
|
|
20278
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlParty"
|
|
20279
|
+
},
|
|
20280
|
+
{
|
|
20281
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPartyCollection"
|
|
20282
|
+
}
|
|
20283
|
+
]
|
|
20284
|
+
}
|
|
19685
20285
|
}
|
|
19686
20286
|
],
|
|
19687
20287
|
"description": "The assignee of the policy. Applies to all rules unless overridden at rule level."
|
|
@@ -19694,6 +20294,9 @@
|
|
|
19694
20294
|
{
|
|
19695
20295
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
19696
20296
|
},
|
|
20297
|
+
{
|
|
20298
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
20299
|
+
},
|
|
19697
20300
|
{
|
|
19698
20301
|
"type": "array",
|
|
19699
20302
|
"items": {
|
|
@@ -19703,6 +20306,9 @@
|
|
|
19703
20306
|
},
|
|
19704
20307
|
{
|
|
19705
20308
|
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAsset"
|
|
20309
|
+
},
|
|
20310
|
+
{
|
|
20311
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlAssetCollection"
|
|
19706
20312
|
}
|
|
19707
20313
|
]
|
|
19708
20314
|
}
|
|
@@ -19758,24 +20364,45 @@
|
|
|
19758
20364
|
"$ref": "https://schema.twindev.org/w3c-odrl/ConflictStrategyType"
|
|
19759
20365
|
},
|
|
19760
20366
|
"permission": {
|
|
19761
|
-
"
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
|
|
20367
|
+
"anyOf": [
|
|
20368
|
+
{
|
|
20369
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
20370
|
+
},
|
|
20371
|
+
{
|
|
20372
|
+
"type": "array",
|
|
20373
|
+
"items": {
|
|
20374
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlPermission"
|
|
20375
|
+
}
|
|
20376
|
+
}
|
|
20377
|
+
],
|
|
19765
20378
|
"description": "The permissions in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
19766
20379
|
},
|
|
19767
20380
|
"prohibition": {
|
|
19768
|
-
"
|
|
19769
|
-
|
|
19770
|
-
|
|
19771
|
-
|
|
20381
|
+
"anyOf": [
|
|
20382
|
+
{
|
|
20383
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
20384
|
+
},
|
|
20385
|
+
{
|
|
20386
|
+
"type": "array",
|
|
20387
|
+
"items": {
|
|
20388
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlProhibition"
|
|
20389
|
+
}
|
|
20390
|
+
}
|
|
20391
|
+
],
|
|
19772
20392
|
"description": "The prohibitions in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
19773
20393
|
},
|
|
19774
20394
|
"obligation": {
|
|
19775
|
-
"
|
|
19776
|
-
|
|
19777
|
-
|
|
19778
|
-
|
|
20395
|
+
"anyOf": [
|
|
20396
|
+
{
|
|
20397
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
20398
|
+
},
|
|
20399
|
+
{
|
|
20400
|
+
"type": "array",
|
|
20401
|
+
"items": {
|
|
20402
|
+
"$ref": "https://schema.twindev.org/w3c-odrl/OdrlDuty"
|
|
20403
|
+
}
|
|
20404
|
+
}
|
|
20405
|
+
],
|
|
19779
20406
|
"description": "The obligations in the policy. At least one of permission, prohibition, or obligation must be present."
|
|
19780
20407
|
},
|
|
19781
20408
|
"@id": {
|