Skip to content

Requirements

Alaaddin Eren Namlı edited this page May 4, 2026 · 38 revisions

Glossary

  • Report: A user-submitted record of an accessibility issue or obstacle, containing geographic location, description, and attached media.
  • Route: A calculated path from a starting location to a destination, specifically tailored and filtered for accessibility.
  • User: An individual interacting with the system. Different user types and permissions of them can be found in 1.1 User Requirements.
  • Pin/Marker: A visual element on the interactive map indicating an unverified report, a verified obstacle, or a point of interest.
  • Tag: A predefined, hierarchical category label attached to a report to describe the specific type of accessibility issue. It consists of a Primary Category (e.g., Ramp, Elevator, Restroom) and a Sub-category (e.g., Missing, Broken, High Incline).
  • Environment Context: A specific label attached to a report indicating whether the obstacle is located indoors (Indoor) or outdoors (Outdoor).
  • Accessibility Profile: A user-selected or custom-built set of routing rules and tag exclusions. Presets (e.g., Wheelchair User) automatically map to backend logic that avoids certain report categories.
  • Pending Status: A report status indicating that the report is newly created or still under community evaluation. Reports in this state have not yet met the required agree or disagree thresholds (both count and ratio) for status transition.
  • Verified Status: A report status indicating that the accessibility issue has been confirmed by the community. Reports in this state have met the required minimum number of agree votes and the defined agree ratio threshold. Verified reports represent active and validated accessibility issues.
  • Fixed Status: A report status indicating that the reported issue has been resolved through a user-submitted Fixed request that includes mandatory media evidence and satisfies the required agree count and ratio thresholds within a defined timeframe. Fixed reports are considered resolved and are scheduled for automatic deletion after a predefined retention period.
  • Rejected Status: A report status indicating that the reported issue has been deemed invalid or not credible by the community after reaching the required minimum number of disagree votes and the defined disagree ratio threshold. Rejected reports are removed from public visibility and are scheduled for automatic deletion after a predefined retention period.

Requirements

1. Functional Requirements

1.1 User Requirements

1.1.1 User Types

There are 3 types of users: Guest User, Registered User and Admin User.

1.1.1.1 Guest Users

  • 1.1.1.1.1 Guest users shall be able to search for specific destinations using the search bar.
  • 1.1.1.1.2 Guest users shall be able to start turn-by-turn navigation to a selected destination.
  • 1.1.1.1.3 Guest users shall be able to select and apply physical capacity filters for routing (e.g., wheelchair accessible, no stairs).
  • 1.1.1.1.4 Guest users shall be able to view crowdsourced reports on the map.
  • 1.1.1.1.5 Guest users shall be able to open detailed issue panels to view reports.
  • 1.1.1.1.6 Guest users shall be able to play or view media (photos/videos) attached to the reports.
  • 1.1.1.1.7 Guest users shall be able to filter reports by criteria such as status (verified/unverified) or date.
  • 1.1.1.1.8 Guest users shall be able to view profile pages of registered users by interacting with submitted reports.
  • 1.1.1.1.9 Guest users shall be able to sign-up to create an account.
  • 1.1.1.1.10 Guest users shall be able to view comments left by other users on crowdsourced reports.

