@velocitycareerlabs/libapp 1.25.0-dev-build.12dfdbbae → 1.25.0-dev-build.1d055e794

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,272 +0,0 @@
1
- {
2
- "title": "National ID card",
3
- "$schema": "http://json-schema.org/draft-07/schema#",
4
- "$id": "https://velocitynetwork.foundation/schemas/national-id-card-v1.0",
5
- "type": "object",
6
- "additionalProperties": false,
7
- "properties": {
8
- "@context": {
9
- "$ref": "#/definitions/Json-ld-context_Schema"
10
- },
11
- "type": {
12
- "type": "string",
13
- "default": "IdDocument"
14
- },
15
- "authority": {
16
- "$ref": "#/definitions/Organization_Schema"
17
- },
18
- "validity": {
19
- "$ref": "#/definitions/Validity_Schema"
20
- },
21
- "person": {
22
- "$ref": "#/definitions/Person_Schema"
23
- },
24
- "identifier": {
25
- "type": "string",
26
- "description": "The id number.",
27
- "maxLength": 64
28
- },
29
- "nationality": {
30
- "type": "string",
31
- "pattern": "^[A-Z]{2}$",
32
- "description": "The nationality of the person holding the document.",
33
- "maxLength": 2
34
- },
35
- "postalAddress": {
36
- "$ref": "#/definitions/Address_Schema"
37
- }
38
- },
39
- "required": [
40
- "authority",
41
- "person",
42
- "identifier"
43
- ],
44
- "definitions": {
45
- "Json-ld-context_Schema": {
46
- "title": "json-ld-context",
47
- "oneOf": [
48
- {
49
- "type": "string",
50
- "maxLength": 2048
51
- },
52
- {
53
- "type": "array",
54
- "minItems": 1,
55
- "items": {
56
- "type": "string",
57
- "maxLength": 2048
58
- }
59
- }
60
- ],
61
- "description": "Simplified context for Velocity Publishers to Use"
62
- },
63
- "Address_Schema": {
64
- "title": "Address",
65
- "type": "object",
66
- "additionalProperties": false,
67
- "properties": {
68
- "type": {
69
- "type": "string",
70
- "default": "Address"
71
- },
72
- "streetAddress": {
73
- "type": "string",
74
- "description": "The street address.",
75
- "maxLength": 512
76
- },
77
- "addressLocality": {
78
- "type": "string",
79
- "description": "The locality of the address, e.g., town or city name.",
80
- "maxLength": 256
81
- },
82
- "addressRegion": {
83
- "type": "string",
84
- "pattern": "^[A-Z]{2}(-[A-Z0-9]{1,3})?$",
85
- "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)",
86
- "maxLength": 6
87
- },
88
- "postCode": {
89
- "type": "string",
90
- "description": "Postcode or zip code of the address.",
91
- "maxLength": 32
92
- },
93
- "addressCountry": {
94
- "type": "string",
95
- "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)",
96
- "pattern": "^[A-Z]{2}$",
97
- "maxLength": 2
98
- }
99
- },
100
- "required": [
101
- "addressCountry"
102
- ]
103
- },
104
- "Did_Schema": {
105
- "title": "DID",
106
- "type": "string",
107
- "pattern": "^did:[a-z0-9]+:[A-Za-z0-9._:?=&%;-]+$"
108
- },
109
- "Organization_Schema": {
110
- "title": "Organization",
111
- "type": "object",
112
- "additionalProperties": false,
113
- "properties": {
114
- "type": {
115
- "type": "string",
116
- "default": "Organization"
117
- },
118
- "name": {
119
- "type": "string",
120
- "description": "The name of the organization.",
121
- "maxLength": 256
122
- },
123
- "identifier": {
124
- "$ref": "#/definitions/Did_Schema"
125
- },
126
- "place": {
127
- "$ref": "#/definitions/Place_Schema"
128
- }
129
- },
130
- "required": [
131
- "name",
132
- "place"
133
- ]
134
- },
135
- "Person_Schema": {
136
- "title": "Person",
137
- "type": "object",
138
- "additionalProperties": false,
139
- "properties": {
140
- "type": {
141
- "type": "string",
142
- "default": "Person"
143
- },
144
- "givenName": {
145
- "type": "string",
146
- "description": "The given name or first name of the person.",
147
- "maxLength": 64
148
- },
149
- "familyName": {
150
- "type": "string",
151
- "description": "The family name or surname of the person.",
152
- "maxLength": 64
153
- },
154
- "middleName": {
155
- "type": "string",
156
- "description": "The middle name of the person.",
157
- "maxLength": 256
158
- },
159
- "namePrefix": {
160
- "type": "string",
161
- "description": "A prefix to the name such as Dr or Sir.",
162
- "maxLength": 8
163
- },
164
- "nameSuffix": {
165
- "type": "string",
166
- "description": "A suffix to the name such as Jr. or Sr.",
167
- "maxLength": 16
168
- },
169
- "birthDate": {
170
- "type": "string",
171
- "format": "date",
172
- "description": "The date of birth of the person."
173
- },
174
- "birthPlace": {
175
- "$ref": "#/definitions/Place_Schema"
176
- },
177
- "gender": {
178
- "type": "string",
179
- "enum": [
180
- "Male",
181
- "Female",
182
- "Other"
183
- ],
184
- "description": "The gender of the person."
185
- }
186
- },
187
- "required": [
188
- "givenName",
189
- "birthDate"
190
- ]
191
- },
192
- "Place_Schema": {
193
- "title": "Place",
194
- "type": "object",
195
- "additionalProperties": false,
196
- "properties": {
197
- "type": {
198
- "type": "string",
199
- "default": "Place"
200
- },
201
- "name": {
202
- "type": "string",
203
- "description": "The name of the place, e.g., building name, branch name, etc.",
204
- "maxLength": 256
205
- },
206
- "addressLocality": {
207
- "type": "string",
208
- "description": "The locality where the place is, e.g., town or city name.",
209
- "maxLength": 256
210
- },
211
- "addressRegion": {
212
- "type": "string",
213
- "pattern": "^[A-Z]{2}(-[A-Z0-9]{1,3})?$",
214
- "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)",
215
- "maxLength": 6
216
- },
217
- "addressCountry": {
218
- "type": "string",
219
- "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)",
220
- "pattern": "^[A-Z]{2}$",
221
- "maxLength": 2
222
- }
223
- },
224
- "required": [
225
- "addressCountry"
226
- ]
227
- },
228
- "Validity_Schema": {
229
- "title": "Validity",
230
- "type": "object",
231
- "additionalProperties": false,
232
- "properties": {
233
- "type": {
234
- "type": "string",
235
- "default": "Validity"
236
- },
237
- "firstValidFrom": {
238
- "type": "string",
239
- "format": "date",
240
- "description": "The original date from which a certification, document or license is valid. "
241
- },
242
- "validFrom": {
243
- "oneOf": [
244
- {
245
- "format": "date"
246
- },
247
- {
248
- "format": "date-time"
249
- }
250
- ],
251
- "description": "The date from which a certification, document or license is valid. In case of renewal, validFrom date will state the date or renewal. ",
252
- "type": "string"
253
- },
254
- "validUntil": {
255
- "oneOf": [
256
- {
257
- "format": "date"
258
- },
259
- {
260
- "format": "date-time"
261
- }
262
- ],
263
- "description": "The date until which a certification, document or license is valid. ",
264
- "type": "string"
265
- },
266
- "validIn": {
267
- "$ref": "#/definitions/Place_Schema"
268
- }
269
- }
270
- }
271
- }
272
- }
@@ -1,176 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "description": "Badge",
4
- "$id": "https://velocitynetwork.foundation/schemas/open-badge-v1.0",
5
- "type": "object",
6
- "additionalProperties": false,
7
- "properties": {
8
- "@context": {
9
- "$ref": "#/definitions/Json-ld-context_Schema"
10
- },
11
- "type": {
12
- "type": "string",
13
- "default": "Badge"
14
- },
15
- "hasCredential": {
16
- "type": "object",
17
- "required": [
18
- "type",
19
- "name",
20
- "description",
21
- "image",
22
- "criteria",
23
- "issuer"
24
- ],
25
- "properties": {
26
- "@context": {
27
- "oneOf": [
28
- {
29
- "type": "string",
30
- "default": "https://openbadgespec.org/v1/context.json"
31
- },
32
- {
33
- "type": "array",
34
- "items": {
35
- "type": "string"
36
- }
37
- }
38
- ]
39
- },
40
- "type": {
41
- "oneOf": [
42
- {
43
- "type": "string",
44
- "default": "BadgeClass",
45
- "maxLength": 64
46
- },
47
- {
48
- "type": "array",
49
- "minItems": 1,
50
- "items": {
51
- "type": "string",
52
- "maxLength": 64
53
- }
54
- }
55
- ],
56
- "description": "valid JSON-LD representation of the BadgeClass type. In most cases, this will simply be the string BadgeClass. An array including BadgeClass and other string elements that are either URLs or compact IRIs within the current context are allowed."
57
- },
58
- "id": {
59
- "type": "string",
60
- "format": "uri",
61
- "description": "Unique IRI for the BadgeClass. Most platforms to date can only handle HTTP-based IRIs. Issuers using signed assertions are encouraged to publish BadgeClasses using HTTP IRIs but may instead use ephemeral BadgeClasses that use an id in another scheme such as urn:uuid.",
62
- "maxLength": 2048
63
- },
64
- "name": {
65
- "type": "string",
66
- "maxLength": 128,
67
- "description": "The name of the achievement."
68
- },
69
- "description": {
70
- "type": "string",
71
- "maxLength": 2048,
72
- "description": "A short description of the achievement."
73
- },
74
- "image": {
75
- "type": "string",
76
- "format": "uri",
77
- "description": "IRI or document representing an image of the achievement. This must be a PNG or SVG image.",
78
- "maxLength": 2048
79
- },
80
- "criteria": {
81
- "type": "string",
82
- "description": "https://example.org/robotics-badge.html",
83
- "format": "uri",
84
- "maxLength": 2048
85
- },
86
- "issuer": {
87
- "type": "string",
88
- "format": "uri",
89
- "description": "The organization that issued the badge. On Velocity Network this should be DID",
90
- "maxLength": 2048
91
- },
92
- "alignment": {
93
- "type": "array",
94
- "description": "An array of objects describing which objectives or educational standards this badge aligns to, if any.",
95
- "minItems": 1,
96
- "items": {
97
- "$ref": "#/definitions/Alignment_Schema"
98
- }
99
- },
100
- "tags": {
101
- "type": "array",
102
- "description": "Tags that describes the type of achievement.",
103
- "minItems": 1,
104
- "items": {
105
- "type": "string",
106
- "maxLength": 64
107
- }
108
- }
109
- }
110
- }
111
- },
112
- "required": [
113
- "hasCredential"
114
- ],
115
- "definitions": {
116
- "Json-ld-context_Schema": {
117
- "title": "json-ld-context",
118
- "oneOf": [
119
- {
120
- "type": "string",
121
- "maxLength": 2048
122
- },
123
- {
124
- "type": "array",
125
- "minItems": 1,
126
- "items": {
127
- "type": "string",
128
- "maxLength": 2048
129
- }
130
- }
131
- ],
132
- "description": "Simplified context for Velocity Publishers to Use"
133
- },
134
- "Alignment_Schema": {
135
- "title": "Alignment",
136
- "type": "object",
137
- "additionalProperties": false,
138
- "properties": {
139
- "type": {
140
- "type": "string",
141
- "default": "AlignmentObject"
142
- },
143
- "targetName": {
144
- "type": "string",
145
- "description": "Name of the target alignment.",
146
- "maxLength": 256
147
- },
148
- "targetUrl": {
149
- "type": "string",
150
- "format": "uri",
151
- "description": "URL of the target alignment. ",
152
- "maxLength": 2048
153
- },
154
- "targetDescription": {
155
- "type": "string",
156
- "description": "Detailed description of the target alignment. ",
157
- "maxLength": 2048
158
- },
159
- "targetCode": {
160
- "type": "string",
161
- "description": "Code of the target alignment. ",
162
- "maxLength": 256
163
- },
164
- "targetFramework": {
165
- "type": "string",
166
- "description": "The framework to which the target belongs. ",
167
- "maxLength": 256
168
- }
169
- },
170
- "required": [
171
- "targetName",
172
- "targetUrl"
173
- ]
174
- }
175
- }
176
- }