@velocitycareerlabs/libapp 1.25.0-dev-build.12f0695ff → 1.25.0-dev-build.1c2d6340d
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.
- package/docker/compose.yml +9 -0
- package/docker/nginx.conf +9 -0
- package/package.json +2 -2
- package/display-descriptors/MultiLicensev1.0.descriptor.json +0 -140
- package/display-descriptors/assessment-dec2020.descriptor.json +0 -147
- package/display-descriptors/assessment-dimension.descriptor.json +0 -175
- package/display-descriptors/assessment-v1.0.descriptor.json +0 -267
- package/display-descriptors/assessment-v1.1.descriptor.json +0 -307
- package/display-descriptors/badge-v1.1.descriptor.json +0 -170
- package/display-descriptors/badge.descriptor.json +0 -143
- package/display-descriptors/certification-v1.0.descriptor.json +0 -140
- package/display-descriptors/certification-v1.1.descriptor.json +0 -190
- package/display-descriptors/certification.descriptor.json +0 -99
- package/display-descriptors/clr.descriptor.json +0 -123
- package/display-descriptors/course-attendance-v1.0.descriptor.json +0 -182
- package/display-descriptors/course-attendance-v1.1.descriptor.json +0 -242
- package/display-descriptors/course-completion-v1.0.descriptor.json +0 -192
- package/display-descriptors/course-completion-v1.1.descriptor.json +0 -253
- package/display-descriptors/course-registration-v1.0.descriptor.json +0 -151
- package/display-descriptors/course-registration-v1.1.descriptor.json +0 -181
- package/display-descriptors/course.descriptor.json +0 -150
- package/display-descriptors/current-employment-position.descriptor.json +0 -120
- package/display-descriptors/drivers-license-v1.0.descriptor.json +0 -261
- package/display-descriptors/drivers-license-v1.1.descriptor.json +0 -261
- package/display-descriptors/education-degree-graduation-v1.0.descriptor.json +0 -233
- package/display-descriptors/education-degree-registration-v1.0.descriptor.json +0 -171
- package/display-descriptors/education-degree-registration-v1.1.descriptor.json +0 -200
- package/display-descriptors/education-degree-study-v1.0.descriptor.json +0 -212
- package/display-descriptors/education-degree-study-v1.1.descriptor.json +0 -241
- package/display-descriptors/education-degree.descriptor.json +0 -110
- package/display-descriptors/email-v1.1.descriptor.json +0 -19
- package/display-descriptors/email.descriptor.json +0 -16
- package/display-descriptors/employment-current-v1.0.descriptor.json +0 -140
- package/display-descriptors/employment-past-v1.0.descriptor.json +0 -151
- package/display-descriptors/employment-past-v1.1.descriptor.json +0 -200
- package/display-descriptors/en/MultiLicensev1.0.descriptor.json +0 -140
- package/display-descriptors/en/assessment-dec2020.descriptor.json +0 -147
- package/display-descriptors/en/assessment-dimension.descriptor.json +0 -175
- package/display-descriptors/en/assessment-v1.0.descriptor.json +0 -267
- package/display-descriptors/en/assessment-v1.1.descriptor.json +0 -307
- package/display-descriptors/en/badge-v1.1.descriptor.json +0 -170
- package/display-descriptors/en/badge.descriptor.json +0 -143
- package/display-descriptors/en/certification-v1.0.descriptor.json +0 -140
- package/display-descriptors/en/certification-v1.1.descriptor.json +0 -190
- package/display-descriptors/en/certification.descriptor.json +0 -99
- package/display-descriptors/en/clr.descriptor.json +0 -123
- package/display-descriptors/en/course-attendance-v1.0.descriptor.json +0 -182
- package/display-descriptors/en/course-attendance-v1.1.descriptor.json +0 -242
- package/display-descriptors/en/course-completion-v1.0.descriptor.json +0 -192
- package/display-descriptors/en/course-completion-v1.1.descriptor.json +0 -253
- package/display-descriptors/en/course-registration-v1.0.descriptor.json +0 -151
- package/display-descriptors/en/course-registration-v1.1.descriptor.json +0 -181
- package/display-descriptors/en/course.descriptor.json +0 -150
- package/display-descriptors/en/current-employment-position.descriptor.json +0 -120
- package/display-descriptors/en/drivers-license-v1.0.descriptor.json +0 -261
- package/display-descriptors/en/drivers-license-v1.1.descriptor.json +0 -261
- package/display-descriptors/en/education-degree-graduation-v1.0.descriptor.json +0 -233
- package/display-descriptors/en/education-degree-registration-v1.0.descriptor.json +0 -171
- package/display-descriptors/en/education-degree-registration-v1.1.descriptor.json +0 -200
- package/display-descriptors/en/education-degree-study-v1.0.descriptor.json +0 -212
- package/display-descriptors/en/education-degree-study-v1.1.descriptor.json +0 -241
- package/display-descriptors/en/education-degree.descriptor.json +0 -110
- package/display-descriptors/en/email-v1.1.descriptor.json +0 -19
- package/display-descriptors/en/email.descriptor.json +0 -16
- package/display-descriptors/en/employment-current-v1.0.descriptor.json +0 -140
- package/display-descriptors/en/employment-past-v1.0.descriptor.json +0 -151
- package/display-descriptors/en/employment-past-v1.1.descriptor.json +0 -200
- package/display-descriptors/en/id-document-v1.0.descriptor.json +0 -258
- package/display-descriptors/en/id-document-v1.1.descriptor.json +0 -258
- package/display-descriptors/en/id-document.descriptor.json +0 -152
- package/display-descriptors/en/license-v1.0.descriptor.json +0 -172
- package/display-descriptors/en/license-v1.1.descriptor.json +0 -210
- package/display-descriptors/en/national-id-card-v1.0.descriptor.json +0 -258
- package/display-descriptors/en/national-id-card-v1.1.descriptor.json +0 -268
- package/display-descriptors/en/open-badge-v1.0.descriptor.json +0 -140
- package/display-descriptors/en/open-badge-v2.0.descriptor.json +0 -121
- package/display-descriptors/en/passport-v1.0.descriptor.json +0 -229
- package/display-descriptors/en/passport-v1.1.descriptor.json +0 -239
- package/display-descriptors/en/past-employment-position.descriptor.json +0 -131
- package/display-descriptors/en/phone-v1.0.descriptor.json +0 -18
- package/display-descriptors/en/phone-v1.1.descriptor.json +0 -18
- package/display-descriptors/en/phone.descriptor.json +0 -15
- package/display-descriptors/en/proof-of-age-v1.0.descriptor.json +0 -258
- package/display-descriptors/en/proof-of-age-v1.1.descriptor.json +0 -268
- package/display-descriptors/en/resident-permit-v1.0.descriptor.json +0 -258
- package/display-descriptors/en/resident-permit-v1.1.descriptor.json +0 -268
- package/display-descriptors/id-document-v1.0.descriptor.json +0 -258
- package/display-descriptors/id-document-v1.1.descriptor.json +0 -258
- package/display-descriptors/id-document.descriptor.json +0 -152
- package/display-descriptors/license-v1.0.descriptor.json +0 -172
- package/display-descriptors/license-v1.1.descriptor.json +0 -210
- package/display-descriptors/national-id-card-v1.0.descriptor.json +0 -258
- package/display-descriptors/national-id-card-v1.1.descriptor.json +0 -268
- package/display-descriptors/open-badge-v1.0.descriptor.json +0 -140
- package/display-descriptors/open-badge-v2.0.descriptor.json +0 -121
- package/display-descriptors/passport-v1.0.descriptor.json +0 -229
- package/display-descriptors/passport-v1.1.descriptor.json +0 -239
- package/display-descriptors/past-employment-position.descriptor.json +0 -131
- package/display-descriptors/phone-v1.0.descriptor.json +0 -18
- package/display-descriptors/phone-v1.1.descriptor.json +0 -18
- package/display-descriptors/phone.descriptor.json +0 -15
- package/display-descriptors/proof-of-age-v1.0.descriptor.json +0 -258
- package/display-descriptors/proof-of-age-v1.1.descriptor.json +0 -268
- package/display-descriptors/resident-permit-v1.0.descriptor.json +0 -258
- package/display-descriptors/resident-permit-v1.1.descriptor.json +0 -268
- package/form-schemas/AssessmentV1.0.form-schema.json +0 -64
- package/form-schemas/AssessmentV1.1.form-schema.json +0 -89
- package/form-schemas/BadgeV1.1.form-schema.json +0 -72
- package/form-schemas/CertificationV1.0.form-schema.json +0 -84
- package/form-schemas/CertificationV1.1.form-schema.json +0 -109
- package/form-schemas/CourseAttendanceV1.0.form-schema.json +0 -76
- package/form-schemas/CourseAttendanceV1.1.form-schema.json +0 -101
- package/form-schemas/CourseCompletionV1.0.form-schema.json +0 -81
- package/form-schemas/CourseCompletionV1.1.form-schema.json +0 -106
- package/form-schemas/CourseRegistrationV1.0.form-schema.json +0 -56
- package/form-schemas/CourseRegistrationV1.1.form-schema.json +0 -81
- package/form-schemas/DriversLicenseV1.0.form-schema.json +0 -199
- package/form-schemas/DriversLicenseV1.1.form-schema.json +0 -199
- package/form-schemas/EducationDegreeGraduationV1.0.form-schema.json +0 -101
- package/form-schemas/EducationDegreeRegistrationV1.0.form-schema.json +0 -67
- package/form-schemas/EducationDegreeRegistrationV1.1.form-schema.json +0 -92
- package/form-schemas/EducationDegreeStudyV1.0.form-schema.json +0 -92
- package/form-schemas/EducationDegreeStudyV1.1.form-schema.json +0 -117
- package/form-schemas/EmploymentCurrentV1.0.form-schema.json +0 -70
- package/form-schemas/EmploymentPastV1.0.form-schema.json +0 -75
- package/form-schemas/EmploymentPastV1.1.form-schema.json +0 -101
- package/form-schemas/IdDocumentV1.0.form-schema.json +0 -180
- package/form-schemas/IdDocumentV1.1.form-schema.json +0 -180
- package/form-schemas/LicenseV1.0.form-schema.json +0 -92
- package/form-schemas/LicenseV1.1.form-schema.json +0 -117
- package/form-schemas/NationalIdCardV1.0.form-schema.json +0 -176
- package/form-schemas/NationalIdCardV1.1.form-schema.json +0 -176
- package/form-schemas/OpenBadgeV1.0.form-schema.json +0 -44
- package/form-schemas/OpenBadgeV2.0.form-schema.json +0 -44
- package/form-schemas/PassportV1.0.form-schema.json +0 -141
- package/form-schemas/PassportV1.1.form-schema.json +0 -141
- package/form-schemas/PhoneV1.0.form-schema.json +0 -5
- package/form-schemas/PhoneV1.1.form-schema.json +0 -5
- package/form-schemas/ProofOfAgeV1.0.form-schema.json +0 -176
- package/form-schemas/ProofOfAgeV1.1.form-schema.json +0 -176
- package/form-schemas/ResidentPermitV1.0.form-schema.json +0 -176
- package/form-schemas/ResidentPermitV1.1.form-schema.json +0 -176
- package/form-schemas/en/AssessmentV1.0.form-schema.json +0 -64
- package/form-schemas/en/AssessmentV1.1.form-schema.json +0 -89
- package/form-schemas/en/BadgeV1.1.form-schema.json +0 -72
- package/form-schemas/en/CertificationV1.0.form-schema.json +0 -84
- package/form-schemas/en/CertificationV1.1.form-schema.json +0 -109
- package/form-schemas/en/CourseAttendanceV1.0.form-schema.json +0 -76
- package/form-schemas/en/CourseAttendanceV1.1.form-schema.json +0 -101
- package/form-schemas/en/CourseCompletionV1.0.form-schema.json +0 -81
- package/form-schemas/en/CourseCompletionV1.1.form-schema.json +0 -106
- package/form-schemas/en/CourseRegistrationV1.0.form-schema.json +0 -56
- package/form-schemas/en/CourseRegistrationV1.1.form-schema.json +0 -81
- package/form-schemas/en/DriversLicenseV1.0.form-schema.json +0 -199
- package/form-schemas/en/DriversLicenseV1.1.form-schema.json +0 -199
- package/form-schemas/en/EducationDegreeGraduationV1.0.form-schema.json +0 -101
- package/form-schemas/en/EducationDegreeRegistrationV1.0.form-schema.json +0 -67
- package/form-schemas/en/EducationDegreeRegistrationV1.1.form-schema.json +0 -92
- package/form-schemas/en/EducationDegreeStudyV1.0.form-schema.json +0 -92
- package/form-schemas/en/EducationDegreeStudyV1.1.form-schema.json +0 -117
- package/form-schemas/en/EmploymentCurrentV1.0.form-schema.json +0 -70
- package/form-schemas/en/EmploymentPastV1.0.form-schema.json +0 -75
- package/form-schemas/en/EmploymentPastV1.1.form-schema.json +0 -101
- package/form-schemas/en/IdDocumentV1.0.form-schema.json +0 -180
- package/form-schemas/en/IdDocumentV1.1.form-schema.json +0 -180
- package/form-schemas/en/LicenseV1.0.form-schema.json +0 -92
- package/form-schemas/en/LicenseV1.1.form-schema.json +0 -117
- package/form-schemas/en/NationalIdCardV1.0.form-schema.json +0 -176
- package/form-schemas/en/NationalIdCardV1.1.form-schema.json +0 -176
- package/form-schemas/en/OpenBadgeV1.0.form-schema.json +0 -44
- package/form-schemas/en/OpenBadgeV2.0.form-schema.json +0 -44
- package/form-schemas/en/PassportV1.0.form-schema.json +0 -141
- package/form-schemas/en/PassportV1.1.form-schema.json +0 -141
- package/form-schemas/en/PhoneV1.0.form-schema.json +0 -5
- package/form-schemas/en/PhoneV1.1.form-schema.json +0 -5
- package/form-schemas/en/ProofOfAgeV1.0.form-schema.json +0 -176
- package/form-schemas/en/ProofOfAgeV1.1.form-schema.json +0 -176
- package/form-schemas/en/ResidentPermitV1.0.form-schema.json +0 -176
- package/form-schemas/en/ResidentPermitV1.1.form-schema.json +0 -176
- package/schemas/MultiLicenseV1.0.json +0 -997
- package/schemas/assessment-v1.0.schema.json +0 -314
- package/schemas/assessment-v1.1.schema.json +0 -360
- package/schemas/assessment.schema.json +0 -154
- package/schemas/badge-v1.1.schema.json +0 -243
- package/schemas/badge.schema.json +0 -152
- package/schemas/certification-v1.0.schema.json +0 -233
- package/schemas/certification-v1.1.schema.json +0 -277
- package/schemas/certification.schema.json +0 -149
- package/schemas/clr-subject.schema.json +0 -2247
- package/schemas/clr.schema.json +0 -1565
- package/schemas/course-attendance-v1.0.schema.json +0 -300
- package/schemas/course-attendance-v1.1.schema.json +0 -346
- package/schemas/course-completion-v1.0.schema.json +0 -303
- package/schemas/course-completion-v1.1.schema.json +0 -349
- package/schemas/course-registration-v1.0.schema.json +0 -219
- package/schemas/course-registration-v1.1.schema.json +0 -271
- package/schemas/course.schema.json +0 -140
- package/schemas/current-employment-position.schema.json +0 -145
- package/schemas/drivers-license-v1.0.schema.json +0 -333
- package/schemas/education-degree-graduation-v1.0.schema.json +0 -320
- package/schemas/education-degree-registration-v1.0.schema.json +0 -228
- package/schemas/education-degree-registration-v1.1.schema.json +0 -279
- package/schemas/education-degree-study-v1.0.schema.json +0 -311
- package/schemas/education-degree-study-v1.1.schema.json +0 -357
- package/schemas/education-degree.schema.json +0 -161
- package/schemas/email.schema.json +0 -19
- package/schemas/employment-current-v1.0.schema.json +0 -216
- package/schemas/employment-past-v1.0.schema.json +0 -220
- package/schemas/employment-past-v1.1.schema.json +0 -271
- package/schemas/id-document-v1.0.schema.json +0 -278
- package/schemas/id-document.schema.json +0 -169
- package/schemas/license-v1.0.schema.json +0 -252
- package/schemas/license-v1.1.schema.json +0 -296
- package/schemas/license.schema.json +0 -261
- package/schemas/national-id-card-v1.0.schema.json +0 -272
- package/schemas/open-badge-v1.0.schema.json +0 -176
- package/schemas/open-badge-v2.0.schema.json +0 -348
- package/schemas/passport-v1.0.schema.json +0 -235
- package/schemas/past-employment-position.schema.json +0 -149
- package/schemas/phone-v1.0.schema.json +0 -45
- package/schemas/phone.schema.json +0 -19
- package/schemas/proof-of-age-v1.0.schema.json +0 -272
- 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
|
-
}
|