Added validation for parameters to slice resource

* Basic for now, but easier to build on for later