Canonical URL

Over18 Credential

A certificate stating that a person is legally over 18 years of age.

Canonical URL
Property Description
issuedBy
The organization issuing the verifiable credential.
Example

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

1
2
3
4
5
6
{
  "issuedBy": {
    "logo": "https://example.com/logo.png",
    "name": "Municipality A"
  }
}
 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
{
  "credentialPreview": {
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      {
        "description": "https://schema.org/description",
        "name": "https://schema.org/name",
        "Over18": {
          "@context": {
            "@protected": true,
            "@version": 1.1,
            "id": "@id",
            "issuedBy": {
              "@context": {
                "@protected": true,
                "@version": 1.1,
                "logo": {
                  "@id": "schema:image",
                  "@type": "@id"
                },
                "name": "schema:name"
              },
              "@id": "schema:issuedBy"
            },
            "schema": "https://schema.org/",
            "type": "@type"
          },
          "@id": "https://vocabulary.trustmydata.compell.io/credentials/Over18"
        }
      }
    ],
    "id": "urn:...",
    "type": [
      "VerifiableCredential",
      "Over18"
    ],
    "credentialSubject": {
      "id": "did:...",
      "type": "Over18",
      "issuedBy": {
        "logo": "https://example.com/logo.png",
        "name": "Municipality A"
      }
    },
    "issuer": "did:...",
    "issuanceDate": "2021-11-27T10:22:40Z",
    "description": [
      {
        "@language": "en",
        "@value": "This signed electronic certificate proves the legal majority of its bearer."
      }
    ],
    "name": [
      {
        "@language": "en",
        "@value": "Over 18 proof"
      }
    ]
  },
  "expires": "2024-11-27T10:22:40Z",
  "type": "CredentialOffer",
}
Copyright © 2022 Compellio S.A. All rights reserved.
Last modified on Nov 26, 2022 14:32