-
Notifications
You must be signed in to change notification settings - Fork 697
Update pattern schema URL to point 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
base: main
Are you sure you want to change the base?
Conversation
This reverts commit 228f5a9.
9f59f34
to
e7a3a91
Compare
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 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is incorrect, $id must be a link to a jSON file and not github webpage. Correct url is the one with raw: https://raw.githubusercontent.com/ansible/pattern-service/refs/heads/main/specifications/pattern_specification.json
Put this on hold till we have patterns team publish their schema. We are blocked by them. |
Fixes: https://issues.redhat.com/browse/AAP-46625
Follow-up: #4653
Depends-On: ansible/pattern-service#21