Refactor schema/create-dimension!

Moves groups validation to api front
Requires group_only or grouped_by option to be passed