ImmediateCredentialResponse
credentials object[]required
Array [
credential objectrequired
oneOf
- string
- VerifiableCredential
string
@contextstring[]required
Possible values: [https://www.w3.org/ns/credentials/v2
, string
]
Example:
["https://www.w3.org/ns/credentials/v2"]
typestring[]required
Example:
["VerifiableCredential","TestCredential"]
idstring
Example:
http://example.edu/credentials/1872
credentialSubject objectrequired
idstringrequired
Example:
did:example:subject-1
issuerstringrequired
Example:
did:example:issuer
issuanceDatestring
Example:
2020-01-01T00:00:00Z
expirationDatestring
Example:
2030-01-01T00:00:00Z
validFromstring
Example:
2020-01-01T00:00:00Z
validUntilstring
Example:
2030-01-01T00:00:00Z
evidence object
property name*any
Example:
{"type":"DocumentVerification","verifier":"did:example:verifier"}
credentialStatus object
oneOf
- CredentialStatus
- array
idstringrequired
Example:
did:example:credential-status
typestringrequired
Possible values: [BitstringStatusListEntry
]
Example:
BitstringStatusListEntry
statusPurposestringrequired
Possible values: [refresh
, revocation
, suspension
, message
]
Example:
suspension
statusListIndexstringrequired
Example:
0
statusListCredentialstringrequired
Example:
did:example:status-credential
statusSizestring
Example:
10
statusMessage object[]
Array [
statusstringrequired
Example:
deadbeef
messagestringrequired
Example:
Status message detail
]
statusReferencestring
Example:
https://example.com/status
Array [
idstringrequired
Example:
did:example:credential-status
typestringrequired
Possible values: [BitstringStatusListEntry
]
Example:
BitstringStatusListEntry
statusPurposestringrequired
Possible values: [refresh
, revocation
, suspension
, message
]
Example:
suspension
statusListIndexstringrequired
Example:
0
statusListCredentialstringrequired
Example:
did:example:status-credential
statusSizestring
Example:
10
statusMessage object[]
Array [
statusstringrequired
Example:
deadbeef
messagestringrequired
Example:
Status message detail
]
statusReferencestring
Example:
https://example.com/status
]
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
]
]
notification_idstring
Example:
notification-id-123
ImmediateCredentialResponse
{
"credentials": [
{
"credential": "credential-token-sample"
}
],
"notification_id": "notification-id-123"
}