verify credential against xsd schema