Canonical URL

LoanAttestation Credential

A certificate that attests that a recipient has obtained a loan from an accredited organization.

Canonical URL
Property Description
amount
The amount of the loan that the provider has granted to the recipient.
issuedBy
The organization issuing the verifiable credential.
loanType
The type of a loan or credit, e.g. a CEDIES student loan.
provider
The organization that grants the loan to the beneficiary, e.g. a bank.
recipient
The recipient of the amount granted by the provider.
Example

The following JSON object is an example of how data can be expressed in the credentialSubject section of a LoanAttestation verifiable credential.

This example represents a LoanAttestation that a bank, named “Bank A”, issued to a recipient, Paul Durand residing at 21 rue Glesener, L-1631 Luxembourg, Luxembourg, after approving his student loan application.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
  "amount": {
    "value": 1632,
    "currency": "EUR"
  },
  "issuedBy": {
    "logo": "https://example.com/logo.png",
    "name": "Postal Service A"
  },
  "loanType": "Student loan",
  "provider": {
    "legalname": "Bank A",
    "logo": "https://example.com/logo.png",
    "url": "https://example.com/",
    "vatID": "LU12345672",
    "reference": "reg_0987654321234",
  },
  "recipient": {
    "address": "21 rue Glesener, L-1631 Luxembourg, Luxembourg",
    "familyName": "Durand",
    "givenName": "Paul"
  }
}
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
  "credentialPreview": {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      {
        "description": "https://schema.org/description",
        "name": "https://schema.org/name",
        "LoanAttestation": {
          "@context": {
            "@protected": true,
            "@version": 1.1,
            "amount": {
              "@context": {
                "@protected": true,
                "@version": 1.1,
                "currency": "schema:currency",
                "schema": "https://schema.org/",
                "type": "schema:MonetaryAmount",
                "value": "schema:value"
              },
              "@id": "https://vocabulary.trustmydata.compell.io/properties/amount"
            },
            "id": "@id",
            "issuedBy": {
              "@context": {
                "@protected": true,
                "@version": 1.1,
                "logo": {
                  "@id": "schema:logo",
                  "@type": "@id"
                },
                "name": "schema:name",
                "schema": "https://schema.org/",
                "type": "schema:Organization"
              },
              "@id": "schema:issuedBy"
            },
            "loanType": "https://vocabulary.trustmydata.compell.io/properties/loanType",
            "provider": {
              "@context": {
                "@protected": true,
                "@version": 1.1,
                "legalName": "schema:legalName",
                "logo": {
                  "@id": "schema:logo",
                  "@type": "@id"
                },
                "schema": "https://schema.org/",
                "type": "schema:Organization",
                "url": {
                  "@id": "schema:url",
                  "@type": "@id"
                },
                "vatID": "schema:vatID"
              },
              "@id": "schema:provider"
            },
            "recipient": {
              "@context": {
                "@protected": true,
                "@version": 1.1,
                "address": "schema:address",
                "familyName": "schema:familyName",
                "givenName": "schema:givenName",
                "schema": "https://schema.org/",
                "type": "schema:Person"
              },
              "@id": "schema:recipient"
            },
            "schema": "https://schema.org/",
            "type": "@type"
          },
          "@id": "https://vocabulary.trustmydata.compell.io/credentials/LoanAttestation"
        }
      }
    ],
    "id": "urn:...",
    "type": [
      "VerifiableCredential",
      "LoanAttestation"
    ],
    "credentialSubject": {
      "id": "did:...",
      "type": "LoanAttestation",
      "amount": {
        "value": 1632,
        "currency": "EUR"
      },
      "issuedBy": {
        "logo": "https://example.com/logo.png",
        "name": "Postal Service A"
      },
      "loanType": "Student loan",
      "provider": {
        "legalname": "Bank A",
        "logo": "https://example.com/logo.png",
        "url": "https://example.com/",
        "vatID": "LU12345672",
        "reference": "reg_0987654321234",
      },
      "recipient": {
        "address": "21 rue Glesener, L-1631 Luxembourg, Luxembourg",
        "familyName": "Durand",
        "givenName": "Paul"
      }
    },
    "issuer": "did:...",
    "issuanceDate": "2021-11-27T10:22:40Z",
    "credentialSchema": {
      "id": "...",
      "type": "JsonSchemaValidator2021"
    },
    "description": [
      {
        "@language": "en",
        "@value": "A certificate that attests that a recipient has obtained a loan from an accredited organization."
      }
    ],
    "name": [
      {
        "@language": "en",
        "@value": "Loan attestation"
      }
    ]
  },
  "expires": "2024-11-27T10:22:40Z",
  "type": "CredentialOffer",
}
Copyright © 2021 Compellio S.A., Talao SAS. All rights reserved.
Last modified on Dec 11, 2021 17:50