A TypeScript library that provides a strictly-typed implementation of JSON Schema 7, disallowing nonsense combinations of fields. Current version 0.0.14, early-stage development with limited release cadence. Key differentiators: defines logical sub-types (e.g., JSSTIntegerWithBounds) for precise validation and includes optional faker field for strings. Alternatives like ajv focus on runtime validation, while this library emphasizes compile-time type safety with TypeScript.
npm install json-schema-strictly-typedNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic type checking for integer, string with faker, and top-level object schemas.
Pin to exact version and test upgrades.
Monitor GitHub for updates or switch to ajv for runtime validation.
Use JSSTTopLevel* names like JSSTTopLevelString, JSSTTopLevelObject.
Use JSSTIntegerEnum for integer enums, JSSTStringEnum for string enums.
Install package: npm install json-schema-strictly-typed. Ensure use of ES module imports.
Change to ES module import: import { JSSTInteger } from 'json-schema-strictly-typed'.Import as: import { JSSTTopLevelObject } from 'json-schema-strictly-typed'.No dependency data recorded yet.