Skip to content

YAML schema

You can view the JSON Schema used for validation in different formats:

Show schema information summary:

cvwonder validate show-schema --info

Output:

Schema: http://json-schema.org/draft-07/schema#
Title: CV Wonder Schema
Description: Schema for CV Wonder YAML files
Type: object
Required Fields: [person]
Properties (10):
- person (required)
Type: object
Description: Personal information (required)
- career
Type: array
Description: Career history
[...]

Show raw JSON schema:

cvwonder validate show-schema

Show pretty-printed JSON schema:

cvwonder validate show-schema --pretty

Using aliases:

cvwonder validate schema --info
cvwonder validate show --info

The validator uses a JSON Schema to define the CV structure. Key validation rules:

  • person.name - Your full name (required)
  • person.email - Contact email
  • person.profession - Professional title
  • person.location - Current location
  • person.experience - Professional experience (years and/or since year)
  • career - Work experience
  • technicalSkills - Technical competencies
  • abstract - Professional summary
  • Email addresses must be valid (RFC 5322)
  • URLs must be properly formatted
  • Skill levels must be integers 0-100
  • Experience years must be non-negative integers
  • Experience since year must be between 1900 and 2100
  • career.missions - At least 1 mission per company
  • technicalSkills.domains.competencies - At least 1 competency per domain

La section references permet d’ajouter des recommandations professionnelles à votre CV.

Champ Type Description
name string Nom de la personne qui vous recommande
position string Poste occupé par cette personne
company string Entreprise de cette personne
date string Date de la recommandation
url string Lien vers le profil (ex: LinkedIn)
socialNetworks object Réseaux sociaux de la personne
description string Texte de la recommandation
Champ Type Description
linkedin string Identifiant LinkedIn
github string Identifiant GitHub
twitter string Identifiant Twitter
stackoverflow string Identifiant Stack Overflow
bluesky string Identifiant Bluesky
references:
- name: Jane Doe
position: CTO
company: TechCorp
date: Jan 2024
url: https://linkedin.com/in/janedoe
socialNetworks:
linkedin: janedoe
github: janedoe-gh
description: "Excellent ingénieur, très compétent !"