An obligation that derives from:
(a) a contract (through its explicit or implicit terms);
(b) legislation; or
(c) other operation of law
Source click here