GitHub · Schema

code-quality-finding

Code quality finding

CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHub

Properties

Name Type Description
number integer The finding number.
state string State of the code quality finding.
url string The REST API URL of the code quality finding resource.
rule object
location object
message object
created_at string The time the code quality finding was created.
View JSON Schema on GitHub

JSON Schema

github-code-quality-finding-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github/json-schema/github-code-quality-finding-schema.json",
  "title": "code-quality-finding",
  "description": "Code quality finding",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-code-quality-api-openapi.yml#/components/schemas/code-quality-finding",
  "type": "object",
  "properties": {
    "number": {
      "description": "The finding number.",
      "type": "integer"
    },
    "state": {
      "description": "State of the code quality finding.",
      "type": "string",
      "enum": [
        "open",
        "dismissed"
      ]
    },
    "url": {
      "description": "The REST API URL of the code quality finding resource.",
      "type": "string",
      "format": "uri"
    },
    "rule": {
      "$ref": "#/$defs/code-quality-finding-rule"
    },
    "location": {
      "$ref": "#/$defs/code-quality-finding-location"
    },
    "message": {
      "$ref": "#/$defs/code-quality-finding-message"
    },
    "created_at": {
      "description": "The time the code quality finding was created.",
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "number",
    "state",
    "url",
    "rule",
    "location",
    "message"
  ],
  "$defs": {
    "code-quality-finding-location": {
      "description": "Code quality file location",
      "type": "object",
      "properties": {
        "path": {
          "description": "The file path where the finding was detected.",
          "type": "string"
        },
        "start_line": {
          "description": "The line number where the finding starts.",
          "type": "integer"
        },
        "start_column": {
          "description": "The column number where the finding starts.",
          "type": "integer"
        },
        "end_line": {
          "description": "The line number where the finding ends.",
          "type": "integer"
        },
        "end_column": {
          "description": "The column number where the finding ends.",
          "type": "integer"
        }
      },
      "required": [
        "path"
      ]
    },
    "code-quality-finding-message": {
      "description": "Code quality finding message",
      "type": "object",
      "properties": {
        "text": {
          "description": "The message text of the code quality finding.",
          "type": "string"
        },
        "markdown": {
          "description": "The message text of the code quality finding in markdown format.",
          "type": "string"
        }
      },
      "required": [
        "text",
        "markdown"
      ]
    },
    "code-quality-finding-rule": {
      "description": "Code quality rule",
      "type": "object",
      "properties": {
        "id": {
          "description": "A unique identifier for the rule used to detect the finding.",
          "type": "string"
        },
        "title": {
          "description": "The name of the rule used to detect the finding.",
          "type": "string"
        },
        "description": {
          "description": "A short description of the rule used to detect the finding.",
          "type": "string"
        },
        "help": {
          "description": "A detailed description of the rule used to detect the finding.",
          "type": "string"
        },
        "severity": {
          "description": "The severity of the rule used to detect the finding.",
          "type": "string",
          "enum": [
            "error",
            "warning",
            "note",
            "none"
          ]
        },
        "category": {
          "description": "The category of the rule used to detect the finding.",
          "type": "string",
          "enum": [
            "none",
            "maintainability",
            "reliability"
          ]
        }
      },
      "required": [
        "id",
        "title",
        "description",
        "severity",
        "category"
      ]
    }
  }
}

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/github-code-quality-finding"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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