@velocitycareerlabs/libapp 1.25.0-dev-build.12bfac039 → 1.25.0-dev-build.15f92fce6

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