SpecLynx · Schema

SpecLynx Validation Result

Schema for a diagnostic result produced by SpecLynx validation of an API specification

API DesignAsyncAPIDeveloper ToolsJSON-SchemaOpenAPIToolkitVS Code

Properties

Name Type Description
severity string The severity level of the diagnostic message
message string Human-readable diagnostic message describing the issue
code string Machine-readable code identifying the rule or validation that fired
source string The validation source that produced this diagnostic
range object Location in the specification document where the issue was found
path array JSON path to the location in the spec that triggered the diagnostic
specificationFormat string The specification format that was validated
View JSON Schema on GitHub

JSON Schema

speclynx-validation-result-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/speclynx/main/json-schema/speclynx-validation-result-schema.json",
  "title": "SpecLynx Validation Result",
  "description": "Schema for a diagnostic result produced by SpecLynx validation of an API specification",
  "type": "object",
  "properties": {
    "severity": {
      "type": "string",
      "enum": ["error", "warning", "information", "hint"],
      "description": "The severity level of the diagnostic message"
    },
    "message": {
      "type": "string",
      "description": "Human-readable diagnostic message describing the issue"
    },
    "code": {
      "type": "string",
      "description": "Machine-readable code identifying the rule or validation that fired"
    },
    "source": {
      "type": "string",
      "enum": ["json-schema", "spectral", "semantic-validation", "semantic-linting"],
      "description": "The validation source that produced this diagnostic"
    },
    "range": {
      "type": "object",
      "description": "Location in the specification document where the issue was found",
      "properties": {
        "start": {
          "type": "object",
          "properties": {
            "line": {"type": "integer", "minimum": 0},
            "character": {"type": "integer", "minimum": 0}
          },
          "required": ["line", "character"]
        },
        "end": {
          "type": "object",
          "properties": {
            "line": {"type": "integer", "minimum": 0},
            "character": {"type": "integer", "minimum": 0}
          },
          "required": ["line", "character"]
        }
      },
      "required": ["start", "end"]
    },
    "path": {
      "type": "array",
      "items": {"type": "string"},
      "description": "JSON path to the location in the spec that triggered the diagnostic"
    },
    "specificationFormat": {
      "type": "string",
      "enum": ["openapi-2", "openapi-3.0", "openapi-3.1", "asyncapi-2", "arazzo-1"],
      "description": "The specification format that was validated"
    }
  },
  "required": ["severity", "message", "source"]
}

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/speclynx-validation-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 email required.

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