VerifiablePresentationJsonLd
vp objectrequired
{"@context":"https://www.w3.org/ns/credentials/v2"}
["VerifiablePresentation"]
3f2592da-ffc9-40cb-a336-a9daa9343ce8
verifiableCredential objectrequired
- VerifiableCredential
- MOD2
Possible values: [https://www.w3.org/2018/credentials/v1
, https://www.w3.org/ns/credentials/v2
, https://w3id.org/security/suites/jws-2020/v1
, https://w3id.org/security/data-integrity/v2
, string
]
["https://www.w3.org/2018/credentials/v1"]
["VerifiableCredential","TestCredential"]
http://example.edu/credentials/1872
credentialSubject objectrequired
did:example:subject-1
did:example:issuer
2020-01-01T00:00:00Z
2030-01-01T00:00:00Z
2020-01-01T00:00:00Z
2030-01-01T00:00:00Z
evidence object
{"type":"DocumentVerification","verifier":"did:example:verifier"}
credentialStatus object
- CredentialStatus
- MOD2
["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]
CredentialStatus
Possible values: [RECEIVED
, REJECTED
, ISSUED
]
["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]
CredentialStatus
Possible values: [RECEIVED
, REJECTED
, ISSUED
]
proof object[]required
Possible values: [JsonWebSignature2020
, DataIntegrityProof
]
JsonWebSignature2020
assertionMethod
Possible values: [https://www.w3.org/2018/credentials/v1
, https://www.w3.org/ns/credentials/v2
, https://w3id.org/security/suites/jws-2020/v1
, https://w3id.org/security/data-integrity/v2
, string
]
["https://www.w3.org/2018/credentials/v1"]
["VerifiableCredential","TestCredential"]
http://example.edu/credentials/1872
credentialSubject objectrequired
did:example:subject-1
did:example:issuer
2020-01-01T00:00:00Z
2030-01-01T00:00:00Z
2020-01-01T00:00:00Z
2030-01-01T00:00:00Z
evidence object
{"type":"DocumentVerification","verifier":"did:example:verifier"}
credentialStatus object
- CredentialStatus
- MOD2
["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]
CredentialStatus
Possible values: [RECEIVED
, REJECTED
, ISSUED
]
["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]
CredentialStatus
Possible values: [RECEIVED
, REJECTED
, ISSUED
]
proof object[]required
Possible values: [JsonWebSignature2020
, DataIntegrityProof
]
JsonWebSignature2020
assertionMethod
proof objectrequired
- JsonWebSignature2020
- DataIntegrityProof
Possible values: [JsonWebSignature2020
]
JsonWebSignature2020
assertionMethod
2020-01-01T00:00:00Z
eyJhbGciOiJFUzI1NiIsInR5cCI...
did:example:123456#key-1
Possible values: [DataIntegrityProof
]
DataIntegrityProof
assertionMethod
did:example:xyz#proof-1
did:example:author#verificationKey
ecdsa-2019
2021-01-01T00:00:00Z
2022-01-01T00:00:00Z
["example.com"]
1234567890
ProofValueString
["PreviousProof1","PreviousProof2"]
nonce-string
{
"vp": {
"@context": {
"@context": "https://www.w3.org/ns/credentials/v2"
},
"type": [
"VerifiablePresentation"
],
"id": "3f2592da-ffc9-40cb-a336-a9daa9343ce8",
"verifiableCredential": {
"@context": [
"https://www.w3.org/2018/credentials/v1"
],
"type": [
"VerifiableCredential",
"TestCredential"
],
"id": "http://example.edu/credentials/1872",
"credentialSubject": {
"id": "did:example:subject-1",
"customProp": "value"
},
"issuer": "did:example:issuer",
"issuanceDate": "2020-01-01T00:00:00Z",
"expirationDate": "2030-01-01T00:00:00Z",
"validFrom": "2020-01-01T00:00:00Z",
"validUntil": "2030-01-01T00:00:00Z",
"evidence": {
"type": "DocumentVerification",
"verifier": "did:example:verifier"
},
"credentialStatus": {
"@context": [
"https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"
],
"type": "CredentialStatus",
"issuerPid": "string",
"holderPid": "string",
"status": "RECEIVED"
},
"proof": [
{
"type": "JsonWebSignature2020",
"created": "2020-01-01T00:00:00Z",
"proofPurpose": "assertionMethod",
"jws": "eyJhbGciOiJFUzI1NiIsInR5cCI...",
"verificationMethod": "did:example:123456#key-1"
}
]
},
"proof": {
"type": "JsonWebSignature2020",
"proofPurpose": "assertionMethod",
"created": "2020-01-01T00:00:00Z",
"jws": "eyJhbGciOiJFUzI1NiIsInR5cCI...",
"verificationMethod": "did:example:123456#key-1"
}
}
}