Let's expose the validations so we can use them in Ansible. One problem is that the validator field just contains a human description, we could parse it, but it would be nice if we didn't have to.
See more at theforeman/foreman-ansible-modules#296 (comment)