Object schema definition using a Ruby DSL.