]> git.mxchange.org Git - friendica.git/blob - static/security-data-integrity-v1.jsonld
Issue 12815: JsonLD parsing problems with data-integrity
[friendica.git] / static / security-data-integrity-v1.jsonld
1 {
2   "@context": {
3     "id": "@id",
4     "type": "@type",
5     "proof": {
6       "@id": "https://w3id.org/security#proof",
7       "@type": "@id"
8     },
9     "DataIntegrityProof": {
10       "@id": "https://w3id.org/security#DataIntegrityProof",
11       "@context": {
12         "@protected": true,
13         "id": "@id",
14         "type": "@type",
15         "challenge": "https://w3id.org/security#challenge",
16         "created": {
17           "@id": "http://purl.org/dc/terms/created",
18           "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
19         },
20         "domain": "https://w3id.org/security#domain",
21         "expires": {
22           "@id": "https://w3id.org/security#expiration",
23           "@type": "http://www.w3.org/2001/XMLSchema#dateTime"
24         },
25         "nonce": "https://w3id.org/security#nonce",
26         "proofPurpose": {
27           "@id": "https://w3id.org/security#proofPurpose",
28           "@type": "@vocab",
29           "@context": {
30             "@protected": true,
31             "id": "@id",
32             "type": "@type",
33             "assertionMethod": {
34               "@id": "https://w3id.org/security#assertionMethod",
35               "@type": "@id",
36               "@container": "@set"
37             },
38             "authentication": {
39               "@id": "https://w3id.org/security#authenticationMethod",
40               "@type": "@id",
41               "@container": "@set"
42             },
43             "capabilityInvocation": {
44               "@id": "https://w3id.org/security#capabilityInvocationMethod",
45               "@type": "@id",
46               "@container": "@set"
47             },
48             "capabilityDelegation": {
49               "@id": "https://w3id.org/security#capabilityDelegationMethod",
50               "@type": "@id",
51               "@container": "@set"
52             },
53             "keyAgreement": {
54               "@id": "https://w3id.org/security#keyAgreementMethod",
55               "@type": "@id",
56               "@container": "@set"
57             }
58           }
59         },
60         "cryptosuite": "https://w3id.org/security#cryptosuite",
61         "proofValue": {
62           "@id": "https://w3id.org/security#proofValue",
63           "@type": "https://w3id.org/security#multibase"
64         },
65         "verificationMethod": {
66           "@id": "https://w3id.org/security#verificationMethod",
67           "@type": "@id"
68         }
69       }
70     }
71   }
72 }