TypeScript module resolving JSON schemas and refs.
// Source: https://github.com/vercel-labs/visual-json | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type {
JsonSchema,
JsonSchemaProperty,
JsonValue,
JsonObject,
} from "./types";
const KNOWN_SCHEMAS: Record<string, string> = {
"package.json": "https://json.schemastore.org/package.json",
"tsconfig.json": "https://json.schemastore.org/tsconfig",
"tsconfig.base.json": "https://json.schemastore.org/tsconfig",
".eslintrc.json": "https://json.schemastore.org/eslintrc",
".prettierrc": "https://json.schemastore.org/prettierrc",
".prettierrc.json": "https://json.schemastore.org/prettierrc",
"turbo.json": "https://turborepo.dev/schema.json",
".babelrc": "h
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key