Add validation for asd descriptor and invariant id