Standard, Specification, Schema
The current working version of the schema is v1.0.0
that is represented by the master
branch and the files schema.json
and sample.resume.json
.
All PR's for the next version should be made against the develop
branch.
This enforces that the schema package, always has the official stable release of the schema.
npm install --save @jsonresume/schema
To use
const resumeSchema = require("@jsonresume/schema");
resumeSchema.validate(
{ name: "Thomas" },
function (err, report) {
if (err) {
console.error("The resume was invalid:", err);
return;
}
console.log("Resume validated successfully:", report);
},
function (err) {
console.error("The resume was invalid:", err);
}
);
More likely
var fs = require("fs");
var resumeSchema = require("resume-schema");
var resumeObject = JSON.parse(fs.readFileSync("resume.json", "utf8"));
resumeSchema.validate(resumeObject);
The JSON Resume schema is available from:
require("resume-schema").schema;
We encourage anyone who's interested in participating in the formation of this standard to join the discussions here on GitHub. Also feel free to fork this project and submit new ideas to add to the JSON Resume Schema standard. To make sure all formatting is kept in check, please install the EditorConfig plugin for your editor of choice.
JSON Resume Schema adheres to Semantic Versioning 2.0.0. If there is a violation of this scheme, report it as a bug. Specifically, if a patch or minor version is released and breaks backward compatibility, that version should be immediately yanked and/or a new version should be immediately released that restores compatibility. Any change that breaks the public API will only be introduced at a major-version release. As a result of this policy, you can (and should) specify any dependency on JSON Resume Schema by using the Pessimistic Version Constraint with two digits of precision.
We use automatic semver system.
Pull requests titles should be formatted as such
"fix: added something" - will bump the patch version
"feat: added something" - will bump the minor version
major
version bumps will be few and far between for this schema.
A draft schema for job descriptions is available in this project as well. It is not yet finalized, but we encourage you to check it out and provide feedback. See job-schema.json
and sample.job.json
.