From d0f3dce553ae0a6001eef24314d81e8a9a9e807c Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Thu, 24 Aug 2023 14:02:12 +0100 Subject: [PATCH] Include documentation url inside JSON Schema Adding a link to official documentation inside JSON Schema, so its users, such ansible-lint can recommend it when validation fails. Needed-By: https://github.com/ansible/ansible-lint/pull/3684 --- ansible_rulebook/schema/ruleset_schema.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible_rulebook/schema/ruleset_schema.json b/ansible_rulebook/schema/ruleset_schema.json index 308bcf39..78e8d1ca 100644 --- a/ansible_rulebook/schema/ruleset_schema.json +++ b/ansible_rulebook/schema/ruleset_schema.json @@ -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"