Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch JSON schema to draft-7 #405

Merged
merged 2 commits into from
Mar 2, 2023
Merged

Switch JSON schema to draft-7 #405

merged 2 commits into from
Mar 2, 2023

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Mar 2, 2023

As the support for the very old draft-4 was removed from at least
one critical tool (ajv), we switch to draft-7 which also happens to
be the version used by all the other Ansible related schemas.

Related: ajv-validator/ajv#472
Related: ansible/ansible-lint#3079
Related: #397

Copy link
Contributor

@Alex-Izquierdo Alex-Izquierdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
As the support for the very old draft-4 was removed from at least
one critical tool (ajv), we switch to draft-7 which also happens to
be the version used by all the other Ansible related schemas.

Related: ajv-validator/ajv#472
Related: ansible/ansible-lint#3079
Related: ansible#397

We also include the "examples" extension, which informs ansible-lint
about which glob file patters should use this schema.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@ttuffin ttuffin merged commit 4cfe674 into ansible:main Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants