BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

dry-schema

v1.16.0RubyGems· Ruby

dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation.

The verdict
Solid choice. Well-adopted and active, actively maintained.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceHealthy
PopularityWidely used
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 3 months ago.
Popularity
477K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 1.16.03 months ago
  • 1.15.05 months ago
  • 1.14.1over a year ago
  • 1.14.0over a year ago
  • 1.13.42 years ago
  • 1.13.32 years ago
  • 1.13.23 years ago
  • 1.13.13 years ago
dry-schema — dry-schema provides a DSL for defining schemas with keys and rules that should be applied to values. It supports coercion, input sanitization, custom types and localized error messages (with or without I18n gem). It's also used as the schema engine in dry-validation. (Ruby / RubyGems) · Modules