Ansible Roles · JSON Structure

Ansible Roles Collection Structure

An Ansible collection — a distributable package containing roles, modules, plugins, and documentation.

Type: object Properties: 13 Required: 3
AnsibleAutomationCollectionConfiguration ManagementDevOpsInfrastructure as CodeRoles

Collection is a JSON Structure definition published by Ansible Roles, describing 13 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

namespace name version description download_count certified license tags requires_ansible repository documentation created_at updated_at

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ansible-roles/refs/heads/main/json-structure/ansible-roles-collection-structure.json",
  "description": "An Ansible collection \u2014 a distributable package containing roles, modules, plugins, and documentation.",
  "type": "object",
  "properties": {
    "namespace": {
      "type": "string",
      "description": "The Galaxy namespace for this collection.",
      "example": "community"
    },
    "name": {
      "type": "string",
      "description": "The collection name.",
      "example": "general"
    },
    "version": {
      "type": "string",
      "description": "The current latest version of the collection.",
      "example": "8.6.0"
    },
    "description": {
      "type": "string",
      "description": "Short description of what the collection provides.",
      "example": "A collection of general-purpose Ansible modules and roles."
    },
    "download_count": {
      "type": "int32",
      "description": "Total download count for this collection.",
      "example": 5000000
    },
    "certified": {
      "type": "boolean",
      "description": "Whether this collection is Red Hat certified.",
      "example": false
    },
    "license": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of SPDX license identifiers.",
      "example": [
        "GPL-3.0-or-later"
      ]
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Tags categorizing the collection content.",
      "example": [
        "networking",
        "cloud",
        "linux"
      ]
    },
    "requires_ansible": {
      "type": "string",
      "description": "Minimum Ansible version required.",
      "example": ">=2.14.0"
    },
    "repository": {
      "type": "uri",
      "description": "Source code repository URL.",
      "example": "https://github.com/ansible-collections/community.general"
    },
    "documentation": {
      "type": "uri",
      "description": "Link to collection documentation.",
      "example": "https://docs.ansible.com/ansible/latest/collections/community/general/"
    },
    "created_at": {
      "type": "datetime",
      "description": "When this collection was first published.",
      "example": "2020-01-01T00:00:00Z"
    },
    "updated_at": {
      "type": "datetime",
      "description": "When this collection was last updated.",
      "example": "2026-04-01T00:00:00Z"
    }
  },
  "required": [
    "namespace",
    "name",
    "version"
  ],
  "name": "Collection"
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/ansible-roles-collection-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.