Skip to content

Update pattern schema from URL pointing to pattern-service repo #4673

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shatakshiiii
Copy link
Contributor

@shatakshiiii
Copy link
Contributor Author

shatakshiiii commented Jul 9, 2025

Hi @ssbarnea @cidrblock, I need your inputs on this comment ansible/pattern-service#17 (comment).

ansible-lint's schemas are using the "examples" field for file glob patterns instead of actual JSON examples. And according to the JSON Schema specification the examples field should contain actual JSON data examples not file path patterns.

The ideal approach here would be to modify ansible-lint to use a different field name for file glob patterns and keep the "examples" field for actual JSON examples as per the JSON Schema specification. But this will require significant code changes in lint schema validation. WDYT, how should we proceed on this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant