Simplified context definitions
This commit is contained in:
@@ -7,11 +7,8 @@
|
|||||||
"@type": "@id"
|
"@type": "@id"
|
||||||
},
|
},
|
||||||
"DataIntegrityProof": {
|
"DataIntegrityProof": {
|
||||||
"@id": "https://w3id.org/security#DataIntegrityProof",
|
"@id": "https://w3id.org/security#DataIntegrityProof"
|
||||||
"@context": {
|
},
|
||||||
"@protected": true,
|
|
||||||
"id": "@id",
|
|
||||||
"type": "@type",
|
|
||||||
"challenge": "https://w3id.org/security#challenge",
|
"challenge": "https://w3id.org/security#challenge",
|
||||||
"created": {
|
"created": {
|
||||||
"@id": "http://purl.org/dc/terms/created",
|
"@id": "http://purl.org/dc/terms/created",
|
||||||
@@ -23,13 +20,19 @@
|
|||||||
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
|
||||||
},
|
},
|
||||||
"nonce": "https://w3id.org/security#nonce",
|
"nonce": "https://w3id.org/security#nonce",
|
||||||
|
"cryptosuite": "https://w3id.org/security#cryptosuite",
|
||||||
|
"proofValue": {
|
||||||
|
"@id": "https://w3id.org/security#proofValue",
|
||||||
|
"@type": "https://w3id.org/security#multibase"
|
||||||
|
},
|
||||||
|
"verificationMethod": {
|
||||||
|
"@id": "https://w3id.org/security#verificationMethod",
|
||||||
|
"@type": "@id"
|
||||||
|
},
|
||||||
"proofPurpose": {
|
"proofPurpose": {
|
||||||
"@id": "https://w3id.org/security#proofPurpose",
|
"@id": "https://w3id.org/security#proofPurpose",
|
||||||
"@type": "@vocab",
|
"@type": "@vocab"
|
||||||
"@context": {
|
},
|
||||||
"@protected": true,
|
|
||||||
"id": "@id",
|
|
||||||
"type": "@type",
|
|
||||||
"assertionMethod": {
|
"assertionMethod": {
|
||||||
"@id": "https://w3id.org/security#assertionMethod",
|
"@id": "https://w3id.org/security#assertionMethod",
|
||||||
"@type": "@id",
|
"@type": "@id",
|
||||||
@@ -56,17 +59,4 @@
|
|||||||
"@container": "@set"
|
"@container": "@set"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"cryptosuite": "https://w3id.org/security#cryptosuite",
|
|
||||||
"proofValue": {
|
|
||||||
"@id": "https://w3id.org/security#proofValue",
|
|
||||||
"@type": "https://w3id.org/security#multibase"
|
|
||||||
},
|
|
||||||
"verificationMethod": {
|
|
||||||
"@id": "https://w3id.org/security#verificationMethod",
|
|
||||||
"@type": "@id"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -3,11 +3,8 @@
|
|||||||
"id": "@id",
|
"id": "@id",
|
||||||
"type": "@type",
|
"type": "@type",
|
||||||
"Multikey": {
|
"Multikey": {
|
||||||
"@id": "https://w3id.org/security#Multikey",
|
"@id": "https://w3id.org/security#Multikey"
|
||||||
"@context": {
|
},
|
||||||
"@protected": true,
|
|
||||||
"id": "@id",
|
|
||||||
"type": "@type",
|
|
||||||
"controller": {
|
"controller": {
|
||||||
"@id": "https://w3id.org/security#controller",
|
"@id": "https://w3id.org/security#controller",
|
||||||
"@type": "@id"
|
"@type": "@id"
|
||||||
@@ -26,5 +23,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user