Skip to content

Commit

Permalink
Include documentation url inside JSON Schema
Browse files Browse the repository at this point in the history
Adding a link to official documentation inside JSON Schema, so its
users, such ansible-lint can recommend it when validation fails.

Needed-By: ansible/ansible-lint#3684
  • Loading branch information
ssbarnea committed Aug 24, 2023
1 parent 1d2de8d commit d0f3dce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ansible_rulebook/schema/ruleset_schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/ansible/ansible-rulebook/main/ansible_rulebook/schema/ruleset_schema.json",
"title": "Ansible Rulebook",
"description": "See https://ansible.readthedocs.io/projects/rulebook/en/stable/rulebooks.html",
"type": "array",
"items": {
"$ref": "#/$defs/ruleset"
Expand Down

0 comments on commit d0f3dce

Please sign in to comment.