{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/registries/section.registry.ts",
          "name": "defineConfigSection",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-registries-section-registry-ts",
            "json": "https://banes-lab.com/json/source/quality/core/registries/section.registry.ts",
            "label": "core/registries/section.registry.ts",
            "markdown": "https://banes-lab.com/source/quality/core/registries/section.registry.ts.md",
            "ref": "anatomy:file-quality-core-registries-section-registry-ts"
          }
        },
        {
          "file": "core/validators/section.validator.ts",
          "name": "stringFieldErrors",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-validators-section-validator-ts",
            "json": "https://banes-lab.com/json/source/quality/core/validators/section.validator.ts",
            "label": "core/validators/section.validator.ts",
            "markdown": "https://banes-lab.com/source/quality/core/validators/section.validator.ts.md",
            "ref": "anatomy:file-quality-core-validators-section-validator-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "objectWithStringFields",
      "signature": "const objectWithStringFields = (key: string, fields: string[]): ConfigSection =>"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/adapters/tool.knip.adapter.ts",
          "name": "extras",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-adapters-tool-knip-adapter-ts",
            "json": "https://banes-lab.com/json/source/quality/core/adapters/tool.knip.adapter.ts",
            "label": "core/adapters/tool.knip.adapter.ts",
            "markdown": "https://banes-lab.com/source/quality/core/adapters/tool.knip.adapter.ts.md",
            "ref": "anatomy:file-quality-core-adapters-tool-knip-adapter-ts"
          }
        },
        {
          "file": "core/registries/section.registry.ts",
          "name": "defineConfigSection",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-registries-section-registry-ts",
            "json": "https://banes-lab.com/json/source/quality/core/registries/section.registry.ts",
            "label": "core/registries/section.registry.ts",
            "markdown": "https://banes-lab.com/source/quality/core/registries/section.registry.ts.md",
            "ref": "anatomy:file-quality-core-registries-section-registry-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "objectWithExtras",
      "signature": "const objectWithExtras = (key: string, extras: (value: Record<string, unknown>) => string[]): ConfigSection =>"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "stylelintSection",
      "signature": "export const stylelintSection = objectWithExtras(\"stylelint\", (value) => ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "prettierSection",
      "signature": "export const prettierSection = objectWithExtras(\"prettier\", (value) => ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 33,
      "name": "htmlhintSection",
      "signature": "export const htmlhintSection = objectWithExtras(\"htmlhint\", (value) => ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "yamllintSection",
      "signature": "export const yamllintSection = objectWithExtras(\"yamllint\", (value) => ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 44,
      "name": "knipSection",
      "signature": "export const knipSection = objectWithExtras(\"knip\", () => []);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "jscpdSection",
      "signature": "export const jscpdSection = objectWithExtras(\"jscpd\", (value) => ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 54,
      "name": "oxlintSection",
      "signature": "export const oxlintSection = objectWithExtras(\"oxlint\", (value) => ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "sqlfluffSection",
      "signature": "export const sqlfluffSection = objectWithStringFields(\"sqlfluff\", [\"command\", \"dialect\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 66,
      "name": "banditSection",
      "signature": "export const banditSection = objectWithStringFields(\"bandit\", [\"command\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "clangTidySection",
      "signature": "export const clangTidySection = objectWithStringFields(\"clang-tidy\", [\"checks\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 68,
      "name": "checkstyleSection",
      "signature": "export const checkstyleSection = objectWithStringFields(\"checkstyle\", [\"command\", \"config\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "pmdSection",
      "signature": "export const pmdSection = objectWithStringFields(\"pmd\", [\"command\", \"ruleset\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 70,
      "name": "swiftlintSection",
      "signature": "export const swiftlintSection = objectWithStringFields(\"swiftlint\", [\"command\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 71,
      "name": "kicsSection",
      "signature": "export const kicsSection = objectWithStringFields(\"kics\", [\"command\", \"queries\", \"libraries\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 72,
      "name": "credoSection",
      "signature": "export const credoSection = objectWithStringFields(\"credo\", [\"command\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 73,
      "name": "lintrSection",
      "signature": "export const lintrSection = objectWithStringFields(\"lintr\", [\"command\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 74,
      "name": "perlcriticSection",
      "signature": "export const perlcriticSection = objectWithStringFields(\"perlcritic\", [\"command\", \"severity\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 75,
      "name": "semgrepSection",
      "signature": "export const semgrepSection = objectWithStringFields(\"semgrep\", [\"command\", \"config\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "slitherSection",
      "signature": "export const slitherSection = objectWithStringFields(\"slither\", [\"command\", \"solc\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 77,
      "name": "cljKondoSection",
      "signature": "export const cljKondoSection = objectWithStringFields(\"clj-kondo\", [\"command\", \"config\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 78,
      "name": "scalastyleSection",
      "signature": "export const scalastyleSection = objectWithStringFields(\"scalastyle\", [\"command\", \"config\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 79,
      "name": "detektSection",
      "signature": "export const detektSection = objectWithStringFields(\"detekt\", [\"command\", \"config\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "checkovSection",
      "signature": "export const checkovSection = objectWithStringFields(\"checkov\", [\"command\"]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 82,
      "name": "styluaSection",
      "signature": "export const styluaSection = objectWithExtras(\"stylua\", () => []);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 84,
      "name": "phpcsSection",
      "signature": "export const phpcsSection = defineConfigSection({"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 86,
      "name": "validate",
      "signature": "validate(value) {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 93,
      "name": "phpmdSection",
      "signature": "export const phpmdSection = objectWithExtras(\"phpmd\", (value) =>"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 101,
      "name": "hadolintSection",
      "signature": "export const hadolintSection = objectWithExtras(\"hadolint\", (value) => ["
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 108,
      "name": "shellcheckSection",
      "signature": "export const shellcheckSection = objectWithExtras(\"shellcheck\", (value) => ["
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/quality#file-quality-core-schemas-tool-schema-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "tool.schema.ts",
  "path": "core/schemas/tool.schema.ts",
  "ref": "anatomy:file-quality-core-schemas-tool-schema-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-schemas",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-schemas",
          "label": "core/schemas",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-schemas.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-schemas"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-adapters-tool-knip-adapter-ts",
          "json": "https://banes-lab.com/json/source/quality/core/adapters/tool.knip.adapter.ts",
          "label": "core/adapters/tool.knip.adapter.ts",
          "markdown": "https://banes-lab.com/source/quality/core/adapters/tool.knip.adapter.ts.md",
          "ref": "anatomy:file-quality-core-adapters-tool-knip-adapter-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-registries-section-registry-ts",
          "json": "https://banes-lab.com/json/source/quality/core/registries/section.registry.ts",
          "label": "core/registries/section.registry.ts",
          "markdown": "https://banes-lab.com/source/quality/core/registries/section.registry.ts.md",
          "ref": "anatomy:file-quality-core-registries-section-registry-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-validators-section-validator-ts",
          "json": "https://banes-lab.com/json/source/quality/core/validators/section.validator.ts",
          "label": "core/validators/section.validator.ts",
          "markdown": "https://banes-lab.com/source/quality/core/validators/section.validator.ts.md",
          "ref": "anatomy:file-quality-core-validators-section-validator-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-adapters",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-adapters",
          "label": "core/adapters",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-adapters.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-adapters"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-registries",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-registries",
          "label": "core/registries",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-registries.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-registries"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-validators",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-validators",
          "label": "core/validators",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-validators.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-validators"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "schema",
    "subject": "tool",
    "variant": null
  },
  "stats": {
    "bytes": 5565,
    "callable": 3,
    "definitions": 31,
    "edges": 4,
    "exported": 29,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 2,
      "isolated": 29
    },
    "lines": {
      "blank": 15,
      "code": 99,
      "total": 114
    }
  },
  "summary": "99 lines of code and 31 definitions.",
  "text": "https://banes-lab.com/source/quality/core/schemas/tool.schema.ts.txt",
  "tree": "quality",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-schemas-eslint-schema-ts",
      "json": "https://banes-lab.com/json/source/quality/core/schemas/eslint.schema.ts",
      "label": "core/schemas/eslint.schema.ts",
      "markdown": "https://banes-lab.com/source/quality/core/schemas/eslint.schema.ts.md",
      "ref": "anatomy:file-quality-core-schemas-eslint-schema-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/quality/core/schemas",
    "label": "core/schemas",
    "markdown": "https://banes-lab.com/api/source/quality/core/schemas.md",
    "ref": "api:source/quality/core/schemas"
  }
}
