@velocitycareerlabs/libapp 1.25.0-dev-build.1c0dd0e71 → 1.25.0-dev-build.1dab34007

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