Ricardian contract is a legal digital contract that specifies rules of interaction amongst multiple peers, is cryptographically signed, and is both machine and human-readable.
Click here for details: https://www.leewayhertz.com/all-about-ricardian-contracts/)