Add schema validation for option switches.