F U T U R E 8 games { "_id": { "$oid": "4e583e9e8da1f7a81b000000" }, "away": { "image": “”, "name": "Miami (FL)", "rank": 0, "record": "0-0", "thumbnail": "" }, "channel": "ESPN/ESPN3.com", "combined_score": 0, "home": { "image": "", "name": "Maryland", "rank": 0, "record": "0-0", "thumbnail": "" }, "order": 0, "points": 1, "time": "Mon, 05 Sep 2011 17:00:00 GMT -07:00", "week": 1, "winner": "Maryland" } •Design considerations: •“Groups” embeds members by status (active, banned, pending) •“Groups” contains an array of tags for keyword searching. • “Game” embeds Home & Away teams along with stats & ranks. ::CGD :: Data Schema :: Groups & Game Collection away id winner week Team home Team Model: Game Game record rank name Model: Team Team status GroupMembers id tags members array[] Model: Groups Groups array[] pending banned array[] active name array[] Model: groupmembers GroupMembers groups { "_id": { "$oid": "4e612f624c70d77703000002" }, "name": "Mark's Game Day Buds!", "status": "private", "admins": [ "4e612e924c70d77404000001" ], "members": { "active": [“4e612e924c70d77404000001"4e6123e924c70d77404000001”, 4e612e924c70d77435000001 ], "banned": [], "pending": [], "total_active": 1 }, "system_tags": [ "mark's", "game", "day", "buds!" ], "about": Join at your own risk", "is_featured": false, } Tuesday, January 3, 2012