DiVpProof
proof_typestringrequired
Possible values: [jwt, di_vp, attestation]
Example:
di_vpdi_vp object
@contextstring[]required
Example:
["https://www.w3.org/ns/credentials/v2"]typestring[]required
Example:
["VerifiablePresentation"]holderstringrequired
Example:
holder-sampleproof objectrequired
idstring
Example:
did:example:xyz#proof-1typestringrequired
Possible values: [DataIntegrityProof]
Example:
DataIntegrityProofproofPurposestringrequired
Example:
assertionMethodverificationMethodstring
Example:
did:example:author#verificationKeycryptosuitestringrequired
Example:
ecdsa-2019createdstring
Example:
2021-01-01T00:00:00Zexpiresstring
Example:
2022-01-01T00:00:00Zdomainstring[]
Example:
["example.com"]challengestring
Example:
1234567890proofValuestringrequired
Example:
ProofValueStringpreviousProofstring[]
Example:
["PreviousProof1","PreviousProof2"]noncestring
Example:
nonce-stringDiVpProof
{
"proof_type": "di_vp",
"di_vp": {
"@context": [
"https://www.w3.org/ns/credentials/v2"
],
"type": [
"VerifiablePresentation"
],
"holder": "holder-sample",
"proof": {
"id": "proof-id-sample",
"type": "DataIntegrityProof",
"cryptosuite": "eddsa",
"proofPurpose": "authentication",
"verificationMethod": "verification-method-sample",
"created": "2023-10-10T00:00:00Z",
"expires": "2023-10-20T00:00:00Z",
"domain": "example.com",
"challenge": "challenge-sample",
"proofValue": "proof-value-sample"
}
}
}