Redocly · Schema

Redocly Configuration

Schema for the redocly.yaml configuration file used by the Redocly CLI, Realm, and other Redocly tools.

Artificial IntelligenceAPI CatalogAPI DocumentationArazzoDeveloper PortalGovernanceLintingMCPMonitoringOpenAPI

Properties

Name Type Description
apis object Map of named API definitions. Each key is an API name, each value is an API configuration.
extends object Base ruleset(s) to extend. Built-in values: spec, recommended, recommended-strict, minimal.
rules object Rule configuration map. Keys are rule names, values are off/warn/error or rule config objects.
theme object Theming configuration for Realm/Revel portals.
plugins array List of Redocly CLI plugin paths.
decorators object Decorator configuration for transforming OpenAPI during bundling.
preprocessors object Preprocessor configuration applied before rules.
View JSON Schema on GitHub

JSON Schema

redocly-config-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://redocly.com/schemas/redocly.yaml",
  "title": "Redocly Configuration",
  "description": "Schema for the redocly.yaml configuration file used by the Redocly CLI, Realm, and other Redocly tools.",
  "type": "object",
  "properties": {
    "apis": {
      "type": "object",
      "description": "Map of named API definitions. Each key is an API name, each value is an API configuration.",
      "additionalProperties": {
        "$ref": "#/$defs/ApiDefinition"
      }
    },
    "extends": {
      "oneOf": [
        { "type": "string" },
        { "type": "array", "items": { "type": "string" } }
      ],
      "description": "Base ruleset(s) to extend. Built-in values: spec, recommended, recommended-strict, minimal."
    },
    "rules": {
      "type": "object",
      "description": "Rule configuration map. Keys are rule names, values are off/warn/error or rule config objects.",
      "additionalProperties": {
        "oneOf": [
          { "type": "string", "enum": ["off", "warn", "error"] },
          {
            "type": "object",
            "properties": {
              "severity": { "type": "string", "enum": ["off", "warn", "error"] }
            }
          }
        ]
      }
    },
    "theme": {
      "type": "object",
      "description": "Theming configuration for Realm/Revel portals.",
      "properties": {
        "openapi": {
          "type": "object",
          "description": "OpenAPI reference documentation theming."
        },
        "logo": {
          "type": "object",
          "description": "Logo configuration."
        }
      }
    },
    "plugins": {
      "type": "array",
      "description": "List of Redocly CLI plugin paths.",
      "items": { "type": "string" }
    },
    "decorators": {
      "type": "object",
      "description": "Decorator configuration for transforming OpenAPI during bundling."
    },
    "preprocessors": {
      "type": "object",
      "description": "Preprocessor configuration applied before rules."
    }
  },
  "$defs": {
    "ApiDefinition": {
      "type": "object",
      "required": ["root"],
      "properties": {
        "root": {
          "type": "string",
          "description": "Path to the root OpenAPI definition file."
        },
        "extends": {
          "oneOf": [
            { "type": "string" },
            { "type": "array", "items": { "type": "string" } }
          ],
          "description": "Override base ruleset for this specific API."
        },
        "rules": {
          "type": "object",
          "description": "Per-API rule overrides."
        },
        "labels": {
          "type": "array",
          "description": "Labels for organizing APIs in Realm catalog.",
          "items": { "type": "string" }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/redocly-config"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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