dry-rb/dry-validation
Validation library with type-safe schemas and rules observed · 2026-08-28
Health v2 · maintenance only
70/100
- Activity 81
- Release rhythm 40
- Longevity 100
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: 14
- age_days: 4060
- days_rel: 589
- days_push: 115
- n_releases_24m: 2
Adoption not part of the score
1422 stars · 195 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
dry-validation is a Ruby library for data validation using type-safe schemas and composable rules. It supports input coercion, nested data, custom predicates, and detailed error messages.
Use cases
- validate request params in a ruby web app
- validate json payloads against a schema
- coerce and validate form input
- validate nested data structures in ruby
- add custom validation rules with error messages
- validate api input before processing
When to choose
- you need type-safe, composable validation schemas in Ruby
- you want input coercion plus validation in one step
- you need detailed, localized error messages for invalid data
When to avoid
- you only need simple presence checks and prefer minimal dependencies
- you are not working in Ruby
- you need database-level or ORM-integrated validation
Facets
library · maturity active
type-system serialization error-handling web-development backend developer-tools ruby jvm validation data-validation coercion schemas dry-rb form-validation params-validation
6 sources
- readme: https://github.com/dry-rb/dry-validation · fetched 2026-08-28 · 840e7e660e0f
- homepage: https://dry-rb.org/gems/dry-validation · fetched 2026-08-29 · c5f6fd74885f
- site_page: https://hanakai.org/learn/dry/getting-started · fetched 2026-08-29 · a693676c58ea
- site_page: https://hanakai.org/learn/dry/dry-monads/v1.8/getting-started · fetched 2026-08-29 · 95b7ca4e4c18
- site_page: https://hanakai.org/learn/dry/dry-types/v1.8/getting-started · fetched 2026-08-29 · c77b09f7d113
- site_page: https://hanakai.org/learn/dry/dry-monitor/v1.0/third-party-integrations · fetched 2026-08-29 · f7810597f1fc
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dry-rb/dry-validation | main | 70 |
For agents
markdown · JSON · MCP: product_card(name="dry-rb/dry-validation")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem