| 1 |
{ |
| 2 |
"$defs": { |
| 3 |
"ActionGroup": { |
| 4 |
"items": { |
| 5 |
"oneOf": [ |
| 6 |
{ |
| 7 |
"type": "string" |
| 8 |
}, |
| 9 |
{ |
| 10 |
"$ref": "#/$defs/Metadata" |
| 11 |
} |
| 12 |
] |
| 13 |
}, |
| 14 |
"type": "array" |
| 15 |
}, |
| 16 |
"Metadata": { |
| 17 |
"properties": { |
| 18 |
"metadata": { |
| 19 |
"properties": { |
| 20 |
"extend_group": { |
| 21 |
"items": { |
| 22 |
"type": "string" |
| 23 |
}, |
| 24 |
"type": "array" |
| 25 |
} |
| 26 |
}, |
| 27 |
"type": "object" |
| 28 |
} |
| 29 |
}, |
| 30 |
"type": "object" |
| 31 |
}, |
| 32 |
"Redirect": { |
| 33 |
"properties": { |
| 34 |
"redirect": { |
| 35 |
"type": "string" |
| 36 |
} |
| 37 |
}, |
| 38 |
"type": "object" |
| 39 |
} |
| 40 |
}, |
| 41 |
"$id": "https://raw.githubusercontent.com/ansible/ansible-lint/main/src/ansiblelint/schemas/meta-runtime.json", |
| 42 |
"$schema": "http://json-schema.org/draft-07/schema", |
| 43 |
"additionalProperties": false, |
| 44 |
"description": "See https://docs.ansible.com/projects/ansible/devel/dev_guide/developing_collections_structure.html#meta-directory", |
| 45 |
"examples": ["**/meta/runtime.yml"], |
| 46 |
"properties": { |
| 47 |
"action_groups": { |
| 48 |
"additionalProperties": { |
| 49 |
"$ref": "#/$defs/ActionGroup" |
| 50 |
}, |
| 51 |
"description": "A mapping of groups and the list of action plugin and module names they contain. They may also have a special ‘metadata’ dictionary in the list, which can be used to include actions from other groups.", |
| 52 |
"title": "Action Groups", |
| 53 |
"type": "object" |
| 54 |
}, |
| 55 |
"import_redirection": { |
| 56 |
"additionalProperties": { |
| 57 |
"$ref": "#/$defs/Redirect" |
| 58 |
}, |
| 59 |
"description": "A mapping of names for Python import statements and their redirected locations.", |
| 60 |
"title": "Import Redirection", |
| 61 |
"type": "object" |
| 62 |
}, |
| 63 |
"plugin_routing": { |
| 64 |
"markdownDescription": "Content in a collection that Ansible needs to load from another location or that has been deprecated/removed. The top level keys of plugin_routing are types of plugins, with individual plugin names as subkeys. To define a new location for a plugin, set the redirect field to another name. To deprecate a plugin, use the deprecation field to provide a custom warning message and the removal version or date. If the plugin has been renamed or moved to a new location, the redirect field should also be provided. If a plugin is being removed entirely, tombstone can be used for the fatal error message and removal version or date.", |
| 65 |
"properties": { |
| 66 |
"inventory": {}, |
| 67 |
"module_utils": {}, |
| 68 |
"modules": {} |
| 69 |
}, |
| 70 |
"title": "Plugin Routing", |
| 71 |
"type": "object" |
| 72 |
}, |
| 73 |
"requires_ansible": { |
| 74 |
"examples": [">=2.10,<2.11"], |
| 75 |
"pattern": "^[^\\s]*$", |
| 76 |
"title": "The version of Ansible Core (ansible-core) required to use the collection. Multiple versions can be separated with a comma.", |
| 77 |
"type": "string" |
| 78 |
} |
| 79 |
}, |
| 80 |
"title": "Ansible Meta Runtime Schema", |
| 81 |
"type": "object" |
| 82 |
} |