{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "wordCount",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "validatePanels",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 24,
      "name": "tagFindings",
      "signature": "const tagFindings = function tagFindings(section: PanelSection, panel: PayloadPanel): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "citesIn",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "validatePanels",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 71,
      "name": "unknownCites",
      "signature": "const unknownCites = function unknownCites(section: PanelSection): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "tagFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "wordCount",
      "signature": "const wordCount = function wordCount(tag: string): number {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "validatePanels",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 41,
      "name": "duplicateTags",
      "signature": "const duplicateTags = function duplicateTags(section: PanelSection): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "unknownCites",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 55,
      "name": "citesIn",
      "signature": "const citesIn = function citesIn(prose: string): readonly string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/validators/panel.validator.ts",
          "name": "duplicateTags",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        },
        {
          "file": "core/validators/panel.validator.ts",
          "name": "tagFindings",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        },
        {
          "file": "core/validators/panel.validator.ts",
          "name": "unknownCites",
          "source": {
            "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
            "json": "https://banes-lab.com/json/source/content/core/validators/panel.validator.ts",
            "label": "core/validators/panel.validator.ts",
            "markdown": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.md",
            "ref": "anatomy:file-content-core-validators-panel-validator-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 76,
      "name": "validatePanels",
      "signature": "export const validatePanels = function validatePanels(page: string, sections: readonly PanelSection[]): GraphFinding[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "messages",
      "signature": "const messages: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 42,
      "name": "seen",
      "signature": "const seen = new Set<string>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "twice",
      "signature": "const twice: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 56,
      "name": "cites",
      "signature": "const cites: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "open",
      "signature": "let open = prose.indexOf(CITE_OPEN);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "close",
      "signature": "const close = prose.indexOf(CITE_CLOSE, open + CITE_OPEN.length);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 72,
      "name": "tags",
      "signature": "const tags = new Set(section.panels.flatMap((panel) => (panel.tag === null ? [] : [panel.tag])));"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 86,
      "name": "panelCount",
      "signature": "export const panelCount = function panelCount(sections: readonly PanelSection[]): number {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-panel-validator-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "panel.validator.ts",
  "path": "core/validators/panel.validator.ts",
  "ref": "anatomy:file-content-core-validators-panel-validator-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-validators",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-validators",
          "label": "core/validators",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-validators.md",
          "ref": "chapter:/anatomy/content#folder-content-core-validators"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/content#folder-content-core-validators",
          "json": "https://banes-lab.com/json/anatomy/content/folder-content-core-validators",
          "label": "core/validators",
          "markdown": "https://banes-lab.com/anatomy/content/folder-content-core-validators.md",
          "ref": "chapter:/anatomy/content#folder-content-core-validators"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "validator",
    "subject": "panel",
    "variant": null
  },
  "stats": {
    "bytes": 3201,
    "callable": 7,
    "definitions": 14,
    "edges": 5,
    "exported": 2,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 2,
      "leaf": 3,
      "entry": 1,
      "isolated": 8
    },
    "lines": {
      "blank": 7,
      "code": 81,
      "total": 88
    }
  },
  "summary": "81 lines of code and 14 definitions.",
  "text": "https://banes-lab.com/source/content/core/validators/panel.validator.ts.txt",
  "tree": "content",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-writing-validator-ts",
      "json": "https://banes-lab.com/json/source/content/core/validators/writing.validator.ts",
      "label": "core/validators/writing.validator.ts",
      "markdown": "https://banes-lab.com/source/content/core/validators/writing.validator.ts.md",
      "ref": "anatomy:file-content-core-validators-writing-validator-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/content#file-content-core-validators-link-validator-ts",
      "json": "https://banes-lab.com/json/source/content/core/validators/link.validator.ts",
      "label": "core/validators/link.validator.ts",
      "markdown": "https://banes-lab.com/source/content/core/validators/link.validator.ts.md",
      "ref": "anatomy:file-content-core-validators-link-validator-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/content/core/validators",
    "label": "core/validators",
    "markdown": "https://banes-lab.com/api/source/content/core/validators.md",
    "ref": "api:source/content/core/validators"
  }
}
