Closed ancasimon closed 4 years ago
The Trips collection is the second main collection in this app (part of the Stretch goals). It stores the trips a user plans with the properties below:
{
"trip1": {
"uid": "IqVVeEGkB4ZnAWVrrPZCXZbxf8c2",
"destination": "Big South Fork National Park",
"startDate": "05/20/2019",
"endDate": "05/24/2019",
"partyId": "party3",
"weatherId": "WEATHER2",
"seasonId": "season2",
"isEstablishedCampsite": true,
"imageUrl": "https://www.nps.gov/common/uploads/grid_builder/biso/crop16_9/4E7884CC-1DD8-B71B-0B750283AE2E9F03.jpg?width=307&quality=90&mode=crop"
},
"trip2": {
"uid": "IqVVeEGkB4ZnAWVrrPZCXZbxf8c2",
"destination": "FALL CREEK FALLS",
"startDate": "07/01/2019",
"endDate": "07/09/2019",
"partyId": "party3",
"weatherId": "WEATHER4",
"seasonId": "season3",
"isEstablishedCampsite": true,
"imageUrl": "https://www.tn.gov/content/tn/environment/program-areas/na-natural-areas/natural-areas-east-region/east-region-/na-na-savage-gulf/jcr%3acontent/content/tn_image_1600407376_.img.jpg/1556051411008.jpg"
},
"trip3": {
"uid": "IqVVeEGkB4ZnAWVrrPZCXZbxf8c2",
"destination": "Icewater Spring Shelter, AT, Smokies",
"startDate": "09/01/2019",
"endDate": "09/05/2019",
"partyId": "party4",
"weatherId": "WEATHER5",
"seasonId": "season4",
"isEstablishedCampsite": true,
"imageUrl": "https://media-cdn.tripadvisor.com/media/photo-s/06/34/8f/0b/charlie-s-bunion.jpg"
},
"trip4": {
"uid": "IqVVeEGkB4ZnAWVrrPZCXZbxf8c2",
"destination": "Boulevard Trail",
"startDate": "06/25/2018",
"endDate": "06/30/2018",
"partyId": "party4",
"weatherId": "WEATHER4",
"seasonId": "SEASON3",
"isEstablishedCampsite": false,
"imageUrl": "https://cdn2.apstatic.com/photos/hike/7053380_medium_1555703264.jpg"
},
"trip5": {
"uid": "IqVVeEGkB4ZnAWVrrPZCXZbxf8c2",
"destination": "Alum Cave",
"startDate": "09/15/2020",
"endDate": "09/20/2020",
"partyId": "party2",
"weatherId": "WEATHER4",
"seasonId": "season4",
"isEstablishedCampsite": false,
"imageUrl": "https://cdn2.apstatic.com/photos/hike/7012215_medium_1554560826.jpg"
}
}
When a user plans a trip, she can choose the gear items to pack on the trip. These items will be stores in the tripGear
collection. A stretch goal is to allow the user to enter notes about how each gear item performed on that trip.
{
"tripGear1": {
"tripId": "trip5",
"gearId": "gear2",
"notes": "val"
},
"tripGear2": {
"tripId": "trip5",
"gearId": "gear3"
"notes": "val"
},
"tripGear3": {
"tripId": "trip5",
"gearId": "gear5"
"notes": "val"
},
"tripGear4": {
"tripId": "trip5",
"gearId": "gear8"
"notes": "val"
},
"tripGear5": {
"tripId": "trip5",
"gearId": "gear11"
"notes": "val"
},
"tripGear6": {
"tripId": "trip5",
"gearId": "gear13"
"notes": "val"
},
"tripGear7": {
"tripId": "trip5",
"gearId": "gear15"
"notes": "val"
},
"tripGear8": {
"tripId": "trip5",
"gearId": "gear17"
"notes": "val"
},
"tripGear9": {
"tripId": "trip5",
"gearId": "gear29"
"notes": "val"
},
"tripGear10": {
"tripId": "trip5",
"gearId": "gear31"
"notes": "val"
},
"tripGear11": {
"tripId": "trip5",
"gearId": "gear32"
"notes": "val"
},
"tripGear12": {
"tripId": "trip5",
"gearId": "gear33"
"notes": "val"
},
"tripGea13": {
"tripId": "trip5",
"gearId": "gear34"
"notes": "val"
},
"tripGea14": {
"tripId": "trip5",
"gearId": "gear35"
"notes": "val"
},
"tripGea15": {
"tripId": "trip5",
"gearId": "gear36"
"notes": "val"
},
"tripGear16": {
"tripId": "trip5",
"gearId": "gear37"
"notes": "val"
},
"tripGear17": {
"tripId": "trip5",
"gearId": "gear38"
"notes": "val"
},
"tripGear18": {
"tripId": "trip5",
"gearId": "gear42"
"notes": "val"
},
"tripGear19": {
"tripId": "trip5",
"gearId": "gear45"
"notes": "val"
},
"tripGear20": {
"tripId": "trip5",
"gearId": "gear53"
"notes": "val"
},
"tripGear21": {
"tripId": "trip5",
"gearId": "gear54"
"notes": "val"
},
"tripGear22": {
"tripId": "trip5",
"gearId": "gear55"
"notes": "val"
},
"tripGear23": {
"tripId": "trip5",
"gearId": "gear59"
"notes": "val"
},
"tripGear24": {
"tripId": "trip5",
"gearId": "gear60"
"notes": "val"
},
"tripGear25": {
"tripId": "trip5",
"gearId": "gear61"
"notes": "val"
},
"tripGear26": {
"tripId": "trip5",
"gearId": "gear62"
"notes": "val"
},
"tripGear27": {
"tripId": "trip5",
"gearId": "gear63"
"notes": "val"
},
"tripGear28": {
"tripId": "trip5",
"gearId": "gear68"
"notes": "val"
},
"tripGear29": {
"tripId": "trip5",
"gearId": "gear69"
"notes": "val"
},
"tripGear30": {
"tripId": "trip5",
"gearId": "gear70"
"notes": "val"
},
"tripGear31": {
"tripId": "trip5",
"gearId": "gear71"
"notes": "val"
},
"tripGear32": {
"tripId": "trip5",
"gearId": "gear72"
"notes": "val"
},
"tripGear33": {
"tripId": "trip5",
"gearId": "gear73"
"notes": "val"
},
"tripGear34": {
"tripId": "trip5",
"gearId": "gear74"
"notes": "val"
},
"tripGear35": {
"tripId": "trip5",
"gearId": "gear75"
"notes": "val"
},
"tripGear36": {
"tripId": "trip5",
"gearId": "gear76"
"notes": "val"
},
"tripGear37": {
"tripId": "trip5",
"gearId": "gear79"
"notes": "val"
},
"tripGear38": {
"tripId": "trip5",
"gearId": "gear88"
"notes": "val"
},
"tripGear39": {
"tripId": "trip5",
"gearId": "gear90"
"notes": "val"
},
"tripGear40": {
"tripId": "trip5",
"gearId": "gear91"
"notes": "val"
},
}
{
"tripGear101": {
"tripId": "trip2",
"gearId": "gear3",
"notes": "val"
},
"tripGear102": {
"tripId": "trip2",
"gearId": "gear5"
"notes": "val"
},
"tripGear103": {
"tripId": "trip2",
"gearId": "gear15"
"notes": "val"
},
"tripGear104": {
"tripId": "trip2",
"gearId": "gear16"
"notes": "val"
},
"tripGear105": {
"tripId": "trip2",
"gearId": "gear17"
"notes": "val"
},
"tripGear106": {
"tripId": "trip2",
"gearId": "gear28"
"notes": "val"
},
"tripGear107": {
"tripId": "trip2",
"gearId": "gear31"
"notes": "val"
},
"tripGear108": {
"tripId": "trip2",
"gearId": "gear32"
"notes": "val"
},
"tripGear109": {
"tripId": "trip2",
"gearId": "gear33"
"notes": "val"
},
"tripGear110": {
"tripId": "trip2",
"gearId": "gear34"
"notes": "val"
},
"tripGear111": {
"tripId": "trip2",
"gearId": "gear35"
"notes": "val"
},
"tripGear112": {
"tripId": "trip2",
"gearId": "gear36"
"notes": "val"
},
"tripGea113": {
"tripId": "trip2",
"gearId": "gear37"
"notes": "val"
},
"tripGea114": {
"tripId": "trip2",
"gearId": "gear38"
"notes": "val"
},
"tripGea115": {
"tripId": "trip2",
"gearId": "gear39"
"notes": "val"
},
"tripGear116": {
"tripId": "trip2",
"gearId": "gear40"
"notes": "val"
},
"tripGear117": {
"tripId": "trip2",
"gearId": "gear41"
"notes": "val"
},
"tripGear118": {
"tripId": "trip2",
"gearId": "gear43"
"notes": "val"
},
"tripGear119": {
"tripId": "trip2",
"gearId": "gear44"
"notes": "val"
},
"tripGear120": {
"tripId": "trip2",
"gearId": "gear47"
"notes": "val"
},
"tripGear121": {
"tripId": "trip2",
"gearId": "gear48"
"notes": "val"
},
"tripGear122": {
"tripId": "trip2",
"gearId": "gear49"
"notes": "val"
},
"tripGear123": {
"tripId": "trip2",
"gearId": "gear50"
"notes": "val"
},
"tripGear124": {
"tripId": "trip2",
"gearId": "gear51"
"notes": "val"
},
"tripGear125": {
"tripId": "trip2",
"gearId": "gear53"
"notes": "val"
},
"tripGear126": {
"tripId": "trip2",
"gearId": "gear54"
"notes": "val"
},
"tripGear127": {
"tripId": "trip2",
"gearId": "gear57"
"notes": "val"
},
"tripGear128": {
"tripId": "trip2",
"gearId": "gear58"
"notes": "val"
},
"tripGear129": {
"tripId": "trip2",
"gearId": "gear59"
"notes": "val"
},
"tripGear130": {
"tripId": "trip2",
"gearId": "gear60"
"notes": "val"
},
"tripGear131": {
"tripId": "trip2",
"gearId": "gear61"
"notes": "val"
},
"tripGear132": {
"tripId": "trip2",
"gearId": "gear62"
"notes": "val"
},
"tripGear133": {
"tripId": "trip2",
"gearId": "gear64"
"notes": "val"
},
"tripGear134": {
"tripId": "trip2",
"gearId": "gear65"
"notes": "val"
},
"tripGear135": {
"tripId": "trip2",
"gearId": "gear66"
"notes": "val"
},
"tripGear136": {
"tripId": "trip2",
"gearId": "gear67"
"notes": "val"
},
"tripGear137": {
"tripId": "trip2",
"gearId": "gear68"
"notes": "val"
},
"tripGear138": {
"tripId": "trip2",
"gearId": "gear69"
"notes": "val"
},
"tripGear139": {
"tripId": "trip2",
"gearId": "gear70"
"notes": "val"
},
"tripGear140": {
"tripId": "trip2",
"gearId": "gear71"
"notes": "val"
},
"tripGear141": {
"tripId": "trip2",
"gearId": "gear72"
"notes": "val"
},
"tripGear142": {
"tripId": "trip2",
"gearId": "gear73"
"notes": "val"
},
"tripGear143": {
"tripId": "trip2",
"gearId": "gear74"
"notes": "val"
},
"tripGear144": {
"tripId": "trip2",
"gearId": "gear75"
"notes": "val"
},
"tripGear145": {
"tripId": "trip2",
"gearId": "gear76"
"notes": "val"
},
"tripGear146": {
"tripId": "trip2",
"gearId": "gear80"
"notes": "val"
},
"tripGear147": {
"tripId": "trip2",
"gearId": "gear82"
"notes": "val"
},
"tripGear148": {
"tripId": "trip2",
"gearId": "gear83"
"notes": "val"
},
"tripGear149": {
"tripId": "trip2",
"gearId": "gear87"
"notes": "val"
},
"tripGear150": {
"tripId": "trip2",
"gearId": "gear92"
"notes": "val"
},
}
{
"tripGear201": {
"tripId": "trip3",
"gearId": "gear3",
"notes": "val"
},
"tripGear202": {
"tripId": "trip3",
"gearId": "gear8"
"notes": "val"
},
"tripGear203": {
"tripId": "trip3",
"gearId": "gear11"
"notes": "val"
},
"tripGear204": {
"tripId": "trip3",
"gearId": "gear13"
"notes": "val"
},
"tripGear205": {
"tripId": "trip3",
"gearId": "gear14"
"notes": "val"
},
"tripGear206": {
"tripId": "trip3",
"gearId": "gear91"
"notes": "val"
},
"tripGear207": {
"tripId": "trip3",
"gearId": "gear88"
"notes": "val"
},
"tripGear208": {
"tripId": "trip3",
"gearId": "gear81"
"notes": "val"
},
"tripGear209": {
"tripId": "trip3",
"gearId": "gear77"
"notes": "val"
},
"tripGear210": {
"tripId": "trip3",
"gearId": "gear76"
"notes": "val"
}
}
{
"tripGear401": {
"tripId": "trip1",
"gearId": "gea80",
"notes": "val"
},
"tripGear402": {
"tripId": "trip1",
"gearId": "gear82"
"notes": "val"
},
"tripGear403": {
"tripId": "trip1",
"gearId": "gear83"
"notes": "val"
},
"tripGear404": {
"tripId": "trip1",
"gearId": "gear87"
"notes": "val"
},
"tripGear405": {
"tripId": "trip1",
"gearId": "gear92"
"notes": "val"
},
"tripGear406": {
"tripId": "trip1",
"gearId": "gear76"
"notes": "val"
},
"tripGear407": {
"tripId": "trip1",
"gearId": "gear88"
"notes": "val"
},
"tripGear408": {
"tripId": "trip1",
"gearId": "gear59"
"notes": "val"
},
"tripGear409": {
"tripId": "trip1",
"gearId": "gear60"
"notes": "val"
},
"tripGear410": {
"tripId": "trip1",
"gearId": "gear61"
"notes": "val"
}
}
{
"tripGear301": {
"tripId": "trip4",
"gearId": "gear3",
"notes": "val"
},
"tripGear302": {
"tripId": "trip4",
"gearId": "gear8"
"notes": "val"
},
"tripGear303": {
"tripId": "trip4",
"gearId": "gear11"
"notes": "val"
},
"tripGear304": {
"tripId": "trip4",
"gearId": "gear13"
"notes": "val"
},
"tripGear305": {
"tripId": "trip4",
"gearId": "gear14"
"notes": "val"
},
"tripGear306": {
"tripId": "trip4",
"gearId": "gear91"
"notes": "val"
},
"tripGear307": {
"tripId": "trip4",
"gearId": "gear88"
"notes": "val"
},
"tripGear308": {
"tripId": "trip4",
"gearId": "gear81"
"notes": "val"
},
"tripGear309": {
"tripId": "trip4",
"gearId": "gear77"
"notes": "val"
},
"tripGear310": {
"tripId": "trip4",
"gearId": "gear76"
"notes": "val"
}
}
User Story
As a developer, I want to see sets of seed data to be used in the app both for the supporting data collections and some default data for the main and joint collections so that there is some realistic data in the app for demo purposes.
Dev Notes
!base.json
file that lists all the other .json files, add 2 more objects for thetrips
andtripGear
collections.