Skip to content

Commit

Permalink
Replaces firstName and lastName with name to increase flexibili…
Browse files Browse the repository at this point in the history
…ty, fixes #4
  • Loading branch information
DonDebonair committed Jul 12, 2014
1 parent a74a727 commit 717b2a5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 21 deletions.
3 changes: 1 addition & 2 deletions resume.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"bio": {
"firstName": "Richard",
"lastName": "Hendriks",
"name": "Richard Hendriks",
"email": {
"work": "richard@piedpiper.com",
"personal": "richard.hendriks@gmail.com"
Expand Down
33 changes: 15 additions & 18 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"bio": {
"type": "object",
"properties": {
"firstName": {
"type": "string"
},
"lastName": {
"name": {
"type": "string"
},
"email": {
Expand All @@ -25,7 +22,7 @@
}
},
"phone": {
"type": "object",
"type": "object",
"description": "Phone numbers are stored as strings so use any format you like",
"properties": {
"work": {
Expand Down Expand Up @@ -96,14 +93,14 @@
"work": {
"type": "array",
"items": {
"type": "object",
"type": "object",
"properties": {
"company": {
"type": "string",
"description": "e.g. Facebook"
},
"position": {
"type": "string",
"type": "string",
"description": "e.g. Software Engineer"
},
"website": {
Expand Down Expand Up @@ -131,13 +128,13 @@
}
}
}

}
},
"education": {
"type": "array",
"items": {
"type": "object",
"type": "object",
"properties": {
"institution": {
"type": "string",
Expand Down Expand Up @@ -170,15 +167,15 @@
}
}
}


}
},
"awards": {
"type": "array",
"description": "Specify any awards you have received throughout your professional career",
"items": {
"type": "object",
"type": "object",
"properties": {
"title": {
"type": "string",
Expand All @@ -199,7 +196,7 @@
"type": "array",
"description": "Specify your publications through your career",
"items": {
"type": "object",
"type": "object",
"properties": {
"name": {
"type": "string",
Expand All @@ -224,7 +221,7 @@
"type": "array",
"description": "List out your professional skill-set",
"items": {
"type": "object",
"type": "object",
"properties": {
"name": {
"type": "string",
Expand All @@ -248,7 +245,7 @@
"hobbies": {
"type": "array",
"items": {
"type": "object",
"type": "object",
"properties": {
"name": {
"type": "string",
Expand All @@ -262,14 +259,14 @@
}
}
}

}
},
"references": {
"type": "array",
"description": "List references you have received",
"items": {
"type": "object",
"type": "object",
"properties": {
"name": {
"type": "string",
Expand All @@ -280,7 +277,7 @@
"description": "e.g. Joe blogs was a great employee, who turned up to work at least once a week. He exceeded my expectations when it came to doing nothing."
}
}

}
}
}
Expand Down

1 comment on commit 717b2a5

@DonDebonair
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see Sublime Text also fixed trailing whitespace.

Please sign in to comment.