@velocitycareerlabs/sample-libapp 1.25.0-dev-build.1c5e2a209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/LICENSE +202 -0
  2. package/contexts/credential-extensions-2022.jsonld.json +36 -0
  3. package/contexts/layer1-v1.0.jsonld.json +414 -0
  4. package/contexts/layer1-v1.1.jsonld.json +451 -0
  5. package/display-descriptors/education-degree-graduation-v1.1.descriptor.json +263 -0
  6. package/display-descriptors/email-v1.0.descriptor.json +19 -0
  7. package/display-descriptors/employment-current-v1.1.descriptor.json +189 -0
  8. package/display-descriptors/en/education-degree-graduation-v1.1.descriptor.json +263 -0
  9. package/display-descriptors/en/email-v1.0.descriptor.json +19 -0
  10. package/display-descriptors/en/employment-current-v1.1.descriptor.json +189 -0
  11. package/display-descriptors/en/open-badge-credential.descriptor.json +259 -0
  12. package/display-descriptors/open-badge-credential.descriptor.json +259 -0
  13. package/docker/compose.yml +9 -0
  14. package/docker/nginx.conf +9 -0
  15. package/form-schemas/EducationDegreeGraduationV1.1.form-schema.json +126 -0
  16. package/form-schemas/EmailV1.0.form-schema.json +5 -0
  17. package/form-schemas/EmploymentCurrentV1.1.form-schema.json +96 -0
  18. package/form-schemas/OpenBadgeCredential.form-schema.json +113 -0
  19. package/form-schemas/en/EducationDegreeGraduationV1.1.form-schema.json +126 -0
  20. package/form-schemas/en/EmailV1.0.form-schema.json +5 -0
  21. package/form-schemas/en/EmploymentCurrentV1.1.form-schema.json +96 -0
  22. package/form-schemas/en/OpenBadgeCredential.form-schema.json +113 -0
  23. package/package.json +18 -0
  24. package/schemas/education-degree-graduation-v1.1.schema.json +366 -0
  25. package/schemas/email-v1.0.schema.json +44 -0
  26. package/schemas/employment-current-v1.1.schema.json +267 -0
  27. package/schemas/open-badge-credential.schema.json +1351 -0
