CredentialOfferMessage
@contextstring[]required
Example:
["https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"]typestringrequired
Example:
CredentialOfferMessageissuerstringrequired
credentials object[]required
Array [
idstringrequired
Unique identifier for the credential object
Example:
db8a34c7-aa42-4aae-bb57-69cd805ef01atypestringrequired
Type identifier
Example:
CredentialObjectcredentialTypestring[]required
Types of credential being offered
offerReasonstringrequired
Reason for offering this credential
bindingMethodsstring[]required
Supported binding methods
profilestringrequired
Supported cryptographic methods
issuancePolicy object
Issuance policy definition
idstringrequired
Example:
44d1f3d6-f65d-4a7c-84db-f92ba826305einput_descriptors object[]required
Array [
idstringrequired
Example:
44d1f3d6-f65d-4a7c-84db-f92ba826305enamestring
Example:
Example Input Descriptorpurposestring
Example:
Example Purposeformat object
jwt_vp object
algstring[]required
Example:
["Ed25519"]constraints objectrequired
fields object[]
Array [
pathstring[]required
Example:
["$.example"]idstring
Example:
field-idpurposestring
Example:
Field purposenamestring
Example:
Field namefilter object
constobject
Example:
example-constenumnumber[]
Example:
[1,"two"]exclusiveMinimumobject
Example:
0exclusiveMaximumobject
Example:
100formatstring
Example:
date-timeminLengthnumber
Example:
1maxLengthnumber
Example:
255minimumobject
Example:
0maximumobject
Example:
100not object
constobject
Example:
example-constenumnumber[]
Example:
[1,"two"]exclusiveMinimumobject
Example:
0exclusiveMaximumobject
Example:
100formatstring
Example:
date-timeminLengthnumber
Example:
1maxLengthnumber
Example:
255minimumobject
Example:
0maximumobject
Example:
100not
Example:
nullpatternstring
Example:
^[A-Za-z]+$contains
Example:
nullitemsobject
Example:
{"property":{"type":"string","format":"default"}}patternstring
Example:
^[A-Za-z]+$contains object
constobject
Example:
example-constenumnumber[]
Example:
[1,"two"]exclusiveMinimumobject
Example:
0exclusiveMaximumobject
Example:
100formatstring
Example:
date-timeminLengthnumber
Example:
1maxLengthnumber
Example:
255minimumobject
Example:
0maximumobject
Example:
100not
Example:
nullpatternstring
Example:
^[A-Za-z]+$contains
Example:
nullitemsobject
Example:
{"property":{"type":"string","format":"default"}}itemsobject
Example:
{"property":{"type":"string","format":"default"}}typestringrequired
Example:
stringoptionalboolean
Example:
true]
limit_disclosurestring
Possible values: [required, preferred]
Example:
preferred]
namestring
Example:
Example Presentation Definitionpurposestring
Example:
Example Purposeformat object
jwt_vp object
algstring[]required
Example:
["Ed25519"]]
CredentialOfferMessage
{
"@context": [
"https://w3id.org/dspace-dcp/v1.0/dcp.jsonld"
],
"type": "CredentialOfferMessage",
"issuer": "string",
"credentials": [
{
"id": "db8a34c7-aa42-4aae-bb57-69cd805ef01a",
"type": "CredentialObject",
"credentialType": [
"string"
],
"offerReason": "string",
"bindingMethods": [
"string"
],
"profile": "string",
"issuancePolicy": {
"id": "44d1f3d6-f65d-4a7c-84db-f92ba826305e",
"input_descriptors": [
{
"id": "44d1f3d6-f65d-4a7c-84db-f92ba826305e",
"name": "Example Input Descriptor",
"purpose": "Example Purpose",
"format": {
"jwt_vp": {
"alg": [
"ES256"
]
}
},
"constraints": {
"fields": [],
"limit_disclosure": "preferred"
}
}
],
"name": "Example Presentation Definition",
"purpose": "Example Purpose",
"format": {
"jwt_vp": {
"alg": [
"ES256"
]
}
}
}
}
]
}