MCPcopy Create free account
hub / github.com/RASAAS/docmcp-knowledge / load_schema

Function load_schema

scripts/validate_schema.py:49–54  ·  view source on GitHub ↗
(schema_name: str)

Source from the content-addressed store, hash-verified

47
48
49def load_schema(schema_name: str) -> dict:
50 schema_file = SCHEMAS_DIR / schema_name
51 if not schema_file.exists():
52 return {}
53 with open(schema_file, "r", encoding="utf-8") as f:
54 return json.load(f)
55
56
57def extract_front_matter(md_content: str) -> dict | None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected