Redocly · Schema

Redocly Lint Result

Schema for the output of the Redocly CLI lint command.

Artificial IntelligenceAPI CatalogAPI DocumentationArazzoDeveloper PortalGovernanceLintingMCPMonitoringOpenAPI

Properties

Name Type Description
totals object Aggregate counts of lint findings.
fileTotals object Per-file finding counts.
problems array List of lint violations.
View JSON Schema on GitHub

JSON Schema

redocly-lint-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://redocly.com/schemas/lint-result.json",
  "title": "Redocly Lint Result",
  "description": "Schema for the output of the Redocly CLI lint command.",
  "type": "object",
  "properties": {
    "totals": {
      "type": "object",
      "description": "Aggregate counts of lint findings.",
      "properties": {
        "errors": { "type": "integer", "description": "Number of error-severity violations." },
        "warnings": { "type": "integer", "description": "Number of warning-severity violations." },
        "ignored": { "type": "integer", "description": "Number of suppressed violations." }
      }
    },
    "fileTotals": {
      "type": "object",
      "description": "Per-file finding counts.",
      "additionalProperties": {
        "type": "object",
        "properties": {
          "errors": { "type": "integer" },
          "warnings": { "type": "integer" },
          "ignored": { "type": "integer" }
        }
      }
    },
    "problems": {
      "type": "array",
      "description": "List of lint violations.",
      "items": {
        "$ref": "#/$defs/LintProblem"
      }
    }
  },
  "$defs": {
    "LintProblem": {
      "type": "object",
      "required": ["message", "severity", "ruleId"],
      "properties": {
        "message": {
          "type": "string",
          "description": "Human-readable description of the violation."
        },
        "severity": {
          "type": "string",
          "enum": ["error", "warn"],
          "description": "Severity level of the violation."
        },
        "ruleId": {
          "type": "string",
          "description": "The identifier of the rule that triggered the violation."
        },
        "location": {
          "type": "array",
          "description": "Locations in the OpenAPI document where the violation occurred.",
          "items": {
            "type": "object",
            "properties": {
              "source": { "type": "string", "description": "File path." },
              "pointer": { "type": "string", "description": "JSON Pointer to the violating element." },
              "line": { "type": "integer", "description": "Line number." },
              "col": { "type": "integer", "description": "Column number." }
            }
          }
        },
        "suggest": {
          "type": "array",
          "description": "Suggested fixes.",
          "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-lint-result"
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.