# Verite and output descriptors
Verite examples include this [doc source](https://verite.id/verite/appendix/messages#credential-manifest).
Note `output_descriptors`. This shows structurally a preview of what the user's gonna get
```json
{
"id": "KYCAMLManifest",
"version": "0.1.0",
"issuer": {
"id": "did:web:demos.verite.id",
"name": "Verite",
"styles": {}
},
"format": {
"jwt_vc": {
"alg": [
"EdDSA"
]
},
"jwt_vp": {
"alg": [
"EdDSA"
]
}
},
"output_descriptors": [
{
"id": "KYCAMLCredential",
"schema": "https://verite.id/definitions/schemas/0.0.1/KYCAMLAttestation",
"name": "Proof of KYC from Verite",
"description": "Attestation that Verite has completed KYC/AML verification for this subject",
"display": {
"title": {
"text": "Verite KYC Attestation"
},
"subtitle": {
"path": [
"$.approvalDate",
"$.vc.approvalDate"
],
"fallback": "Includes date of approval"
},
"description": {
"text": "The KYC authority processes Know Your Customer and Anti-Money Laundering analysis, potentially employing a number of internal and external vendor providers."
},
"properties": [
{
"label": "Process",
"path": [
"$.KYCAMLAttestation.process"
],
"schema": {
"type": "string"
}
},
{
"label": "Approved At",
"path": [
"$.KYCAMLAttestation.approvalDate"
],
"schema": {
"type": "string",
"format": "date-time"
}
}
]
},
"styles": {
"thumbnail": {
"uri": "http://192.168.2.3:3000/img/kyc-aml-thumbnail.png",
"alt": "Verite Logo"
},
"hero": {
"uri": "http://192.168.2.3:3000/img/kyc-aml-hero.png",
"alt": "KYC+AML Visual"
},
"background": {
"color": "#EC4899"
},
"text": {
"color": "#FFFFFF"
}
}
}
],
"presentation_definition": {
"id": "ProofOfControlPresentationDefinition",
"format": {
"jwt_vp": {
"alg": [
"EdDSA"
]
}
},
"input_descriptors": [
{
"id": "proofOfIdentifierControlVP",
"name": "Proof of Control Verifiable Presentation",
"purpose": "A VP establishing proof of identifier control over the DID.",
"constraints": {
"fields": [
{
"id": "holder",
"path": [
"$.holder"
],
"purpose": "The VP should contain a DID in the holder, which is the same DID that signs the VP. This DID will be used as the subject of the issued VC"
}
]
}
}
]
}
}
```
[Output descriptors are defined in the CM spec](https://identity.foundation/credential-manifest/#output-descriptor).
Notes:
- display `title`, `subtitle`, `description`, are meant to be generic instructions for a wallet preview
- `properties` are specific to the credential
- `styles` are also generic wallet preview thingies like logo
But at this point, you can just point ppl to the CM spec
```json
"output_descriptors": [
{
"id": "KYCAMLCredential",
"schema": "https://verite.id/definitions/schemas/0.0.1/KYCAMLAttestation",
"name": "Proof of KYC from Verite",
"description": "Attestation that Verite has completed KYC/AML verification for this subject",
"display": {
"title": {
"text": "Verite KYC Attestation"
},
"subtitle": {
"path": [
"$.approvalDate",
"$.vc.approvalDate"
],
"fallback": "Includes date of approval"
},
"description": {
"text": "The KYC authority processes Know Your Customer and Anti-Money Laundering analysis, potentially employing a number of internal and external vendor providers."
},
"properties": [
{
"label": "Process",
"path": [
"$.KYCAMLAttestation.process"
],
"schema": {
"type": "string"
}
},
{
"label": "Approved At",
"path": [
"$.KYCAMLAttestation.approvalDate"
],
"schema": {
"type": "string",
"format": "date-time"
}
}
]
},
"styles": {
"thumbnail": {
"uri": "http://192.168.2.3:3000/img/kyc-aml-thumbnail.png",
"alt": "Verite Logo"
},
"hero": {
"uri": "http://192.168.2.3:3000/img/kyc-aml-hero.png",
"alt": "KYC+AML Visual"
},
"background": {
"color": "#EC4899"
},
"text": {
"color": "#FFFFFF"
}
}
}
]
```