Define object schemas, enforce types, apply validators