Schwarz IT · Schema

CreatedLintingDto

CompanyAPI GovernanceAPI LintingSpectralOpenAPIRetailGermany

Properties

Name Type Description
description string Information if your OpenApi Spec does comply with company rules.
linkApiRules string Link to Company API Best Practices
highestSeverityLevel string Highest severity level during linting.
isValidSpec boolean Indicates if given OpenAPI Spec complies to company API best practices.
lintingResults array Example API linting result
View JSON Schema on GitHub

JSON Schema

schwarz-it-created-linting-dto-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/schwarz-it/main/json-schema/schwarz-it-created-linting-dto-schema.json",
  "title": "CreatedLintingDto",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/schwarz-it-api-linter-service-openapi.yml#/components/schemas/CreatedLintingDto",
  "type": "object",
  "properties": {
    "description": {
      "type": "string",
      "description": "Information if your OpenApi Spec does comply with company rules."
    },
    "linkApiRules": {
      "type": "string",
      "description": "Link to Company API Best Practices"
    },
    "highestSeverityLevel": {
      "type": "string",
      "description": "Highest severity level during linting.",
      "enum": [
        "Error",
        "Warn",
        "Info",
        "Hint"
      ]
    },
    "isValidSpec": {
      "type": "boolean",
      "description": "Indicates if given OpenAPI Spec complies to company API best practices."
    },
    "lintingResults": {
      "description": "Example API linting result",
      "type": "array",
      "items": {
        "$ref": "#/$defs/SpectralResult"
      }
    }
  },
  "required": [
    "description",
    "linkApiRules",
    "isValidSpec",
    "lintingResults"
  ],
  "$defs": {
    "SpectralResult": {
      "type": "object",
      "properties": {
        "path": {
          "description": "The path of the error as JsonPath",
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "code": {
          "description": "The code of the rule, can be used to identify the rule that caused the issue",
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            }
          ]
        },
        "range": {
          "description": "The range of the error inside the linted document",
          "allOf": [
            {
              "$ref": "#/$defs/SpectralResultRange"
            }
          ]
        },
        "message": {
          "type": "string",
          "description": "The message associated with the issue"
        },
        "severity": {
          "type": "number",
          "description": "The severity of the issue. 0 = \"Error\", 1 = \"Warning\", 2 = \"Information\", 3 = \"Hint\"",
          "enum": [
            0,
            1,
            2,
            3
          ]
        },
        "source": {
          "type": "string",
          "description": "A human-readable string describing the source of this diagnostic, e.g. \"typescript\" or \"super lint\"."
        },
        "tags": {
          "description": "Additional metadata about the diagnostic.",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "path",
        "code",
        "range",
        "severity"
      ]
    },
    "SpectralResultPosition": {
      "type": "object",
      "properties": {
        "line": {
          "type": "number",
          "description": "Line position in a document (zero-based)"
        },
        "character": {
          "type": "number",
          "description": "Character offset on a line in a document (zero-based). Assuming that the line is represented as a string, the `character` value represents the gap between the `character` and `character + 1`. If the character value is greater than the line length it defaults back to the line length."
        }
      },
      "required": [
        "line",
        "character"
      ]
    },
    "SpectralResultRange": {
      "type": "object",
      "properties": {
        "start": {
          "description": "The starting position of the issue inside the linted document",
          "allOf": [
            {
              "$ref": "#/$defs/SpectralResultPosition"
            }
          ]
        },
        "end": {
          "description": "The ending position of the issue inside the linted document",
          "allOf": [
            {
              "$ref": "#/$defs/SpectralResultPosition"
            }
          ]
        }
      },
      "required": [
        "start",
        "end"
      ]
    }
  }
}

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/schwarz-it-created-linting-dto"
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.