ValidateRequest
proofDocument object
proof object[]required
Array [
idstring
Example:
did:example:xyz#proof-1
typestringrequired
Possible values: [DataIntegrityProof
]
Example:
DataIntegrityProof
proofPurposestringrequired
Example:
assertionMethod
verificationMethodstring
Example:
did:example:author#verificationKey
cryptosuitestringrequired
Example:
ecdsa-2019
createdstring
Example:
2021-01-01T00:00:00Z
expiresstring
Example:
2022-01-01T00:00:00Z
domainstring[]
Example:
["example.com"]
challengestring
Example:
1234567890
proofValuestringrequired
Example:
ProofValueString
previousProofstring[]
Example:
["PreviousProof1","PreviousProof2"]
noncestring
Example:
nonce-string
]
ValidateRequest
{
"proofDocument": {
"proof": {
"type": "DataIntegrityProof",
"created": "2023-10-12T18:25:43.511Z",
"proofPurpose": "assertionMethod",
"verificationMethod": "did:example:12345#key-1",
"cryptosuite": "ecdsa-jcs-2019",
"proofValue": "zQm..."
}
}
}