json-schema-shorthand
JSON →JavaScript library v3.1.1 providing compact shorthand syntax for JSON Schema definitions. Transforms string types, references (local with #, external with $), and shorthand functions into full schema objects. Supports all major JSON Schema constructs: object, array, primitive types, composition (allOf/oneOf/anyOf), not, and nested references. Includes TypeScript type definitions for schema validation. Active development with regular releases; minimal dependencies. Differentiator: reduces schema boilerplate significantly while maintaining full JSON Schema compatibility.
Resources
packagejson-schema-shorthand ↗
API endpoints
full doc /v1/registry/json-schema-shorthand