@@ -0,0 +1,259 @@
1
+ {
2
+ "title": {
3
+ "path": [
4
+ "$.source.name",
5
+ "$.credentialSubject.source.name"
6
+ ],
7
+ "schema": {
8
+ "type": "string"
9
+ },
10
+ "fallback": "Badge"
11
+ },
12
+ "subtitle": {
13
+ "text": "Open Badge"
14
+ },
15
+ "summary_detail": {
16
+ "path": [
17
+ "$.achievement.name",
18
+ "$.credentialSubject.achievement.name"
19
+ ],
20
+ "schema": {
21
+ "type": "string"
22
+ },
23
+ "fallback": "-"
24
+ },
25
+ "description": {
26
+ "text": "Open Badge"
27
+ },
28
+ "logo": {
29
+ "path": [
30
+ "$.achievement.image.id",
31
+ "$.credentialSubject.achievement.image.id"
32
+ ],
33
+ "schema": {
34
+ "type": "string",
35
+ "format": "uri"
36
+ }
37
+ },
38
+ "properties": [
39
+ {
40
+ "label": "",
41
+ "path": [
42
+ "$.achievement.image.id",
43
+ "$.credentialSubject.achievement.image.id",
44
+ "$.image.id",
45
+ "$.credentialSubject.image.id"
46
+ ],
47
+ "schema": {
48
+ "type": "string"
49
+ }
50
+ },
51
+ {
52
+ "label": "Name or identifier",
53
+ "path": [
54
+ "$.identifier.identityHash",
55
+ "$.credentialSubject.identifier.identityHash"
56
+ ],
57
+ "schema": {
58
+ "type": "string"
59
+ }
60
+ },
61
+ {
62
+ "label": "Achievement type",
63
+ "path": [
64
+ "$.achievement.achievementType",
65
+ "$.credentialSubject.achievement.achievementType",
66
+ "$.achievement.type",
67
+ "$.credentialSubject.achievement.type"
68
+ ],
69
+ "schema": {
70
+ "type": "string"
71
+ }
72
+ },
73
+ {
74
+ "label": "Description",
75
+ "path": [
76
+ "$.achievement.description",
77
+ "$.credentialSubject.achievement.description"
78
+ ],
79
+ "schema": {
80
+ "type": "string"
81
+ }
82
+ },
83
+ {
84
+ "label": "Start",
85
+ "path": [
86
+ "$.activityStartDate",
87
+ "$.credentialSubject.activityStartDate"
88
+ ],
89
+ "schema": {
90
+ "type": "string",
91
+ "format": "date-time"
92
+ }
93
+ },
94
+ {
95
+ "label": "End",
96
+ "path": [
97
+ "$.activityEndDate",
98
+ "$.credentialSubject.activityEndDate"
99
+ ],
100
+ "schema": {
101
+ "type": "string",
102
+ "format": "date-time"
103
+ }
104
+ },
105
+ {
106
+ "label": "License number",
107
+ "path": [
108
+ "$.licenseNumber",
109
+ "$.credentialSubject.licenseNumber"
110
+ ],
111
+ "schema": {
112
+ "type": "string"
113
+ }
114
+ },
115
+ {
116
+ "label": "Role",
117
+ "path": [
118
+ "$.role",
119
+ "$.credentialSubject.role"
120
+ ],
121
+ "schema": {
122
+ "type": "string"
123
+ }
124
+ },
125
+ {
126
+ "label": "Term",
127
+ "path": [
128
+ "$.term",
129
+ "$.credentialSubject.term"
130
+ ],
131
+ "schema": {
132
+ "type": "string"
133
+ }
134
+ },
135
+ {
136
+ "label": "Status",
137
+ "path": [
138
+ "$.result[0].status",
139
+ "$.credentialSubject.result[0].status"
140
+ ],
141
+ "schema": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ {
146
+ "label": "Credits available",
147
+ "path": [
148
+ "$.achievement.creditsAvailable",
149
+ "$.credentialSubject.achievement.creditsAvailable"
150
+ ],
151
+ "schema": {
152
+ "type": "number"
153
+ }
154
+ },
155
+ {
156
+ "label": "Credits earned",
157
+ "path": [
158
+ "$.creditsEarned",
159
+ "$.credentialSubject.creditsEarned"
160
+ ],
161
+ "schema": {
162
+ "type": "number"
163
+ }
164
+ },
165
+ {
166
+ "label": "Result",
167
+ "path": [
168
+ "$.result[0].value",
169
+ "$.credentialSubject.result[0].value"
170
+ ],
171
+ "schema": {
172
+ "type": "string"
173
+ }
174
+ },
175
+ {
176
+ "label": "Achieved level",
177
+ "path": [
178
+ "$.result[0].achievedLevel",
179
+ "$.credentialSubject.result[0].achievedLevel"
180
+ ],
181
+ "schema": {
182
+ "type": "string"
183
+ }
184
+ },
185
+ {
186
+ "label": "Result description",
187
+ "path": [
188
+ "$.result[0].resultDescription",
189
+ "$.credentialSubject.result[0].resultDescription",
190
+ "$.achievement.resultDescription",
191
+ "$.credentialSubject.achievement.resultDescription"
192
+ ],
193
+ "schema": {
194
+ "type": "string"
195
+ }
196
+ },
197
+ {
198
+ "label": "Field",
199
+ "path": [
200
+ "$.achievement.fieldOfStudy",
201
+ "$.credentialSubject.achievement.fieldOfStudy"
202
+ ],
203
+ "schema": {
204
+ "type": "string"
205
+ }
206
+ },
207
+ {
208
+ "label": "Code",
209
+ "path": [
210
+ "$.achievement.humanCode",
211
+ "$.credentialSubject.achievement.humanCode"
212
+ ],
213
+ "schema": {
214
+ "type": "string"
215
+ }
216
+ },
217
+ {
218
+ "label": "Specialization",
219
+ "path": [
220
+ "$.achievement.specialization",
221
+ "$.credentialSubject.achievement.specialization"
222
+ ],
223
+ "schema": {
224
+ "type": "string"
225
+ }
226
+ },
227
+ {
228
+ "label": "Version",
229
+ "path": [
230
+ "$.achievement.version",
231
+ "$.credentialSubject.achievement.version"
232
+ ],
233
+ "schema": {
234
+ "type": "string"
235
+ }
236
+ },
237
+ {
238
+ "label": "Achievement criteria",
239
+ "path": [
240
+ "$.achievement.criteria.narrative",
241
+ "$.credentialSubject.achievement.criteria.narrative"
242
+ ],
243
+ "schema": {
244
+ "type": "string"
245
+ }
246
+ },
247
+ {
248
+ "label": "Learn more",
249
+ "path": [
250
+ "$.achievement.alignment[0].targetUrl",
251
+ "$.credentialSubject.achievement.alignment[0].targetUrl"
252
+ ],
253
+ "schema": {
254
+ "type": "string",
255
+ "format": "uri"
256
+ }
257
+ }
258
+ ]
259
+ }
@@ -0,0 +1,259 @@
1
+ {
2
+ "title": {
3
+ "path": [
4
+ "$.source.name",
5
+ "$.credentialSubject.source.name"
6
+ ],
7
+ "schema": {
8
+ "type": "string"
9
+ },
10
+ "fallback": "Badge"
11
+ },
12
+ "subtitle": {
13
+ "text": "Open Badge"
14
+ },
15
+ "summary_detail": {
16
+ "path": [
17
+ "$.achievement.name",
18
+ "$.credentialSubject.achievement.name"
19
+ ],
20
+ "schema": {
21
+ "type": "string"
22
+ },
23
+ "fallback": "-"
24
+ },
25
+ "description": {
26
+ "text": "Open Badge"
27
+ },
28
+ "logo": {
29
+ "path": [
30
+ "$.achievement.image.id",
31
+ "$.credentialSubject.achievement.image.id"
32
+ ],
33
+ "schema": {
34
+ "type": "string",
35
+ "format": "uri"
36
+ }
37
+ },
38
+ "properties": [
39
+ {
40
+ "label": "",
41
+ "path": [
42
+ "$.achievement.image.id",
43
+ "$.credentialSubject.achievement.image.id",
44
+ "$.image.id",
45
+ "$.credentialSubject.image.id"
46
+ ],
47
+ "schema": {
48
+ "type": "string"
49
+ }
50
+ },
51
+ {
52
+ "label": "Name or identifier",
53
+ "path": [
54
+ "$.identifier.identityHash",
55
+ "$.credentialSubject.identifier.identityHash"
56
+ ],
57
+ "schema": {
58
+ "type": "string"
59
+ }
60
+ },
61
+ {
62
+ "label": "Achievement type",
63
+ "path": [
64
+ "$.achievement.achievementType",
65
+ "$.credentialSubject.achievement.achievementType",
66
+ "$.achievement.type",
67
+ "$.credentialSubject.achievement.type"
68
+ ],
69
+ "schema": {
70
+ "type": "string"
71
+ }
72
+ },
73
+ {
74
+ "label": "Description",
75
+ "path": [
76
+ "$.achievement.description",
77
+ "$.credentialSubject.achievement.description"
78
+ ],
79
+ "schema": {
80
+ "type": "string"
81
+ }
82
+ },
83
+ {
84
+ "label": "Start",
85
+ "path": [
86
+ "$.activityStartDate",
87
+ "$.credentialSubject.activityStartDate"
88
+ ],
89
+ "schema": {
90
+ "type": "string",
91
+ "format": "date-time"
92
+ }
93
+ },
94
+ {
95
+ "label": "End",
96
+ "path": [
97
+ "$.activityEndDate",
98
+ "$.credentialSubject.activityEndDate"
99
+ ],
100
+ "schema": {
101
+ "type": "string",
102
+ "format": "date-time"
103
+ }
104
+ },
105
+ {
106
+ "label": "License number",
107
+ "path": [
108
+ "$.licenseNumber",
109
+ "$.credentialSubject.licenseNumber"
110
+ ],
111
+ "schema": {
112
+ "type": "string"
113
+ }
114
+ },
115
+ {
116
+ "label": "Role",
117
+ "path": [
118
+ "$.role",
119
+ "$.credentialSubject.role"
120
+ ],
121
+ "schema": {
122
+ "type": "string"
123
+ }
124
+ },
125
+ {
126
+ "label": "Term",
127
+ "path": [
128
+ "$.term",
129
+ "$.credentialSubject.term"
130
+ ],
131
+ "schema": {
132
+ "type": "string"
133
+ }
134
+ },
135
+ {
136
+ "label": "Status",
137
+ "path": [
138
+ "$.result[0].status",
139
+ "$.credentialSubject.result[0].status"
140
+ ],
141
+ "schema": {
142
+ "type": "string"
143
+ }
144
+ },
145
+ {
146
+ "label": "Credits available",
147
+ "path": [
148
+ "$.achievement.creditsAvailable",
149
+ "$.credentialSubject.achievement.creditsAvailable"
150
+ ],
151
+ "schema": {
152
+ "type": "number"
153
+ }
154
+ },
155
+ {
156
+ "label": "Credits earned",
157
+ "path": [
158
+ "$.creditsEarned",
159
+ "$.credentialSubject.creditsEarned"
160
+ ],
161
+ "schema": {
162
+ "type": "number"
163
+ }
164
+ },
165
+ {
166
+ "label": "Result",
167
+ "path": [
168
+ "$.result[0].value",
169
+ "$.credentialSubject.result[0].value"
170
+ ],
171
+ "schema": {
172
+ "type": "string"
173
+ }
174
+ },
175
+ {
176
+ "label": "Achieved level",
177
+ "path": [
178
+ "$.result[0].achievedLevel",
179
+ "$.credentialSubject.result[0].achievedLevel"
180
+ ],
181
+ "schema": {
182
+ "type": "string"
183
+ }
184
+ },
185
+ {
186
+ "label": "Result description",
187
+ "path": [
188
+ "$.result[0].resultDescription",
189
+ "$.credentialSubject.result[0].resultDescription",
190
+ "$.achievement.resultDescription",
191
+ "$.credentialSubject.achievement.resultDescription"
192
+ ],
193
+ "schema": {
194
+ "type": "string"
195
+ }
196
+ },
197
+ {
198
+ "label": "Field",
199
+ "path": [
200
+ "$.achievement.fieldOfStudy",
201
+ "$.credentialSubject.achievement.fieldOfStudy"
202
+ ],
203
+ "schema": {
204
+ "type": "string"
205
+ }
206
+ },
207
+ {
208
+ "label": "Code",
209
+ "path": [
210
+ "$.achievement.humanCode",
211
+ "$.credentialSubject.achievement.humanCode"
212
+ ],
213
+ "schema": {
214
+ "type": "string"
215
+ }
216
+ },
217
+ {
218
+ "label": "Specialization",
219
+ "path": [
220
+ "$.achievement.specialization",
221
+ "$.credentialSubject.achievement.specialization"
222
+ ],
223
+ "schema": {
224
+ "type": "string"
225
+ }
226
+ },
227
+ {
228
+ "label": "Version",
229
+ "path": [
230
+ "$.achievement.version",
231
+ "$.credentialSubject.achievement.version"
232
+ ],
233
+ "schema": {
234
+ "type": "string"
235
+ }
236
+ },
237
+ {
238
+ "label": "Achievement criteria",
239
+ "path": [
240
+ "$.achievement.criteria.narrative",
241
+ "$.credentialSubject.achievement.criteria.narrative"
242
+ ],
243
+ "schema": {
244
+ "type": "string"
245
+ }
246
+ },
247
+ {
248
+ "label": "Learn more",
249
+ "path": [
250
+ "$.achievement.alignment[0].targetUrl",
251
+ "$.credentialSubject.achievement.alignment[0].targetUrl"
252
+ ],
253
+ "schema": {
254
+ "type": "string",
255
+ "format": "uri"
256
+ }
257
+ }
258
+ ]
259
+ }
@@ -0,0 +1,9 @@
1
+ services:
2
+ libserver:
3
+ image: nginx:alpine@sha256:4ff102c5d78d254a6f0da062b3cf39eaf07f01eec0927fd21e219d0af8bc0591
4
+ restart: on-failure
5
+ ports:
6
+ - "18082:80"
7
+ volumes:
8
+ - "..:/srv"
9
+ - ./nginx.conf:/etc/nginx/conf.d/default.conf
@@ -0,0 +1,9 @@
1
+ server{
2
+ listen 80;
3
+ server_name _;
4
+
5
+ location / {
6
+ root /srv;
7
+ autoindex on;
8
+ }
9
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "degreeName": {
3
+ "ui:title": "Degree"
4
+ },
5
+ "description": {
6
+ "ui:title": "Degree description"
7
+ },
8
+ "institution": {
9
+ "name": {
10
+ "ui:title": "Institution"
11
+ },
12
+ "identifier": {
13
+ "ui:widget": "hidden"
14
+ },
15
+ "place": {
16
+ "ui:widget": "hidden"
17
+ }
18
+ },
19
+ "school": {
20
+ "name": {
21
+ "ui:title": "School or department"
22
+ },
23
+ "identifier": {
24
+ "ui:widget": "hidden"
25
+ },
26
+ "place": {
27
+ "ui:widget": "hidden"
28
+ }
29
+ },
30
+ "programName": {
31
+ "ui:title": "Program"
32
+ },
33
+ "programType": {
34
+ "ui:widget": "hidden"
35
+ },
36
+ "programMode": {
37
+ "ui:widget": "hidden"
38
+ },
39
+ "degreeMajor": {
40
+ "ui:title": "Major(s)"
41
+ },
42
+ "degreeMinor": {
43
+ "ui:title": "Minor(s)"
44
+ },
45
+ "honors": {
46
+ "ui:title": "Honors"
47
+ },
48
+ "alignment": {
49
+ "ui:widget": "hidden"
50
+ },
51
+ "grade": {
52
+ "scoreValue": {
53
+ "ui:title": "Grade"
54
+ },
55
+ "result": {
56
+ "ui:title": "Result"
57
+ },
58
+ "passFail": {
59
+ "ui:title": "Pass or fail"
60
+ },
61
+ "scoreMethod": {
62
+ "ui:widget": "hidden"
63
+ },
64
+ "ui:order": [
65
+ "scoreValue",
66
+ "result",
67
+ "passFail"
68
+ ]
69
+ },
70
+ "registrationDate": {
71
+ "ui:title": "Registration date",
72
+ "ui:widget": "date"
73
+ },
74
+ "startDate": {
75
+ "ui:title": "Start date",
76
+ "ui:widget": "date"
77
+ },
78
+ "endDate": {
79
+ "ui:title": "End date",
80
+ "ui:widget": "date"
81
+ },
82
+ "conferredDate": {
83
+ "ui:title": "Date conferred",
84
+ "ui:widget": "date"
85
+ },
86
+ "recipient": {
87
+ "givenName": {
88
+ "ui:title": "First name"
89
+ },
90
+ "middleName": {
91
+ "ui:title": "Middle name"
92
+ },
93
+ "familyName": {
94
+ "ui:title": "Last name"
95
+ },
96
+ "namePrefix": {
97
+ "ui:title": "Name prefix"
98
+ },
99
+ "nameSuffix": {
100
+ "ui:title": "Name suffix"
101
+ },
102
+ "ui:order": [
103
+ "givenName",
104
+ "middleName",
105
+ "familyName",
106
+ "namePrefix",
107
+ "nameSuffix"
108
+ ]
109
+ },
110
+ "ui:order": [
111
+ "institution",
112
+ "degreeName",
113
+ "school",
114
+ "description",
115
+ "registrationDate",
116
+ "startDate",
117
+ "endDate",
118
+ "conferredDate",
119
+ "grade",
120
+ "honors",
121
+ "degreeMajor",
122
+ "degreeMinor",
123
+ "programName",
124
+ "recipient"
125
+ ]
126
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "email": {
3
+ "ui:title": "Email"
4
+ }
5
+ }