{"id":88870,"library":"schemacop","title":"Schemacop","description":"Validates Ruby structures consisting of nested hashes and arrays against simple schema definitions.","status":"active","version":"3.1.0","language":"ruby","source_language":null,"source_url":"https://github.com/sitrox/schemacop","tags":["validation","schema","hash","array"],"install":[{"cmd":"gem install schemacop","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'schemacop', '~> 3.1.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Schemacop","correct":"require 'schemacop'"}],"quickstart":{"code":"require 'schemacop'\nschema = Schemacop::Schema.new do\n  type :hash do\n    req :name, :string\n    opt :age, :integer\n  end\nend\nresult = schema.validate!({ name: 'Alice', age: 30 })","lang":"ruby","description":"Define and validate a simple hash schema."},"warnings":[],"env_vars":null,"search_vec":"'array':10,18 'consist':5 'definit':14 'hash':8,17 'nest':7 'rubi':3 'schema':13,16 'schemacop':1 'simpl':12 'structur':4 'valid':2,15","created_at":"2026-06-19T08:38:57.911526+00:00","updated_at":"2026-06-19T08:38:57.911526+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://github.com/sitrox/schemacop","github":"https://github.com/sitrox/schemacop","docs":"http://www.rubydoc.info/gems/schemacop/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}