-
Notifications
You must be signed in to change notification settings - Fork 10
/
TrainingCertificate.json
69 lines (69 loc) · 1.56 KB
/
TrainingCertificate.json
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
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"TrainingCertificate": {
"$ref": "#/definitions/TrainingCertificate"
}
},
"required": [
"TrainingCertificate"
],
"title": "TrainingCertificate",
"definitions": {
"TrainingCertificate": {
"$id": "#/properties/TrainingCertificate",
"type": "object",
"title": "The TrainingCertificate Schema",
"required": [
"name",
"contact"
],
"properties": {
"name": {
"type": "string"
},
"trainingTitle": {
"type": "string"
},
"contact": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"note": {
"type": "string"
}
}
}
},
"_osConfig": {
"uniqueIndexFields": [
"contact"
],
"ownershipAttributes": [],
"roles": [],
"inviteRoles": [
"anonymous"
],
"enableLogin": false,
"credentialTemplate": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://gist.githubusercontent.com/dileepbapat/eb932596a70f75016411cc871113a789/raw/498e5af1d94784f114b32c1ab827f951a8a24def/skill"
],
"type": [
"VerifiableCredential"
],
"issuanceDate": "2021-08-27T10:57:57.237Z",
"credentialSubject": {
"type": "Person",
"name": "{{name}}",
"trainedOn": "{{trainingTitle}}"
},
"issuer": "did:web:sunbirdrc.dev/vc/skill"
}
}
}