@velocitycareerlabs/libapp 1.25.0-dev-build.1662391af → 1.25.0-dev-build.1dfd4340d

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 (221) hide show
  1. package/display-descriptors/MultiLicensev1.0.descriptor.json +140 -0
  2. package/display-descriptors/assessment-dec2020.descriptor.json +147 -0
  3. package/display-descriptors/assessment-dimension.descriptor.json +175 -0
  4. package/display-descriptors/assessment-v1.0.descriptor.json +267 -0
  5. package/display-descriptors/assessment-v1.1.descriptor.json +307 -0
  6. package/display-descriptors/badge-v1.1.descriptor.json +170 -0
  7. package/display-descriptors/badge.descriptor.json +143 -0
  8. package/display-descriptors/certification-v1.0.descriptor.json +140 -0
  9. package/display-descriptors/certification-v1.1.descriptor.json +190 -0
  10. package/display-descriptors/certification.descriptor.json +99 -0
  11. package/display-descriptors/clr.descriptor.json +123 -0
  12. package/display-descriptors/course-attendance-v1.0.descriptor.json +182 -0
  13. package/display-descriptors/course-attendance-v1.1.descriptor.json +242 -0
  14. package/display-descriptors/course-completion-v1.0.descriptor.json +192 -0
  15. package/display-descriptors/course-completion-v1.1.descriptor.json +253 -0
  16. package/display-descriptors/course-registration-v1.0.descriptor.json +151 -0
  17. package/display-descriptors/course-registration-v1.1.descriptor.json +181 -0
  18. package/display-descriptors/course.descriptor.json +150 -0
  19. package/display-descriptors/current-employment-position.descriptor.json +120 -0
  20. package/display-descriptors/drivers-license-v1.0.descriptor.json +261 -0
  21. package/display-descriptors/drivers-license-v1.1.descriptor.json +261 -0
  22. package/display-descriptors/education-degree-graduation-v1.0.descriptor.json +233 -0
  23. package/display-descriptors/education-degree-registration-v1.0.descriptor.json +171 -0
  24. package/display-descriptors/education-degree-registration-v1.1.descriptor.json +200 -0
  25. package/display-descriptors/education-degree-study-v1.0.descriptor.json +212 -0
  26. package/display-descriptors/education-degree-study-v1.1.descriptor.json +241 -0
  27. package/display-descriptors/education-degree.descriptor.json +110 -0
  28. package/display-descriptors/email-v1.1.descriptor.json +19 -0
  29. package/display-descriptors/email.descriptor.json +16 -0
  30. package/display-descriptors/employment-current-v1.0.descriptor.json +140 -0
  31. package/display-descriptors/employment-past-v1.0.descriptor.json +151 -0
  32. package/display-descriptors/employment-past-v1.1.descriptor.json +200 -0
  33. package/display-descriptors/en/MultiLicensev1.0.descriptor.json +140 -0
  34. package/display-descriptors/en/assessment-dec2020.descriptor.json +147 -0
  35. package/display-descriptors/en/assessment-dimension.descriptor.json +175 -0
  36. package/display-descriptors/en/assessment-v1.0.descriptor.json +267 -0
  37. package/display-descriptors/en/assessment-v1.1.descriptor.json +307 -0
  38. package/display-descriptors/en/badge-v1.1.descriptor.json +170 -0
  39. package/display-descriptors/en/badge.descriptor.json +143 -0
  40. package/display-descriptors/en/certification-v1.0.descriptor.json +140 -0
  41. package/display-descriptors/en/certification-v1.1.descriptor.json +190 -0
  42. package/display-descriptors/en/certification.descriptor.json +99 -0
  43. package/display-descriptors/en/clr.descriptor.json +123 -0
  44. package/display-descriptors/en/course-attendance-v1.0.descriptor.json +182 -0
  45. package/display-descriptors/en/course-attendance-v1.1.descriptor.json +242 -0
  46. package/display-descriptors/en/course-completion-v1.0.descriptor.json +192 -0
  47. package/display-descriptors/en/course-completion-v1.1.descriptor.json +253 -0
  48. package/display-descriptors/en/course-registration-v1.0.descriptor.json +151 -0
  49. package/display-descriptors/en/course-registration-v1.1.descriptor.json +181 -0
  50. package/display-descriptors/en/course.descriptor.json +150 -0
  51. package/display-descriptors/en/current-employment-position.descriptor.json +120 -0
  52. package/display-descriptors/en/drivers-license-v1.0.descriptor.json +261 -0
  53. package/display-descriptors/en/drivers-license-v1.1.descriptor.json +261 -0
  54. package/display-descriptors/en/education-degree-graduation-v1.0.descriptor.json +233 -0
  55. package/display-descriptors/en/education-degree-registration-v1.0.descriptor.json +171 -0
  56. package/display-descriptors/en/education-degree-registration-v1.1.descriptor.json +200 -0
  57. package/display-descriptors/en/education-degree-study-v1.0.descriptor.json +212 -0
  58. package/display-descriptors/en/education-degree-study-v1.1.descriptor.json +241 -0
  59. package/display-descriptors/en/education-degree.descriptor.json +110 -0
  60. package/display-descriptors/en/email-v1.1.descriptor.json +19 -0
  61. package/display-descriptors/en/email.descriptor.json +16 -0
  62. package/display-descriptors/en/employment-current-v1.0.descriptor.json +140 -0
  63. package/display-descriptors/en/employment-past-v1.0.descriptor.json +151 -0
  64. package/display-descriptors/en/employment-past-v1.1.descriptor.json +200 -0
  65. package/display-descriptors/en/id-document-v1.0.descriptor.json +258 -0
  66. package/display-descriptors/en/id-document-v1.1.descriptor.json +258 -0
  67. package/display-descriptors/en/id-document.descriptor.json +152 -0
  68. package/display-descriptors/en/license-v1.0.descriptor.json +172 -0
  69. package/display-descriptors/en/license-v1.1.descriptor.json +210 -0
  70. package/display-descriptors/en/national-id-card-v1.0.descriptor.json +258 -0
  71. package/display-descriptors/en/national-id-card-v1.1.descriptor.json +268 -0
  72. package/display-descriptors/en/open-badge-v1.0.descriptor.json +140 -0
  73. package/display-descriptors/en/open-badge-v2.0.descriptor.json +121 -0
  74. package/display-descriptors/en/passport-v1.0.descriptor.json +229 -0
  75. package/display-descriptors/en/passport-v1.1.descriptor.json +239 -0
  76. package/display-descriptors/en/past-employment-position.descriptor.json +131 -0
  77. package/display-descriptors/en/phone-v1.0.descriptor.json +18 -0
  78. package/display-descriptors/en/phone-v1.1.descriptor.json +18 -0
  79. package/display-descriptors/en/phone.descriptor.json +15 -0
  80. package/display-descriptors/en/proof-of-age-v1.0.descriptor.json +258 -0
  81. package/display-descriptors/en/proof-of-age-v1.1.descriptor.json +268 -0
  82. package/display-descriptors/en/resident-permit-v1.0.descriptor.json +258 -0
  83. package/display-descriptors/en/resident-permit-v1.1.descriptor.json +268 -0
  84. package/display-descriptors/id-document-v1.0.descriptor.json +258 -0
  85. package/display-descriptors/id-document-v1.1.descriptor.json +258 -0
  86. package/display-descriptors/id-document.descriptor.json +152 -0
  87. package/display-descriptors/license-v1.0.descriptor.json +172 -0
  88. package/display-descriptors/license-v1.1.descriptor.json +210 -0
  89. package/display-descriptors/national-id-card-v1.0.descriptor.json +258 -0
  90. package/display-descriptors/national-id-card-v1.1.descriptor.json +268 -0
  91. package/display-descriptors/open-badge-v1.0.descriptor.json +140 -0
  92. package/display-descriptors/open-badge-v2.0.descriptor.json +121 -0
  93. package/display-descriptors/passport-v1.0.descriptor.json +229 -0
  94. package/display-descriptors/passport-v1.1.descriptor.json +239 -0
  95. package/display-descriptors/past-employment-position.descriptor.json +131 -0
  96. package/display-descriptors/phone-v1.0.descriptor.json +18 -0
  97. package/display-descriptors/phone-v1.1.descriptor.json +18 -0
  98. package/display-descriptors/phone.descriptor.json +15 -0
  99. package/display-descriptors/proof-of-age-v1.0.descriptor.json +258 -0
  100. package/display-descriptors/proof-of-age-v1.1.descriptor.json +268 -0
  101. package/display-descriptors/resident-permit-v1.0.descriptor.json +258 -0
  102. package/display-descriptors/resident-permit-v1.1.descriptor.json +268 -0
  103. package/form-schemas/AssessmentV1.0.form-schema.json +64 -0
  104. package/form-schemas/AssessmentV1.1.form-schema.json +89 -0
  105. package/form-schemas/BadgeV1.1.form-schema.json +72 -0
  106. package/form-schemas/CertificationV1.0.form-schema.json +84 -0
  107. package/form-schemas/CertificationV1.1.form-schema.json +109 -0
  108. package/form-schemas/CourseAttendanceV1.0.form-schema.json +76 -0
  109. package/form-schemas/CourseAttendanceV1.1.form-schema.json +101 -0
  110. package/form-schemas/CourseCompletionV1.0.form-schema.json +81 -0
  111. package/form-schemas/CourseCompletionV1.1.form-schema.json +106 -0
  112. package/form-schemas/CourseRegistrationV1.0.form-schema.json +56 -0
  113. package/form-schemas/CourseRegistrationV1.1.form-schema.json +81 -0
  114. package/form-schemas/DriversLicenseV1.0.form-schema.json +199 -0
  115. package/form-schemas/DriversLicenseV1.1.form-schema.json +199 -0
  116. package/form-schemas/EducationDegreeGraduationV1.0.form-schema.json +101 -0
  117. package/form-schemas/EducationDegreeRegistrationV1.0.form-schema.json +67 -0
  118. package/form-schemas/EducationDegreeRegistrationV1.1.form-schema.json +92 -0
  119. package/form-schemas/EducationDegreeStudyV1.0.form-schema.json +92 -0
  120. package/form-schemas/EducationDegreeStudyV1.1.form-schema.json +117 -0
  121. package/form-schemas/EmploymentCurrentV1.0.form-schema.json +70 -0
  122. package/form-schemas/EmploymentPastV1.0.form-schema.json +75 -0
  123. package/form-schemas/EmploymentPastV1.1.form-schema.json +101 -0
  124. package/form-schemas/IdDocumentV1.0.form-schema.json +180 -0
  125. package/form-schemas/IdDocumentV1.1.form-schema.json +180 -0
  126. package/form-schemas/LicenseV1.0.form-schema.json +92 -0
  127. package/form-schemas/LicenseV1.1.form-schema.json +117 -0
  128. package/form-schemas/NationalIdCardV1.0.form-schema.json +176 -0
  129. package/form-schemas/NationalIdCardV1.1.form-schema.json +176 -0
  130. package/form-schemas/OpenBadgeV1.0.form-schema.json +44 -0
  131. package/form-schemas/OpenBadgeV2.0.form-schema.json +44 -0
  132. package/form-schemas/PassportV1.0.form-schema.json +141 -0
  133. package/form-schemas/PassportV1.1.form-schema.json +141 -0
  134. package/form-schemas/PhoneV1.0.form-schema.json +5 -0
  135. package/form-schemas/PhoneV1.1.form-schema.json +5 -0
  136. package/form-schemas/ProofOfAgeV1.0.form-schema.json +176 -0
  137. package/form-schemas/ProofOfAgeV1.1.form-schema.json +176 -0
  138. package/form-schemas/ResidentPermitV1.0.form-schema.json +176 -0
  139. package/form-schemas/ResidentPermitV1.1.form-schema.json +176 -0
  140. package/form-schemas/en/AssessmentV1.0.form-schema.json +64 -0
  141. package/form-schemas/en/AssessmentV1.1.form-schema.json +89 -0
  142. package/form-schemas/en/BadgeV1.1.form-schema.json +72 -0
  143. package/form-schemas/en/CertificationV1.0.form-schema.json +84 -0
  144. package/form-schemas/en/CertificationV1.1.form-schema.json +109 -0
  145. package/form-schemas/en/CourseAttendanceV1.0.form-schema.json +76 -0
  146. package/form-schemas/en/CourseAttendanceV1.1.form-schema.json +101 -0
  147. package/form-schemas/en/CourseCompletionV1.0.form-schema.json +81 -0
  148. package/form-schemas/en/CourseCompletionV1.1.form-schema.json +106 -0
  149. package/form-schemas/en/CourseRegistrationV1.0.form-schema.json +56 -0
  150. package/form-schemas/en/CourseRegistrationV1.1.form-schema.json +81 -0
  151. package/form-schemas/en/DriversLicenseV1.0.form-schema.json +199 -0
  152. package/form-schemas/en/DriversLicenseV1.1.form-schema.json +199 -0
  153. package/form-schemas/en/EducationDegreeGraduationV1.0.form-schema.json +101 -0
  154. package/form-schemas/en/EducationDegreeRegistrationV1.0.form-schema.json +67 -0
  155. package/form-schemas/en/EducationDegreeRegistrationV1.1.form-schema.json +92 -0
  156. package/form-schemas/en/EducationDegreeStudyV1.0.form-schema.json +92 -0
  157. package/form-schemas/en/EducationDegreeStudyV1.1.form-schema.json +117 -0
  158. package/form-schemas/en/EmploymentCurrentV1.0.form-schema.json +70 -0
  159. package/form-schemas/en/EmploymentPastV1.0.form-schema.json +75 -0
  160. package/form-schemas/en/EmploymentPastV1.1.form-schema.json +101 -0
  161. package/form-schemas/en/IdDocumentV1.0.form-schema.json +180 -0
  162. package/form-schemas/en/IdDocumentV1.1.form-schema.json +180 -0
  163. package/form-schemas/en/LicenseV1.0.form-schema.json +92 -0
  164. package/form-schemas/en/LicenseV1.1.form-schema.json +117 -0
  165. package/form-schemas/en/NationalIdCardV1.0.form-schema.json +176 -0
  166. package/form-schemas/en/NationalIdCardV1.1.form-schema.json +176 -0
  167. package/form-schemas/en/OpenBadgeV1.0.form-schema.json +44 -0
  168. package/form-schemas/en/OpenBadgeV2.0.form-schema.json +44 -0
  169. package/form-schemas/en/PassportV1.0.form-schema.json +141 -0
  170. package/form-schemas/en/PassportV1.1.form-schema.json +141 -0
  171. package/form-schemas/en/PhoneV1.0.form-schema.json +5 -0
  172. package/form-schemas/en/PhoneV1.1.form-schema.json +5 -0
  173. package/form-schemas/en/ProofOfAgeV1.0.form-schema.json +176 -0
  174. package/form-schemas/en/ProofOfAgeV1.1.form-schema.json +176 -0
  175. package/form-schemas/en/ResidentPermitV1.0.form-schema.json +176 -0
  176. package/form-schemas/en/ResidentPermitV1.1.form-schema.json +176 -0
  177. package/package.json +2 -2
  178. package/schemas/MultiLicenseV1.0.json +997 -0
  179. package/schemas/assessment-v1.0.schema.json +314 -0
  180. package/schemas/assessment-v1.1.schema.json +360 -0
  181. package/schemas/assessment.schema.json +154 -0
  182. package/schemas/badge-v1.1.schema.json +243 -0
  183. package/schemas/badge.schema.json +152 -0
  184. package/schemas/certification-v1.0.schema.json +233 -0
  185. package/schemas/certification-v1.1.schema.json +277 -0
  186. package/schemas/certification.schema.json +149 -0
  187. package/schemas/clr-subject.schema.json +2247 -0
  188. package/schemas/clr.schema.json +1565 -0
  189. package/schemas/course-attendance-v1.0.schema.json +300 -0
  190. package/schemas/course-attendance-v1.1.schema.json +346 -0
  191. package/schemas/course-completion-v1.0.schema.json +303 -0
  192. package/schemas/course-completion-v1.1.schema.json +349 -0
  193. package/schemas/course-registration-v1.0.schema.json +219 -0
  194. package/schemas/course-registration-v1.1.schema.json +271 -0
  195. package/schemas/course.schema.json +140 -0
  196. package/schemas/current-employment-position.schema.json +145 -0
  197. package/schemas/drivers-license-v1.0.schema.json +333 -0
  198. package/schemas/education-degree-graduation-v1.0.schema.json +320 -0
  199. package/schemas/education-degree-registration-v1.0.schema.json +228 -0
  200. package/schemas/education-degree-registration-v1.1.schema.json +279 -0
  201. package/schemas/education-degree-study-v1.0.schema.json +311 -0
  202. package/schemas/education-degree-study-v1.1.schema.json +357 -0
  203. package/schemas/education-degree.schema.json +161 -0
  204. package/schemas/email.schema.json +19 -0
  205. package/schemas/employment-current-v1.0.schema.json +216 -0
  206. package/schemas/employment-past-v1.0.schema.json +220 -0
  207. package/schemas/employment-past-v1.1.schema.json +271 -0
  208. package/schemas/id-document-v1.0.schema.json +278 -0
  209. package/schemas/id-document.schema.json +169 -0
  210. package/schemas/license-v1.0.schema.json +252 -0
  211. package/schemas/license-v1.1.schema.json +296 -0
  212. package/schemas/license.schema.json +261 -0
  213. package/schemas/national-id-card-v1.0.schema.json +272 -0
  214. package/schemas/open-badge-v1.0.schema.json +176 -0
  215. package/schemas/open-badge-v2.0.schema.json +348 -0
  216. package/schemas/passport-v1.0.schema.json +235 -0
  217. package/schemas/past-employment-position.schema.json +149 -0
  218. package/schemas/phone-v1.0.schema.json +45 -0
  219. package/schemas/phone.schema.json +19 -0
  220. package/schemas/proof-of-age-v1.0.schema.json +272 -0
  221. package/schemas/resident-permit-v1.0.schema.json +272 -0
