---
# System prepended metadata

title: Sample use cases

---

# Sample use cases

## Verifiable Credentials

### Profile

```json
{
  "credentialSubject": {
    "name": "Simonas Karuzas",
    "nickname": "simonas-notcat",
    "picture": "https://avatars1.githubusercontent.com/u/16773277?u=675e39497910b0eed56217d1e238cbaf4a52105d&v=4",
    "url": "https://github.com/simonas-notcat",
    "id": "did:ethr:rinkeby:0x7ffd9050812afe18718b838e5b24c4f725ae8992"
  },
  "issuer": {
    "id": "did:ethr:rinkeby:0x7ffd9050812afe18718b838e5b24c4f725ae8992"
  },
  "type": [
    "VerifiableCredential",
    "Profile"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1"
  ],
  "issuanceDate": "2021-01-11T09:21:10.000Z",
  "proof": {
    "type": "JwtProof2020",
    "jwt": "eyJ0..."
  }
}
```

Self-issued or issued by `did:web:veramo.dev` ?

### Reaction

#### Generic URL reaction

```json
{
  "credentialSubject": {
    "emoji": "👍",
    "id": "https://decrypt.co/54338/ethereum-co-founder-jack-dorsey-decentralize-twitter"
  },
  "issuer": {
    "id": "did:ethr:rinkeby:0x7ffd9050812afe18718b838e5b24c4f725ae8992"
  },
  "type": [
    "VerifiableCredential",
    "Reaction"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1"
  ],
  "issuanceDate": "2021-01-11T16:18:42.000Z",
  "proof": {
    "type": "JwtProof2020",
    "jwt": "..."
  }
}
```

Do we need to include metadata?


```json
}
  "credentialSubject": {
    "emoji": "👍",
    "title": "Ethereum Co-founder Wants to Help Jack Dorsey Decentralize Twitter",
    "description": "Ethereum co-founder Charles Hoskinson is working on a social media project, and wants Twitter’s decentralization effort Blue Sky opened up",
    "image": "https://cdn.decrypt.co/resize/1024/height/512/wp-content/uploads/2021/01/twitter-blue-sky-decentralization-ethereum-cardano-gID_6.jpg",
    "id": "https://decrypt.co/54338/ethereum-co-founder-jack-dorsey-decentralize-twitter"
  }
}
```

#### Discord (slack) message reaction

```json
{
  "credentialSubject": {
    "message": {
      "author": "did:web:sun.veramo.io:mercury:306063654845939723",
      "channel": {
        "id": "777475935183831060",
        "name": "bot-experiments",
        "nsfw": false
      },
      "content": "Hello!"
    },
    "emoji": "👍",
    "id": "https://discord.com/channels/776843116899991562/777475935183831060/798224361072623637"
  },
  "issuer": {
    "id": "did:web:sun.veramo.io:mercury:306063654845939723"
  },
  "type": [
    "VerifiableCredential",
    "Mercury",
    "Reaction"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1"
  ],
  "issuanceDate": "2021-01-11T16:18:42.000Z",
  "proof": {
    "type": "JwtProof2020",
    "jwt": "..."
  }
}
```

Do we need to include message contents in reaction VC?


### Community member

```json
{
  "credentialSubject": {
    "level": "1",
    "id": "did:ethr:rinkeby:0x7ffd9050812afe18718b838e5b24c4f725ae8992"
  },
  "issuer": {
    "id": "did:web:sun.veramo.io"
  },
  "type": [
    "VerifiableCredential",
    "Member"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1"
  ],
  "issuanceDate": "2021-01-13T10:36:39.000Z",
  "proof": {
    "type": "JwtProof2020",
    "jwt": "..."
  }
}
```

### Kudos

```json
{
  "credentialSubject": {
    "kudos": "Thanks for fixing this!",
    "url": "https://github.com/uport-project/veramo-website/pull/40",
    "id": "did:web:mesh.xyz:gregory.bugyis"
  },
  "issuer": {
    "id": "did:web:mesh.xyz:jason.healy"
  },
  "type": [
    "VerifiableCredential",
    "Kudos"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1"
  ],
  "issuanceDate": "2021-01-13T10:36:39.000Z",
  "proof": {
    "type": "JwtProof2020",
    "jwt": "..."
  }
}
```


### Message

```json
{
  "credentialSubject": {
    "channel": {
      "id": "777475935183831060",
      "name": "bot-experiments",
      "nsfw": false
    },
    "content": "I attest that I’m from Mars",
    "id": "https://discord.com/channels/776843116899991562/777475935183831060/783017490686410782"
  },
  "issuer": {
    "id": "did:web:sun.veramo.io:mercury:747058282211835924"
  },
  "type": [
    "VerifiableCredential",
    "Mercury",
    "Message"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1"
  ],
  "issuanceDate": "2020-11-30T17:11:57.000Z",
  "proof": {
    "type": "JwtProof2020",
    "jwt": "..."
  }
}
```


## Apps 

### Slack bot

* Shortcut to create VC from a message
* `/kudos @jason.healy Thanks for fixing this bug https://github.com/uport-project/veramo-website/pull/40`

### Github `uport-project/veramo` Actions

Automatically issue credentials for:

* Creating the first issue
* Submitting the first PR
* PR merged into master

## Agents

### veramo.dev

heroku

### mesh.xyz

aws