Currently there are no options to set a property in the Samples template as required.
If validation is required using external actions and third party applications to validate is recommended. You can read more about this topic in the System Configuration Guide under 'External Actions'.