{"openapi":"3.1.0","info":{"title":"permess-mt","version":"0.1.0"},"paths":{"\/alerts":{"get":{"summary":"Index Route","operationId":"index_route_alerts_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/api\/regions":{"get":{"summary":"Get Regions Api","operationId":"get_regions_api_api_regions_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/api\/ui-counts":{"get":{"summary":"Get Ui Counts Route","operationId":"get_ui_counts_route_api_ui_counts_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/stats":{"get":{"summary":"Stats Page Route","operationId":"stats_page_route_stats_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/pro":{"get":{"summary":"Pro Page Route","operationId":"pro_page_route_pro_get","parameters":[{"name":"error","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},{"name":"email","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/pro_dashboard.html":{"get":{"summary":"Pro Dashboard Route","operationId":"pro_dashboard_route_pro_dashboard_html_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/pro\/dashboard\/":{"get":{"summary":"Pro Dashboard Route","operationId":"pro_dashboard_route_pro_dashboard__get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/pro\/dashboard":{"get":{"summary":"Pro Dashboard Route","operationId":"pro_dashboard_route_pro_dashboard_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/login":{"get":{"summary":"Get Login","operationId":"get_login_login_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Post Login","operationId":"post_login_login_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_post_login_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/register":{"get":{"summary":"Get Register","operationId":"get_register_register_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Post Register","operationId":"post_register_register_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_post_register_register_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/logout":{"get":{"summary":"Get Logout","operationId":"get_logout_logout_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/admin":{"get":{"summary":"Get Admin Panel","operationId":"get_admin_panel_admin_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/admin\/invite":{"post":{"summary":"Post Admin Invite","operationId":"post_admin_invite_admin_invite_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_post_admin_invite_admin_invite_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/register\/invite":{"get":{"summary":"Get Register Invite","operationId":"get_register_invite_register_invite_get","parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}},"post":{"summary":"Post Register Invite","operationId":"post_register_invite_register_invite_post","requestBody":{"required":true,"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_post_register_invite_register_invite_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/auth\/settings":{"get":{"summary":"Auth Settings","operationId":"auth_settings_api_auth_settings_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/api\/auth\/me":{"get":{"summary":"Auth Me","operationId":"auth_me_api_auth_me_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/alerts\/sign-up":{"post":{"summary":"Alerts Sign Up Route","operationId":"alerts_sign_up_route_alerts_sign_up_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_alerts_sign_up_route_alerts_sign_up_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/alerts\/success":{"get":{"summary":"Alerts Success Route","operationId":"alerts_success_route_alerts_success_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/alerts\/alerts\/unsub":{"get":{"summary":"Alerts Unsub Route","operationId":"alerts_unsub_route_alerts_alerts_unsub_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/alerts\/unsub":{"get":{"summary":"Alerts Unsub Route","operationId":"alerts_unsub_route_alerts_unsub_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/alerts\/email\/{shortcode}":{"get":{"summary":"Email Redirect Route","description":"Handle email click-through redirects.","operationId":"email_redirect_route_alerts_email__shortcode__get","parameters":[{"name":"shortcode","in":"path","required":true,"schema":{"type":"string","title":"Shortcode"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/contact":{"get":{"summary":"Contact Route","operationId":"contact_route_contact_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}}},"\/health":{"get":{"summary":"Health Route","operationId":"health_route_health_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/geocode":{"get":{"summary":"Geocode Page Route","operationId":"geocode_page_route_geocode_get","responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}}}},"post":{"summary":"Geocode Post Route","operationId":"geocode_post_route_geocode_post","requestBody":{"content":{"application\/x-www-form-urlencoded":{"schema":{"$ref":"#\/components\/schemas\/Body_geocode_post_route_geocode_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/geocode":{"post":{"summary":"Geocode Api Route","operationId":"geocode_api_route_api_geocode_post","requestBody":{"content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/GeocodeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/ai\/filters":{"get":{"summary":"Get Ai Filters","description":"Return available AI prompts and their unique result values.","operationId":"get_ai_filters_api_ai_filters_get","responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}}}}},"\/api\/permits\/heatmap":{"get":{"summary":"Heatmap Route","operationId":"heatmap_route_api_permits_heatmap_get","parameters":[{"name":"start_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Year"}},{"name":"end_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Year"}},{"name":"permit_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permit Type"}},{"name":"villages","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Villages"}},{"name":"ai_category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Category"}},{"name":"ai_value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HeatmapResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/permits\/area":{"get":{"summary":"Public Area Route","operationId":"public_area_route_api_permits_area_get","parameters":[{"name":"nw_lon_lat","in":"query","required":true,"schema":{"type":"string","title":"Nw Lon Lat"}},{"name":"se_lon_lat","in":"query","required":true,"schema":{"type":"string","title":"Se Lon Lat"}},{"name":"start_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Year"}},{"name":"end_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Year"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"permit_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permit Type"}},{"name":"villages","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Villages"}},{"name":"ai_category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Category"}},{"name":"ai_value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/BetaAreaResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/permits\/radius":{"get":{"summary":"Radius Route","operationId":"radius_route_api_permits_radius_get","parameters":[{"name":"lat","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Latitude of the center point","title":"Lat"},"description":"Latitude of the center point"},{"name":"lon","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Longitude of the center point","title":"Lon"},"description":"Longitude of the center point"},{"name":"radius","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"description":"Radius in meters","title":"Radius"},"description":"Radius in meters"},{"name":"region_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Region ID","title":"Region Id"},"description":"Region ID"}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/stats":{"get":{"summary":"Get Stats","operationId":"get_stats_api_stats_get","parameters":[{"name":"start_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Year"}},{"name":"end_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Year"}},{"name":"permit_types","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Permit Types"}},{"name":"villages","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Villages"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ConsolidatedStatsResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/stats\/weekly\/area":{"get":{"summary":"Get Weekly Stats Within Area","operationId":"get_weekly_stats_within_area_api_stats_weekly_area_get","parameters":[{"name":"nw_lon_lat","in":"query","required":true,"schema":{"type":"string","title":"Nw Lon Lat"}},{"name":"se_lon_lat","in":"query","required":true,"schema":{"type":"string","title":"Se Lon Lat"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"permit_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permit Type"}},{"name":"ai_category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Category"}},{"name":"ai_value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"type":"array","items":{"$ref":"#\/components\/schemas\/WeeklyStatItem"},"title":"Response Get Weekly Stats Within Area Api Stats Weekly Area Get"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/permits\/area\/pro":{"get":{"summary":"Pro Area Route","operationId":"pro_area_route_api_permits_area_pro_get","parameters":[{"name":"start_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Year"}},{"name":"end_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Year"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"permit_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permit Type"}},{"name":"villages","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Villages"}},{"name":"nw_lon_lat","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nw Lon Lat"}},{"name":"se_lon_lat","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Se Lon Lat"}},{"name":"ai_category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Category"}},{"name":"ai_value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/PublicAreaResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/permits\/list\/pro":{"get":{"summary":"Pro List Route","operationId":"pro_list_route_api_permits_list_pro_get","parameters":[{"name":"start_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Year"}},{"name":"end_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Year"}},{"name":"year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},{"name":"permit_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permit Type"}},{"name":"villages","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Villages"}},{"name":"nw_lon_lat","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nw Lon Lat"}},{"name":"se_lon_lat","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Se Lon Lat"}},{"name":"ai_category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Category"}},{"name":"ai_value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Value"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":10,"title":"Limit"}},{"name":"sort_col","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sort Col"}},{"name":"sort_dir","in":"query","required":false,"schema":{"enum":["asc","desc"],"type":"string","default":"desc","title":"Sort Dir"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/ProListResponse"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/api\/permits\/summary":{"get":{"summary":"Permits Summary Route","operationId":"permits_summary_route_api_permits_summary_get","parameters":[{"name":"start_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Start Year"}},{"name":"end_year","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"End Year"}},{"name":"permit_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Permit Type"}},{"name":"villages","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Villages"}},{"name":"nw_lon_lat","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nw Lon Lat"}},{"name":"se_lon_lat","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Se Lon Lat"}},{"name":"ai_category","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Category"}},{"name":"ai_value","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ai Value"}}],"responses":{"200":{"description":"Successful Response","content":{"application\/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/alerts\/permit\/report\/{report_uuid}":{"get":{"summary":"Permit Report Route","operationId":"permit_report_route_alerts_permit_report__report_uuid__get","parameters":[{"name":"report_uuid","in":"path","required":true,"schema":{"type":"string","title":"Report Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}},"\/permit\/report\/{report_uuid}":{"get":{"summary":"Permit Report Route","operationId":"permit_report_route_permit_report__report_uuid__get","parameters":[{"name":"report_uuid","in":"path","required":true,"schema":{"type":"string","title":"Report Uuid"}}],"responses":{"200":{"description":"Successful Response","content":{"text\/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application\/json":{"schema":{"$ref":"#\/components\/schemas\/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BetaAreaResponse":{"properties":{"count":{"type":"integer","title":"Count"},"points_lon_lat":{"items":{"type":"string"},"type":"array","title":"Points Lon Lat"},"permits":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Permits"}},"type":"object","required":["count","points_lon_lat","permits"],"title":"BetaAreaResponse"},"Body_alerts_sign_up_route_alerts_sign_up_post":{"properties":{"email":{"type":"string","title":"Email"},"longitude":{"type":"string","title":"Longitude"},"latitude":{"type":"string","title":"Latitude"},"location_type":{"type":"string","title":"Location Type"},"geometry_data":{"type":"string","title":"Geometry Data"},"locations_json":{"type":"string","title":"Locations Json"},"accept_notices":{"type":"boolean","title":"Accept Notices","default":false},"accept_marketing":{"type":"boolean","title":"Accept Marketing","default":false},"accept_premium_terms":{"type":"boolean","title":"Accept Premium Terms","default":false}},"type":"object","required":["email"],"title":"Body_alerts_sign_up_route_alerts_sign_up_post"},"Body_geocode_post_route_geocode_post":{"properties":{"address":{"type":"string","title":"Address"}},"type":"object","required":["address"],"title":"Body_geocode_post_route_geocode_post"},"Body_post_admin_invite_admin_invite_post":{"properties":{"email":{"type":"string","title":"Email"},"role":{"type":"string","title":"Role"},"csrf_token":{"type":"string","title":"Csrf Token"}},"type":"object","required":["email","role","csrf_token"],"title":"Body_post_admin_invite_admin_invite_post"},"Body_post_login_login_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"}},"type":"object","required":["email","password"],"title":"Body_post_login_login_post"},"Body_post_register_invite_register_invite_post":{"properties":{"token":{"type":"string","title":"Token"},"password":{"type":"string","title":"Password"},"confirm_password":{"type":"string","title":"Confirm Password"},"csrf_token":{"type":"string","title":"Csrf Token"}},"type":"object","required":["token","password","confirm_password","csrf_token"],"title":"Body_post_register_invite_register_invite_post"},"Body_post_register_register_post":{"properties":{"email":{"type":"string","title":"Email"},"password":{"type":"string","title":"Password"},"confirm_password":{"type":"string","title":"Confirm Password"}},"type":"object","required":["email","password","confirm_password"],"title":"Body_post_register_register_post"},"ConsolidatedStatsResponse":{"properties":{"new_permits_last_week":{"type":"integer","title":"New Permits Last Week"},"new_permits_last_month":{"type":"integer","title":"New Permits Last Month"},"total_permits":{"$ref":"#\/components\/schemas\/ConsolidatedStatsTotal"},"permits_by_year":{"items":{"$ref":"#\/components\/schemas\/YearlyStatItem"},"type":"array","title":"Permits By Year"},"permits_by_type":{"items":{"$ref":"#\/components\/schemas\/TypeStatItem"},"type":"array","title":"Permits By Type"},"permits_by_village":{"items":{"$ref":"#\/components\/schemas\/VillageStatItem"},"type":"array","title":"Permits By Village"},"permits_by_island":{"items":{"$ref":"#\/components\/schemas\/IslandStatItem"},"type":"array","title":"Permits By Island"}},"type":"object","required":["new_permits_last_week","new_permits_last_month","total_permits","permits_by_year","permits_by_type","permits_by_village","permits_by_island"],"title":"ConsolidatedStatsResponse"},"ConsolidatedStatsTotal":{"properties":{"count":{"type":"integer","title":"Count"}},"type":"object","required":["count"],"title":"ConsolidatedStatsTotal"},"GeocodeRequest":{"properties":{"address":{"type":"string","title":"Address"}},"type":"object","required":["address"],"title":"GeocodeRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#\/components\/schemas\/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeatmapResponse":{"properties":{"grid_counts":{"additionalProperties":{"type":"integer"},"type":"object","title":"Grid Counts"},"max_count":{"type":"integer","title":"Max Count"},"resolution":{"type":"number","title":"Resolution"}},"type":"object","required":["grid_counts","max_count","resolution"],"title":"HeatmapResponse"},"IslandStatItem":{"properties":{"island":{"type":"string","title":"Island"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["island","count"],"title":"IslandStatItem"},"ProListResponse":{"properties":{"count":{"type":"integer","title":"Count"},"selected_permits":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Selected Permits"}},"type":"object","required":["count","selected_permits"],"title":"ProListResponse"},"PublicAreaResponse":{"properties":{"count":{"type":"integer","title":"Count"},"points_lon_lat":{"items":{"type":"string"},"type":"array","title":"Points Lon Lat"},"permits":{"items":{"additionalProperties":true,"type":"object"},"type":"array","title":"Permits"}},"type":"object","required":["count","points_lon_lat","permits"],"title":"PublicAreaResponse"},"TypeStatItem":{"properties":{"permit_type":{"type":"string","title":"Permit Type"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["permit_type","count"],"title":"TypeStatItem"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"VillageStatItem":{"properties":{"village":{"type":"string","title":"Village"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["village","count"],"title":"VillageStatItem"},"WeeklyStatItem":{"properties":{"date":{"type":"string","title":"Date"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["date","count"],"title":"WeeklyStatItem"},"YearlyStatItem":{"properties":{"year":{"type":"integer","title":"Year"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["year","count"],"title":"YearlyStatItem"}}}}