Skip to main content

JSON_RESUME_SCHEMA

Constant JSON_RESUME_SCHEMA 

Source
pub const JSON_RESUME_SCHEMA: &str = "{\n  \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n  \"additionalProperties\": false,\n  \"definitions\": {\n    \"iso8601\": {\n      \"type\": \"string\",\n      \"description\": \"e.g. 2014-06-29\",\n      \"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})$\"\n    }\n  },\n  \"properties\": {\n    \"$schema\": {\n      \"type\": \"string\",\n      \"description\": \"link to the version of the schema that can validate the resume\",\n      \"format\": \"uri\"\n    },\n    \"basics\": {\n      \"type\": \"object\",\n      \"additionalProperties\": true,\n      \"properties\": {\n        \"name\": {\n          \"type\": \"string\"\n        },\n        \"label\": {\n          \"type\": \"string\",\n          \"description\": \"e.g. Web Developer\"\n        },\n        \"image\": {\n          \"type\": \"string\",\n          \"description\": \"URL (as per RFC 3986) to a image in JPEG or PNG format\"\n        },\n        \"email\": {\n          \"type\": \"string\",\n          \"description\": \"e.g. thomas@gmail.com\",\n          \"format\": \"email\"\n        },\n        \"phone\": {\n          \"type\": \"string\",\n          \"description\": \"Phone numbers are stored as strings so use any format you like, e.g. 712-117-2923\"\n        },\n        \"url\": {\n          \"type\": \"string\",\n          \"description\": \"URL (as per RFC 3986) to your website, e.g. personal homepage\",\n          \"format\": \"uri\"\n        },\n        \"summary\": {\n          \"type\": \"string\",\n          \"description\": \"Write a short 2-3 sentence biography about yourself\"\n        },\n        \"location\": {\n          \"type\": \"object\",\n          \"additionalProperties\": true,\n          \"properties\": {\n            \"address\": {\n              \"type\": \"string\",\n              \"description\": \"To add multiple address lines, use \\n. For example, 1234 Gl\u{fc}cklichkeit Stra\u{df}e\\nHinterhaus 5. Etage li.\"\n            },\n            \"postalCode\": {\n              \"type\": \"string\"\n            },\n            \"city\": {\n              \"type\": \"string\"\n            },\n            \"countryCode\": {\n              \"type\": \"string\",\n              \"description\": \"code as per ISO-3166-1 ALPHA-2, e.g. US, AU, IN\"\n            },\n            \"region\": {\n              \"type\": \"string\",\n              \"description\": \"The general region where you live. Can be a US state, or a province, for instance.\"\n            }\n          }\n        },\n        \"profiles\": {\n          \"type\": \"array\",\n          \"description\": \"Specify any number of social networks that you participate in\",\n          \"additionalItems\": false,\n          \"items\": {\n            \"type\": \"object\",\n            \"additionalProperties\": true,\n            \"properties\": {\n              \"network\": {\n                \"type\": \"string\",\n                \"description\": \"e.g. Facebook or Twitter\"\n              },\n              \"username\": {\n                \"type\": \"string\",\n                \"description\": \"e.g. neutralthoughts\"\n              },\n              \"url\": {\n                \"type\": \"string\",\n                \"description\": \"e.g. http://twitter.example.com/neutralthoughts\",\n                \"format\": \"uri\"\n              }\n            }\n          }\n        }\n      }\n    },\n    \"work\": {\n      \"type\": \"array\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Facebook\"\n          },\n          \"location\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Menlo Park, CA\"\n          },\n          \"description\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Social Media Company\"\n          },\n          \"position\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Software Engineer\"\n          },\n          \"url\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. http://facebook.example.com\",\n            \"format\": \"uri\"\n          },\n          \"startDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"endDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"summary\": {\n            \"type\": \"string\",\n            \"description\": \"Give an overview of your responsibilities at the company\"\n          },\n          \"highlights\": {\n            \"type\": \"array\",\n            \"description\": \"Specify multiple accomplishments\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. Increased profits by 20% from 2011-2012 through viral advertising\"\n            }\n          }\n        }\n      }\n    },\n    \"volunteer\": {\n      \"type\": \"array\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"organization\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Facebook\"\n          },\n          \"position\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Software Engineer\"\n          },\n          \"url\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. http://facebook.example.com\",\n            \"format\": \"uri\"\n          },\n          \"startDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"endDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"summary\": {\n            \"type\": \"string\",\n            \"description\": \"Give an overview of your responsibilities at the company\"\n          },\n          \"highlights\": {\n            \"type\": \"array\",\n            \"description\": \"Specify accomplishments and achievements\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. Increased profits by 20% from 2011-2012 through viral advertising\"\n            }\n          }\n        }\n      }\n    },\n    \"education\": {\n      \"type\": \"array\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"institution\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Massachusetts Institute of Technology\"\n          },\n          \"url\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. http://facebook.example.com\",\n            \"format\": \"uri\"\n          },\n          \"area\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Arts\"\n          },\n          \"studyType\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Bachelor\"\n          },\n          \"startDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"endDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"score\": {\n            \"type\": \"string\",\n            \"description\": \"grade point average, e.g. 3.67/4.0\"\n          },\n          \"courses\": {\n            \"type\": \"array\",\n            \"description\": \"List notable courses/subjects\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. H1302 - Introduction to American history\"\n            }\n          }\n        }\n      }\n    },\n    \"awards\": {\n      \"type\": \"array\",\n      \"description\": \"Specify any awards you have received throughout your professional career\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"title\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. One of the 100 greatest minds of the century\"\n          },\n          \"date\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"awarder\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Time Magazine\"\n          },\n          \"summary\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Received for my work with Quantum Physics\"\n          }\n        }\n      }\n    },\n    \"certificates\": {\n      \"type\": \"array\",\n      \"description\": \"Specify any certificates you have received throughout your professional career\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Certified Kubernetes Administrator\"\n          },\n          \"date\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. 1989-06-12\",\n            \"format\": \"date\"\n          },\n          \"url\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. http://example.com\",\n            \"format\": \"uri\"\n          },\n          \"issuer\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. CNCF\"\n          }\n        }\n      }\n    },\n    \"publications\": {\n      \"type\": \"array\",\n      \"description\": \"Specify your publications through your career\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. The World Wide Web\"\n          },\n          \"publisher\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. IEEE, Computer Magazine\"\n          },\n          \"releaseDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"url\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. http://www.computer.org.example.com/csdl/mags/co/1996/10/rx069-abs.html\",\n            \"format\": \"uri\"\n          },\n          \"summary\": {\n            \"type\": \"string\",\n            \"description\": \"Short summary of publication. e.g. Discussion of the World Wide Web, HTTP, HTML.\"\n          }\n        }\n      }\n    },\n    \"skills\": {\n      \"type\": \"array\",\n      \"description\": \"List out your professional skill-set\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Web Development\"\n          },\n          \"level\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Master\"\n          },\n          \"keywords\": {\n            \"type\": \"array\",\n            \"description\": \"List some keywords pertaining to this skill\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. HTML\"\n            }\n          }\n        }\n      }\n    },\n    \"languages\": {\n      \"type\": \"array\",\n      \"description\": \"List any other languages you speak\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"language\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. English, Spanish\"\n          },\n          \"fluency\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Fluent, Beginner\"\n          }\n        }\n      }\n    },\n    \"interests\": {\n      \"type\": \"array\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Philosophy\"\n          },\n          \"keywords\": {\n            \"type\": \"array\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. Friedrich Nietzsche\"\n            }\n          }\n        }\n      }\n    },\n    \"references\": {\n      \"type\": \"array\",\n      \"description\": \"List references you have received\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. Timothy Cook\"\n          },\n          \"reference\": {\n            \"type\": \"string\",\n            \"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.\"\n          }\n        }\n      }\n    },\n    \"projects\": {\n      \"type\": \"array\",\n      \"description\": \"Specify career projects\",\n      \"additionalItems\": false,\n      \"items\": {\n        \"type\": \"object\",\n        \"additionalProperties\": true,\n        \"properties\": {\n          \"name\": {\n            \"type\": \"string\",\n            \"description\": \"e.g. The World Wide Web\"\n          },\n          \"description\": {\n            \"type\": \"string\",\n            \"description\": \"Short summary of project. e.g. Collated works of 2017.\"\n          },\n          \"highlights\": {\n            \"type\": \"array\",\n            \"description\": \"Specify multiple features\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. Directs you close but not quite there\"\n            }\n          },\n          \"keywords\": {\n            \"type\": \"array\",\n            \"description\": \"Specify special elements involved\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. AngularJS\"\n            }\n          },\n          \"startDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"endDate\": {\n            \"$ref\": \"#/definitions/iso8601\"\n          },\n          \"url\": {\n            \"type\": \"string\",\n            \"format\": \"uri\",\n            \"description\": \"e.g. http://www.computer.org/csdl/mags/co/1996/10/rx069-abs.html\"\n          },\n          \"roles\": {\n            \"type\": \"array\",\n            \"description\": \"Specify your role on this project or in company\",\n            \"additionalItems\": false,\n            \"items\": {\n              \"type\": \"string\",\n              \"description\": \"e.g. Team Lead, Speaker, Writer\"\n            }\n          },\n          \"entity\": {\n            \"type\": \"string\",\n            \"description\": \"Specify the relevant company/entity affiliations e.g. \'greenpeace\', \'corporationXYZ\'\"\n          },\n          \"type\": {\n            \"type\": \"string\",\n            \"description\": \" e.g. \'volunteering\', \'presentation\', \'talk\', \'application\', \'conference\'\"\n          }\n        }\n      }\n    },\n    \"meta\": {\n      \"type\": \"object\",\n      \"description\": \"The schema version and any other tooling configuration lives here\",\n      \"additionalProperties\": true,\n      \"properties\": {\n        \"canonical\": {\n          \"type\": \"string\",\n          \"description\": \"URL (as per RFC 3986) to latest version of this document\",\n          \"format\": \"uri\"\n        },\n        \"version\": {\n          \"type\": \"string\",\n          \"description\": \"A version field which follows semver - e.g. v1.0.0\"\n        },\n        \"lastModified\": {\n          \"type\": \"string\",\n          \"description\": \"Using ISO 8601 with YYYY-MM-DDThh:mm:ss\"\n        }\n      }\n    }\n  },\n  \"title\": \"Resume Schema\",\n  \"type\": \"object\"\n}\n";
Expand description

JSON Resume v1.0.0 schema, embedded at compile time.

Per CONSTITUTION.md section 6.1, ferrocv makes no network calls at render or validate time. The schema is vendored under assets/schema/ and frozen per release; bumping it is an intentional release action.