{"warnings":{"main":{"*":"Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."},"expandtemplates":{"*":"Because \"prop\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."}},"expandtemplates":{"*":"Tene's app chalkboard / back-of-envelope\n\n==Tables==\n*'''Markets'''\n**id\n**name\n*'''Stores'''\n**id\n**name\n**info\n**market_id\n*'''Locations'''\n*'''Users'''\n**id\n**name_etc\n**type_id - 0 or 1 = location_id->stores.id; 2 = location_id->markets.id\n**location_id\n*'''Leads'''\n**assigned_user_id\n**info\n\nEach user has a role_id; possible roles include:\n*associates - can only see things (e.g. leads, contacts) assigned to them\n*managers - can see everything assigned to anyone in the store\n*strategists - can see anything assigned to anyone in the market\n*corporate - can see everything"}}