diff --git a/sample.resume.json b/sample.cv.json similarity index 98% rename from sample.resume.json rename to sample.cv.json index 83c4875..92939b3 100644 --- a/sample.resume.json +++ b/sample.cv.json @@ -280,8 +280,8 @@ } ], "meta": { - "canonical": "https://raw.githubusercontent.com/jsonresume/resume-schema/master/resume.json", - "version": "v1.0.0", - "lastModified": "2017-12-24T15:53:00" + "canonical": "https://raw.githubusercontent.com/reorx/jsoncv/master/schema/jsoncv.schema.json", + "version": "v2.0.0", + "lastModified": "2023-02-12T22:26:00" } } diff --git a/schema/jsoncv.schema.json b/schema/jsoncv.schema.json index e8165cd..5fe30dd 100644 --- a/schema/jsoncv.schema.json +++ b/schema/jsoncv.schema.json @@ -12,7 +12,7 @@ "properties": { "$schema": { "type": "string", - "description": "link to the version of the schema that can validate the resume", + "description": "link to the version of the schema that can validate the CV", "format": "uri" }, "basics": { @@ -525,6 +525,6 @@ } } }, - "title": "Resume Schema", + "title": "CV Schema", "type": "object" } diff --git a/src/editor/main.js b/src/editor/main.js index 041f0cf..20e70ed 100644 --- a/src/editor/main.js +++ b/src/editor/main.js @@ -6,7 +6,7 @@ import objectPath from 'object-path'; import { JSONEditor } from '@json-editor/json-editor/dist/jsoneditor'; -import * as sampleModule from '../../sample.resume.json'; +import * as sampleModule from '../../sample.cv.json'; import * as jsoncvSchemaModule from '../../schema/jsoncv.schema.json'; import { getCVData, @@ -100,7 +100,7 @@ for (const [key, format] of Object.entries(keyFormatMap)) { } // change schema title -jsoncvSchema.title = 'Resume' +jsoncvSchema.title = 'CV Schema' // change some descriptions jsoncvSchema.properties.meta.properties.lastModified.description += '. This will be automatically updated when downloading.' diff --git a/vite.config.js b/vite.config.js index 55c6f38..f344e5e 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,7 +6,7 @@ import { viteSingleFile } from 'vite-plugin-singlefile'; import { TransformEjs } from './src/lib/vite-plugins'; import { getRenderData } from './src/themes/data'; -const dataFilename = process.env.DATA_FILENAME || './sample.resume.json' +const dataFilename = process.env.DATA_FILENAME || './sample.cv.json' const outDir = process.env.OUT_DIR || 'dist' const data = require(dataFilename)