Legal requirements for buying property