Adding some basic schema validation for categories