validate

abstract fun validate(type: CommandType, body: Any): List<Violation>