NPM (JavaScript/TypeScript)
schema-resume-validatorFull TypeScript support, AJV-based validation, embedded schemas
npm install schema-resume-validator
The same schema, validated the same way, in six languages. Pick your package manager.
Full TypeScript support, AJV-based validation, embedded schemas
npm install schema-resume-validator
Python 3.8+, jsonschema validation, type hints
pip install schema-resume-validator
Go 1.21+, embedded schemas, zero dependencies
go get github.com/tradik/schema-resume/validator
Java 11+, Maven/Gradle support, Jackson integration
<groupId>org.schema-resume</groupId> <artifactId>schema-resume-validator</artifactId>
Ruby 2.7+, json-schema validation
gem install schema-resume-validator
PHP 8.0+, Composer support, PSR-4 autoloading
composer require schema-resume/validator
const { createValidator } = require('schema-resume-validator');
const validator = createValidator();
const resume = {
"$schema": "https://schema-resume.org/schema.json",
"basics": {
"name": "John Doe",
"email": "john.doe@example.com"
}
};
const result = validator.validate(resume);
if (result.valid) {
console.log('Resume is valid!');
} else {
result.errors.forEach(e => console.error(e.message));
}
from schema_resume import validate_resume
resume = {
"$schema": "https://schema-resume.org/schema.json",
"basics": {
"name": "John Doe",
"email": "john.doe@example.com"
}
}
result = validate_resume(resume)
if result["valid"]:
print("Resume is valid!")
else:
for error in result["errors"]:
print(f"Error: {error['message']}")
import validator "github.com/tradik/schema-resume/validator"
v, _ := validator.NewValidator()
resume := map[string]interface{}{
"$schema": "https://schema-resume.org/schema.json",
"basics": map[string]interface{}{
"name": "John Doe",
"email": "john.doe@example.com",
},
}
result, _ := v.Validate(resume)
if result.Valid {
fmt.Println("Resume is valid!")
}
import org.schemaresume.validator.ResumeValidator;
ResumeValidator validator = new ResumeValidator();
String resumeJson = """
{
"$schema": "https://schema-resume.org/schema.json",
"basics": {
"name": "John Doe",
"email": "john.doe@example.com"
}
}
""";
ValidationResult result = validator.validateJson(resumeJson);
if (result.isValid()) {
System.out.println("Resume is valid!");
}
require 'schema_resume'
resume = {
"$schema" => "https://schema-resume.org/schema.json",
"basics" => {
"name" => "John Doe",
"email" => "john.doe@example.com"
}
}
result = SchemaResume.validate(resume)
puts "Resume is valid!" if result[:valid]
use SchemaResume\Validator;
$validator = new Validator();
$resume = [
'$schema' => 'https://schema-resume.org/schema.json',
'basics' => [
'name' => 'John Doe',
'email' => 'john.doe@example.com',
],
];
$result = $validator->validate($resume);
if ($result['valid']) {
echo "Resume is valid!";
}
All packages embed the following schema files:
For questions or issues with any package, please open an issue on GitHub or email info@schema-resume.org.