validate_cv
Check a CV draft against the Europass schema to identify and locate errors, including invalid code list values with suggested corrections.
Instructions
Check the draft against the Europass schema and report what is wrong.
Safe to call at any point: an unfinished CV is expected to have issues, and each one says where it is and, for a value drawn from a code list, what valid values are spelled most like the one refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| draft_id | Yes | Name of the draft to work on, as given to `create_cv`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | Whether the draft is a valid Europass CV as it stands. | |
| issues | No | Everything the schema objects to, in the order it reaches them. |