/
TrainingCertificate.json
76 lines (74 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
70
71
72
73
74
75
76
{
"$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": [
"recipient",
"training"
],
"properties": {
"status": {
"type": "string",
"enum": ["ACTIVE", "REVOKED", "DELETED"]
},
"jsonUrl": {
"type": "string"
},
"recipient":{
"$id": "#/properties/recipient",
"$ref": "Recipient.json#/definitions/Recipient"
},
"templateUrl": {
"type": "string"
},
"training":{
"$id": "#/properties/training",
"$ref": "Training.json#/definitions/Training"
},
"issuer":{
"$id": "#/properties/issuer",
"$ref": "Issuer.json#/definitions/Issuer"
},
"signatory":{
"$id": "#/properties/signatory",
"type":"array",
"items":{
"$ref": "Signatory.json#/definitions/Signatory"
}
},
"certificateLabel":{
"type": "string"
},
"issuedOn": {
"type": "string"
}
}
}
},
"_osConfig": {
"uniqueIndexFields": [
],
"ownershipAttributes": [],
"roles": [
],
"inviteRoles": [
"anonymous"
],
"systemFields": ["osCreatedAt", "osUpdatedAt", "osCreatedBy", "osUpdatedBy"],
"enableLogin": false,
"credentialTemplate": "{{ upstream_url }}/schema/credential_template.json"
}
}