@@ -0,0 +1,233 @@
1
+ {
2
+ "title": "Certification",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "https://velocitynetwork.foundation/schemas/certification-v1.0",
5
+ "allOf": [
6
+ {
7
+ "$ref": "#/definitions/Certification-license-base"
8
+ },
9
+ {
10
+ "type": "object",
11
+ "properties": {
12
+ "type": {
13
+ "type": "string",
14
+ "default": "CertificationLicense"
15
+ },
16
+ "identifier": {
17
+ "type": "string",
18
+ "description": "The number or other unique identifier of the certification held by the person.",
19
+ "maxLength": 512
20
+ },
21
+ "validity": {
22
+ "$ref": "#/definitions/Validity_Schema"
23
+ }
24
+ }
25
+ }
26
+ ],
27
+ "required": [
28
+ "authority",
29
+ "name"
30
+ ],
31
+ "definitions": {
32
+ "Certification-license-base": {
33
+ "title": "Certification-license-base",
34
+ "$schema": "http://json-schema.org/draft-07/schema#",
35
+ "type": "object",
36
+ "properties": {
37
+ "@context": {
38
+ "$ref": "#/definitions/Json-ld-context_Schema"
39
+ },
40
+ "authority": {
41
+ "$ref": "#/definitions/Organization_Schema"
42
+ },
43
+ "name": {
44
+ "type": "string",
45
+ "description": "The name of the certification or license.",
46
+ "maxLength": 256
47
+ },
48
+ "description": {
49
+ "type": "string",
50
+ "description": "Detailed description of the certification or license.",
51
+ "maxLength": 2048
52
+ },
53
+ "alignment": {
54
+ "type": "array",
55
+ "description": "A public resource to which the certification or license is aligned.",
56
+ "minItems": 1,
57
+ "items": {
58
+ "$ref": "#/definitions/Alignment_Schema"
59
+ }
60
+ }
61
+ }
62
+ },
63
+ "Json-ld-context_Schema": {
64
+ "title": "json-ld-context",
65
+ "oneOf": [
66
+ {
67
+ "type": "string",
68
+ "maxLength": 2048
69
+ },
70
+ {
71
+ "type": "array",
72
+ "minItems": 1,
73
+ "items": {
74
+ "type": "string",
75
+ "maxLength": 2048
76
+ }
77
+ }
78
+ ],
79
+ "description": "Simplified context for Velocity Publishers to Use"
80
+ },
81
+ "Alignment_Schema": {
82
+ "title": "Alignment",
83
+ "type": "object",
84
+ "additionalProperties": false,
85
+ "properties": {
86
+ "type": {
87
+ "type": "string",
88
+ "default": "AlignmentObject"
89
+ },
90
+ "targetName": {
91
+ "type": "string",
92
+ "description": "Name of the target alignment.",
93
+ "maxLength": 256
94
+ },
95
+ "targetUrl": {
96
+ "type": "string",
97
+ "format": "uri",
98
+ "description": "URL of the target alignment. ",
99
+ "maxLength": 2048
100
+ },
101
+ "targetDescription": {
102
+ "type": "string",
103
+ "description": "Detailed description of the target alignment. ",
104
+ "maxLength": 2048
105
+ },
106
+ "targetCode": {
107
+ "type": "string",
108
+ "description": "Code of the target alignment. ",
109
+ "maxLength": 256
110
+ },
111
+ "targetFramework": {
112
+ "type": "string",
113
+ "description": "The framework to which the target belongs. ",
114
+ "maxLength": 256
115
+ }
116
+ },
117
+ "required": [
118
+ "targetName",
119
+ "targetUrl"
120
+ ]
121
+ },
122
+ "Did_Schema": {
123
+ "title": "DID",
124
+ "type": "string",
125
+ "pattern": "^did:[a-z0-9]+:[A-Za-z0-9._:?=&%;-]+$"
126
+ },
127
+ "Organization_Schema": {
128
+ "title": "Organization",
129
+ "type": "object",
130
+ "additionalProperties": false,
131
+ "properties": {
132
+ "type": {
133
+ "type": "string",
134
+ "default": "Organization"
135
+ },
136
+ "name": {
137
+ "type": "string",
138
+ "description": "The name of the organization.",
139
+ "maxLength": 256
140
+ },
141
+ "identifier": {
142
+ "$ref": "#/definitions/Did_Schema"
143
+ },
144
+ "place": {
145
+ "$ref": "#/definitions/Place_Schema"
146
+ }
147
+ },
148
+ "required": [
149
+ "name",
150
+ "place"
151
+ ]
152
+ },
153
+ "Place_Schema": {
154
+ "title": "Place",
155
+ "type": "object",
156
+ "additionalProperties": false,
157
+ "properties": {
158
+ "type": {
159
+ "type": "string",
160
+ "default": "Place"
161
+ },
162
+ "name": {
163
+ "type": "string",
164
+ "description": "The name of the place, e.g., building name, branch name, etc.",
165
+ "maxLength": 256
166
+ },
167
+ "addressLocality": {
168
+ "type": "string",
169
+ "description": "The locality where the place is, e.g., town or city name.",
170
+ "maxLength": 256
171
+ },
172
+ "addressRegion": {
173
+ "type": "string",
174
+ "pattern": "^[A-Z]{2}(-[A-Z0-9]{1,3})?$",
175
+ "description": "The region where the place is. These are states, provinces, etc. Must be an [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2)",
176
+ "maxLength": 6
177
+ },
178
+ "addressCountry": {
179
+ "type": "string",
180
+ "description": "The country where the place is. Must be an [ISO 3166 2 letter country code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes)",
181
+ "pattern": "^[A-Z]{2}$",
182
+ "maxLength": 2
183
+ }
184
+ },
185
+ "required": [
186
+ "addressCountry"
187
+ ]
188
+ },
189
+ "Validity_Schema": {
190
+ "title": "Validity",
191
+ "type": "object",
192
+ "additionalProperties": false,
193
+ "properties": {
194
+ "type": {
195
+ "type": "string",
196
+ "default": "Validity"
197
+ },
198
+ "firstValidFrom": {
199
+ "type": "string",
200
+ "format": "date",
201
+ "description": "The original date from which a certification, document or license is valid. "
202
+ },
203
+ "validFrom": {
204
+ "oneOf": [
205
+ {
206
+ "format": "date"
207
+ },
208
+ {
209
+ "format": "date-time"
210
+ }
211
+ ],
212
+ "description": "The date from which a certification, document or license is valid. In case of renewal, validFrom date will state the date or renewal. ",
213
+ "type": "string"
214
+ },
215
+ "validUntil": {
216
+ "oneOf": [
217
+ {
218
+ "format": "date"
219
+ },
220
+ {
221
+ "format": "date-time"
222
+ }
223
+ ],
224
+ "description": "The date until which a certification, document or license is valid. ",
225
+ "type": "string"
226
+ },
227
+ "validIn": {
228
+ "$ref": "#/definitions/Place_Schema"
229
+ }
230
+ }
231
+ }
232
+ }
233
+ }
@@ -0,0 +1,277 @@
1
+ {
2
+ "title": "Certification",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "$id": "https://velocitynetwork.foundation/schemas/certification-v1.1",
5
+ "allOf": [
6
+ {
7
+ "$ref": "#/definitions/Certification-license-base"
8
+ },
9
+ {
10
+ "type": "object",
11
+ "properties": {
12
+ "type": {
13
+ "type": "string",
14
+ "default": "CertificationLicense"
15
+ },
16
+ "identifier": {
17
+ "type": "string",
18
+ "description": "The number or other unique identifier of the certification held by the person.",
19
+ "maxLength": 512
20
+ },
21
+ "validity": {
22
+ "$ref": "#/definitions/Validity_Schema"
23
+ }
24
+ }
25
+ }
26
+ ],
27
+ "required": [
28
+ "authority",
29
+ "name",
30
+ "recipient"
31
+ ],
32
+ "definitions": {
33
+ "Certification-license-base": {
34
+ "title": "Certification-license-base",
35
+ "$schema": "http://json-schema.org/draft-07/schema#",
36
+ "type": "object",
37
+ "properties": {
38
+ "@context": {
39
+ "$ref": "#/definitions/Json-ld-context_Schema"
40
+ },
41
+ "authority": {
42
+ "$ref": "#/definitions/Organization_Schema"
43
+ },
44
+ "name": {
45
+ "type": "string",
46
+ "description": "The name of the certification or license.",
47
+ "maxLength": 256
48
+ },
49
+ "description": {
50
+ "type": "string",
51
+ "description": "Detailed description of the certification or license.",
52
+ "maxLength": 2048
53
+ },
54
+ "recipient": {
55
+ "$ref": "#/definitions/PersonName_Schema"
56
+ },
57
+ "alignment": {
58
+ "type": "array",
59
+ "description": "A public resource to which the certification or license is aligned.",
60
+ "minItems": 1,
61
+ "items": {
62
+ "$ref": "#/definitions/Alignment_Schema"
63
+ }
64
+ }
65
+ }
66
+ },
67
+ "Json-ld-context_Schema": {
68
+ "title": "json-ld-context",
69
+ "oneOf": [
70
+ {
71
+ "type": "string",
72
+ "maxLength": 2048
73
+ },
74
+ {
75
+ "type": "array",
76
+ "minItems": 1,
77
+ "items": {
78
+ "type": "string",
79
+ "maxLength": 2048
80
+ }
81
+ }
82
+ ],
83
+ "description": "Simplified context for Velocity Publishers to Use"
84
+ },
85
+ "Alignment_Schema": {
86
+ "title": "Alignment",
87
+ "type": "object",
88
+ "additionalProperties": false,
89
+ "properties": {
90
+ "type": {
91
+ "type": "string",
92
+ "default": "AlignmentObject"
93
+ },
94
+ "targetName": {
95
+ "type": "string",
96
+ "description": "Name of the target alignment.",
97
+ "maxLength": 256
98
+ },
99
+ "targetUrl": {
100
+ "type": "string",
101
+ "format": "uri",
102
+ "description": "URL of the target alignment. ",
103
+ "maxLength": 2048
104
+ },
105
+ "targetDescription": {
106
+ "type": "string",
107
+ "description": "Detailed description of the target alignment. ",
108
+ "maxLength": 2048
109
+ },
110
+ "targetCode": {
111
+ "type": "string",
112
+ "description": "Code of the target alignment. ",
113
+ "maxLength": 256
114
+ },
115
+ "targetFramework": {
116
+ "type": "string",
117
+ "description": "The framework to which the target belongs. ",
118
+ "maxLength": 256
119
+ }
120
+ },
121
+ "required": [
122
+ "targetName",
123
+ "targetUrl"
124
+ ]
125
+ },
126
+ "Did_Schema": {
127
+ "title": "DID",
128
+ "type": "string",
129
+ "pattern": "^did:[a-z0-9]+:[A-Za-z0-9._:?=&%;-]+$"
130
+ },
131
+ "Organization_Schema": {
132
+ "title": "Organization",
133
+ "type": "object",
134
+ "additionalProperties": false,
135
+ "properties": {
136
+ "type": {
137
+ "type": "string",
138
+ "default": "Organization"
139
+ },
140
+ "name": {
141
+ "type": "string",
142
+ "description": "The name of the organization.",
143
+ "maxLength": 256
144
+ },
145
+ "identifier": {
146
+ "$ref": "#/definitions/Did_Schema"
147
+ },
148
+ "place": {
149
+ "$ref": "#/definitions/Place_Schema"
150
+ }
151
+ },
152
+ "required": [
153
+ "name",
154
+ "place"
155
+ ]
156
+ },
157
+ "PersonName_Schema": {
158
+ "title": "Person name",
159
+ "type": "object",
160
+ "additionalProperties": false,
161
+ "properties": {
162
+ "type": {
163
+ "type": "string",
164
+ "default": "PersonName"
165
+ },
166
+ "givenName": {
167
+ "type": "string",
168
+ "description": "The given name or first name of the person.",
169
+ "maxLength": 64
170
+ },
171
+ "familyName": {
172
+ "type": "string",
173
+ "description": "The family name or surname of the person.",
174
+ "maxLength": 64
175
+ },
176
+ "middleName": {
177
+ "type": "string",
178
+ "description": "The middle name of the person.",
179
+ "maxLength": 256
180
+ },
181
+ "namePrefix": {
182
+ "type": "string",
183
+ "description": "A prefix to the name such as Dr or Sir.",
184
+ "maxLength": 8
185
+ },
186
+ "nameSuffix": {
187
+ "type": "string",
188
+ "description": "A suffix to the name such as Jr. or Sr.",
189
+ "maxLength": 16
190
+ }
191
+ },
192
+ "required": [
193
+ "givenName",
194
+ "familyName"
195
+ ]
196
+ },
197
+ "Place_Schema": {
198
+ "title": "Place",
199
+ "type": "object",
200
+ "additionalProperties": false,
201
+ "properties": {
202
+ "type": {
203
+ "type": "string",
204
+ "default": "Place"
205
+ },
206
+ "name": {
207
+ "type": "string",
208
+ "description": "The name of the place, e.g., building name, branch name, etc.",
209
+ "maxLength": 256
210
+ },
211
+ "addressLocality": {
212
+ "type": "string",
213
+ "description": "The locality where the place is, e.g., town or city name.",
214
+ "maxLength": 256
215
+ },
216
+ "addressRegion": {
217
+ "type": "string",
218
+ "pattern": "^[A-Z]{2}(-[A-Z0-9]{1,3})?$",
219
+ "description": "The region where the place is. These are states, provinces, etc. Must be an [ISO 3166-2 subdivision code](https://en.wikipedia.org/wiki/ISO_3166-2)",
220
+ "maxLength": 6
221
+ },
222
+ "addressCountry": {
223
+ "type": "string",
224
+ "description": "The country where the place is. Must be an [ISO 3166 2 letter country code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes)",
225
+ "pattern": "^[A-Z]{2}$",
226
+ "maxLength": 2
227
+ }
228
+ },
229
+ "required": [
230
+ "addressCountry"
231
+ ]
232
+ },
233
+ "Validity_Schema": {
234
+ "title": "Validity",
235
+ "type": "object",
236
+ "additionalProperties": false,
237
+ "properties": {
238
+ "type": {
239
+ "type": "string",
240
+ "default": "Validity"
241
+ },
242
+ "firstValidFrom": {
243
+ "type": "string",
244
+ "format": "date",
245
+ "description": "The original date from which a certification, document or license is valid. "
246
+ },
247
+ "validFrom": {
248
+ "oneOf": [
249
+ {
250
+ "format": "date"
251
+ },
252
+ {
253
+ "format": "date-time"
254
+ }
255
+ ],
256
+ "description": "The date from which a certification, document or license is valid. In case of renewal, validFrom date will state the date or renewal. ",
257
+ "type": "string"
258
+ },
259
+ "validUntil": {
260
+ "oneOf": [
261
+ {
262
+ "format": "date"
263
+ },
264
+ {
265
+ "format": "date-time"
266
+ }
267
+ ],
268
+ "description": "The date until which a certification, document or license is valid. ",
269
+ "type": "string"
270
+ },
271
+ "validIn": {
272
+ "$ref": "#/definitions/Place_Schema"
273
+ }
274
+ }
275
+ }
276
+ }
277
+ }
@@ -0,0 +1,149 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "description": "Certification",
4
+ "$id": "certification",
5
+ "type": "object",
6
+ "definitions": {
7
+ "DID": {
8
+ "type": "string",
9
+ "pattern": "^did:[a-z0-9]+:[A-Za-z0-9._:?=&%;-]+$"
10
+ },
11
+ "Alignment": {
12
+ "type": "object",
13
+ "properties": {
14
+ "targetName": {
15
+ "type": "string",
16
+ "description": "CCSS.ELA-Literacy.RST.11-12.3"
17
+ },
18
+ "targetUrl": {
19
+ "type": "string",
20
+ "format": "uri",
21
+ "description": "http://www.corestandards.org/ELA-Literacy/RST/11-12/3"
22
+ },
23
+ "targetDescription": {
24
+ "type": "string",
25
+ "description": "A description of the ELA ltieracy certification."
26
+ },
27
+ "targetCode": {
28
+ "type": "string",
29
+ "description": "CCSS.ELA-Literacy.RST.11-12.3"
30
+ },
31
+ "targetFramework": {
32
+ "type": "string",
33
+ "description": "Mozilla 21st Century Skills"
34
+ }
35
+ },
36
+ "required": [
37
+ "targetName",
38
+ "targetUrl"
39
+ ],
40
+ "additionalProperties": false
41
+ },
42
+ "MultiLingualString": {
43
+ "type": "object",
44
+ "properties": {
45
+ "localized": {
46
+ "type": "object",
47
+ "propertyNames": {
48
+ "pattern": "^[a-z]{2}(_[A-Z]{2})?$"
49
+ },
50
+ "additionalProperties": {
51
+ "type": "string"
52
+ }
53
+ },
54
+ "preferredLocale": {
55
+ "type": "object",
56
+ "properties": {
57
+ "country": {
58
+ "type": "string",
59
+ "pattern": "^[A-Z]{2}$"
60
+ },
61
+ "language": {
62
+ "type": "string",
63
+ "pattern": "^[a-z]{2}$"
64
+ }
65
+ }
66
+ }
67
+ },
68
+ "additionalProperties": false,
69
+ "required": [
70
+ "localized"
71
+ ]
72
+ },
73
+ "Date": {
74
+ "type": "object",
75
+ "properties": {
76
+ "day": {
77
+ "type": "integer",
78
+ "minimum": 1,
79
+ "maximum": 31
80
+ },
81
+ "month": {
82
+ "type": "integer",
83
+ "minimum": 1,
84
+ "maximum": 12
85
+ },
86
+ "year": {
87
+ "type": "integer",
88
+ "minimum": 1950
89
+ }
90
+ },
91
+ "additionalProperties": false
92
+ }
93
+ },
94
+ "properties": {
95
+ "authority": {
96
+ "$ref": "#/definitions/DID",
97
+ "description": "Standardized referenced Organization DID."
98
+ },
99
+ "authorityName": {
100
+ "$ref": "#/definitions/MultiLingualString",
101
+ "description": "Issuing authority's name."
102
+ },
103
+ "type": {
104
+ "$ref": "#/definitions/MultiLingualString",
105
+ "description": "The kind of certification."
106
+ },
107
+ "name": {
108
+ "$ref": "#/definitions/MultiLingualString",
109
+ "description": "Certification attained from this authority."
110
+ },
111
+ "number": {
112
+ "type": "string",
113
+ "pattern": "^[a-zA-Z0-9\\s]*$",
114
+ "maxLength": 64
115
+ },
116
+ "notes": {
117
+ "$ref": "#/definitions/MultiLingualString",
118
+ "description": "Description for additional details about this certification."
119
+ },
120
+ "fieldsOfStudy": {
121
+ "type": "array",
122
+ "items": {
123
+ "$ref": "#/definitions/MultiLingualString",
124
+ "description": "Degrees achieved in respective fields of study."
125
+ }
126
+ },
127
+ "certificationDate": {
128
+ "$ref": "#/definitions/Date",
129
+ "description": "Certification date. It is a Date."
130
+ },
131
+ "datesRenewed": {
132
+ "$ref": "#/definitions/Date",
133
+ "description": "Date it was renewed"
134
+ },
135
+ "alignment": {
136
+ "type": "array",
137
+ "items": {
138
+ "$ref": "#/definitions/Alignment"
139
+ }
140
+ }
141
+ },
142
+ "required": [
143
+ "authority",
144
+ "authorityName",
145
+ "type",
146
+ "name",
147
+ "certificationDate"
148
+ ]
149
+ }