Created
October 12, 2018 15:16
-
-
Save kevbook/dee7062f7309614b6bfb90b72c0724aa to your computer and use it in GitHub Desktop.
This file contains hidden or 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
``` | |
visit_id {Int} | |
knock_property_id {Int} | |
// From prop service | |
property: { | |
type: "sfr" | |
type_desc: "Single Family Residence" | |
year_built: 2013 | |
size: 3349 | |
baths_full: 3 | |
baths_half: 1 | |
beds: 5 | |
"address_id": "5705-abenaki-drive-90-charlotte-nc-28214", | |
"address": "5705 Abenaki Drive #90, Charlotte, NC 28214", | |
"address_components": { | |
"city": "Charlotte", | |
"county": "Mecklenburg", | |
"state": "NC", | |
"zipcode": "28214" | |
} | |
"address_line_1": "5705 Abenaki Drive #90", | |
"address_line_2": "Charlotte, NC 28214", | |
"address_lat": "35.265275", | |
"address_long": "-80.959199", | |
} | |
hps_account_id {Int} | |
status {String} // pending, in_progress, completed | |
visit_date {Int} | |
remarks {String} | |
rating {Float} - 0,1,2,3 | |
photos {Array} { | |
filename: "525d2aaf-a59a-4a3f-b1b8-cafbdfca9866.jpg" | |
view: imgix-url (mobile-app/web can do ?compress=auto,max-width=) | |
} | |
updated {Int} | |
created {Int} | |
// Each visit has a component = beds, baths, backyard | |
components {Array} { | |
component_id {Int} | |
component_type {String} // beds,baths_full,baths_half,parking,basement | |
name {String} // Master Bedroom | |
levels {Float(1)} // HPS entered | |
levels_enum {Array}{Int} = [1, 2, 3] // Possible combinations | |
remarks {String} | |
rating {Float} | |
photos {Array} { | |
filename: "525d2aaf-a59a-4a3f-b1b8-cafbdfca9866.jpg" | |
view: imgix-url (mobile-app/web can do ?compress=auto,max-width=) | |
} | |
updated {Int} | |
created {Int} | |
features {Array} { | |
feature_id {Int} | |
feature_type {String} // ceiling | |
name {String} // Ceiling | |
desc {Array} {String} // Would be what HPS entered | |
desc_enum {Array}{String} = [flat,spacled,popcorn] | |
// On v2 release of backyard, when we collect data from employee | |
employee_desc = selection | |
employee_desc_enum = Show the avilable list to select | |
employee_desc_id = who is that person | |
secondary_desc {Array} {String} | |
secondary_desc_enum {Array}{String} = ['if there is something here, app knows to render this question'] | |
remarks {String} | |
rating {Float} | |
photos {Array} { | |
filename: "525d2aaf-a59a-4a3f-b1b8-cafbdfca9866.jpg" | |
view: imgix-url (mobile-app/web can do ?compress=auto,max-width=) | |
} | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment