Created
September 14, 2018 15:58
-
-
Save DominusKelvin/8c0a3b591e769a77947b735ab9b9fff5 to your computer and use it in GitHub Desktop.
New database Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 1, | |
"primary_contact_name": 'John Doe', | |
"primary_contact_number: 08102311012, | |
"primary_contact_email": 'kelvinomereshone@gmail.com', | |
"who_is_this_person": 'Landlord', | |
"lister_is_primary_contact": Yes, | |
"bank_details": { | |
"bank_name": 'First Bank', | |
"bank_account_number": "2034789056", | |
"bank_account_type": "Savings" | |
} | |
"spaces": {[ | |
{ | |
"space_type": "Self Contain", | |
"bathroom_type": "shared" || "private", | |
"number_of_bedspaces": 1, | |
"amount_for_space": "50000", | |
"duration": 30000, | |
"is_price_negotiable": True | |
}, | |
{ | |
"space_type": "Self Contain", | |
"number_of_spaces": 34, | |
"bathroom_type": "shared" || "private", | |
"number_of_bedspaces": 1, | |
"amount_for_space": "50000", | |
"duration": 30000, | |
"is_price_negotiable": True | |
} | |
] | |
}, | |
"service_charge": "Student Friendly" || "Landlord Friendly" || "50-50", | |
"i_agree_to_terms": "True", | |
"accommodation_details": { | |
"accommodation_name": "Bliss Hostel", | |
"type": "Hostel" || "Appartment", | |
"accommodation_is_best_suited_for": "Students" || "Corpers", | |
"number_of_rooms": 3, | |
"number_of_rooms_available": 2 | |
}, | |
"description": { | |
"amenities": [1,2,3,4,5,6, "...others"] | |
"closest_landmarks": [1,2,3,4,5, "others"], | |
"summary": "" | |
}, | |
"location": { | |
"address": "No 5, Abeokuta Road", | |
"state" "Ogun", | |
"city": "Abeokuta", | |
"distance" "Far", | |
"closest_school": "Delta State Polytechnic Ozoro", | |
"transportation": { | |
"means": "Car", | |
"estimated_cost": 35 | |
}, | |
} | |
"house_rules": { | |
"accepted_gender": "Male", | |
"maximum_occupants": 3, | |
"is_smoking_allowed": "Yes", | |
"are_pets_allowed": "Yes", | |
"time_for_gate_close": "12:00 midnight", | |
"other_rules" "" | |
}, | |
"photos": { | |
"photos_for_front_view": [], | |
"photos_for_bedroom": [], | |
"bathroom": [], | |
"kitchen": [], | |
"other_photos": [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment