Canonical URL

ClubMembershipCertificate Credential

The credential issued for membership in a club.

Canonical URL
Property Description
member
The personal details of the member
serviceCardNumber
The service card number of the member
issuedBy
The details of the membership certificate issuer
Example

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "id": "<vc_id>",
    "member": {
        "familyName": "Doe",
        "givenName": "Jane",
        "birthDate": "1980-04-17",
        "address": "5th Av.",
        "knowsLanguage": "English",
        "honorificPrefix": "Ms.",
        "email": "jane@somewhere.com",
        "telephone": "8889997772"
    },
    "serviceCardNumber": "1234567",
    "issuedBy": {
        "logo": "https://1000logos.net/wp-content/uploads/2021/04/ACME-logo.png",
        "name": "Acme Incorporated",
        "address": "L.A."
    },
    "type": "ClubMembershipCertificate"
}

  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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
	"credentialPreview": {
		"@context": [
			"https://www.w3.org/2018/credentials/v1",
			"https://w3id.org/vc-revocation-list-2020/v1",
			{
				"description": "https://schema.org/description",
				"name": "https://schema.org/name",
				"ClubMembershipCertificate": {
					"@id": "https://vocabulary.vc.compell.io/credentials/ClubMembershipCertificate",
					"@context": {
						"@version": 1.1,
						"@protected": true,
						"schema": "https://schema.org/",
						"id": "@id",
						"type": "@type",
						"member": {
							"@context": {
								"@protected": true,
								"@version": 1.1,
								"type": "schema:Person",
								"familyName": "schema:familyName",
								"givenName": "schema:givenName",
								"birthDate": "schema:birthDate",
								"address": "schema:address",
								"knowsLanguage": "schema:knowsLanguage",
								"honorificPrefix": "schema:honorificPrefix",
								"email": "schema:email",
								"telephone": "schema:telephone"
							},
							"@id": "https://vocabulary.vc.compell.io/properties/performance"
						},
						"serviceCardNumber": "schema:identifier",
						"issuedBy": {
							"@context": {
								"@protected": true,
								"@version": 1.1,
								"logo": {
									"@id": "schema:logo",
									"@type": "@id"
								},
								"name": "schema:name",
								"address": "schema:address",
								"type": "schema:Organization",
								"schema": "https://schema.org/"
							},
							"@id": "https://vocabulary.vc.compell.io/properties/issuedBy"
						}
					}
				}
			}
		],
		"id": "",
		"type": [
			"VerifiableCredential",
			"ClubMembershipCertificate"
		],
		"credentialSubject": {
			"id": "",
			"member": {
				"familyName": "",
				"givenName": "",
				"birthDate": "",
				"address": "",
				"knowsLanguage": "",
				"honorificPrefix": "",
				"email": "",
				"telephone": ""
			},
			"serviceCardNumber": "",
			"issuedBy": {
				"logo": "",
				"name": "",
				"address": ""
			},
			"type": "ClubMembershipCertificate"
		},
		"issuer": "",
		"issuanceDate": "2020-12-01T07:47:01Z",
		"description": [
			{
				"@language": "en",
				"@value": "A club membership certificate."
			}
		],
		"name": [
			{
				"@language": "en",
				"@value": "Club Membership Certificate"
			}
		]
	},
	"expires": "2023-12-01T07:47:01Z",
	"type": "CredentialOffer",
	"credential_manifest": {
		"id": "CLUB_MEMBERSHIP_MANIFEST",
		"issuer": {
			"id": "$.issuer",
			"name": "$.issuedBy.name",
			"styles": {
				"thumbnail": {
					"uri": "$.issuedBy.logo",
					"alt": "$.issuedBy.name"
				},
				"background": {
					"color": "#ff0000"
				},
				"text": {
					"color": "#d4d400"
				}
			}
		},
		"output_descriptors": [
			{
				"id": "CLUB_MEMBERSHIP_OUTPUT_01",
				"schema": "ClubMembershipCertificate",
				"display": {
					"title": {
						"path": [
							"$.name"
						],
						"schema": {
							"type": "string"
						},
						"fallback": "Club Membership Certificate"
					},
					"subtitle": {
						"path": [
							"$.description"
						],
						"schema": {
							"type": "string"
						},
						"fallback": "Club Membership Certificate"
					},
					"description": {
						"text": "This certifies the membership of a person to a club."
					},
					"properties": [
						{
							"path": [
								"$.credentialSubject.member.familyName"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown family name",
							"label": "Family name"
						},
						{
							"path": [
								"$.credentialSubject.member.givenName"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown given name",
							"label": "Given name"
						},
						{
							"path": [
								"$.credentialSubject.member.birthDate"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown birth date",
							"label": "Birth Date"
						},
						{
							"path": [
								"$.credentialSubject.member.telephone"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown telephone",
							"label": "Telephone"
						},
						{
							"path": [
								"$.credentialSubject.member.email"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown email",
							"label": "Email"
						},
						{
							"path": [
								"$.credentialSubject.serviceCardNumber"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown service card number",
							"label": "Service card number"
						},
						{
							"path": [
								"$.credentialSubject.issuedBy.name"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown issuer name",
							"label": "Issuer Name"
						},
						{
							"path": [
								"$.credentialSubject.issuedBy.address"
							],
							"schema": {
								"type": "string"
							},
							"fallback": "Unknown address",
							"label": "Issuer Address"
						}
					]
				},
				"styles": {
					"thumbnail": {
						"uri": "$.issuedBy.logo",
						"alt": "$.issuedBy.name"
					},
					"hero": {
						"uri": "$.issuedBy.logo",
						"alt": "$.issuedBy.name"
					},
					"background": {
						"color": "#c3edf0"
					},
					"text": {
						"color": "#19494d"
					}
				}
			}
		],
		"presentation_definition": {}
	}
}
Copyright © 2022 Compellio S.A. All rights reserved.
Last modified on Nov 26, 2022 14:32