Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

resume-schema

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resume-schema - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

CHANGELOG.md

8

package.json
{
"name": "resume-schema",
"version": "0.1.3",
"version": "0.2.0",
"description": "JSON Resume Schema",
"main": "validator.js",
"scripts": {
"test": "tape **/*.spec.js | tap-spec",
"test": "npm run validate && npm run test-units",
"validate": "ajv validate -s node_modules/json-metaschema/draft-07-schema -d schema",
"test-units": "tape **/*.spec.js | tap-spec",
"preversion": "npm test",

@@ -28,2 +30,4 @@ "postversion": "git push --follow-tags"

"devDependencies": {
"ajv-cli": "^3.1.0",
"json-metaschema": "^1.3.0",
"tap-spec": "^5.0.0",

@@ -30,0 +34,0 @@ "tape": "^4.13.2"

@@ -10,25 +10,2 @@ # JSON Resume Schema

### Major versions
* [0.0.0 - First official version](https://github.com/jsonresume/resume-schema/blob/0.0.0/schema.json)
### Change log
* 2014-07-30 - `languages` was added - [Discussions](https://github.com/jsonresume/resume-schema/issues/34) - [Commit](https://github.com/jsonresume/resume-schema/commit/f02300e36ba076787d008928b29963c3ffce6121)
* 2014-07-30 - `hobbies` was renamed to `interests`
* 2014-07-30 - `volunteer` was added - [Discussion](https://github.com/jsonresume/resume-schema/issues/43) - [Commit](https://github.com/jsonresume/resume-schema/commit/dee007c2e373645b6b67d07a92aebf22fda5b95a)
* 2014-07-30 - `summary` was added to `awards` - [Discussion](https://github.com/jsonresume/resume-schema/issues/119) - [Commit](https://github.com/jsonresume/resume-schema/commit/db5e7bcfa3f373d1293d6af073753ee41e3c3ba9)
* 2014-07-30 - `summary` was added to `publications` - [Discussion](https://github.com/jsonresume/resume-schema/issues/126) - [Commit](https://github.com/jsonresume/resume-schema/pull/129)
* 2014-07-22 - `bio` was renamed to `basics` - [Discussion](https://github.com/jsonresume/resume-schema/issues/68) - [Commit](https://github.com/jsonresume/resume-schema/pull/117)
* 2014-07-22 - `profiles` was changed to a type array instead of an object - [Discussion](https://github.com/jsonresume/resume-schema/issues/6) - [Commit](https://github.com/jsonresume/resume-schema/issues/6)
* 2014-07-15 - `address` and `postalCode` were added to `location` - [Discussion](https://github.com/jsonresume/resume-schema/issues/76) - [Commit](https://github.com/jsonresume/resume-schema/pull/110)
* 2014-07-15 - `awardDate` was changed to `date` - [Discussion](https://github.com/jsonresume/resume-schema/pull/107) - [Commit](https://github.com/jsonresume/resume-schema/pull/107)
* 2014-07-13 - `websites` was changed to `website`, changed from object into string - [Discussion](https://github.com/jsonresume/resume-schema/issues/10) - [Commit](https://github.com/jsonresume/resume-schema/pull/101)
* 2014-07-13 - specified that `countryCode` conforms to ISO standard - [Discussion](https://github.com/jsonresume/resume-schema/pull/78) - [Commit](https://github.com/jsonresume/resume-schema/pull/78)
* 2014-07-13 - `region` replaced `state` as the default - [Discussion](https://github.com/jsonresume/resume-schema/issues/19) - [Commit](https://github.com/jsonresume/resume-schema/pull/99)
* 2014-07-12 - `picture` was added to the `bio` object - [Discussion](https://github.com/jsonresume/resume-schema/issues/29) - [Commit](https://github.com/jsonresume/resume-schema/pull/80)
* 2014-07-12 - `gpa` was added to `education` objects - [Discussion](https://github.com/jsonresume/resume-schema/issues/7) - [Commit](https://github.com/jsonresume/resume-schema/pull/97)
* 2014-07-12 - `email` and `phone` were changed from objects into strings - [Discussion](https://github.com/jsonresume/resume-schema/issues/27) - [Commit](https://github.com/jsonresume/resume-schema/pull/98)
* 2014-07-12 - `firstName` and `lastName` were merged into `name` - [Discussion](https://github.com/jsonresume/resume-schema/issues/4) - [Commit](https://github.com/jsonresume/resume-schema/commit/717b2a525f4f42e9994c54bfa3cdbe0cea5776a6)
### Gitter

@@ -47,3 +24,3 @@

```js
var resumeSchema = require('resume-schema');
var resumeSchema = require('resume-schema');
resumeSchema.validate({ name: "Thomas" }, function (err, report) {

@@ -55,2 +32,4 @@ if (err) {

console.log('Resume validated successfully:', report);
}, function(err) {
console.error('The resume was invalid:', err);
});

@@ -63,3 +42,3 @@ ```

var fs = require('fs');
var resumeSchema = require('resume-schema');
var resumeSchema = require('resume-schema');
var resumeObject = JSON.parse(fs.readFileSync('resume.json', 'utf8'));

@@ -66,0 +45,0 @@ resumeSchema.validate(resumeObject);

@@ -69,3 +69,3 @@ {

"endDate": "2014-01-01",
"gpa": "4.0",
"score": "4.0",
"courses": [

@@ -139,3 +139,3 @@ "DB1101 - Basic SQL",

"description": "A mapping engine that misguides you",
"highlights": [
"highlights": [
"Won award at AIHacks 2016",

@@ -149,5 +149,5 @@ "Built by all women team of newbie programmers",

"startDate": "2016-08-24",
"endDate": "2016-08-24",
"endDate": "2016-08-24",
"url": "missdirection.example.com",
"roles": [
"roles": [
"Team lead", "Designer"

@@ -154,0 +154,0 @@ ],

{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Resume Schema",
"type": "object",
"additionalProperties": false,

@@ -130,4 +128,8 @@ "definitions": {

},
"startDate": { "$ref": "#/definitions/iso8601" },
"endDate": { "$ref": "#/definitions/iso8601" },
"startDate": {
"$ref": "#/definitions/iso8601"
},
"endDate": {
"$ref": "#/definitions/iso8601"
},
"summary": {

@@ -169,4 +171,8 @@ "type": "string",

},
"startDate": { "$ref": "#/definitions/iso8601" },
"endDate": { "$ref": "#/definitions/iso8601" },
"startDate": {
"$ref": "#/definitions/iso8601"
},
"endDate": {
"$ref": "#/definitions/iso8601"
},
"summary": {

@@ -212,5 +218,9 @@ "type": "string",

},
"startDate": { "$ref": "#/definitions/iso8601" },
"endDate": { "$ref": "#/definitions/iso8601" },
"gpa": {
"startDate": {
"$ref": "#/definitions/iso8601"
},
"endDate": {
"$ref": "#/definitions/iso8601"
},
"score": {
"type": "string",

@@ -243,3 +253,5 @@ "description": "grade point average, e.g. 3.67/4.0"

},
"date": { "$ref": "#/definitions/iso8601" },
"date": {
"$ref": "#/definitions/iso8601"
},
"awarder": {

@@ -256,2 +268,31 @@ "type": "string",

},
"certificates": {
"type": "array",
"description": "Specify any certificates you have received throughout your professional career",
"additionalItems": false,
"items": {
"type": "object",
"additionalProperties": true,
"properties": {
"name": {
"type": "string",
"description": "e.g. Certified Kubernetes Administrator"
},
"date": {
"type": "string",
"description": "e.g. 1989-06-12",
"format": "date"
},
"url": {
"type": "string",
"description": "e.g. http://example.com",
"format": "uri"
},
"issuer": {
"type": "string",
"description": "e.g. CNCF"
}
}
}
},
"publications": {

@@ -273,3 +314,5 @@ "type": "array",

},
"releaseDate": { "$ref": "#/definitions/iso8601" },
"releaseDate": {
"$ref": "#/definitions/iso8601"
},
"url": {

@@ -387,3 +430,3 @@ "type": "string",

},
"description": {
"description": {
"type": "string",

@@ -410,24 +453,28 @@ "description": "Short summary of project. e.g. Collated works of 2017."

},
"startDate": { "$ref": "#/definitions/iso8601" },
"endDate": { "$ref": "#/definitions/iso8601" },
"startDate": {
"$ref": "#/definitions/iso8601"
},
"endDate": {
"$ref": "#/definitions/iso8601"
},
"url": {
"type": "string",
"format":"uri",
"format": "uri",
"description": "e.g. http://www.computer.org/csdl/mags/co/1996/10/rx069-abs.html"
},
"roles":{
"type":"array",
"roles": {
"type": "array",
"description": "Specify your role on this project or in company",
"additionalItems": false,
"items": {
"type":"string",
"type": "string",
"description": "e.g. Team Lead, Speaker, Writer"
}
},
"entity":{
"entity": {
"type": "string",
"description": "Specify the relevant company/entity affiliations e.g. 'greenpeace', 'corporationXYZ'"
},
"type":{
"type":"string",
"type": {
"type": "string",
"description": " e.g. 'volunteering', 'presentation', 'talk', 'application', 'conference'"

@@ -458,3 +505,5 @@ }

}
}
},
"title": "Resume Schema",
"type": "object"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc