skeleton for schema and validator