@jsonresume/schema 1.4.0 → 1.5.0
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/package.json +1 -1
- package/schema.json +58 -24
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -12,6 +12,32 @@
|
|
|
12
12
|
"type": "object",
|
|
13
13
|
"description": "Tool- or author-specific data that has no standard field yet (#316). Keys are free-form; namespace them by tool (e.g. \"myTool\": { ... }) to avoid collisions. Themes are not expected to render it, and tools should preserve it unchanged when reading and writing resumes.",
|
|
14
14
|
"additionalProperties": true
|
|
15
|
+
},
|
|
16
|
+
"location": {
|
|
17
|
+
"type": "object",
|
|
18
|
+
"additionalProperties": true,
|
|
19
|
+
"properties": {
|
|
20
|
+
"address": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "To add multiple address lines, use \n. For example, 1234 Glücklichkeit Straße\nHinterhaus 5. Etage li."
|
|
23
|
+
},
|
|
24
|
+
"postalCode": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"description": "e.g. 12345"
|
|
27
|
+
},
|
|
28
|
+
"city": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"description": "e.g. Teststadt"
|
|
31
|
+
},
|
|
32
|
+
"countryCode": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"description": "code as per ISO-3166-1 ALPHA-2, e.g. US, AU, IN"
|
|
35
|
+
},
|
|
36
|
+
"region": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "The general region where you live. Can be a US state, or a province, for instance."
|
|
39
|
+
}
|
|
40
|
+
}
|
|
15
41
|
}
|
|
16
42
|
},
|
|
17
43
|
"properties": {
|
|
@@ -58,28 +84,7 @@
|
|
|
58
84
|
"description": "Write a short 2-3 sentence biography about yourself"
|
|
59
85
|
},
|
|
60
86
|
"location": {
|
|
61
|
-
"
|
|
62
|
-
"additionalProperties": true,
|
|
63
|
-
"properties": {
|
|
64
|
-
"address": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"description": "To add multiple address lines, use \n. For example, 1234 Glücklichkeit Straße\nHinterhaus 5. Etage li."
|
|
67
|
-
},
|
|
68
|
-
"postalCode": {
|
|
69
|
-
"type": "string"
|
|
70
|
-
},
|
|
71
|
-
"city": {
|
|
72
|
-
"type": "string"
|
|
73
|
-
},
|
|
74
|
-
"countryCode": {
|
|
75
|
-
"type": "string",
|
|
76
|
-
"description": "code as per ISO-3166-1 ALPHA-2, e.g. US, AU, IN"
|
|
77
|
-
},
|
|
78
|
-
"region": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"description": "The general region where you live. Can be a US state, or a province, for instance."
|
|
81
|
-
}
|
|
82
|
-
}
|
|
87
|
+
"$ref": "#/definitions/location"
|
|
83
88
|
},
|
|
84
89
|
"profiles": {
|
|
85
90
|
"type": "array",
|
|
@@ -124,8 +129,15 @@
|
|
|
124
129
|
"description": "e.g. Facebook"
|
|
125
130
|
},
|
|
126
131
|
"location": {
|
|
127
|
-
"
|
|
128
|
-
|
|
132
|
+
"oneOf": [
|
|
133
|
+
{
|
|
134
|
+
"type": "string",
|
|
135
|
+
"description": "Free text, e.g. Menlo Park, CA"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"$ref": "#/definitions/location"
|
|
139
|
+
}
|
|
140
|
+
]
|
|
129
141
|
},
|
|
130
142
|
"description": {
|
|
131
143
|
"type": "string",
|
|
@@ -182,6 +194,17 @@
|
|
|
182
194
|
"type": "string",
|
|
183
195
|
"description": "e.g. Facebook"
|
|
184
196
|
},
|
|
197
|
+
"location": {
|
|
198
|
+
"oneOf": [
|
|
199
|
+
{
|
|
200
|
+
"type": "string",
|
|
201
|
+
"description": "Free text, e.g. Berlin, DE"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"$ref": "#/definitions/location"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
},
|
|
185
208
|
"position": {
|
|
186
209
|
"type": "string",
|
|
187
210
|
"description": "e.g. Software Engineer"
|
|
@@ -225,6 +248,17 @@
|
|
|
225
248
|
"type": "string",
|
|
226
249
|
"description": "e.g. Massachusetts Institute of Technology"
|
|
227
250
|
},
|
|
251
|
+
"location": {
|
|
252
|
+
"oneOf": [
|
|
253
|
+
{
|
|
254
|
+
"type": "string",
|
|
255
|
+
"description": "Free text, e.g. Cambridge, MA"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"$ref": "#/definitions/location"
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
228
262
|
"url": {
|
|
229
263
|
"type": "string",
|
|
230
264
|
"description": "e.g. http://facebook.example.com",
|