{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/factories/ontology.factory.ts",
          "name": "createOntology",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-factories-ontology-factory-ts",
            "json": "https://banes-lab.com/json/source/context/core/factories/ontology.factory.ts",
            "label": "core/factories/ontology.factory.ts",
            "markdown": "https://banes-lab.com/source/context/core/factories/ontology.factory.ts.md",
            "ref": "anatomy:file-context-core-factories-ontology-factory-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "method_definition",
      "line": 10,
      "name": "constructor",
      "signature": "public constructor(records: readonly R[], config: BaseFaceConfig<R, F>) {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "abstract_class_declaration",
      "line": 5,
      "name": "BaseOntology",
      "signature": "export abstract class BaseOntology<R, F extends object> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 6,
      "name": "ontology",
      "signature": "protected readonly ontology: Ontology<R>;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 7,
      "name": "matchesFilter",
      "signature": "private readonly matchesFilter: (record: R, filter: F) => boolean;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "public_field_definition",
      "line": 8,
      "name": "audit",
      "signature": "private readonly audit: OntologyAudit;"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 16,
      "name": "attributions",
      "signature": "public attributions(): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 20,
      "name": "unreadKeys",
      "signature": "public unreadKeys(): UnreadKey[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 24,
      "name": "get",
      "signature": "public get(id: string): R | null {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 28,
      "name": "all",
      "signature": "public all(): R[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 32,
      "name": "ids",
      "signature": "public ids(): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 36,
      "name": "index",
      "signature": "public index(): ReadonlyMap<string, R> {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 40,
      "name": "query",
      "signature": "public query(filter?: F): R[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "method_definition",
      "line": 44,
      "name": "validateEdges",
      "signature": "protected validateEdges(edgesOf: (record: R) => Edge[], resolveId?: (target: string) => string): OntologyIssues {"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/context#file-context-core-stores-ontology-store-ts",
  "language": "typescript",
  "layer": "application",
  "name": "ontology.store.ts",
  "path": "core/stores/ontology.store.ts",
  "ref": "anatomy:file-context-core-stores-ontology-store-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/context#folder-context-core-stores",
          "json": "https://banes-lab.com/json/anatomy/context/folder-context-core-stores",
          "label": "core/stores",
          "markdown": "https://banes-lab.com/anatomy/context/folder-context-core-stores.md",
          "ref": "chapter:/anatomy/context#folder-context-core-stores"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/context#file-context-core-factories-ontology-factory-ts",
          "json": "https://banes-lab.com/json/source/context/core/factories/ontology.factory.ts",
          "label": "core/factories/ontology.factory.ts",
          "markdown": "https://banes-lab.com/source/context/core/factories/ontology.factory.ts.md",
          "ref": "anatomy:file-context-core-factories-ontology-factory-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/context#folder-context-core-factories",
          "json": "https://banes-lab.com/json/anatomy/context/folder-context-core-factories",
          "label": "core/factories",
          "markdown": "https://banes-lab.com/anatomy/context/folder-context-core-factories.md",
          "ref": "chapter:/anatomy/context#folder-context-core-factories"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "store",
    "subject": "ontology",
    "variant": null
  },
  "stats": {
    "bytes": 1546,
    "callable": 9,
    "definitions": 13,
    "edges": 1,
    "exported": 13,
    "files": 1,
    "findings": {},
    "flows": {
      "entry": 1,
      "isolated": 12
    },
    "lines": {
      "blank": 10,
      "code": 37,
      "total": 47
    }
  },
  "summary": "37 lines of code and 13 definitions.",
  "text": "https://banes-lab.com/source/context/core/stores/ontology.store.ts.txt",
  "tree": "context",
  "siblings": {
    "next": null,
    "previous": {
      "href": "https://banes-lab.com/anatomy/context#file-context-core-stores-lexicon-store-ts",
      "json": "https://banes-lab.com/json/source/context/core/stores/lexicon.store.ts",
      "label": "core/stores/lexicon.store.ts",
      "markdown": "https://banes-lab.com/source/context/core/stores/lexicon.store.ts.md",
      "ref": "anatomy:file-context-core-stores-lexicon-store-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/context/core/stores",
    "label": "core/stores",
    "markdown": "https://banes-lab.com/api/source/context/core/stores.md",
    "ref": "api:source/context/core/stores"
  }
}