1.1.1.2 Registered Users

  • 1.1.1.2.1 Registered users shall be able to submit new accessibility reports with photos, a manually selected or GPS-based location, an Indoor/Outdoor environment context, a hierarchical tag (primary category and sub-category), optional numeric inputs (e.g., incline degree, obstacle height), and text descriptions.
  • 1.1.1.2.2 Registered users shall be able to verify and confirm the validity of a report submitted by other users.
  • 1.1.1.2.3 Registered users shall be able to perform the same actions as guest users except sign-up.
  • 1.1.1.2.4 Registered users shall be able to view a list of their previously created reports.
  • 1.1.1.2.5 Registered users shall be able to edit the details (description, tags, sub-categories, environment context, numeric inputs) of any previously submitted report by any user.
  • 1.1.1.2.6 Registered users shall be able to remove their own previously submitted reports.
  • 1.1.1.2.7 Registered users shall be able to replace or update the media attached to their own previously submitted reports.
  • 1.1.1.2.8 Registered users shall be able to view their own profile, displaying their account information.
  • 1.1.1.2.9 Registered users shall be able to manually select or adjust the report location on the map instead of relying solely on their current GPS position.
  • 1.1.1.2.10 Registered users shall be able to assign a hierarchical tag to their report by selecting from a predefined set of primary categories and sub-categories.
  • 1.1.1.2.11 Registered users shall be able to add comments on reports.
  • 1.1.1.2.12 Registered users shall be able to permanently delete their account via the profile settings; upon deletion, the system shall erase their personal data but retain and anonymize their previously submitted reports and validation votes to maintain map integrity.
  • 1.1.1.2.13 Registered users shall be able to view a scrollable list (Feed) of crowdsourced reports as an alternative to the map interface.
  • 1.1.1.2.14 Registered users shall be able to search for other registered users by their exact username or display name.

1.1.1.3 Admin Users

  • 1.1.1.3.1 Admin users shall be able to change another user's status to banned or unbanned.
  • 1.1.1.3.2 Admin users shall be able to delete any report.
  • 1.1.1.3.3 Admin users shall be able to edit any report by hiding/removing verifications/unverifications or hiding/removing comments.
  • 1.1.1.3.4 Admin users shall access a dedicated, secure web-based dashboard (Admin Panel) separated from the public map interface.
  • 1.1.1.3.5 Admin users shall be able to view a tabular list of all registered users, including their registration dates and current account statuses, within the Admin Panel.
  • 1.1.1.3.6 Admin users shall be able to filter, search, and review all submitted crowdsourced reports globally via a dedicated moderation feed in the Admin Panel.
  • 1.1.1.3.7 Admin users shall be able to create new registered user accounts with REGISTERED USER or ADMIN roles.
  • 1.1.1.3.8 Admin users shall be able to delete any registered user account; upon deletion, personal data shall be erased and all submitted content (reports, comments, validation votes) shall be anonymized and retained to maintain map integrity.
  • 1.1.1.3.9 Admin users shall be able to promote or demote any registered user's role between REGISTERED USER and ADMIN, except their own account.

1.1.2 Sign up & Login

  • 1.1.2.1 Users shall provide their real names, e-mail addresses, and passwords to sign up.
  • 1.1.2.2 E-mail addresses shall be unique.
  • 1.1.2.3 User passwords shall be at least 8 characters long and contain a minimum of 1 uppercase letter, 1 lowercase letter, and 1 special character (e.g., !,@,_,-).
  • 1.1.2.4 E-mail addresses shall be confirmed via clicking a time-limited verification link sent to the corresponding address.
  • 1.1.2.5 The system shall restrict access to registered user features (e.g., submitting or verifying reports) until the user successfully verifies their e-mail address.
  • 1.1.2.6 Users shall be able to request a password reset by submitting their registered e-mail address.
  • 1.1.2.7 The system shall send a time-limited, single-use password reset link to the provided e-mail address upon a valid reset request.

1.1.3 Profile Preferences

  • 1.1.3.1 Users shall be able to set and save accessibility routing filters by selecting from predefined system profiles (e.g., "Wheelchair User", "Visually Impaired") or by creating a custom Accessibility Profile mapping to specific avoidance tags.
  • 1.1.3.2 Users shall be able to grant or revoke application permissions for device location sharing and media/gallery access.
  • 1.1.3.3 Registered users shall be able to enable or disable push notifications and email notifications independently via the profile settings.
  • 1.1.3.4 Registered users shall be able to opt-out of the public Leaderboard via their profile preferences, which shall hide their points and remove their profile from the public ranking.
  • 1.1.3.5 Users shall be able to change the application's interface language, selecting from English and Turkish.
  • 1.1.3.6 Users shall be able to toggle the application's visual theme between "Light Mode", "Dark Mode", and "System Default".
  • 1.1.3.7 Users shall be able to activate a "High Contrast" visual mode, designed specifically for users with visual impairments, independent of the light/dark theme.
  • 1.1.3.8 Users should be able to activate a "Voice Command" accessibility mode via their profile preferences to interact with the application hands-free.

