{"id":78727,"library":"dry-schema","title":"dry-schema","description":"dry-schema provides a DSL for defining schemas with keys and rules for value validation, coercion, and error messages.","status":"active","version":"1.16.0","language":"ruby","source_language":null,"source_url":"https://github.com/dry-rb/dry-schema","tags":["validation","schema","coercion","dsl"],"install":[{"cmd":"gem install dry-schema","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'dry-schema', '~> 1.16.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Dry::Schema","correct":"require 'dry/schema'"}],"quickstart":{"code":"require 'dry/schema'\n\nschema = Dry::Schema.Params do\n  required(:name).filled(:string)\n  required(:age).filled(:integer, gt?: 18)\nend\n\nresult = schema.call(name: 'John', age: 25)\nputs result.success?","lang":"ruby","description":"Define and validate a simple schema with required fields."},"warnings":[],"env_vars":null,"search_vec":"'coercion':20,26 'defin':11 'dri':2,5 'dry-schema':1,4 'dsl':9,27 'error':22 'key':14 'messag':23 'provid':7 'rule':16 'schema':3,6,12,25 'valid':19,24 'valu':18","created_at":"2026-06-18T04:28:43.752544+00:00","updated_at":"2026-06-18T04:28:43.752544+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://dry-rb.org/gems/dry-schema","github":"https://github.com/dry-rb/dry-schema","docs":"http://www.rubydoc.info/gems/dry-schema/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}