- vite.config.js: used to generate static cv in a single html file
- vite.config.site.js: used to build the jsoncv site, including editor and preview pages
they are of no use in the latest JSON Schema reference, see: https://json-schema.org/understanding-json-schema/reference/array.html
> The items keyword can be used to control whether it’s valid to have additional items in a tuple beyond what is defined in prefixItems. The value of the items keyword is a schema that all additional items must pass in order for the keyword to validate.
> Before to Draft 2020-12, you would use the additionalItems keyword to constrain additional items on a tuple. It works the same as items, only the name has changed.
> In Draft 6 - 2019-09, the additionalItems keyword is ignored if there is not a "tuple validation" items keyword present in the same schema.
command: npx ajv migrate -s schema/jsoncv.schema.json
the result is that only the schema version changed from draft-04 to draft-07, allowing to use ajv for the latest version