Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

- implement celebi template

Amruth Pillai55fd1d4bdc09
diff --git a/package-lock.json b/package-lock.json
index b7e8ef7a4..a6b6ffbbe 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2189,15 +2189,6 @@
"defer-to-connect": "^1.0.1"
}
},
- "@types/body-parser": {
- "version": "1.19.0",
- "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.19.0.tgz",
- "integrity": "sha512-W98JrE0j2K78swW4ukqMleo8R7h/pFETjM2DQ90MF6XK2i4LO4W3gQ71Lt4w3bfm2EvVSyWHplECvB5sK22yFQ==",
- "requires": {
- "@types/connect": "*",
- "@types/node": "*"
- }
- },
"@types/color-name": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz",
@@ -2213,14 +2204,6 @@
"resolved": "https://registry.npmjs.org/@types/configstore/-/configstore-2.1.1.tgz",
"integrity": "sha1-zR6FU2M60xhcPy8jns/10mQ+krY="
},
- "@types/connect": {
- "version": "3.4.33",
- "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz",
- "integrity": "sha512-2+FrkXY4zllzTNfJth7jOqEHC+enpLeGslEhpnTAkg21GkRrWV4SsAtqchtT4YS9/nODBU2/ZfsBY2X4J/dX7A==",
- "requires": {
- "@types/node": "*"
- }
- },
"@types/debug": {
"version": "0.0.30",
"resolved": "https://registry.npmjs.org/@types/debug/-/debug-0.0.30.tgz",
@@ -2236,26 +2219,6 @@
"resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz",
"integrity": "sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g=="
},
- "@types/express": {
- "version": "4.17.3",
- "resolved": "https://registry.npmjs.org/@types/express/-/express-4.17.3.tgz",
- "integrity": "sha512-I8cGRJj3pyOLs/HndoP+25vOqhqWkAZsWMEmq1qXy/b/M3ppufecUwaK2/TVDVxcV61/iSdhykUjQQ2DLSrTdg==",
- "requires": {
- "@types/body-parser": "*",
- "@types/express-serve-static-core": "*",
- "@types/serve-static": "*"
- }
- },
- "@types/express-serve-static-core": {
- "version": "4.17.8",
- "resolved": "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.8.tgz",
- "integrity": "sha512-1SJZ+R3Q/7mLkOD9ewCBDYD2k0WyZQtWYqF/2VvoNN2/uhI49J9CDN4OAm+wGMA0DbArA4ef27xl4+JwMtGggw==",
- "requires": {
- "@types/node": "*",
- "@types/qs": "*",
- "@types/range-parser": "*"
- }
- },
"@types/get-port": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/@types/get-port/-/get-port-3.2.0.tgz",
@@ -2333,11 +2296,6 @@
"@types/unist": "*"
}
},
- "@types/mime": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@types/mime/-/mime-2.0.2.tgz",
- "integrity": "sha512-4kPlzbljFcsttWEq6aBW0OZe6BDajAmyvr2xknBG92tejQnvdGtT9+kXSZ580DqpxY9qG2xeQVF9Dq0ymUTo5Q=="
- },
"@types/minimatch": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz",
@@ -2371,16 +2329,6 @@
"resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz",
"integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug=="
},
- "@types/qs": {
- "version": "6.9.3",
- "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.9.3.tgz",
- "integrity": "sha512-7s9EQWupR1fTc2pSMtXRQ9w9gLOcrJn+h7HOXw4evxyvVqMi4f+q7d2tnFe3ng3SNHjtK+0EzGMGFUQX4/AQRA=="
- },
- "@types/range-parser": {
- "version": "1.2.3",
- "resolved": "https://registry.npmjs.org/@types/range-parser/-/range-parser-1.2.3.tgz",
- "integrity": "sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA=="
- },
"@types/reach__router": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/@types/reach__router/-/reach__router-1.3.5.tgz",
@@ -2416,15 +2364,6 @@
"@types/node": "*"
}
},
- "@types/serve-static": {
- "version": "1.13.4",
- "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.4.tgz",
- "integrity": "sha512-jTDt0o/YbpNwZbQmE/+2e+lfjJEJJR0I3OFaKQKPWkASkCoW3i6fsUnqudSMcNAfbtmADGu8f4MV4q+GqULmug==",
- "requires": {
- "@types/express-serve-static-core": "*",
- "@types/mime": "*"
- }
- },
"@types/tmp": {
"version": "0.0.33",
"resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.0.33.tgz",
@@ -8138,17 +8077,6 @@
"@firebase/util": "0.2.50"
}
},
- "firebase-functions": {
- "version": "3.7.0",
- "resolved": "https://registry.npmjs.org/firebase-functions/-/firebase-functions-3.7.0.tgz",
- "integrity": "sha512-+ROj2Gs2/KyM+T8jYo7AKaHynFsN49sXbgZMll3zuGa9/8oiDsXp9e1Iy2JMkFmSZg67jeYw5Ue2OSpz0XiqFQ==",
- "requires": {
- "@types/express": "4.17.3",
- "cors": "^2.8.5",
- "express": "^4.17.1",
- "lodash": "^4.17.14"
- }
- },
"flat-cache": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz",
diff --git a/package.json b/package.json
index 48976c388..e74a922c2 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"dependencies": {
"@material-ui/core": "^4.11.0",
"@reach/router": "^1.3.4",
+ "ajv": "^6.12.3",
"animate.css": "^4.1.0",
"array-move": "^2.2.2",
"classnames": "^2.2.6",
diff --git a/src/components/builder/center/Artboard.js b/src/components/builder/center/Artboard.js
index bb74b589d..a497746ca 100644
--- a/src/components/builder/center/Artboard.js
+++ b/src/components/builder/center/Artboard.js
@@ -2,6 +2,7 @@ import React, { memo } from 'react';
import { Helmet } from 'react-helmet';
import { useSelector } from '../../../contexts/ResumeContext';
import Castform from '../../../templates/Castform';
+import Celebi from '../../../templates/Celebi';
import Gengar from '../../../templates/Gengar';
import Glalie from '../../../templates/Glalie';
import Onyx from '../../../templates/Onyx';
@@ -26,6 +27,7 @@ const Artboard = () => {
{template === 'gengar' && <Gengar data={state} />}
{template === 'castform' && <Castform data={state} />}
{template === 'glalie' && <Glalie data={state} />}
+ {template === 'celebi' && <Celebi data={state} />}
</div>
</div>
);
diff --git a/src/components/builder/right/sections/Templates.js b/src/components/builder/right/sections/Templates.js
index 19b1793f3..b5ed646a2 100644
--- a/src/components/builder/right/sections/Templates.js
+++ b/src/components/builder/right/sections/Templates.js
@@ -1,4 +1,6 @@
import cx from 'classnames';
+import { graphql, useStaticQuery } from 'gatsby';
+import GatsbyImage from 'gatsby-image';
import React, { memo } from 'react';
import { useDispatch, useSelector } from '../../../../contexts/ResumeContext';
import templateOptions from '../../../../data/templateOptions';
@@ -10,6 +12,53 @@ const Templates = () => {
const dispatch = useDispatch();
const template = useSelector('metadata.template');
+ const previews = useStaticQuery(graphql`
+ query {
+ onyx: file(relativePath: { eq: "templates/onyx.png" }) {
+ childImageSharp {
+ fluid(maxHeight: 400) {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ pikachu: file(relativePath: { eq: "templates/pikachu.png" }) {
+ childImageSharp {
+ fluid(maxHeight: 400) {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ gengar: file(relativePath: { eq: "templates/gengar.png" }) {
+ childImageSharp {
+ fluid(maxHeight: 400) {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ castform: file(relativePath: { eq: "templates/castform.png" }) {
+ childImageSharp {
+ fluid(maxHeight: 400) {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ glalie: file(relativePath: { eq: "templates/glalie.png" }) {
+ childImageSharp {
+ fluid(maxHeight: 400) {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ celebi: file(relativePath: { eq: "templates/celebi.png" }) {
+ childImageSharp {
+ fluid(maxHeight: 400) {
+ ...GatsbyImageSharpFluid
+ }
+ }
+ }
+ }
+ `);
+
const handleClick = (value) => {
dispatch({
type: 'on_input',
@@ -36,7 +85,13 @@ const Templates = () => {
[styles.selected]: template === x.id,
})}
>
- <img loading="lazy" height="240px" src={x.preview} alt={x.name} />
+ <GatsbyImage
+ alt={x.name}
+ loading="eager"
+ className="w-full"
+ style={{ height: '225px' }}
+ fluid={previews[x.id].childImageSharp.fluid}
+ />
<span>{x.name}</span>
</div>
))}
diff --git a/src/contexts/ResumeContext.js b/src/contexts/ResumeContext.js
index da34aea0f..d790be788 100644
--- a/src/contexts/ResumeContext.js
+++ b/src/contexts/ResumeContext.js
@@ -91,7 +91,13 @@ const ResumeProvider = ({ children }) => {
return newState;
case 'on_import':
- newState = { id: state.id, ...payload };
+ temp = clone(state);
+ newState = payload;
+ newState.id = temp.id;
+ newState.user = temp.user;
+ newState.name = temp.name;
+ newState.createdAt = temp.createdAt;
+ newState.updatedAt = temp.updatedAt;
debouncedUpdateResume(newState);
return newState;
diff --git a/src/data/demoState.json b/src/data/demoState.json
index 2258f1d5a..b52c460a5 100644
--- a/src/data/demoState.json
+++ b/src/data/demoState.json
@@ -146,11 +146,15 @@
],
"castform": [
["awards", "certifications", "languages", "hobbies"],
- ["work", "education", "skills", "projects", "references"]
+ ["objective", "work", "education", "skills", "projects", "references"]
],
"glalie": [
["awards", "certifications", "hobbies"],
- ["work", "education", "skills", "projects", "languages", "references"]
+ ["objective", "work", "education", "skills", "projects", "languages", "references"]
+ ],
+ "celebi": [
+ ["awards", "certifications", "languages", "hobbies"],
+ ["objective", "work", "education", "skills", "projects", "references"]
]
},
"template": "pikachu"
diff --git a/src/data/initialState.json b/src/data/initialState.json
index a2cdbf5a2..3c3c3aa75 100644
--- a/src/data/initialState.json
+++ b/src/data/initialState.json
@@ -90,11 +90,15 @@
],
"castform": [
["awards", "certifications", "languages", "hobbies"],
- ["work", "education", "skills", "projects", "references"]
+ ["objective", "work", "education", "skills", "projects", "references"]
],
"glalie": [
["awards", "certifications", "hobbies"],
- ["work", "education", "skills", "projects", "languages", "references"]
+ ["objective", "work", "education", "skills", "projects", "languages", "references"]
+ ],
+ "celebi": [
+ ["awards", "certifications", "languages", "hobbies"],
+ ["objective", "work", "education", "skills", "projects", "references"]
]
},
"colors": {
diff --git a/src/data/schema/jsonResume.json b/src/data/schema/jsonResume.json
new file mode 100644
index 000000000..5e6b6c02d
--- /dev/null
+++ b/src/data/schema/jsonResume.json
@@ -0,0 +1,471 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "additionalProperties": false,
+ "definitions": {
+ "iso8601": {
+ "type": "string",
+ "description": "e.g. 2014-06-29",
+ "pattern": "^([1-2][0-9]{3}-[0-1][0-9]-[0-3][0-9]|[1-2][0-9]{3}-[0-1][0-9]|[1-2][0-9]{3})$"
+ }
+ },
+ "properties": {
+ "$schema": {
+ "type": "string",
+ "description": "link to the version of the schema that can validate the resume",
+ "format": "uri"
+ },
+ "basics": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "label": {
+ "type": "string",
+ "description": "e.g. Web Developer"
+ },
+ "image": {
+ "type": "string",
+ "description": "URL (as per RFC 3986) to a image in JPEG or PNG format"
+ },
+ "email": {
+ "type": "string",
+ "description": "e.g. [email protected]",
+ "format": "email"
+ },
+ "phone": {
+ "type": "string",
+ "description": "Phone numbers are stored as strings so use any format you like, e.g. 712-117-2923"
+ },
+ "url": {
+ "type": "string",
+ "description": "URL (as per RFC 3986) to your website, e.g. personal homepage",
+ "format": "uri"
+ },
+ "summary": {
+ "type": "string",
+ "description": "Write a short 2-3 sentence biography about yourself"
+ },
+ "location": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "address": {
+ "type": "string",
+ "description": "To add multiple address lines, use \n. For example, 1234 Glücklichkeit Straße\nHinterhaus 5. Etage li."
+ },
+ "postalCode": {
+ "type": "string"
+ },
+ "city": {
+ "type": "string"
+ },
+ "countryCode": {
+ "type": "string",
+ "description": "code as per ISO-3166-1 ALPHA-2, e.g. US, AU, IN"
+ },
+ "region": {
+ "type": "string",
+ "description": "The general region where you live. Can be a US state, or a province, for instance."
+ }
+ }
+ },
+ "profiles": {
+ "type": "array",
+ "description": "Specify any number of social networks that you participate in",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "network": {
+ "type": "string",
+ "description": "e.g. Facebook or Twitter"
+ },
+ "username": {
+ "type": "string",
+ "description": "e.g. neutralthoughts"
+ },
+ "url": {
+ "type": "string",
+ "description": "e.g. http://twitter.example.com/neutralthoughts",
+ "format": "uri"
+ }
+ }
+ }
+ }
+ }
+ },
+ "work": {
+ "type": "array",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "e.g. Facebook"
+ },
+ "location": {
+ "type": "string",
+ "description": "e.g. Menlo Park, CA"
+ },
+ "description": {
+ "type": "string",
+ "description": "e.g. Social Media Company"
+ },
+ "position": {
+ "type": "string",
+ "description": "e.g. Software Engineer"
+ },
+ "url": {
+ "type": "string",
+ "description": "e.g. http://facebook.example.com",
+ "format": "uri"
+ },
+ "startDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "endDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "summary": {
+ "type": "string",
+ "description": "Give an overview of your responsibilities at the company"
+ },
+ "highlights": {
+ "type": "array",
+ "description": "Specify multiple accomplishments",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. Increased profits by 20% from 2011-2012 through viral advertising"
+ }
+ }
+ }
+ }
+ },
+ "volunteer": {
+ "type": "array",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "organization": {
+ "type": "string",
+ "description": "e.g. Facebook"
+ },
+ "position": {
+ "type": "string",
+ "description": "e.g. Software Engineer"
+ },
+ "url": {
+ "type": "string",
+ "description": "e.g. http://facebook.example.com",
+ "format": "uri"
+ },
+ "startDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "endDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "summary": {
+ "type": "string",
+ "description": "Give an overview of your responsibilities at the company"
+ },
+ "highlights": {
+ "type": "array",
+ "description": "Specify accomplishments and achievements",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. Increased profits by 20% from 2011-2012 through viral advertising"
+ }
+ }
+ }
+ }
+ },
+ "education": {
+ "type": "array",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "institution": {
+ "type": "string",
+ "description": "e.g. Massachusetts Institute of Technology"
+ },
+ "url": {
+ "type": "string",
+ "description": "e.g. http://facebook.example.com",
+ "format": "uri"
+ },
+ "area": {
+ "type": "string",
+ "description": "e.g. Arts"
+ },
+ "studyType": {
+ "type": "string",
+ "description": "e.g. Bachelor"
+ },
+ "startDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "endDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "gpa": {
+ "type": "string",
+ "description": "grade point average, e.g. 3.67/4.0"
+ },
+ "courses": {
+ "type": "array",
+ "description": "List notable courses/subjects",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. H1302 - Introduction to American history"
+ }
+ }
+ }
+ }
+ },
+ "awards": {
+ "type": "array",
+ "description": "Specify any awards you have received throughout your professional career",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "title": {
+ "type": "string",
+ "description": "e.g. One of the 100 greatest minds of the century"
+ },
+ "date": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "awarder": {
+ "type": "string",
+ "description": "e.g. Time Magazine"
+ },
+ "summary": {
+ "type": "string",
+ "description": "e.g. Received for my work with Quantum Physics"
+ }
+ }
+ }
+ },
+ "publications": {
+ "type": "array",
+ "description": "Specify your publications through your career",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "e.g. The World Wide Web"
+ },
+ "publisher": {
+ "type": "string",
+ "description": "e.g. IEEE, Computer Magazine"
+ },
+ "releaseDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "url": {
+ "type": "string",
+ "description": "e.g. http://www.computer.org.example.com/csdl/mags/co/1996/10/rx069-abs.html",
+ "format": "uri"
+ },
+ "summary": {
+ "type": "string",
+ "description": "Short summary of publication. e.g. Discussion of the World Wide Web, HTTP, HTML."
+ }
+ }
+ }
+ },
+ "skills": {
+ "type": "array",
+ "description": "List out your professional skill-set",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "e.g. Web Development"
+ },
+ "level": {
+ "type": "string",
+ "description": "e.g. Master"
+ },
+ "keywords": {
+ "type": "array",
+ "description": "List some keywords pertaining to this skill",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. HTML"
+ }
+ }
+ }
+ }
+ },
+ "languages": {
+ "type": "array",
+ "description": "List any other languages you speak",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "language": {
+ "type": "string",
+ "description": "e.g. English, Spanish"
+ },
+ "fluency": {
+ "type": "string",
+ "description": "e.g. Fluent, Beginner"
+ }
+ }
+ }
+ },
+ "interests": {
+ "type": "array",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "e.g. Philosophy"
+ },
+ "keywords": {
+ "type": "array",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. Friedrich Nietzsche"
+ }
+ }
+ }
+ }
+ },
+ "references": {
+ "type": "array",
+ "description": "List references you have received",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "e.g. Timothy Cook"
+ },
+ "reference": {
+ "type": "string",
+ "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."
+ }
+ }
+ }
+ },
+ "projects": {
+ "type": "array",
+ "description": "Specify career projects",
+ "additionalItems": false,
+ "items": {
+ "type": "object",
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "e.g. The World Wide Web"
+ },
+ "description": {
+ "type": "string",
+ "description": "Short summary of project. e.g. Collated works of 2017."
+ },
+ "highlights": {
+ "type": "array",
+ "description": "Specify multiple features",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. Directs you close but not quite there"
+ }
+ },
+ "keywords": {
+ "type": "array",
+ "description": "Specify special elements involved",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. AngularJS"
+ }
+ },
+ "startDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "endDate": {
+ "$ref": "#/definitions/iso8601"
+ },
+ "url": {
+ "type": "string",
+ "format": "uri",
+ "description": "e.g. http://www.computer.org/csdl/mags/co/1996/10/rx069-abs.html"
+ },
+ "roles": {
+ "type": "array",
+ "description": "Specify your role on this project or in company",
+ "additionalItems": false,
+ "items": {
+ "type": "string",
+ "description": "e.g. Team Lead, Speaker, Writer"
+ }
+ },
+ "entity": {
+ "type": "string",
+ "description": "Specify the relevant company/entity affiliations e.g. 'greenpeace', 'corporationXYZ'"
+ },
+ "type": {
+ "type": "string",
+ "description": " e.g. 'volunteering', 'presentation', 'talk', 'application', 'conference'"
+ }
+ }
+ }
+ },
+ "meta": {
+ "type": "object",
+ "description": "The schema version and any other tooling configuration lives here",
+ "additionalProperties": true,
+ "properties": {
+ "canonical": {
+ "type": "string",
+ "description": "URL (as per RFC 3986) to latest version of this document",
+ "format": "uri"
+ },
+ "version": {
+ "type": "string",
+ "description": "A version field which follows semver - e.g. v1.0.0"
+ },
+ "lastModified": {
+ "type": "string",
+ "description": "Using ISO 8601 with YYYY-MM-DDThh:mm:ss"
+ }
+ }
+ }
+ },
+ "title": "Resume Schema",
+ "type": "object"
+}
diff --git a/src/data/schema/reactiveResume.json b/src/data/schema/reactiveResume.json
new file mode 100644
index 000000000..b34b50768
--- /dev/null
+++ b/src/data/schema/reactiveResume.json
@@ -0,0 +1,2755 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema",
+ "$id": "http://example.com/example.json",
+ "type": "object",
+ "title": "The root schema",
+ "description": "The root schema comprises the entire JSON document.",
+ "default": {},
+ "examples": [
+ {
+ "awards": {
+ "heading": "Awards",
+ "items": [
+ {
+ "awarder": "Google",
+ "date": "2019-04-01",
+ "id": "6f857f2b-6312-4a0d-907d-2e17991954eb",
+ "summary": "",
+ "title": "International Flutter Hackathon"
+ },
+ {
+ "awarder": "Venturesity",
+ "date": "2016-06-01",
+ "id": "f6efa3f9-9741-4e36-a538-ba0d9779bc61",
+ "summary": "",
+ "title": "Venturesity Banyan Hack"
+ },
+ {
+ "title": "Smart India Hackathon",
+ "awarder": "Govt. of India",
+ "date": "2017-04-01",
+ "summary": "",
+ "id": "89c0171a-eae9-403e-9f4c-a757fb535c2b"
+ }
+ ],
+ "visible": true
+ },
+ "certifications": {
+ "heading": "Certifications",
+ "items": [
+ {
+ "date": "2018-02-01",
+ "id": "d2ec12bc-7876-46bc-afd4-11ae06faf3bd",
+ "issuer": "Cisco Systems",
+ "summary": "",
+ "title": "CCNP"
+ },
+ {
+ "date": "2019-06-01",
+ "id": "f8312288-53ae-4504-a768-4b67aea95926",
+ "issuer": "VMWare",
+ "summary": "",
+ "title": "VCP6-DCV"
+ },
+ {
+ "title": "DCUCI 642-999",
+ "issuer": "Cisco Systems",
+ "date": "2014-04-01",
+ "summary": "",
+ "id": "11107df6-5f3c-49ae-bcd4-62b8baa181a1"
+ }
+ ],
+ "visible": true
+ },
+ "education": {
+ "heading": "Education",
+ "items": [
+ {
+ "degree": "Masters",
+ "endDate": "2002-08-01",
+ "field": "Computer Science",
+ "gpa": "7.2 CGPA",
+ "id": "c42e2a5a-3f0d-497e-838b-ac2019dcf045",
+ "institution": "The City College of New York, NYC, NY",
+ "startDate": "2001-09-01",
+ "summary": ""
+ },
+ {
+ "degree": "Bachelors",
+ "endDate": "2001-08-01",
+ "field": "Computer Science",
+ "gpa": "8.4 CGPA",
+ "id": "278490a2-c327-4e83-8be8-adf913a9b36c",
+ "institution": "University of California, Berkeley, CA",
+ "startDate": "1997-09-01",
+ "summary": ""
+ }
+ ],
+ "visible": true
+ },
+ "hobbies": {
+ "heading": "Hobbies",
+ "items": [
+ {
+ "name": "Poetry",
+ "id": "788dcf5a-78ca-4866-8397-c7a29073d9a1"
+ },
+ {
+ "name": "Travelling",
+ "id": "e3523371-f50c-4348-8c5e-35fe84c0006d"
+ },
+ {
+ "id": "92c35e3b-6cd7-4cea-b505-61347ec61b68",
+ "name": "Photography"
+ },
+ {
+ "id": "d36f2089-93a9-4f30-a425-3dd81c6b89df",
+ "name": "Playing Badminton"
+ },
+ {
+ "id": "d1da41a9-ae83-48fb-8047-d45ebd869a69",
+ "name": "Developing Reactive Resume"
+ }
+ ],
+ "visible": true
+ },
+ "languages": {
+ "heading": "Languages",
+ "items": [
+ {
+ "fluency": "Very Fluent",
+ "id": "78d8cf32-84c7-431d-969b-fdf277968026",
+ "name": "English"
+ },
+ {
+ "fluency": "Native Tongue",
+ "id": "9e0bd5ed-b88d-4046-8fb9-ecba54d29924",
+ "name": "Tamil"
+ },
+ {
+ "fluency": "Native Tongue",
+ "id": "cb895aa9-c485-4bf3-a9e3-08e8f219451a",
+ "name": "Kannada"
+ },
+ {
+ "fluency": "Learning on Duolingo",
+ "id": "8fff60fc-0cd6-47e2-b64f-fb249d1af0d1",
+ "name": "German"
+ }
+ ],
+ "visible": true
+ },
+ "metadata": {
+ "colors": {
+ "background": "#FFFFFF",
+ "primary": "#009688",
+ "text": "#212121"
+ },
+ "font": "Open Sans",
+ "layout": {
+ "onyx": [
+ ["objective", "work", "education", "projects"],
+ ["hobbies", "languages", "awards", "certifications"],
+ ["skills", "references"]
+ ],
+ "pikachu": [
+ ["skills", "languages", "hobbies", "awards", "certifications"],
+ ["work", "education", "projects", "references"]
+ ],
+ "gengar": [
+ ["objective", "skills"],
+ ["awards", "certifications", "languages", "references", "hobbies"],
+ ["work", "education", "projects"]
+ ],
+ "castform": [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ],
+ "glalie": [
+ ["awards", "certifications", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "languages",
+ "references"
+ ]
+ ],
+ "celebi": [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ]
+ },
+ "template": "pikachu"
+ },
+ "objective": {
+ "body": "To obtain a job within my chosen field that will challenge me and allow me to use my education, skills and past experiences in a way that is mutually beneficial to both myself and my employer and allow for future growth and advancement.",
+ "heading": "Objective",
+ "visible": true
+ },
+ "profile": {
+ "address": {
+ "city": "Bangalore, India -",
+ "line1": "#5/A, Banashankari Nivas,",
+ "line2": "Brindavan Layout, Subramanyapura,",
+ "pincode": "560061"
+ },
+ "email": "[email protected]",
+ "firstName": "Amruth",
+ "heading": "Profile",
+ "lastName": "Pillai",
+ "phone": "+91 98453 36113",
+ "photograph": "https://i.imgur.com/2dmLSCT.jpg",
+ "profile": "",
+ "subtitle": "Full Stack Web Developer",
+ "website": "amruthpillai.com"
+ },
+ "projects": {
+ "heading": "Projects",
+ "items": [
+ {
+ "date": "2020-07-01",
+ "id": "c768dcca-90f5-4242-a608-6759b4f667fb",
+ "link": "https://github.com/AmruthPillai/Reactive-Resume",
+ "summary": "Reactive Resume, a free and open-source resume builder that works for you. A few of the important features that make it awesome are minimalistic UI/UX, extensive customizability, portability, regularly updated templates, etc.\n\nFor more information, check out [rxresu.me](https://github.com/AmruthPillai/Reactive-Resume)",
+ "title": "Reactive Resume"
+ },
+ {
+ "date": "2020-04-01",
+ "id": "6ca600b1-c21f-4d7b-8431-f7144d537dd3",
+ "link": "https://amruthpillai.com",
+ "summary": "Resume on the Web has been a project that I've been focused on since the early 2014s. I didn't want my information to be displayed on just a sheet of paper that only HRs or Talent Scouts had the privilege of reading, I wanted it to be accessible to everyone. And that's how this project was conceptualized.",
+ "title": "Resume on the Web"
+ }
+ ],
+ "visible": true
+ },
+ "public": true,
+ "references": {
+ "heading": "References",
+ "items": [
+ {
+ "email": "[email protected]",
+ "id": "168339fd-3c4b-4f2f-bd3a-ef184be81700",
+ "name": "Willy Wonka",
+ "phone": "+1 (802) 234-2398",
+ "position": "CEO at Chocolate Factory",
+ "summary": ""
+ },
+ {
+ "email": "[email protected]",
+ "id": "350465b9-9989-43cc-b97e-4115b8980304",
+ "name": "Elangovan Musk",
+ "phone": "+91 93893 34353",
+ "position": "CEO at Newton Motors",
+ "summary": ""
+ },
+ {
+ "name": "Lorraine Beasley",
+ "position": "Head of HR, Carson Logistics",
+ "phone": "+1 661-808-4188",
+ "email": "[email protected]",
+ "summary": "",
+ "id": "94e3447b-0a78-4fb7-b14d-591982d35320"
+ }
+ ],
+ "visible": true
+ },
+ "skills": {
+ "heading": "Skills",
+ "items": [
+ {
+ "id": "54e5bceb-d0e9-4f04-98d1-48a34f7cf920",
+ "level": "Advanced",
+ "name": "Customer Service Expertise"
+ },
+ {
+ "id": "f0274f62-2252-4cc0-bf12-9e1070942c50",
+ "level": "Intermediate",
+ "name": "High-Volume Call Center"
+ },
+ {
+ "id": "689e2852-df1b-4d41-bda8-c41c88196264",
+ "level": "Intermediate",
+ "name": "Team Leader/Problem Solver"
+ },
+ {
+ "id": "3a4f73b1-50c1-4a85-a4b0-2a55dfe5053a",
+ "level": "Novice",
+ "name": "Call Center Management"
+ },
+ {
+ "name": "Teambuilding & Training",
+ "level": "Novice",
+ "id": "08d6c739-1465-41f7-8825-b8d94faa38d6"
+ },
+ {
+ "name": "Continuous Improvement",
+ "level": "Fundamental Awareness",
+ "id": "261b8fc3-aeec-4347-88a8-bcacb1a17aa3"
+ }
+ ],
+ "visible": true
+ },
+ "social": {
+ "heading": "Social",
+ "items": [
+ {
+ "url": "https://pillai.xyz/instagram",
+ "network": "Instagram",
+ "username": "AmruthPillai",
+ "id": "a832b37d-f11d-4a80-8b4d-24796e571b17"
+ },
+ {
+ "id": "a72107fa-a4a5-407d-9e85-39bdb9c0b11a",
+ "network": "Twitter",
+ "url": "https://pillai.xyz/twitter",
+ "username": "KingOKings"
+ },
+ {
+ "id": "1dd46fdd-b3a3-4786-89ce-2e77c0823aba",
+ "network": "LinkedIn",
+ "url": "https://pillai.xyz/linkedin",
+ "username": "AmruthPillai"
+ }
+ ],
+ "visible": true
+ },
+ "work": {
+ "heading": "Work Experience",
+ "items": [
+ {
+ "company": "On Point Electronics, NYC, NY",
+ "endDate": "2018-07-01",
+ "id": "d7c64937-0cb9-41b1-a3a6-0679c882fe63",
+ "position": "Customer Service Representative",
+ "startDate": "2013-01-01",
+ "summary": "- Organized customer information and account data for business planning and customer service purposes.\n- Created excel spreadsheets to track customer data and perform intense reconciliation process.\n- Received 97% positive customer survey results.\n- Speed on calls was 10% above team average. \n**Key Achievement:** Designed and executed an automatized system for following up with customers, increasing customer retention by 22%.",
+ "website": "https://onpoint.com"
+ },
+ {
+ "company": "Excelsior Communications, NYC, NY",
+ "endDate": "2012-12-01",
+ "id": "f5c5dcfe-2a60-4169-a2f1-b305355518ea",
+ "position": "Customer Service Representative",
+ "startDate": "2009-10-01",
+ "summary": "- Worked as a full time customer service rep in a high volume call center.\n- Received \"Associate of the Month\" award six times.\n- Chosen as an example for other associates in trainings. \n**Key Achievement:** Received Customer Appreciation bonus in three of four years.",
+ "website": "https://excelsior.com"
+ },
+ {
+ "company": "Pizza Hut, Newark, NJ",
+ "position": "Waiter",
+ "website": "https://pizzahut.com",
+ "startDate": "2005-08-01",
+ "endDate": "2009-09-01",
+ "summary": "- Worked passionately in customer service in a high volume restaurant.\n- Completed the FAST customer service training class.\n- Maintained a high tip average thanks to consistent customer satisfaction.",
+ "id": "dd935088-6fe7-4a4b-8ff5-7417c32d2add"
+ }
+ ],
+ "visible": true
+ }
+ }
+ ],
+ "required": [
+ "awards",
+ "certifications",
+ "education",
+ "hobbies",
+ "languages",
+ "metadata",
+ "objective",
+ "profile",
+ "projects",
+ "public",
+ "references",
+ "skills",
+ "social",
+ "work"
+ ],
+ "additionalProperties": true,
+ "properties": {
+ "awards": {
+ "$id": "#/properties/awards",
+ "type": "object",
+ "title": "The awards schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Awards",
+ "items": [
+ {
+ "awarder": "Google",
+ "date": "2019-04-01",
+ "id": "6f857f2b-6312-4a0d-907d-2e17991954eb",
+ "summary": "",
+ "title": "International Flutter Hackathon"
+ },
+ {
+ "awarder": "Venturesity",
+ "date": "2016-06-01",
+ "id": "f6efa3f9-9741-4e36-a538-ba0d9779bc61",
+ "summary": "",
+ "title": "Venturesity Banyan Hack"
+ },
+ {
+ "title": "Smart India Hackathon",
+ "awarder": "Govt. of India",
+ "date": "2017-04-01",
+ "summary": "",
+ "id": "89c0171a-eae9-403e-9f4c-a757fb535c2b"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/awards/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Awards"]
+ },
+ "items": {
+ "$id": "#/properties/awards/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "awarder": "Google",
+ "date": "2019-04-01",
+ "id": "6f857f2b-6312-4a0d-907d-2e17991954eb",
+ "summary": "",
+ "title": "International Flutter Hackathon"
+ },
+ {
+ "awarder": "Venturesity",
+ "date": "2016-06-01",
+ "id": "f6efa3f9-9741-4e36-a538-ba0d9779bc61",
+ "summary": "",
+ "title": "Venturesity Banyan Hack"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/awards/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "awarder": "Google",
+ "date": "2019-04-01",
+ "id": "6f857f2b-6312-4a0d-907d-2e17991954eb",
+ "summary": "",
+ "title": "International Flutter Hackathon"
+ }
+ ],
+ "required": ["awarder", "date", "id", "summary", "title"],
+ "additionalProperties": true,
+ "properties": {
+ "awarder": {
+ "$id": "#/properties/awards/properties/items/items/anyOf/0/properties/awarder",
+ "type": "string",
+ "title": "The awarder schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Google"]
+ },
+ "date": {
+ "$id": "#/properties/awards/properties/items/items/anyOf/0/properties/date",
+ "type": "string",
+ "title": "The date schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["2019-04-01"]
+ },
+ "id": {
+ "$id": "#/properties/awards/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["6f857f2b-6312-4a0d-907d-2e17991954eb"]
+ },
+ "summary": {
+ "$id": "#/properties/awards/properties/items/items/anyOf/0/properties/summary",
+ "type": "string",
+ "title": "The summary schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [""]
+ },
+ "title": {
+ "$id": "#/properties/awards/properties/items/items/anyOf/0/properties/title",
+ "type": "string",
+ "title": "The title schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["International Flutter Hackathon"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/awards/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/awards/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "certifications": {
+ "$id": "#/properties/certifications",
+ "type": "object",
+ "title": "The certifications schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Certifications",
+ "items": [
+ {
+ "date": "2018-02-01",
+ "id": "d2ec12bc-7876-46bc-afd4-11ae06faf3bd",
+ "issuer": "Cisco Systems",
+ "summary": "",
+ "title": "CCNP"
+ },
+ {
+ "date": "2019-06-01",
+ "id": "f8312288-53ae-4504-a768-4b67aea95926",
+ "issuer": "VMWare",
+ "summary": "",
+ "title": "VCP6-DCV"
+ },
+ {
+ "title": "DCUCI 642-999",
+ "issuer": "Cisco Systems",
+ "date": "2014-04-01",
+ "summary": "",
+ "id": "11107df6-5f3c-49ae-bcd4-62b8baa181a1"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/certifications/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Certifications"]
+ },
+ "items": {
+ "$id": "#/properties/certifications/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "date": "2018-02-01",
+ "id": "d2ec12bc-7876-46bc-afd4-11ae06faf3bd",
+ "issuer": "Cisco Systems",
+ "summary": "",
+ "title": "CCNP"
+ },
+ {
+ "date": "2019-06-01",
+ "id": "f8312288-53ae-4504-a768-4b67aea95926",
+ "issuer": "VMWare",
+ "summary": "",
+ "title": "VCP6-DCV"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/certifications/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "date": "2018-02-01",
+ "id": "d2ec12bc-7876-46bc-afd4-11ae06faf3bd",
+ "issuer": "Cisco Systems",
+ "summary": "",
+ "title": "CCNP"
+ }
+ ],
+ "required": ["date", "id", "issuer", "summary", "title"],
+ "additionalProperties": true,
+ "properties": {
+ "date": {
+ "$id": "#/properties/certifications/properties/items/items/anyOf/0/properties/date",
+ "type": "string",
+ "title": "The date schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["2018-02-01"]
+ },
+ "id": {
+ "$id": "#/properties/certifications/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["d2ec12bc-7876-46bc-afd4-11ae06faf3bd"]
+ },
+ "issuer": {
+ "$id": "#/properties/certifications/properties/items/items/anyOf/0/properties/issuer",
+ "type": "string",
+ "title": "The issuer schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Cisco Systems"]
+ },
+ "summary": {
+ "$id": "#/properties/certifications/properties/items/items/anyOf/0/properties/summary",
+ "type": "string",
+ "title": "The summary schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [""]
+ },
+ "title": {
+ "$id": "#/properties/certifications/properties/items/items/anyOf/0/properties/title",
+ "type": "string",
+ "title": "The title schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["CCNP"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/certifications/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/certifications/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "education": {
+ "$id": "#/properties/education",
+ "type": "object",
+ "title": "The education schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Education",
+ "items": [
+ {
+ "degree": "Masters",
+ "endDate": "2002-08-01",
+ "field": "Computer Science",
+ "gpa": "7.2 CGPA",
+ "id": "c42e2a5a-3f0d-497e-838b-ac2019dcf045",
+ "institution": "The City College of New York, NYC, NY",
+ "startDate": "2001-09-01",
+ "summary": ""
+ },
+ {
+ "degree": "Bachelors",
+ "endDate": "2001-08-01",
+ "field": "Computer Science",
+ "gpa": "8.4 CGPA",
+ "id": "278490a2-c327-4e83-8be8-adf913a9b36c",
+ "institution": "University of California, Berkeley, CA",
+ "startDate": "1997-09-01",
+ "summary": ""
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/education/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Education"]
+ },
+ "items": {
+ "$id": "#/properties/education/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "degree": "Masters",
+ "endDate": "2002-08-01",
+ "field": "Computer Science",
+ "gpa": "7.2 CGPA",
+ "id": "c42e2a5a-3f0d-497e-838b-ac2019dcf045",
+ "institution": "The City College of New York, NYC, NY",
+ "startDate": "2001-09-01",
+ "summary": ""
+ },
+ {
+ "degree": "Bachelors",
+ "endDate": "2001-08-01",
+ "field": "Computer Science",
+ "gpa": "8.4 CGPA",
+ "id": "278490a2-c327-4e83-8be8-adf913a9b36c",
+ "institution": "University of California, Berkeley, CA",
+ "startDate": "1997-09-01",
+ "summary": ""
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/education/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "degree": "Masters",
+ "endDate": "2002-08-01",
+ "field": "Computer Science",
+ "gpa": "7.2 CGPA",
+ "id": "c42e2a5a-3f0d-497e-838b-ac2019dcf045",
+ "institution": "The City College of New York, NYC, NY",
+ "startDate": "2001-09-01",
+ "summary": ""
+ }
+ ],
+ "required": [
+ "degree",
+ "endDate",
+ "field",
+ "gpa",
+ "id",
+ "institution",
+ "startDate",
+ "summary"
+ ],
+ "additionalProperties": true,
+ "properties": {
+ "degree": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/degree",
+ "type": "string",
+ "title": "The degree schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Masters"]
+ },
+ "endDate": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/endDate",
+ "type": "string",
+ "title": "The endDate schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["2002-08-01"]
+ },
+ "field": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/field",
+ "type": "string",
+ "title": "The field schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Computer Science"]
+ },
+ "gpa": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/gpa",
+ "type": "string",
+ "title": "The gpa schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["7.2 CGPA"]
+ },
+ "id": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["c42e2a5a-3f0d-497e-838b-ac2019dcf045"]
+ },
+ "institution": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/institution",
+ "type": "string",
+ "title": "The institution schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["The City College of New York, NYC, NY"]
+ },
+ "startDate": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/startDate",
+ "type": "string",
+ "title": "The startDate schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["2001-09-01"]
+ },
+ "summary": {
+ "$id": "#/properties/education/properties/items/items/anyOf/0/properties/summary",
+ "type": "string",
+ "title": "The summary schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [""]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/education/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/education/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "hobbies": {
+ "$id": "#/properties/hobbies",
+ "type": "object",
+ "title": "The hobbies schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Hobbies",
+ "items": [
+ {
+ "name": "Poetry",
+ "id": "788dcf5a-78ca-4866-8397-c7a29073d9a1"
+ },
+ {
+ "name": "Travelling",
+ "id": "e3523371-f50c-4348-8c5e-35fe84c0006d"
+ },
+ {
+ "id": "92c35e3b-6cd7-4cea-b505-61347ec61b68",
+ "name": "Photography"
+ },
+ {
+ "id": "d36f2089-93a9-4f30-a425-3dd81c6b89df",
+ "name": "Playing Badminton"
+ },
+ {
+ "id": "d1da41a9-ae83-48fb-8047-d45ebd869a69",
+ "name": "Developing Reactive Resume"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/hobbies/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Hobbies"]
+ },
+ "items": {
+ "$id": "#/properties/hobbies/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "name": "Poetry",
+ "id": "788dcf5a-78ca-4866-8397-c7a29073d9a1"
+ },
+ {
+ "name": "Travelling",
+ "id": "e3523371-f50c-4348-8c5e-35fe84c0006d"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/hobbies/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "name": "Poetry",
+ "id": "788dcf5a-78ca-4866-8397-c7a29073d9a1"
+ }
+ ],
+ "required": ["name", "id"],
+ "additionalProperties": true,
+ "properties": {
+ "name": {
+ "$id": "#/properties/hobbies/properties/items/items/anyOf/0/properties/name",
+ "type": "string",
+ "title": "The name schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Poetry"]
+ },
+ "id": {
+ "$id": "#/properties/hobbies/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["788dcf5a-78ca-4866-8397-c7a29073d9a1"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/hobbies/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/hobbies/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "languages": {
+ "$id": "#/properties/languages",
+ "type": "object",
+ "title": "The languages schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Languages",
+ "items": [
+ {
+ "fluency": "Very Fluent",
+ "id": "78d8cf32-84c7-431d-969b-fdf277968026",
+ "name": "English"
+ },
+ {
+ "fluency": "Native Tongue",
+ "id": "9e0bd5ed-b88d-4046-8fb9-ecba54d29924",
+ "name": "Tamil"
+ },
+ {
+ "fluency": "Native Tongue",
+ "id": "cb895aa9-c485-4bf3-a9e3-08e8f219451a",
+ "name": "Kannada"
+ },
+ {
+ "fluency": "Learning on Duolingo",
+ "id": "8fff60fc-0cd6-47e2-b64f-fb249d1af0d1",
+ "name": "German"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/languages/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Languages"]
+ },
+ "items": {
+ "$id": "#/properties/languages/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "fluency": "Very Fluent",
+ "id": "78d8cf32-84c7-431d-969b-fdf277968026",
+ "name": "English"
+ },
+ {
+ "fluency": "Native Tongue",
+ "id": "9e0bd5ed-b88d-4046-8fb9-ecba54d29924",
+ "name": "Tamil"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/languages/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "fluency": "Very Fluent",
+ "id": "78d8cf32-84c7-431d-969b-fdf277968026",
+ "name": "English"
+ }
+ ],
+ "required": ["fluency", "id", "name"],
+ "additionalProperties": true,
+ "properties": {
+ "fluency": {
+ "$id": "#/properties/languages/properties/items/items/anyOf/0/properties/fluency",
+ "type": "string",
+ "title": "The fluency schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Very Fluent"]
+ },
+ "id": {
+ "$id": "#/properties/languages/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["78d8cf32-84c7-431d-969b-fdf277968026"]
+ },
+ "name": {
+ "$id": "#/properties/languages/properties/items/items/anyOf/0/properties/name",
+ "type": "string",
+ "title": "The name schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["English"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/languages/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/languages/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "metadata": {
+ "$id": "#/properties/metadata",
+ "type": "object",
+ "title": "The metadata schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "colors": {
+ "background": "#FFFFFF",
+ "primary": "#009688",
+ "text": "#212121"
+ },
+ "font": "Open Sans",
+ "layout": {
+ "onyx": [
+ ["objective", "work", "education", "projects"],
+ ["hobbies", "languages", "awards", "certifications"],
+ ["skills", "references"]
+ ],
+ "pikachu": [
+ ["skills", "languages", "hobbies", "awards", "certifications"],
+ ["work", "education", "projects", "references"]
+ ],
+ "gengar": [
+ ["objective", "skills"],
+ [
+ "awards",
+ "certifications",
+ "languages",
+ "references",
+ "hobbies"
+ ],
+ ["work", "education", "projects"]
+ ],
+ "castform": [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ],
+ "glalie": [
+ ["awards", "certifications", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "languages",
+ "references"
+ ]
+ ],
+ "celebi": [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ]
+ },
+ "template": "pikachu"
+ }
+ ],
+ "required": ["colors", "font", "layout", "template"],
+ "additionalProperties": true,
+ "properties": {
+ "colors": {
+ "$id": "#/properties/metadata/properties/colors",
+ "type": "object",
+ "title": "The colors schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "background": "#FFFFFF",
+ "primary": "#009688",
+ "text": "#212121"
+ }
+ ],
+ "required": ["background", "primary", "text"],
+ "additionalProperties": true,
+ "properties": {
+ "background": {
+ "$id": "#/properties/metadata/properties/colors/properties/background",
+ "type": "string",
+ "title": "The background schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["#FFFFFF"]
+ },
+ "primary": {
+ "$id": "#/properties/metadata/properties/colors/properties/primary",
+ "type": "string",
+ "title": "The primary schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["#009688"]
+ },
+ "text": {
+ "$id": "#/properties/metadata/properties/colors/properties/text",
+ "type": "string",
+ "title": "The text schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["#212121"]
+ }
+ }
+ },
+ "font": {
+ "$id": "#/properties/metadata/properties/font",
+ "type": "string",
+ "title": "The font schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Open Sans"]
+ },
+ "layout": {
+ "$id": "#/properties/metadata/properties/layout",
+ "type": "object",
+ "title": "The layout schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "onyx": [
+ ["objective", "work", "education", "projects"],
+ ["hobbies", "languages", "awards", "certifications"],
+ ["skills", "references"]
+ ],
+ "pikachu": [
+ ["skills", "languages", "hobbies", "awards", "certifications"],
+ ["work", "education", "projects", "references"]
+ ],
+ "gengar": [
+ ["objective", "skills"],
+ [
+ "awards",
+ "certifications",
+ "languages",
+ "references",
+ "hobbies"
+ ],
+ ["work", "education", "projects"]
+ ],
+ "castform": [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ],
+ "glalie": [
+ ["awards", "certifications", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "languages",
+ "references"
+ ]
+ ],
+ "celebi": [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ]
+ }
+ ],
+ "required": [
+ "onyx",
+ "pikachu",
+ "gengar",
+ "castform",
+ "glalie",
+ "celebi"
+ ],
+ "additionalProperties": true,
+ "properties": {
+ "onyx": {
+ "$id": "#/properties/metadata/properties/layout/properties/onyx",
+ "type": "array",
+ "title": "The onyx schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ ["objective", "work", "education", "projects"],
+ ["hobbies", "languages", "awards", "certifications"]
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/0",
+ "type": "array",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["objective", "work"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/0/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["objective", "work"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/0/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/1",
+ "type": "array",
+ "title": "The second anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["hobbies", "languages"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/1/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["hobbies", "languages"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/1/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/2",
+ "type": "array",
+ "title": "The third anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["skills", "references"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/2/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["skills", "references"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items/anyOf/2/items"
+ }
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/onyx/items"
+ }
+ },
+ "pikachu": {
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu",
+ "type": "array",
+ "title": "The pikachu schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ [
+ "skills",
+ "languages",
+ "hobbies",
+ "awards",
+ "certifications"
+ ],
+ ["work", "education", "projects", "references"]
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu/items/anyOf/0",
+ "type": "array",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["skills", "languages"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu/items/anyOf/0/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["skills", "languages"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu/items/anyOf/0/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu/items/anyOf/1",
+ "type": "array",
+ "title": "The second anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["work", "education"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu/items/anyOf/1/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["work", "education"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu/items/anyOf/1/items"
+ }
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/pikachu/items"
+ }
+ },
+ "gengar": {
+ "$id": "#/properties/metadata/properties/layout/properties/gengar",
+ "type": "array",
+ "title": "The gengar schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ ["objective", "skills"],
+ [
+ "awards",
+ "certifications",
+ "languages",
+ "references",
+ "hobbies"
+ ]
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/0",
+ "type": "array",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["objective", "skills"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/0/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["objective", "skills"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/0/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/1",
+ "type": "array",
+ "title": "The second anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["awards", "certifications"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/1/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["awards", "certifications"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/1/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/2",
+ "type": "array",
+ "title": "The third anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["work", "education"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/2/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["work", "education"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items/anyOf/2/items"
+ }
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/gengar/items"
+ }
+ },
+ "castform": {
+ "$id": "#/properties/metadata/properties/layout/properties/castform",
+ "type": "array",
+ "title": "The castform schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/castform/items/anyOf/0",
+ "type": "array",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["awards", "certifications"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/castform/items/anyOf/0/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["awards", "certifications"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/castform/items/anyOf/0/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/castform/items/anyOf/1",
+ "type": "array",
+ "title": "The second anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["objective", "work"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/castform/items/anyOf/1/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["objective", "work"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/castform/items/anyOf/1/items"
+ }
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/castform/items"
+ }
+ },
+ "glalie": {
+ "$id": "#/properties/metadata/properties/layout/properties/glalie",
+ "type": "array",
+ "title": "The glalie schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ ["awards", "certifications", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "languages",
+ "references"
+ ]
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/glalie/items/anyOf/0",
+ "type": "array",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["awards", "certifications"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/glalie/items/anyOf/0/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["awards", "certifications"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/glalie/items/anyOf/0/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/glalie/items/anyOf/1",
+ "type": "array",
+ "title": "The second anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["objective", "work"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/glalie/items/anyOf/1/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["objective", "work"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/glalie/items/anyOf/1/items"
+ }
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/glalie/items"
+ }
+ },
+ "celebi": {
+ "$id": "#/properties/metadata/properties/layout/properties/celebi",
+ "type": "array",
+ "title": "The celebi schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ ["awards", "certifications", "languages", "hobbies"],
+ [
+ "objective",
+ "work",
+ "education",
+ "skills",
+ "projects",
+ "references"
+ ]
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/celebi/items/anyOf/0",
+ "type": "array",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["awards", "certifications"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/celebi/items/anyOf/0/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["awards", "certifications"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/celebi/items/anyOf/0/items"
+ }
+ },
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/celebi/items/anyOf/1",
+ "type": "array",
+ "title": "The second anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [["objective", "work"]],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/metadata/properties/layout/properties/celebi/items/anyOf/1/items/anyOf/0",
+ "type": "string",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["objective", "work"]
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/celebi/items/anyOf/1/items"
+ }
+ }
+ ],
+ "$id": "#/properties/metadata/properties/layout/properties/celebi/items"
+ }
+ }
+ }
+ },
+ "template": {
+ "$id": "#/properties/metadata/properties/template",
+ "type": "string",
+ "title": "The template schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["pikachu"]
+ }
+ }
+ },
+ "objective": {
+ "$id": "#/properties/objective",
+ "type": "object",
+ "title": "The objective schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "body": "To obtain a job within my chosen field that will challenge me and allow me to use my education, skills and past experiences in a way that is mutually beneficial to both myself and my employer and allow for future growth and advancement.",
+ "heading": "Objective",
+ "visible": true
+ }
+ ],
+ "required": ["body", "heading", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "body": {
+ "$id": "#/properties/objective/properties/body",
+ "type": "string",
+ "title": "The body schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [
+ "To obtain a job within my chosen field that will challenge me and allow me to use my education, skills and past experiences in a way that is mutually beneficial to both myself and my employer and allow for future growth and advancement."
+ ]
+ },
+ "heading": {
+ "$id": "#/properties/objective/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Objective"]
+ },
+ "visible": {
+ "$id": "#/properties/objective/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "profile": {
+ "$id": "#/properties/profile",
+ "type": "object",
+ "title": "The profile schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "address": {
+ "city": "Bangalore, India -",
+ "line1": "#5/A, Banashankari Nivas,",
+ "line2": "Brindavan Layout, Subramanyapura,",
+ "pincode": "560061"
+ },
+ "email": "[email protected]",
+ "firstName": "Amruth",
+ "heading": "Profile",
+ "lastName": "Pillai",
+ "phone": "+91 98453 36113",
+ "photograph": "https://i.imgur.com/2dmLSCT.jpg",
+ "profile": "",
+ "subtitle": "Full Stack Web Developer",
+ "website": "amruthpillai.com"
+ }
+ ],
+ "required": [
+ "address",
+ "email",
+ "firstName",
+ "heading",
+ "lastName",
+ "phone",
+ "photograph",
+ "profile",
+ "subtitle",
+ "website"
+ ],
+ "additionalProperties": true,
+ "properties": {
+ "address": {
+ "$id": "#/properties/profile/properties/address",
+ "type": "object",
+ "title": "The address schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "city": "Bangalore, India -",
+ "line1": "#5/A, Banashankari Nivas,",
+ "line2": "Brindavan Layout, Subramanyapura,",
+ "pincode": "560061"
+ }
+ ],
+ "required": ["city", "line1", "line2", "pincode"],
+ "additionalProperties": true,
+ "properties": {
+ "city": {
+ "$id": "#/properties/profile/properties/address/properties/city",
+ "type": "string",
+ "title": "The city schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Bangalore, India -"]
+ },
+ "line1": {
+ "$id": "#/properties/profile/properties/address/properties/line1",
+ "type": "string",
+ "title": "The line1 schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["#5/A, Banashankari Nivas,"]
+ },
+ "line2": {
+ "$id": "#/properties/profile/properties/address/properties/line2",
+ "type": "string",
+ "title": "The line2 schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Brindavan Layout, Subramanyapura,"]
+ },
+ "pincode": {
+ "$id": "#/properties/profile/properties/address/properties/pincode",
+ "type": "string",
+ "title": "The pincode schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["560061"]
+ }
+ }
+ },
+ "email": {
+ "$id": "#/properties/profile/properties/email",
+ "type": "string",
+ "title": "The email schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["[email protected]"]
+ },
+ "firstName": {
+ "$id": "#/properties/profile/properties/firstName",
+ "type": "string",
+ "title": "The firstName schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Amruth"]
+ },
+ "heading": {
+ "$id": "#/properties/profile/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Profile"]
+ },
+ "lastName": {
+ "$id": "#/properties/profile/properties/lastName",
+ "type": "string",
+ "title": "The lastName schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Pillai"]
+ },
+ "phone": {
+ "$id": "#/properties/profile/properties/phone",
+ "type": "string",
+ "title": "The phone schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["+91 98453 36113"]
+ },
+ "photograph": {
+ "$id": "#/properties/profile/properties/photograph",
+ "type": "string",
+ "title": "The photograph schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["https://i.imgur.com/2dmLSCT.jpg"]
+ },
+ "profile": {
+ "$id": "#/properties/profile/properties/profile",
+ "type": "string",
+ "title": "The profile schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [""]
+ },
+ "subtitle": {
+ "$id": "#/properties/profile/properties/subtitle",
+ "type": "string",
+ "title": "The subtitle schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Full Stack Web Developer"]
+ },
+ "website": {
+ "$id": "#/properties/profile/properties/website",
+ "type": "string",
+ "title": "The website schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["amruthpillai.com"]
+ }
+ }
+ },
+ "projects": {
+ "$id": "#/properties/projects",
+ "type": "object",
+ "title": "The projects schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Projects",
+ "items": [
+ {
+ "date": "2020-07-01",
+ "id": "c768dcca-90f5-4242-a608-6759b4f667fb",
+ "link": "https://github.com/AmruthPillai/Reactive-Resume",
+ "summary": "Reactive Resume, a free and open-source resume builder that works for you. A few of the important features that make it awesome are minimalistic UI/UX, extensive customizability, portability, regularly updated templates, etc.\n\nFor more information, check out [rxresu.me](https://github.com/AmruthPillai/Reactive-Resume)",
+ "title": "Reactive Resume"
+ },
+ {
+ "date": "2020-04-01",
+ "id": "6ca600b1-c21f-4d7b-8431-f7144d537dd3",
+ "link": "https://amruthpillai.com",
+ "summary": "Resume on the Web has been a project that I've been focused on since the early 2014s. I didn't want my information to be displayed on just a sheet of paper that only HRs or Talent Scouts had the privilege of reading, I wanted it to be accessible to everyone. And that's how this project was conceptualized.",
+ "title": "Resume on the Web"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/projects/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Projects"]
+ },
+ "items": {
+ "$id": "#/properties/projects/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "date": "2020-07-01",
+ "id": "c768dcca-90f5-4242-a608-6759b4f667fb",
+ "link": "https://github.com/AmruthPillai/Reactive-Resume",
+ "summary": "Reactive Resume, a free and open-source resume builder that works for you. A few of the important features that make it awesome are minimalistic UI/UX, extensive customizability, portability, regularly updated templates, etc.\n\nFor more information, check out [rxresu.me](https://github.com/AmruthPillai/Reactive-Resume)",
+ "title": "Reactive Resume"
+ },
+ {
+ "date": "2020-04-01",
+ "id": "6ca600b1-c21f-4d7b-8431-f7144d537dd3",
+ "link": "https://amruthpillai.com",
+ "summary": "Resume on the Web has been a project that I've been focused on since the early 2014s. I didn't want my information to be displayed on just a sheet of paper that only HRs or Talent Scouts had the privilege of reading, I wanted it to be accessible to everyone. And that's how this project was conceptualized.",
+ "title": "Resume on the Web"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/projects/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "date": "2020-07-01",
+ "id": "c768dcca-90f5-4242-a608-6759b4f667fb",
+ "link": "https://github.com/AmruthPillai/Reactive-Resume",
+ "summary": "Reactive Resume, a free and open-source resume builder that works for you. A few of the important features that make it awesome are minimalistic UI/UX, extensive customizability, portability, regularly updated templates, etc.\n\nFor more information, check out [rxresu.me](https://github.com/AmruthPillai/Reactive-Resume)",
+ "title": "Reactive Resume"
+ }
+ ],
+ "required": ["date", "id", "link", "summary", "title"],
+ "additionalProperties": true,
+ "properties": {
+ "date": {
+ "$id": "#/properties/projects/properties/items/items/anyOf/0/properties/date",
+ "type": "string",
+ "title": "The date schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["2020-07-01"]
+ },
+ "id": {
+ "$id": "#/properties/projects/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["c768dcca-90f5-4242-a608-6759b4f667fb"]
+ },
+ "link": {
+ "$id": "#/properties/projects/properties/items/items/anyOf/0/properties/link",
+ "type": "string",
+ "title": "The link schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [
+ "https://github.com/AmruthPillai/Reactive-Resume"
+ ]
+ },
+ "summary": {
+ "$id": "#/properties/projects/properties/items/items/anyOf/0/properties/summary",
+ "type": "string",
+ "title": "The summary schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [
+ "Reactive Resume, a free and open-source resume builder that works for you. A few of the important features that make it awesome are minimalistic UI/UX, extensive customizability, portability, regularly updated templates, etc.\n\nFor more information, check out [rxresu.me](https://github.com/AmruthPillai/Reactive-Resume)"
+ ]
+ },
+ "title": {
+ "$id": "#/properties/projects/properties/items/items/anyOf/0/properties/title",
+ "type": "string",
+ "title": "The title schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Reactive Resume"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/projects/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/projects/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "public": {
+ "$id": "#/properties/public",
+ "type": "boolean",
+ "title": "The public schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ },
+ "references": {
+ "$id": "#/properties/references",
+ "type": "object",
+ "title": "The references schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "References",
+ "items": [
+ {
+ "email": "[email protected]",
+ "id": "168339fd-3c4b-4f2f-bd3a-ef184be81700",
+ "name": "Willy Wonka",
+ "phone": "+1 (802) 234-2398",
+ "position": "CEO at Chocolate Factory",
+ "summary": ""
+ },
+ {
+ "email": "[email protected]",
+ "id": "350465b9-9989-43cc-b97e-4115b8980304",
+ "name": "Elangovan Musk",
+ "phone": "+91 93893 34353",
+ "position": "CEO at Newton Motors",
+ "summary": ""
+ },
+ {
+ "name": "Lorraine Beasley",
+ "position": "Head of HR, Carson Logistics",
+ "phone": "+1 661-808-4188",
+ "email": "[email protected]",
+ "summary": "",
+ "id": "94e3447b-0a78-4fb7-b14d-591982d35320"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/references/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["References"]
+ },
+ "items": {
+ "$id": "#/properties/references/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "email": "[email protected]",
+ "id": "168339fd-3c4b-4f2f-bd3a-ef184be81700",
+ "name": "Willy Wonka",
+ "phone": "+1 (802) 234-2398",
+ "position": "CEO at Chocolate Factory",
+ "summary": ""
+ },
+ {
+ "email": "[email protected]",
+ "id": "350465b9-9989-43cc-b97e-4115b8980304",
+ "name": "Elangovan Musk",
+ "phone": "+91 93893 34353",
+ "position": "CEO at Newton Motors",
+ "summary": ""
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/references/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "email": "[email protected]",
+ "id": "168339fd-3c4b-4f2f-bd3a-ef184be81700",
+ "name": "Willy Wonka",
+ "phone": "+1 (802) 234-2398",
+ "position": "CEO at Chocolate Factory",
+ "summary": ""
+ }
+ ],
+ "required": [
+ "email",
+ "id",
+ "name",
+ "phone",
+ "position",
+ "summary"
+ ],
+ "additionalProperties": true,
+ "properties": {
+ "email": {
+ "$id": "#/properties/references/properties/items/items/anyOf/0/properties/email",
+ "type": "string",
+ "title": "The email schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["[email protected]"]
+ },
+ "id": {
+ "$id": "#/properties/references/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["168339fd-3c4b-4f2f-bd3a-ef184be81700"]
+ },
+ "name": {
+ "$id": "#/properties/references/properties/items/items/anyOf/0/properties/name",
+ "type": "string",
+ "title": "The name schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Willy Wonka"]
+ },
+ "phone": {
+ "$id": "#/properties/references/properties/items/items/anyOf/0/properties/phone",
+ "type": "string",
+ "title": "The phone schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["+1 (802) 234-2398"]
+ },
+ "position": {
+ "$id": "#/properties/references/properties/items/items/anyOf/0/properties/position",
+ "type": "string",
+ "title": "The position schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["CEO at Chocolate Factory"]
+ },
+ "summary": {
+ "$id": "#/properties/references/properties/items/items/anyOf/0/properties/summary",
+ "type": "string",
+ "title": "The summary schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [""]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/references/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/references/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "skills": {
+ "$id": "#/properties/skills",
+ "type": "object",
+ "title": "The skills schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Skills",
+ "items": [
+ {
+ "id": "54e5bceb-d0e9-4f04-98d1-48a34f7cf920",
+ "level": "Advanced",
+ "name": "Customer Service Expertise"
+ },
+ {
+ "id": "f0274f62-2252-4cc0-bf12-9e1070942c50",
+ "level": "Intermediate",
+ "name": "High-Volume Call Center"
+ },
+ {
+ "id": "689e2852-df1b-4d41-bda8-c41c88196264",
+ "level": "Intermediate",
+ "name": "Team Leader/Problem Solver"
+ },
+ {
+ "id": "3a4f73b1-50c1-4a85-a4b0-2a55dfe5053a",
+ "level": "Novice",
+ "name": "Call Center Management"
+ },
+ {
+ "name": "Teambuilding & Training",
+ "level": "Novice",
+ "id": "08d6c739-1465-41f7-8825-b8d94faa38d6"
+ },
+ {
+ "name": "Continuous Improvement",
+ "level": "Fundamental Awareness",
+ "id": "261b8fc3-aeec-4347-88a8-bcacb1a17aa3"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/skills/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Skills"]
+ },
+ "items": {
+ "$id": "#/properties/skills/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "id": "54e5bceb-d0e9-4f04-98d1-48a34f7cf920",
+ "level": "Advanced",
+ "name": "Customer Service Expertise"
+ },
+ {
+ "id": "f0274f62-2252-4cc0-bf12-9e1070942c50",
+ "level": "Intermediate",
+ "name": "High-Volume Call Center"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/skills/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "id": "54e5bceb-d0e9-4f04-98d1-48a34f7cf920",
+ "level": "Advanced",
+ "name": "Customer Service Expertise"
+ }
+ ],
+ "required": ["id", "level", "name"],
+ "additionalProperties": true,
+ "properties": {
+ "id": {
+ "$id": "#/properties/skills/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["54e5bceb-d0e9-4f04-98d1-48a34f7cf920"]
+ },
+ "level": {
+ "$id": "#/properties/skills/properties/items/items/anyOf/0/properties/level",
+ "type": "string",
+ "title": "The level schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Advanced"]
+ },
+ "name": {
+ "$id": "#/properties/skills/properties/items/items/anyOf/0/properties/name",
+ "type": "string",
+ "title": "The name schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Customer Service Expertise"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/skills/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/skills/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "social": {
+ "$id": "#/properties/social",
+ "type": "object",
+ "title": "The social schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Social",
+ "items": [
+ {
+ "url": "https://pillai.xyz/instagram",
+ "network": "Instagram",
+ "username": "AmruthPillai",
+ "id": "a832b37d-f11d-4a80-8b4d-24796e571b17"
+ },
+ {
+ "id": "a72107fa-a4a5-407d-9e85-39bdb9c0b11a",
+ "network": "Twitter",
+ "url": "https://pillai.xyz/twitter",
+ "username": "KingOKings"
+ },
+ {
+ "id": "1dd46fdd-b3a3-4786-89ce-2e77c0823aba",
+ "network": "LinkedIn",
+ "url": "https://pillai.xyz/linkedin",
+ "username": "AmruthPillai"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/social/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Social"]
+ },
+ "items": {
+ "$id": "#/properties/social/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "url": "https://pillai.xyz/instagram",
+ "network": "Instagram",
+ "username": "AmruthPillai",
+ "id": "a832b37d-f11d-4a80-8b4d-24796e571b17"
+ },
+ {
+ "id": "a72107fa-a4a5-407d-9e85-39bdb9c0b11a",
+ "network": "Twitter",
+ "url": "https://pillai.xyz/twitter",
+ "username": "KingOKings"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/social/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "url": "https://pillai.xyz/instagram",
+ "network": "Instagram",
+ "username": "AmruthPillai",
+ "id": "a832b37d-f11d-4a80-8b4d-24796e571b17"
+ }
+ ],
+ "required": ["url", "network", "username", "id"],
+ "additionalProperties": true,
+ "properties": {
+ "url": {
+ "$id": "#/properties/social/properties/items/items/anyOf/0/properties/url",
+ "type": "string",
+ "title": "The url schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["https://pillai.xyz/instagram"]
+ },
+ "network": {
+ "$id": "#/properties/social/properties/items/items/anyOf/0/properties/network",
+ "type": "string",
+ "title": "The network schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Instagram"]
+ },
+ "username": {
+ "$id": "#/properties/social/properties/items/items/anyOf/0/properties/username",
+ "type": "string",
+ "title": "The username schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["AmruthPillai"]
+ },
+ "id": {
+ "$id": "#/properties/social/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["a832b37d-f11d-4a80-8b4d-24796e571b17"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/social/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/social/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ },
+ "work": {
+ "$id": "#/properties/work",
+ "type": "object",
+ "title": "The work schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "heading": "Work Experience",
+ "items": [
+ {
+ "company": "On Point Electronics, NYC, NY",
+ "endDate": "2018-07-01",
+ "id": "d7c64937-0cb9-41b1-a3a6-0679c882fe63",
+ "position": "Customer Service Representative",
+ "startDate": "2013-01-01",
+ "summary": "- Organized customer information and account data for business planning and customer service purposes.\n- Created excel spreadsheets to track customer data and perform intense reconciliation process.\n- Received 97% positive customer survey results.\n- Speed on calls was 10% above team average. \n**Key Achievement:** Designed and executed an automatized system for following up with customers, increasing customer retention by 22%.",
+ "website": "https://onpoint.com"
+ },
+ {
+ "company": "Excelsior Communications, NYC, NY",
+ "endDate": "2012-12-01",
+ "id": "f5c5dcfe-2a60-4169-a2f1-b305355518ea",
+ "position": "Customer Service Representative",
+ "startDate": "2009-10-01",
+ "summary": "- Worked as a full time customer service rep in a high volume call center.\n- Received \"Associate of the Month\" award six times.\n- Chosen as an example for other associates in trainings. \n**Key Achievement:** Received Customer Appreciation bonus in three of four years.",
+ "website": "https://excelsior.com"
+ },
+ {
+ "company": "Pizza Hut, Newark, NJ",
+ "position": "Waiter",
+ "website": "https://pizzahut.com",
+ "startDate": "2005-08-01",
+ "endDate": "2009-09-01",
+ "summary": "- Worked passionately in customer service in a high volume restaurant.\n- Completed the FAST customer service training class.\n- Maintained a high tip average thanks to consistent customer satisfaction.",
+ "id": "dd935088-6fe7-4a4b-8ff5-7417c32d2add"
+ }
+ ],
+ "visible": true
+ }
+ ],
+ "required": ["heading", "items", "visible"],
+ "additionalProperties": true,
+ "properties": {
+ "heading": {
+ "$id": "#/properties/work/properties/heading",
+ "type": "string",
+ "title": "The heading schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Work Experience"]
+ },
+ "items": {
+ "$id": "#/properties/work/properties/items",
+ "type": "array",
+ "title": "The items schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": [],
+ "examples": [
+ [
+ {
+ "company": "On Point Electronics, NYC, NY",
+ "endDate": "2018-07-01",
+ "id": "d7c64937-0cb9-41b1-a3a6-0679c882fe63",
+ "position": "Customer Service Representative",
+ "startDate": "2013-01-01",
+ "summary": "- Organized customer information and account data for business planning and customer service purposes.\n- Created excel spreadsheets to track customer data and perform intense reconciliation process.\n- Received 97% positive customer survey results.\n- Speed on calls was 10% above team average. \n**Key Achievement:** Designed and executed an automatized system for following up with customers, increasing customer retention by 22%.",
+ "website": "https://onpoint.com"
+ },
+ {
+ "company": "Excelsior Communications, NYC, NY",
+ "endDate": "2012-12-01",
+ "id": "f5c5dcfe-2a60-4169-a2f1-b305355518ea",
+ "position": "Customer Service Representative",
+ "startDate": "2009-10-01",
+ "summary": "- Worked as a full time customer service rep in a high volume call center.\n- Received \"Associate of the Month\" award six times.\n- Chosen as an example for other associates in trainings. \n**Key Achievement:** Received Customer Appreciation bonus in three of four years.",
+ "website": "https://excelsior.com"
+ }
+ ]
+ ],
+ "additionalItems": true,
+ "items": {
+ "anyOf": [
+ {
+ "$id": "#/properties/work/properties/items/items/anyOf/0",
+ "type": "object",
+ "title": "The first anyOf schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": {},
+ "examples": [
+ {
+ "company": "On Point Electronics, NYC, NY",
+ "endDate": "2018-07-01",
+ "id": "d7c64937-0cb9-41b1-a3a6-0679c882fe63",
+ "position": "Customer Service Representative",
+ "startDate": "2013-01-01",
+ "summary": "- Organized customer information and account data for business planning and customer service purposes.\n- Created excel spreadsheets to track customer data and perform intense reconciliation process.\n- Received 97% positive customer survey results.\n- Speed on calls was 10% above team average. \n**Key Achievement:** Designed and executed an automatized system for following up with customers, increasing customer retention by 22%.",
+ "website": "https://onpoint.com"
+ }
+ ],
+ "required": [
+ "company",
+ "endDate",
+ "id",
+ "position",
+ "startDate",
+ "summary",
+ "website"
+ ],
+ "additionalProperties": true,
+ "properties": {
+ "company": {
+ "$id": "#/properties/work/properties/items/items/anyOf/0/properties/company",
+ "type": "string",
+ "title": "The company schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["On Point Electronics, NYC, NY"]
+ },
+ "endDate": {
+ "$id": "#/properties/work/properties/items/items/anyOf/0/properties/endDate",
+ "type": "string",
+ "title": "The endDate schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["2018-07-01"]
+ },
+ "id": {
+ "$id": "#/properties/work/properties/items/items/anyOf/0/properties/id",
+ "type": "string",
+ "title": "The id schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["d7c64937-0cb9-41b1-a3a6-0679c882fe63"]
+ },
+ "position": {
+ "$id": "#/properties/work/properties/items/items/anyOf/0/properties/position",
+ "type": "string",
+ "title": "The position schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["Customer Service Representative"]
+ },
+ "startDate": {
+ "$id": "#/properties/work/properties/items/items/anyOf/0/properties/startDate",
+ "type": "string",
+ "title": "The startDate schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["2013-01-01"]
+ },
+ "summary": {
+ "$id": "#/properties/work/properties/items/items/anyOf/0/properties/summary",
+ "type": "string",
+ "title": "The summary schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": [
+ "- Organized customer information and account data for business planning and customer service purposes.\n- Created excel spreadsheets to track customer data and perform intense reconciliation process.\n- Received 97% positive customer survey results.\n- Speed on calls was 10% above team average. \n**Key Achievement:** Designed and executed an automatized system for following up with customers, increasing customer retention by 22%."
+ ]
+ },
+ "website": {
+ "$id": "#/properties/work/properties/items/items/anyOf/0/properties/website",
+ "type": "string",
+ "title": "The website schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": "",
+ "examples": ["https://onpoint.com"]
+ }
+ }
+ }
+ ],
+ "$id": "#/properties/work/properties/items/items"
+ }
+ },
+ "visible": {
+ "$id": "#/properties/work/properties/visible",
+ "type": "boolean",
+ "title": "The visible schema",
+ "description": "An explanation about the purpose of this instance.",
+ "default": false,
+ "examples": [true]
+ }
+ }
+ }
+ }
+}
diff --git a/src/data/templateOptions.js b/src/data/templateOptions.js
index bd218aa91..cf6370dbf 100644
--- a/src/data/templateOptions.js
+++ b/src/data/templateOptions.js
@@ -2,27 +2,26 @@ const templateOptions = [
{
id: 'onyx',
name: 'Onyx',
- preview: 'https://source.unsplash.com/random/300x500',
},
{
id: 'pikachu',
name: 'Pikachu',
- preview: 'https://source.unsplash.com/random/301x501',
},
{
id: 'gengar',
name: 'Gengar',
- preview: 'https://source.unsplash.com/random/302x502',
},
{
id: 'castform',
name: 'Castform',
- preview: 'https://source.unsplash.com/random/303x503',
},
{
id: 'glalie',
name: 'Glalie',
- preview: 'https://source.unsplash.com/random/304x504',
+ },
+ {
+ id: 'celebi',
+ name: 'Celebi',
},
];
diff --git a/src/modals/sections/ImportModal.js b/src/modals/sections/ImportModal.js
index 6808cf03f..9f0e1da58 100644
--- a/src/modals/sections/ImportModal.js
+++ b/src/modals/sections/ImportModal.js
@@ -1,11 +1,15 @@
-import React, { memo, useContext, useEffect, useState, useRef } from 'react';
import { Tooltip } from '@material-ui/core';
-import ModalContext from '../../contexts/ModalContext';
-import BaseModal from '../BaseModal';
+import Ajv from 'ajv';
+import React, { memo, useContext, useEffect, useRef, useState } from 'react';
+import { toast } from 'react-toastify';
import Button from '../../components/shared/Button';
+import ModalContext from '../../contexts/ModalContext';
import { useDispatch } from '../../contexts/ResumeContext';
+import reactiveResumeSchema from '../../data/schema/reactiveResume.json';
+import BaseModal from '../BaseModal';
const ImportModal = () => {
+ const ajv = new Ajv();
const fileInputRef = useRef(null);
const [open, setOpen] = useState(false);
const dispatch = useDispatch();
@@ -22,6 +26,11 @@ const ImportModal = () => {
const fr = new FileReader();
fr.addEventListener('load', () => {
const payload = JSON.parse(fr.result);
+ const valid = ajv.validate(reactiveResumeSchema, payload);
+ if (!valid) {
+ ajv.errors.forEach((x) => toast.error(`Invalid Data: ${x.message}`));
+ return;
+ }
dispatch({ type: 'on_import', payload });
setOpen(false);
});
diff --git a/src/pages/r/view.js b/src/pages/r/view.js
index 399dcb2e6..98fe9a9ba 100644
--- a/src/pages/r/view.js
+++ b/src/pages/r/view.js
@@ -10,6 +10,7 @@ import Glalie from '../../templates/Glalie';
import Onyx from '../../templates/Onyx';
import Pikachu from '../../templates/Pikachu';
import styles from './view.module.css';
+import Celebi from '../../templates/Celebi';
const ResumeViewer = ({ id }) => {
const [resume, setResume] = useState(null);
@@ -56,6 +57,7 @@ const ResumeViewer = ({ id }) => {
<Castform data={resume} />
)}
{resume.metadata.template === 'glalie' && <Glalie data={resume} />}
+ {resume.metadata.template === 'celebi' && <Celebi data={resume} />}
</div>
<p className={styles.footer}>
diff --git a/src/templates/Castform.js b/src/templates/Castform.js
index 147721cf0..1bb633c6f 100644
--- a/src/templates/Castform.js
+++ b/src/templates/Castform.js
@@ -64,7 +64,7 @@ const Castform = ({ data }) => {
>
<div className="grid grid-cols-12">
<div
- className="col-span-4 p-5"
+ className="col-span-4 py-8 pr-8 pl-5"
style={{
color: data.metadata.colors.background,
backgroundColor: data.metadata.colors.primary,
@@ -86,7 +86,7 @@ const Castform = ({ data }) => {
})}
</div>
</div>
- <div className="col-span-8 p-5">
+ <div className="col-span-8 py-8 pr-8 pl-5">
<div className="grid gap-4">
{layout[1] &&
layout[1].map((x) => {
diff --git a/src/templates/Celebi.js b/src/templates/Celebi.js
new file mode 100644
index 000000000..283f6ca82
--- /dev/null
+++ b/src/templates/Celebi.js
@@ -0,0 +1,126 @@
+import React from 'react';
+import PageContext from '../contexts/PageContext';
+import { hexToRgb } from '../utils';
+import AwardsA from './blocks/Awards/AwardsA';
+import CertificationsA from './blocks/Certifications/CertificationsA';
+import ContactE from './blocks/Contact/ContactE';
+import EducationA from './blocks/Education/EducationA';
+import HeadingE from './blocks/Heading/HeadingE';
+import HobbiesA from './blocks/Hobbies/HobbiesA';
+import LanguagesB from './blocks/Languages/LanguagesB';
+import ObjectiveA from './blocks/Objective/ObjectiveA';
+import ProjectsA from './blocks/Projects/ProjectsA';
+import ReferencesA from './blocks/References/ReferencesA';
+import SkillsA from './blocks/Skills/SkillsA';
+import WorkA from './blocks/Work/WorkA';
+
+const Blocks = {
+ objective: ObjectiveA,
+ work: WorkA,
+ education: EducationA,
+ projects: ProjectsA,
+ awards: AwardsA,
+ certifications: CertificationsA,
+ skills: SkillsA,
+ hobbies: HobbiesA,
+ languages: LanguagesB,
+ references: ReferencesA,
+};
+
+const Celebi = ({ data }) => {
+ const layout = data.metadata.layout.celebi;
+ const { r, g, b } = hexToRgb(data.metadata.colors.primary) || {};
+
+ const styles = {
+ header: {
+ position: 'absolute',
+ left: 0,
+ right: 0,
+ display: 'flex',
+ flexDirection: 'column',
+ justifyContent: 'center',
+ color: data.metadata.colors.background,
+ backgroundColor: data.metadata.colors.text,
+ height: '160px',
+ paddingLeft: '275px',
+ },
+ leftSection: {
+ backgroundColor: `rgba(${r}, ${g}, ${b}, 0.1)`,
+ },
+ rightSection: {
+ top: '160px',
+ },
+ };
+
+ const Photo = () =>
+ data.profile.photograph !== '' && (
+ <div className="relative z-40">
+ <img
+ className="w-full object-cover object-center"
+ src={data.profile.photograph}
+ alt={data.profile.firstName}
+ style={{
+ height: '160px',
+ }}
+ />
+ </div>
+ );
+
+ const Profile = () => (
+ <div style={styles.header}>
+ <h1
+ className="tracking-wide uppercase font-bold"
+ style={{ fontSize: '2.75em' }}
+ >
+ {data.profile.firstName} {data.profile.lastName}
+ </h1>
+ <h6 className="text-lg tracking-wider uppercase">
+ {data.profile.subtitle}
+ </h6>
+ </div>
+ );
+
+ return (
+ <PageContext.Provider value={{ data, heading: HeadingE }}>
+ <div
+ id="page"
+ className="relative rounded"
+ style={{
+ fontFamily: data.metadata.font,
+ color: data.metadata.colors.text,
+ backgroundColor: data.metadata.colors.background,
+ }}
+ >
+ <div className="grid grid-cols-12 gap-8">
+ <div className="col-span-4 ml-8" style={styles.leftSection}>
+ <Photo />
+ <div className="text-center grid gap-4 mt-4 mb-8 mx-6">
+ <ContactE />
+
+ {layout[0] &&
+ layout[0].map((x) => {
+ const Component = Blocks[x];
+ return Component && <Component key={x} />;
+ })}
+ </div>
+ </div>
+ <div className="col-span-8">
+ <Profile />
+
+ <div className="relative" style={styles.rightSection}>
+ <div className="grid gap-4 mt-4 mb-8 mr-8">
+ {layout[1] &&
+ layout[1].map((x) => {
+ const Component = Blocks[x];
+ return Component && <Component key={x} />;
+ })}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </PageContext.Provider>
+ );
+};
+
+export default Celebi;
diff --git a/src/templates/Glalie.js b/src/templates/Glalie.js
index 0a243c865..597813b78 100644
--- a/src/templates/Glalie.js
+++ b/src/templates/Glalie.js
@@ -68,7 +68,7 @@ const Glalie = ({ data }) => {
backgroundColor: `rgba(${r}, ${g}, ${b}, 0.1)`,
}}
>
- <div className="grid gap-6 p-6">
+ <div className="grid gap-6 text-center p-8">
<Profile />
<ContactD />
@@ -81,7 +81,7 @@ const Glalie = ({ data }) => {
</div>
<div className="col-span-8">
- <div className="grid gap-4 p-6">
+ <div className="grid gap-4 p-8">
{layout[1] &&
layout[1].map((x) => {
const Component = Blocks[x];
diff --git a/src/templates/Pikachu.js b/src/templates/Pikachu.js
index 8978d5059..5b30a68eb 100644
--- a/src/templates/Pikachu.js
+++ b/src/templates/Pikachu.js
@@ -32,14 +32,14 @@ const Pikachu = ({ data }) => {
<PageContext.Provider value={{ data, heading: HeadingB }}>
<div
id="page"
- className="p-6 rounded"
+ className="p-8 rounded"
style={{
fontFamily: data.metadata.font,
color: data.metadata.colors.text,
backgroundColor: data.metadata.colors.background,
}}
>
- <div className="grid grid-cols-12 col-gap-6 row-gap-8">
+ <div className="grid grid-cols-12 gap-8">
{data.profile.photograph && (
<div className="self-center col-span-4">
<img
diff --git a/src/templates/blocks/Awards/AwardsA.js b/src/templates/blocks/Awards/AwardsA.js
index a8221b1d0..4ea2c96ec 100644
--- a/src/templates/blocks/Awards/AwardsA.js
+++ b/src/templates/blocks/Awards/AwardsA.js
@@ -7,7 +7,7 @@ import { safetyCheck } from '../../../utils';
const AwardItem = (x) => (
<div key={x.id}>
<div className="flex justify-between items-center">
- <div className="flex flex-col">
+ <div className="flex flex-col text-left mr-2">
<h6 className="font-semibold">{x.title}</h6>
<span className="text-xs">{x.awarder}</span>
</div>
diff --git a/src/templates/blocks/Certifications/CertificationsA.js b/src/templates/blocks/Certifications/CertificationsA.js
index 62dccd421..08d9d2f29 100644
--- a/src/templates/blocks/Certifications/CertificationsA.js
+++ b/src/templates/blocks/Certifications/CertificationsA.js
@@ -7,7 +7,7 @@ import { safetyCheck } from '../../../utils';
const CertificationItem = (x) => (
<div key={x.id}>
<div className="flex justify-between items-center">
- <div className="flex flex-col">
+ <div className="flex flex-col text-left mr-2">
<h6 className="font-semibold">{x.title}</h6>
<span className="text-xs">{x.issuer}</span>
</div>
diff --git a/src/templates/blocks/Contact/ContactD.js b/src/templates/blocks/Contact/ContactD.js
index b17b7d395..3c8d3a670 100644
--- a/src/templates/blocks/Contact/ContactD.js
+++ b/src/templates/blocks/Contact/ContactD.js
@@ -18,7 +18,7 @@ const ContactItem = ({ value, label, link }) => {
) : null;
};
-const ContactC = () => {
+const ContactD = () => {
const { data } = useContext(PageContext);
return (
@@ -80,4 +80,4 @@ const ContactC = () => {
);
};
-export default memo(ContactC);
+export default memo(ContactD);
diff --git a/src/templates/blocks/Contact/ContactE.js b/src/templates/blocks/Contact/ContactE.js
new file mode 100644
index 000000000..27696d197
--- /dev/null
+++ b/src/templates/blocks/Contact/ContactE.js
@@ -0,0 +1,68 @@
+import React, { memo, useContext } from 'react';
+import PageContext from '../../../contexts/PageContext';
+import { safetyCheck } from '../../../utils';
+
+const ContactItem = ({ value, label, link }) => {
+ return value ? (
+ <div className="flex flex-col">
+ <h6 className="capitalize font-semibold">{label}</h6>
+ {link ? (
+ <a href={link} target="_blank" rel="noopener noreferrer">
+ <span className="font-medium break-all">{value}</span>
+ </a>
+ ) : (
+ <span className="font-medium break-all">{value}</span>
+ )}
+ </div>
+ ) : null;
+};
+
+const ContactE = () => {
+ const { data, heading: Heading } = useContext(PageContext);
+
+ return (
+ <div>
+ <Heading>Profile</Heading>
+ <div className="relative w-full grid gap-2 text-xs">
+ <div>
+ <h6 className="capitalize font-semibold">Address</h6>
+ <div className="flex flex-col text-xs">
+ <span>{data.profile.address.line1}</span>
+ <span>{data.profile.address.line2}</span>
+ <span>
+ {data.profile.address.city} {data.profile.address.pincode}
+ </span>
+ </div>
+ </div>
+
+ <ContactItem
+ label="phone"
+ value={data.profile.phone}
+ link={`tel:${data.profile.phone}`}
+ />
+ <ContactItem
+ label="website"
+ value={data.profile.website}
+ link={`http://${data.profile.website}`}
+ />
+ <ContactItem
+ label="email"
+ value={data.profile.email}
+ link={`mailto:${data.profile.email}`}
+ />
+
+ {safetyCheck(data.social) &&
+ data.social.items.map((x) => (
+ <ContactItem
+ key={x.id}
+ value={x.username}
+ label={x.network}
+ link={x.url}
+ />
+ ))}
+ </div>
+ </div>
+ );
+};
+
+export default memo(ContactE);
diff --git a/src/templates/blocks/Education/EducationA.js b/src/templates/blocks/Education/EducationA.js
index 25cfec089..17f1556f2 100644
--- a/src/templates/blocks/Education/EducationA.js
+++ b/src/templates/blocks/Education/EducationA.js
@@ -6,7 +6,7 @@ import { formatDateRange, safetyCheck } from '../../../utils';
const EducationItem = (x) => (
<div key={x.id}>
<div className="flex justify-between items-center">
- <div className="flex flex-col">
+ <div className="flex flex-col text-left mr-2">
<h6 className="font-semibold">{x.institution}</h6>
<span className="text-xs">
<strong>{x.degree}</strong> {x.field}
diff --git a/src/templates/blocks/Heading/HeadingE.js b/src/templates/blocks/Heading/HeadingE.js
new file mode 100644
index 000000000..605a3df3e
--- /dev/null
+++ b/src/templates/blocks/Heading/HeadingE.js
@@ -0,0 +1,11 @@
+import React, { memo } from 'react';
+
+const HeadingC = ({ children }) => {
+ return (
+ <h6 className="my-2 text-md uppercase font-semibold tracking-wider pb-1 border-b-2 border-gray-800">
+ {children}
+ </h6>
+ );
+};
+
+export default memo(HeadingC);
diff --git a/src/templates/blocks/Languages/LanguagesB.js b/src/templates/blocks/Languages/LanguagesB.js
new file mode 100644
index 000000000..b05b1f834
--- /dev/null
+++ b/src/templates/blocks/Languages/LanguagesB.js
@@ -0,0 +1,23 @@
+import React, { memo, useContext } from 'react';
+import PageContext from '../../../contexts/PageContext';
+import { safetyCheck } from '../../../utils';
+
+const LanguageItem = (x) => (
+ <div key={x.id} className="flex flex-col">
+ <h6 className="font-semibold">{x.name}</h6>
+ <span className="text-xs">{x.fluency}</span>
+ </div>
+);
+
+const LanguagesB = () => {
+ const { data, heading: Heading } = useContext(PageContext);
+
+ return safetyCheck(data.languages) ? (
+ <div>
+ <Heading>{data.languages.heading}</Heading>
+ <div className="grid gap-2">{data.languages.items.map(LanguageItem)}</div>
+ </div>
+ ) : null;
+};
+
+export default memo(LanguagesB);
diff --git a/src/templates/blocks/Projects/ProjectsA.js b/src/templates/blocks/Projects/ProjectsA.js
index 935296472..f8a196a2a 100644
--- a/src/templates/blocks/Projects/ProjectsA.js
+++ b/src/templates/blocks/Projects/ProjectsA.js
@@ -7,7 +7,7 @@ import { safetyCheck } from '../../../utils';
const ProjectItem = (x) => (
<div key={x.id}>
<div className="flex justify-between items-center">
- <div className="flex flex-col">
+ <div className="flex flex-col text-left mr-2">
<h6 className="font-semibold">{x.title}</h6>
{x.link && (
<a href={x.link} className="text-xs">
diff --git a/src/templates/blocks/Work/WorkA.js b/src/templates/blocks/Work/WorkA.js
index 0f6fa8308..8d09a3f19 100644
--- a/src/templates/blocks/Work/WorkA.js
+++ b/src/templates/blocks/Work/WorkA.js
@@ -6,7 +6,7 @@ import { formatDateRange, safetyCheck } from '../../../utils';
const WorkItem = (x) => (
<div key={x.id}>
<div className="flex justify-between items-center">
- <div className="flex flex-col">
+ <div className="flex flex-col text-left mr-2">
<h6 className="font-semibold">{x.company}</h6>
<span className="text-xs">{x.position}</span>
</div>
diff --git a/static/images/templates/castform.png b/static/images/templates/castform.png
new file mode 100644
index 000000000..274144b1d
Binary files /dev/null and b/static/images/templates/castform.png differ
diff --git a/static/images/templates/celebi.png b/static/images/templates/celebi.png
new file mode 100644
index 000000000..7a0b89c58
Binary files /dev/null and b/static/images/templates/celebi.png differ
diff --git a/static/images/templates/gengar.png b/static/images/templates/gengar.png
new file mode 100644
index 000000000..08a952e3b
Binary files /dev/null and b/static/images/templates/gengar.png differ
diff --git a/static/images/templates/glalie.png b/static/images/templates/glalie.png
new file mode 100644
index 000000000..c4839fb38
Binary files /dev/null and b/static/images/templates/glalie.png differ
diff --git a/static/images/templates/onyx.png b/static/images/templates/onyx.png
new file mode 100644
index 000000000..d08655a1e
Binary files /dev/null and b/static/images/templates/onyx.png differ
diff --git a/static/images/templates/pikachu.png b/static/images/templates/pikachu.png
new file mode 100644
index 000000000..7b4742319
Binary files /dev/null and b/static/images/templates/pikachu.png differ