1.1.4 Session Management

  • 1.1.4.1 The system shall pause any restricted action initiated by a guest user and present a login interface for actions restricted to registered users, such as verifying a report.
  • 1.1.4.2 The system shall automatically execute the paused action immediately upon successful authentication, without requiring the user to repeat the action.
  • 1.1.4.3 The system shall display the authenticated user's profile information (e.g., name and picture) in the application header upon successful login.
  • 1.1.4.4 Authenticated users shall be able to securely terminate their active session (log out) via the application interface.
  • 1.1.4.5 The system shall restrict guest users to viewing reports exclusively via the interactive map interface and shall explicitly block their access to the Report Feed and User Search modules, presenting a login prompt instead.

1.2 System Requirements

1.2.1 Map Interface

  • 1.2.1.1 The system shall load an interactive map centered on the current GPS location upon opening.
  • 1.2.1.2 The system shall display pending, unverified reports using specific indicators (e.g., an exclamation mark pin).
  • 1.2.1.3 The system shall dynamically update the map interface when a report is verified by a user (e.g., changing pin color to red for an inaccessible route).

1.2.2 Reporting Module

  • 1.2.2.1 The system shall automatically suggest the user's current GPS location as the report pin, but shall allow the user to manually reposition the pin on the map before submission.
  • 1.2.2.2 The system shall allow users to upload a maximum of 5 media files (photos or videos) from their local device gallery for a single report.
  • 1.2.2.3 The system shall provide a text field with a maximum character limit of 1000 for users to write a description of the reported issue.
  • 1.2.2.4 The system shall process, log, and store report data (media, description, location, primary tag, sub-category, environment context, and any provided numeric inputs) into the central crowdsourced database.
  • 1.2.2.5 The system shall display a success or action confirmation popup upon successful report submission.
  • 1.2.2.6 The system shall provide a reporting interface presenting an "Indoor/Outdoor" toggle and a hierarchical, predefined set of accessibility issue categories (e.g., Ramp -> Steep Incline, Elevator -> Out of Order, Restroom -> Inaccessible) for the user to choose from.
  • 1.2.2.7 The system shall store the selected hierarchical tag and environment context alongside the report's media, description, and location data in the central database.
  • 1.2.2.8 The system shall display a real-time character count indicator (e.g., "950/1000") within the description text field and prevent further input once the 1000-character limit is reached.
  • 1.2.2.9 The system shall dynamically display contextual numeric input fields (e.g., incline percentage, height in cm) based on the user's selected primary tag; these numeric inputs shall be strictly optional and not required to submit the report successfully.

