github.com/hyperledger/aries-framework-go@v0.3.2/pkg/doc/cm/testdata/issue_credential_message_university_degree.json (about) 1 { 2 "type":"https://didcomm.org/issue-credential/3.0/issue-credential", 3 "id":"7a476bd8-cc3f-4d80-b784-caeb2ff265da", 4 "pthid":"f137e0db-db7b-4776-9530-83c808a34a42", 5 "from":"did:example:issuer", 6 "to":[ 7 "did:example:holder" 8 ], 9 "attachments":[ 10 { 11 "id":"e00e11d4-906d-4c88-ba72-7c66c7113a78", 12 "media_type":"application/json", 13 "format":"dif/credential-manifest/response@v1.0", 14 "data":{ 15 "json":{ 16 "@context":[ 17 "https://www.w3.org/2018/credentials/v1", 18 "https://identity.foundation/credential-manifest/response/v1" 19 ], 20 "type":[ 21 "VerifiablePresentation", 22 "CredentialResponse" 23 ], 24 "credential_response":{ 25 "id": "a30e3b91-fb77-4d22-95fa-871689c322e2", 26 "manifest_id": "university_degree", 27 "descriptor_map":[ 28 { 29 "id": "bachelor_degree", 30 "format": "jwt_vc", 31 "path": "$.verifiableCredential[0]" 32 } 33 ] 34 }, 35 "verifiableCredential":[ 36 { 37 "@context": [ 38 "https://www.w3.org/2018/credentials/v1", 39 "https://www.w3.org/2018/credentials/examples/v1", 40 "https://w3id.org/security/jws/v1", 41 "https://trustbloc.github.io/context/vc/examples-v1.jsonld" 42 ], 43 "id": "http://example.edu/credentials/1872", 44 "type": "VerifiableCredential", 45 "credentialSubject": { 46 "id": "did:example:ebfeb1f712ebc6f1c276e12ec21" 47 }, 48 "issuer": { 49 "id": "did:example:76e12ec712ebc6f1c221ebfeb1f", 50 "name": "Example University", 51 "image": "data:image/png;base64,iVBOR" 52 }, 53 "issuanceDate": "2010-01-01T19:23:24Z", 54 "expirationDate": "2020-01-01T19:23:24Z", 55 "credentialStatus": { 56 "id": "https://example.edu/status/24", 57 "type": "CredentialStatusList2017" 58 }, 59 "evidence": [ 60 { 61 "id": "https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192d4231", 62 "type": [ 63 "DocumentVerification" 64 ], 65 "verifier": "https://example.edu/issuers/14", 66 "evidenceDocument": "DriversLicense", 67 "subjectPresence": "Physical", 68 "documentPresence": "Physical" 69 }, 70 { 71 "id": "https://example.edu/evidence/f2aeec97-fc0d-42bf-8ca7-0548192dxyzab", 72 "type": [ 73 "SupportingActivity" 74 ], 75 "verifier": "https://example.edu/issuers/14", 76 "evidenceDocument": "Fluid Dynamics Focus", 77 "subjectPresence": "Digital", 78 "documentPresence": "Digital" 79 } 80 ], 81 "termsOfUse": [ 82 { 83 "type": "IssuerPolicy", 84 "id": "http://example.com/policies/credential/4", 85 "profile": "http://example.com/profiles/credential", 86 "prohibition": [ 87 { 88 "assigner": "https://example.edu/issuers/14", 89 "assignee": "AllVerifiers", 90 "target": "http://example.edu/credentials/3732", 91 "action": [ 92 "Archival" 93 ] 94 } 95 ] 96 } 97 ], 98 "refreshService": { 99 "id": "https://example.edu/refresh/3732", 100 "type": "ManualRefreshService2018" 101 }, 102 "title": "Bachelor of Applied Science", 103 "minor": "Electrical Systems Specialty", 104 "withDistinction": true, 105 "yearsStudied": 4 106 } 107 ] 108 } 109 } 110 } 111 ] 112 }