If the safekeeping of the thing delivered is not the principal purpose of the contract, there is no deposit but some other contract.
NOTE: it is essential that the depository is not the owner of the thing deposited
CHARACTERISTICS
1. real - because it is perfected only by the delivery of the subject matter BUT an agreement to constitute a deposit is binding and enforceable, since it is merely consensual
2. unilateral - if gratuitous
3. bilateral - if with compensation
CREATION OF DEPOSIT (Art. 1964)
1. By virtue of a court order; or
2. By law
3. Not by the will of the parties
4. It is essential that the depositary is not the owner of the property deposited (Art. 1962)
KINDS OF DEPOSIT
1. judicial - when an attachment or seizure of property in litigation is ordered
2. extrajudicial (Art. 1967)
a. voluntary- delivery is made by the will of the depositor or by two or more persons
each of whom believes himself entitled to the thing deposited;
b. necessary- made in compliance with a legal obligation, or on the occasion of any calamity, or by travelers in hotels and inns or by travelers with common carriers