Implement qc function validation
the payload to create a qc (quality control) function should be validated:
- does the function name exist
- does the argument names exist
- is the value of the correct type
- does the value meet the constrains
the payload to create a qc (quality control) function should be validated: