The Profile module displays every piece of personal and academic data that the SUV exposes on its perfil screen. Unitru Academic extracts this information in the same headless-browser session used for grades and attendance — no separate login or extra request is needed. The profile photo is downloaded from the SUV and embedded directly in the response as a base64 data URL, so the frontend renders it without making any external image request.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Andr21Da16/UNITRU-ACADEMIC/llms.txt
Use this file to discover all available pages before exploring further.
StudentProfile Fields
Full Field Reference
| Field | Type | Description |
|---|---|---|
full_name | string | Complete name in the format LAST_NAME FIRST_NAME as stored in the SUV |
first_name | string | Given name(s) |
last_name | string | Family name(s) |
enrollment_number | string | University enrollment code (código de matrícula) |
faculty | string | Faculty the student belongs to (e.g., "Facultad de Ingeniería") |
school | string | School or career within the faculty (e.g., "Escuela de Informática") |
campus | string | Campus location (e.g., "Trujillo") |
admission_year | int | null | Year the student was admitted; null if not set in the SUV |
institutional_email | string | null | University-issued email address |
personal_email | string | null | Personal email registered in the SUV |
phone | string | null | Mobile or contact phone number |
document | string | null | National ID (DNI) number |
birth_date | string | null | Date of birth as a string in the format returned by the SUV |
sex | string | null | Sex as recorded by the SUV |
marital_status | string | null | Marital status (e.g., "Soltero/a") |
address | string | null | Home address registered in the SUV |
curriculum | string | null | Academic plan version (e.g., "2018") — the curriculum the student is enrolled under |
condition | string | null | Enrollment status (e.g., "Regular", "Irregular") |
photo_data_url | string | null | Profile photo as a base64-encoded data URL (e.g., "data:image/jpeg;base64,/9j/...") |
Profile Photo
The profile photo is fetched from the SUV during the scraping session and immediately converted to a base64 data URL. The frontend renders it with a plain<img> tag:
UI Layout
TheProfileCard component (profile_card.tsx) uses a two-column layout:
Left column — Photo & Identity
The profile photo (or a dashed placeholder), the student’s
full_name, and a condition pill badge (e.g., Regular in UNT yellow).Right column — Data grid
A responsive two-column definition list showing every non-null field: DNI, birth date, sex, marital status, address, phone, personal email, institutional email, faculty, school, curriculum, campus, admission year, and condition.
Curriculum vs. Condition
Two fields are often confused:curriculum— the academic plan version under which the student is enrolled (e.g.,"2018"). This determines which courses are required for graduation.condition— the current enrollment status (e.g.,"Regular"when all requirements are met,"Irregular"when the student has outstanding failed courses or credits).
Several fields — including
admission_year, phone, personal_email, document, birth_date, sex, marital_status, address, and curriculum — may be null if the student has not filled them in on the SUV’s profile management page. Unitru Academic cannot display data that the SUV does not provide.