1
1
/**
2
- * @file Represents the latest version of the schema that I'm willing to support / implement
2
+ * @file Represents the current version(s) of the schema
3
3
* - Currently v1.0.0
4
4
* @see https://github.com/jsonresume/resume-schema/blob/v1.0.0/schema.json
5
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 ,
@@ -155,14 +156,14 @@ export interface Project {
155
156
url ?: string ;
156
157
}
157
158
158
- export type Publication = Omit < ResumeSchemaStable [ 'publications' ] [ 0 ] , 'website' > & {
159
+ export type Publication = Omit < ResumeSchemaLegacy [ 'publications' ] [ 0 ] , 'website' > & {
159
160
/**
160
161
* e.g. http://www.computer.org.example.com/csdl/mags/co/1996/10/rx069-abs.html
161
162
*/
162
163
url ?: string ;
163
164
}
164
165
165
- export type Volunteer = Omit < ResumeSchemaStable [ 'volunteer' ] [ 0 ] , 'website' > & {
166
+ export type Volunteer = Omit < ResumeSchemaLegacy [ 'volunteer' ] [ 0 ] , 'website' > & {
166
167
/**
167
168
* e.g. https://www.eff.org/
168
169
*/
@@ -202,7 +203,7 @@ export interface Work {
202
203
url ?: string ;
203
204
}
204
205
205
- export interface ResumeSchemaLatest {
206
+ export interface ResumeSchemaStable {
206
207
/**
207
208
* link to the version of the schema that can validate the resume
208
209
*/
@@ -243,6 +244,7 @@ export interface ResumeSchemaLatest {
243
244
work ?: Work [ ] ;
244
245
}
245
246
246
- export interface ResumeSchemaBeyondSpec extends ResumeSchemaLatest {
247
- certificates : Certificate [ ] ;
248
- }
247
+ /**
248
+ * Currently even - nothing beyond v1
249
+ */
250
+ export interface ResumeSchemaBeyondSpec extends ResumeSchemaStable { }
0 commit comments