1.2.3 Validation Module

  • 1.2.3.1 The system shall display a detailed issue panel containing the report description and attached media when a report is clicked.
  • 1.2.3.2 The system shall provide an integrated media player to view or play attached media files.
  • 1.2.3.3 The system shall update the central database and log the validation event when a user clicks the verify button.
  • 1.2.3.4 The system shall track and maintain a count of both agreements and disagreements for each report.
  • 1.2.3.5 The system shall define four report statuses: Pending, Verified, Fixed, and Rejected.
  • 1.2.3.6 The system shall assign the status Pending to newly created reports until they meet the defined verification or rejection thresholds based on agree and disagree votes (both count and ratio).
  • 1.2.3.7 The system shall automatically change a report's status from "Pending" to "Verified" when it receives a minimum of 5 total agreements and the ratio of aggreements to total votes is at least 60%.
  • 1.2.3.8 The system shall automatically change a report's status from "Verified" to "Unverified" when its ratio of agreemnets to total votes falls below 60% and it has received a minimum of 5 total disagreements.
  • 1.2.3.9 The system shall automatically change a report's status to "Rejected" and hide it from the public map when it receives a minimum of 5 total disagreements and the ratio of disagreements to total votes is at least 60%.
  • 1.2.3.10 The system shall strictly prevent users from voting on (agreeing or disagreeing with) their own submitted reports.
  • 1.2.3.11 The system shall allow registered users to modify (change from agree to disagree, or vice versa) or completely withdraw their previously cast validation vote on an "Unverified" report.
  • 1.2.3.12 The system shall allow a registered user to submit a Fixed request for a report, which shall require mandatory media upload.
  • 1.2.3.13 A Fixed request shall be treated as a validation entity that collects agree/disagree votes independently until it reaches the required thresholds.
  • 1.2.3.14 The system shall update the report’s status to Fixed when the Fixed request receives a minimum of 5 agree votes and an agree ratio of at least 60% in a certain timeline.

1.2.4 Routing & Navigation Engine

  • 1.2.4.1 The system shall geolocate searched destinations and cross-reference geographic data and verified crowdsourced reports against the user's active Accessibility Profile (preset backend rules or custom filters).
  • 1.2.4.2 The system shall utilize a geospatial routing algorithm and existing crowdsourced data to calculate accessible paths.
  • 1.2.4.3 The system shall calculate and display the total distance and estimated time of arrival (ETA) for generated routes.
  • 1.2.4.4 The system shall display a color-coded path on the map preview to indicate accessibility levels (e.g., Green = accessible, Yellow = manageable, Red = avoid).
  • 1.2.4.5 The system shall offer and display multiple route options for the user to review.
  • 1.2.4.6 The system shall provide turn-by-turn navigation with audio cues.
  • 1.2.4.7 The system shall provide high-contrast visual cues during navigation, highlighting safe paths with distinct visual lines.
  • 1.2.4.8 The system shall track the user's live location via device GPS during active navigation.
  • 1.2.4.9 The system shall display a "Trip Complete" summary showing the distance traveled and elevation avoided upon reaching the destination.
  • 1.2.4.10 The system's routing algorithm shall prioritize cross-referencing against verified crowdsourced data over unverified data to ensure user safety.
  • 1.2.4.11 The system shall automatically recalculate and update the active route (rerouting) within 3 seconds if the user's live GPS location deviates from the calculated path by more than 15 meters.
  • 1.2.4.12 The system shall provide an audible cue and a visual on-screen notification to inform the user that the route is being recalculated.
  • 1.2.4.13 The system shall display a distinct warning prompt before starting navigation if the only available route includes unverified obstacle reports.

1.2.5 Notification System

  • 1.2.5.1 The system shall send an in-app notification to the registered user when their submitted report changes status to "Verified" or "Rejected".
  • 1.2.5.2 The system shall send an in-app notification to the report author when another user submits a comment on their report.
  • 1.2.5.3 The system shall log all received in-app notifications in a dedicated "Notification Center" accessible from the user's dashboard.
  • 1.2.5.4 The system shall send an automated e-mail notification to a registered user if their account status is changed to "banned" by an admin, including a generic reason for the action.
  • 1.2.5.5 The system shall mark in-app notifications as "read" immediately after the user clicks or taps on them.
  • 1.2.5.6 The system shall automatically send an in-app notification to the original report author, as well as to any registered user who has previously cast a validation vote on that specific report, immediately after the report's details are edited by another user.

