1
1
/**
2
- * @file Represents the latest version of the schema that I'm willing to support / implement
3
- * - Currently locked to v0.1.3, @see https://github.com/joshuatz/linkedin-to-jsonresume/issues/33
4
- * @see https://github.com/jsonresume/resume-schema/blob/v0.1.3 /schema.json
5
- * - Permalink of above: https://github.com/jsonresume/resume-schema/blob/cb54b409edd8502ec7a1c196668911985dce8bdd /schema.json
2
+ * @file Represents the current version(s) of the schema
3
+ * - Currently v1.0.0
4
+ * @see https://github.com/jsonresume/resume-schema/blob/v1.0.0 /schema.json
5
+ * - Permalink of above: https://github.com/jsonresume/resume-schema/blob/8a5b3982f8e5b9f8840398e162a6e0c418d023da /schema.json
6
6
*/
7
7
8
8
// All of these imports are because the spec is the same for the sub-section in both stable and latest (this doc)
9
- import { Iso8601 , Award , Location , Profile , Interest , Language , Reference , Skill , ResumeSchemaStable } from './jsonresume.schema.stable' ;
9
+ import { Iso8601 , Award , Location , Profile , Interest , Language , Reference , Skill , ResumeSchemaLegacy } from './jsonresume.schema.legacy' ;
10
+
10
11
// Re-export
11
12
export {
12
13
Iso8601 ,
@@ -19,13 +20,11 @@ export {
19
20
Skill
20
21
}
21
22
22
- // Not yet in stable
23
- // https://github.com/jsonresume/resume-schema/pull/340
24
- interface Certificate {
23
+ export interface Certificate {
25
24
/**
26
25
* e.g. Certified Kubernetes Administrator
27
26
*/
28
- title : string ;
27
+ name : string ;
29
28
/**
30
29
* e.g. 1989-06-12
31
30
*/
@@ -86,7 +85,7 @@ export interface Education {
86
85
/**
87
86
* grade point average, e.g. 3.67/4.0
88
87
*/
89
- gpa ?: string ;
88
+ score ?: string ;
90
89
/**
91
90
* e.g. Massachusetts Institute of Technology
92
91
*/
@@ -157,14 +156,14 @@ export interface Project {
157
156
url ?: string ;
158
157
}
159
158
160
- export type Publication = Omit < ResumeSchemaStable [ 'publications' ] [ 0 ] , 'website' > & {
159
+ export type Publication = Omit < ResumeSchemaLegacy [ 'publications' ] [ 0 ] , 'website' > & {
161
160
/**
162
161
* e.g. http://www.computer.org.example.com/csdl/mags/co/1996/10/rx069-abs.html
163
162
*/
164
163
url ?: string ;
165
164
}
166
165
167
- export type Volunteer = Omit < ResumeSchemaStable [ 'volunteer' ] [ 0 ] , 'website' > & {
166
+ export type Volunteer = Omit < ResumeSchemaLegacy [ 'volunteer' ] [ 0 ] , 'website' > & {
168
167
/**
169
168
* e.g. https://www.eff.org/
170
169
*/
@@ -204,7 +203,7 @@ export interface Work {
204
203
url ?: string ;
205
204
}
206
205
207
- export interface ResumeSchemaLatest {
206
+ export interface ResumeSchemaStable {
208
207
/**
209
208
* link to the version of the schema that can validate the resume
210
209
*/
@@ -214,6 +213,7 @@ export interface ResumeSchemaLatest {
214
213
*/
215
214
awards ?: Award [ ] ;
216
215
basics ?: Basics ;
216
+ certificates : Certificate [ ] ;
217
217
education ?: Education [ ] ;
218
218
interests ?: Interest [ ] ;
219
219
/**
@@ -244,6 +244,7 @@ export interface ResumeSchemaLatest {
244
244
work ?: Work [ ] ;
245
245
}
246
246
247
- export interface ResumeSchemaBeyondSpec extends ResumeSchemaLatest {
248
- certificates : Certificate [ ] ;
249
- }
247
+ /**
248
+ * Currently even - nothing beyond v1
249
+ */
250
+ export interface ResumeSchemaBeyondSpec extends ResumeSchemaStable { }
0 commit comments