Thanks, you are completely right. Sorry I didn't recognize that. API seems to be enough to discover constraint metadata.