1.2.6 Gamification & Leaderboard Module

  • 1.2.6.1 The system shall award exactly 10 points to a registered user immediately upon the successful submission of a new report.
  • 1.2.6.2 The system shall award exactly 5 points to a registered user immediately after they cast a validation vote (agree or disagree) on another user's report.
  • 1.2.6.3 The system shall award an additional bonus of exactly 20 points to the original report author when their submitted report officially reaches the "Verified" status.
  • 1.2.6.4 The system shall deduct exactly 15 points from the original report author if their submitted report officially reaches the "Rejected" status.
  • 1.2.6.5 The system shall award an additional bonus of exactly 15 points to every registered user who cast a validation vote aligning with the final status of a report (i.e., agreed with a "Verified" report or disagreed with a "Rejected" report) at the moment the status change occurs.
  • 1.2.6.6 The system shall deduct exactly 5 points from every registered user who cast a validation vote opposing the final status of a report (i.e., disagreed with a "Verified" report or agreed with a "Rejected" report) at the moment the status change occurs.
  • 1.2.6.7 The system shall not allow a user's total accumulated point score to drop below 0 (zero); any deduction resulting in a negative total shall set the score exactly to 0.
  • 1.2.6.8 The system shall display a dedicated "Leaderboard" interface ranking registered users in descending order based on their total accumulated points.
  • 1.2.6.9 The Leaderboard interface shall specifically display only the top 100 ranked users.
  • 1.2.6.10 The system shall display the authenticated user's current rank and total points prominently within the Leaderboard interface, even if the user is not ranked within the top 100.
  • 1.2.6.11 The system shall display a user's total accumulated points and their current global rank on their public profile page, provided they have not opted out.
  • 1.2.6.12 The system shall automatically award a "Trusted Reporter" badge to a registered user immediately upon reaching exactly 10 "Verified" reports.
  • 1.2.6.13 The system shall automatically award an "Expert Mapper" badge to a registered user immediately upon reaching exactly 50 "Verified" reports.
  • 1.2.6.14 The system shall dynamically award a "Top 10" badge to the users currently holding the top 10 positions on the global Leaderboard.
  • 1.2.6.15 The system shall automatically revoke the "Top 10" badge from a user immediately if their global rank drops below the 10th position.
  • 1.2.6.16 The system shall display all permanently earned milestone badges (e.g., Trusted Reporter, Expert Mapper) prominently on the user's public profile page.
  • 1.2.6.17 The system shall display a user's highest-tier earned badge as a visual icon next to their username within the detailed issue panels of the reports they have submitted.
  • 1.2.6.18 The system shall send an in-app notification to the user immediately when a new badge is successfully awarded to their account.
  • 1.2.6.19 The system shall automatically deduct 5 points from a user's total score immediately if they completely withdraw their previously cast validation vote from a report.
  • 1.2.6.20 The system shall strictly prevent a user from earning duplicate validation points (an additional 5 points) when they modify an existing validation vote on the same report.

1.2.7 Report Feed & User Search Module

  • 1.2.7.1 The system shall provide a dedicated "Feed" interface available strictly to registered users, displaying accessibility reports in a vertical, scrollable list format.
  • 1.2.7.2 The system shall allow users to sort the reports in the Feed by "Most Recent", "Closest Distance", and "Highest Voted".
  • 1.2.7.3 The system shall display a thumbnail of the attached media, the report description snippet, the distance from the user, and the total agreements/disagreements on each item card within the Feed.
  • 1.2.7.4 The system shall provide a dedicated User Search interface containing a text input field for registered users.
  • 1.2.7.5 The system shall return a list of user profiles matching the entered search query (username or display name) within 2 seconds.
  • 1.2.7.6 The system shall navigate the user to the corresponding public profile page when a search result is clicked.

1.2.8 Accessibility Features

  • 1.2.8.1 The system should allow users to execute core actions (e.g., searching for a destination, starting navigation, and initiating a report) using system-supported voice recognition when Voice Command mode is active.
  • 1.2.8.2 The system should provide audible feedback confirming the recognition and execution of a voice command.

