schema validation for stat/community