/ARCHITECTURE /LOGICAL VIEW
The Logical View describes what Intaliq does for users and coaches. It breaks the system into the domain abstractions from the SRS data dictionary (users, coaches, sessions, goals, activities and partners) and the relationships behind booking, admission, goal tracking and partner matching.
Sequence Diagrams
Key Abstractions
A registered participant. Holds contact and login details; name lengths, Saudi (+966 5X-XXX-XXXX) or international phone format, email and password strength are validated.
A fitness coach who creates and manages group sessions. Has the same identity data and validation rules as User.
An outdoor group session created by a coach. Date must be DD/MM/YYYY and realistic, time is 24-hour, location must be in Saudi Arabia, capacity must be more than 1.
A personal target set by a user for one of the three supported activities. Deadline cannot be in the past, and calories must be more than 10 kcal.
A logged workout. Duration must be at least 5 minutes and no more than a day.
A suggested fitness partner, matched by location, goals and activities, that a user can send a connection request to.
Attributes and constraints: Intaliq SRS Section 4.2 Data Dictionary
Relationships
| Source | Relationship | Target | Multiplicity |
|---|---|---|---|
| Coach | Association (creates) | Session | 1 .. * |
| User | Association (requests to join) | Session | * .. * |
| User | Association (sets) | Goal | 1 .. * |
| User | Association (logs) | Activity | 1 .. * |
| User | Association (connects with) | Partner | * .. * |