1.2.9 Report Lifecycle & Retention Policy

  • 1.2.9.1 The system shall automatically delete reports with status Fixed after 7 days.
  • 1.2.9.2 The system shall automatically delete reports with status Rejected after 7 days.
  • 1.2.9.3 The system shall persist reports with status Pending and Verified indefinitely unless explicitly deleted by an Admin user.

2. Non-functional Requirements

2.1 Availability & Offline Capabilities

  • 2.1.1 The system shall cache map data up to a 5 km radius and store the currently active route locally to ensure uninterrupted navigation when the device loses network connectivity.
  • 2.1.2 The system shall instantly disable the submission of new reports and live map updates, displaying a clear "No Internet Connection" UI indicator, when network latency exceeds 5000ms or the connection drops entirely.

2.2 Performance

  • 2.2.1 The system shall reflect validated report status updates (e.g., changing a pin from unverified to verified) on the map interface across all active client sessions within exactly 30 seconds of the database update.
  • 2.2.2 The system shall load the initial map interface and render the user's current GPS location within 5 seconds on a standard 4G network or equivalent broadband connection.
  • 2.2.3 The routing engine shall calculate and return a route (including distance, ETA, and accessibility filters) within 2 seconds for distances under 50 km.
  • 2.2.4 The system shall deliver in-app notifications to online users within 5 seconds of the triggering event (e.g., a status change or a new comment).
  • 2.2.5 The system shall deliver routing push notifications (safety alerts) to actively navigating users within 2 seconds of a report being verified on their route.
  • 2.2.6 The system shall update a user's total point score in the database within 2 seconds of any point-awarding or point-deducting event.
  • 2.2.7 The system shall recalculate and update the global Leaderboard rankings across all active client sessions at least once every 5 minutes to ensure competitive accuracy without overloading the server.

2.3 Privacy & Security

  • 2.3.1 The system shall display a native operating system permission dialog requesting explicit user consent before accessing the device's GPS hardware for the first time.
  • 2.3.2 The system shall display a native operating system permission dialog requesting explicit user consent before accessing the device's local file system or media gallery for the first time.
  • 2.3.3 The system shall encrypt all user passwords and sensitive personal data at rest using AES-256 encryption and in transit using TLS 1.3 protocols to ensure data security.

2.4 Reliability

  • 2.4.1 The system shall maintain a minimum operational uptime of 99.9% measured over a rolling 30-day period, excluding scheduled and pre-announced maintenance windows.

2.5 Portability & Compatibility

  • 2.5.1 The system's web application shall be fully functional, responsive, and render correctly on the latest two major versions of Google Chrome, Apple Safari, Mozilla Firefox, and Microsoft Edge.
  • 2.5.2 The system's mobile application shall be fully functional and installable on Apple devices running iOS 15.0 or later, and Android devices running Android 10.0 (API level 29) or later.

2.6 Capacity & Scalability

  • 2.6.1 The system shall strictly reject any individual media (photo/video) file upload that exceeds 15.0 MB in size.
  • 2.6.2 The system shall display a specific UI error message explaining the 15.0 MB size limit when an upload is rejected.
  • 2.6.3 The system architecture shall support and maintain response times under 2 seconds for at least 10,000 concurrent active users performing search or routing operations.

2.7 Localization & Internationalization

  • 2.7.1 The system shall dynamically switch all UI text, warning prompts, error messages, and navigation cues to the user's selected language (English or Turkish) without requiring an application restart.

logo Mapcess

Team Members

Final Milestone Deliverables

MVP Deliverables

Lab Reports

Communication Plan

Weekly Meetings

Sub-Group Meetings

Other Meetings

Project Documentation

RAM

Scenarios and Mock-ups

Use Case Diagrams (Initial)

Use Case Diagram (Final)

Class Diagram (Final)

Sequence Diagram (Final)

Standards & Conventions

Test & Coverage Plan

Mapping API Comparison Report

MVP Demo

Final Demo

Clone this wiki locally