Semantic Schema

JSON →
library 0.4.5 ·javascript
verified Jun 7, 2026

A library for writing JSON Schema definitions in a more concise, semantic way. Current stable version 0.4.5. It reduces verbosity by allowing schema declarations using familiar JavaScript patterns (e.g., regex for strings, numbers with method chaining). Key differentiators include built-in sugar for common patterns (like arrays of allowed values), a validator class that wraps AJV, and the ability to normalize schemas to standard JSON Schema. Released as an npm package with infrequent updates, it is primarily aimed at developers who find raw JSON Schema too verbose.