Skip to content

Commit

Permalink
Introduce JSON Resume test resumes.
Browse files Browse the repository at this point in the history
  • Loading branch information
hacksalot committed Jan 16, 2016
1 parent bddde2b commit 57af301
Show file tree
Hide file tree
Showing 13 changed files with 332 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License
===============

Copyright (c) 2016 Sir Hacksalot (https://github.com/hacksalot)
Copyright (c) 2016 hacksalot (https://github.com/hacksalot)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
fresh-test-resumes
==================
Test résumés and CVs in [FRESH][f] format. For testing purposes.
Test résumés and CVs in [FRESH][f] format and JSON Resume formats. For testing
purposes.

- [**empty.fresh.json**][e]: An empty FRESH résumé.

- [**jane-fullstacker.fresh.json**][jq]: Jane Q. Fullstacker's valid FRESH
résumé (a normal resume).

- [**johnny-trouble.fresh.json**][jt]: Johnny Trouble's valid FRESH résumé (a
resume full of garbage characters).

- [**johnny-trouble.broken.json**][jtb]: Broken version of Johnny Trouble's
résumé (a resume with numerous JSON syntax errors.)

- [**starter-resume.fresh.json**][s]: A starter résumé with sample data.

## License
Expand Down
27 changes: 23 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,30 @@ Mount individual resumes onto the module object for convenience.

(function(){

var FS = require('fs');
var PATH = require('path');

module.exports = {
empty: require('./src/empty.fresh.json'),
jane: require('./src/jane-fullstacker.fresh.json'),
johnny: require('./src/johnny-trouble.fresh.json'),
johnnyBroken: require('./src/johnny-trouble.broken.fresh.json')

fresh: {
empty: require('./src/fresh/empty.json'),
jane: require('./src/fresh/jane-fullstacker.json'),
johnny: require('./src/fresh/johnny-trouble.json'),
starter: require('./src/fresh/starter-resume.json'),
// Can't mount a broken resume (invalid JSON)
//johnnyBroken: require('./src/johnny-trouble.broken.json')
johnnyBroken: FS.readFileSync(
PATH.join( __dirname, '/src/fresh/johnny-trouble.broken.json'),
'utf8'
)
},

jrs: {
empty: require('./src/jrs/empty.json'),
johndoe: require('./src/jrs/john-doe.json'),
richard: require('./src/jrs/richard-hendriks')
}

};

}());
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fresh-test-resumes",
"version": "0.4.0",
"description": "Test résumés and CVs in FRESH format.",
"version": "0.5.0",
"description": "Test résumés and CVs in FRESH and JSON Resume format.",
"repository": {
"type": "git",
"url": "https://github.com/fluentdesk/fresh-test-resumes.git"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
77 changes: 77 additions & 0 deletions src/jrs/empty.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"basics": {
"name": "",
"label": "",
"picture": "",
"email": "",
"phone": "",
"degree": "",
"website": "",
"summary": "",
"location": {
"address": "",
"postalCode": "",
"city": "",
"countryCode": "",
"region": ""
},
"profiles": [{
"network": "",
"username": "",
"url": ""
}]
},

"work": [{
"company": "",
"position": "",
"website": "",
"startDate": "",
"endDate": "",
"summary": "",
"highlights": [
""
]
}],

"awards": [{
"title": "",
"date": "",
"awarder": "",
"summary": ""
}],

"education": [{
"institution": "",
"area": "",
"studyType": "",
"startDate": "",
"endDate": "",
"gpa": "",
"courses": [ "" ]
}],

"publications": [{
"name": "",
"publisher": "",
"releaseDate": "",
"website": "",
"summary": ""
}],

"volunteer": [{
"organization": "",
"position": "",
"website": "",
"startDate": "",
"endDate": "",
"summary": "",
"highlights": [ "" ]
}],

"skills": [{
"name": "",
"level": "",
"keywords": [""]
}]
}
93 changes: 93 additions & 0 deletions src/jrs/john-doe.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"basics": {
"name": "John Doe",
"label": "Programmer",
"picture": "",
"email": "john@gmail.com",
"phone": "(912) 555-4321",
"website": "http://johndoe.com",
"summary": "A summary of John Doe...",
"location": {
"address": "2712 Broadway St",
"postalCode": "CA 94115",
"city": "San Francisco",
"countryCode": "US",
"region": "California"
},
"profiles": [{
"network": "Twitter",
"username": "john",
"url": "http://twitter.com/john"
}]
},
"work": [{
"company": "Company",
"position": "President",
"website": "http://company.com",
"startDate": "2013-01-01",
"endDate": "2014-01-01",
"summary": "Description...",
"highlights": [
"Started the company"
]
}],
"volunteer": [{
"organization": "Organization",
"position": "Volunteer",
"website": "http://organization.com/",
"startDate": "2012-01-01",
"endDate": "2013-01-01",
"summary": "Description...",
"highlights": [
"Awarded 'Volunteer of the Month'"
]
}],
"education": [{
"institution": "University",
"area": "Software Development",
"studyType": "Bachelor",
"startDate": "2011-01-01",
"endDate": "2013-01-01",
"gpa": "4.0",
"courses": [
"DB1101 - Basic SQL"
]
}],
"awards": [{
"title": "Award",
"date": "2014-11-01",
"awarder": "Company",
"summary": "There is no spoon."
}],
"publications": [{
"name": "Publication",
"publisher": "Company",
"releaseDate": "2014-10-01",
"website": "http://publication.com",
"summary": "Description..."
}],
"skills": [{
"name": "Web Development",
"level": "Master",
"keywords": [
"HTML",
"CSS",
"Javascript"
]
}],
"languages": [{
"language": "English",
"fluency": "Native speaker"
}],
"interests": [{
"name": "Wildlife",
"keywords": [
"Ferrets",
"Unicorns"
]
}],
"references": [{
"name": "Jane Doe",
"reference": "Reference..."
}]
}
130 changes: 130 additions & 0 deletions src/jrs/richard-hendriks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"basics": {
"name": "Richard Hendriks",
"label": "Programmer",
"picture": "",
"email": "richard.hendriks@mail.com",
"phone": "(912) 555-4321",
"website": "http://richardhendricks.com",
"summary": "Richard hails from Tulsa. He has earned degrees from the University of Oklahoma and Stanford. (Go Sooners and Cardinals!) Before starting Pied Piper, he worked for Hooli as a part time software developer. While his work focuses on applied information theory, mostly optimizing lossless compression schema of both the length-limited and adaptive variants, his non-work interests range widely, everything from quantum computing to chaos theory. He could tell you about it, but THAT would NOT be a “length-limited” conversation!",
"location": {
"address": "2712 Broadway St",
"postalCode": "CA 94115",
"city": "San Francisco",
"countryCode": "US",
"region": "California"
},
"profiles": [
{
"network": "Twitter",
"username": "neutralthoughts",
"url": ""
},
{
"network": "SoundCloud",
"username": "dandymusicnl",
"url": "https://soundcloud.com/dandymusicnl"
}
]
},
"work": [
{
"company": "Pied Piper",
"position": "CEO/President",
"website": "http://piedpiper.com",
"startDate": "2013-12-01",
"endDate": "2014-12-01",
"summary": "Pied Piper is a multi-platform technology based on a proprietary universal compression algorithm that has consistently fielded high Weisman Scores™ that are not merely competitive, but approach the theoretical limit of lossless compression.",
"highlights": [
"Build an algorithm for artist to detect if their music was violating copy right infringement laws",
"Successfully won Techcrunch Disrupt",
"Optimized an algorithm that holds the current world record for Weisman Scores"
]
}
],
"volunteer": [
{
"organization": "CoderDojo",
"position": "Teacher",
"website": "http://coderdojo.com/",
"startDate": "2012-01-01",
"endDate": "2013-01-01",
"summary": "Global movement of free coding clubs for young people.",
"highlights": [
"Awarded 'Teacher of the Month'"
]
}
],
"education": [
{
"institution": "University of Oklahoma",
"area": "Information Technology",
"studyType": "Bachelor",
"startDate": "2011-06-01",
"endDate": "2014-01-01",
"gpa": "4.0",
"courses": [
"DB1101 - Basic SQL",
"CS2011 - Java Introduction"
]
}
],
"awards": [
{
"title": "Digital Compression Pioneer Award",
"date": "2014-11-01",
"awarder": "Techcrunch",
"summary": "There is no spoon."
}
],
"publications": [
{
"name": "Video compression for 3d media",
"publisher": "Hooli",
"releaseDate": "2014-10-01",
"website": "http://en.wikipedia.org/wiki/Silicon_Valley_(TV_series)",
"summary": "Innovative middle-out compression algorithm that changes the way we store data."
}
],
"skills": [
{
"name": "Web Development",
"level": "Master",
"keywords": [
"HTML",
"CSS",
"Javascript"
]
},
{
"name": "Compression",
"level": "Master",
"keywords": [
"Mpeg",
"MP4",
"GIF"
]
}
],
"languages": [
{
"language": "English",
"fluency": "Native speaker"
}
],
"interests": [
{
"name": "Wildlife",
"keywords": [
"Ferrets",
"Unicorns"
]
}
],
"references": [
{
"name": "Erlich Bachman",
"reference": "It is my pleasure to recommend Richard, his performance working as a consultant for Main St. Company proved that he will be a valuable addition to any company."
}
]
}

0 comments on commit 57af301

Please sign in to comment.