geraintluff/tv4
Tiny Validator for JSON Schema v4 observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4972
- days_rel: n/a
- days_push: 812
- n_releases_24m: 0
Adoption not part of the score
1166 stars · 181 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
tv4 is a tiny JavaScript validator for JSON Schema draft v4, supporting $ref with JSON Pointer paths, multiple error collection, and asynchronous schema fetching. It is explicitly no longer actively maintained.
Use cases
- validate json against a json schema draft v4
- collect multiple validation errors from json data
- validate json with $ref references to external schemas
- validate json in the browser or node
- check api request payloads against a schema
When to choose
- you need a tiny, dependency-free JSON Schema v4 validator
- you must validate legacy schemas locked to draft v4
- you need multiple validation errors reported at once
When to avoid
- you need JSON Schema draft 2019-09/2020-12 or newer features
- you want an actively maintained validator with security updates
- you need built-in asynchronous validation without jQuery
Facets
library · maturity abandoned
parser developer-tools apis developer-tools web-development browser json-schema json-schema-draft-v4 validation schema-validator data-validation nodejs javascript
3 sources
- readme: https://github.com/geraintluff/tv4 · fetched 2026-08-28 · 7d9b27a29719
- homepage: http://geraintluff.github.io/tv4/ · fetched 2026-08-29 · c4d59d96b800
- registry_npm: https://registry.npmjs.org/tv4 · fetched 2026-08-29 · 9393b110fba2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| geraintluff/tv4 | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem