All data in the platform is typed with TypeScript interfaces defined inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/MauroTalamantes/Evolucion-Patrimonial-Plataforma-Plan-B/llms.txt
Use this file to discover all available pages before exploring further.
types/index.ts. Every object exchanged between components, consumed from the mock layer, or persisted to external sources conforms to one of these interfaces. This reference documents every field across all interfaces so auditors, developers, and integrators share a common vocabulary.
Declaracion
The root object representing a single patrimonial declaration. It groups metadata (identity and provenance) with the full patrimonial snapshot.Identity and provenance information for the declaration. See DeclaracionMetadata below.
Full patrimonial snapshot at the time of filing. See SituacionPatrimonial below.
DeclaracionMetadata
Describes the identity, origin, and availability status of a declaration. Used throughout search results, comparison selectors, and revision records.Unique declaration identifier. Convention:
D-{year}-{sequence}, e.g. "D-2022-001".RFC (Registro Federal de Contribuyentes) of the public servant, e.g.
"ROBJ800101XYZ".Full name of the public servant as it appears in the source system, e.g.
"Juan Roberto Robles".Name of the public institution where the servant holds their position, e.g.
"Secretaría de Finanzas".Fiscal year to which the declaration corresponds, e.g.
2022.Declaration type. See Declaration types for the significance of each value.
Human-readable name of the data source that provided this declaration, e.g.
"SFP API Nacional". Corresponds to FuenteDatos.nombre.ISO 8601 datetime of the last update from the source system, e.g.
"2022-05-15T10:00:00Z".Data completeness status as reported by the source.
COMPLETA means all sections are available; PARCIAL means one or more sections are missing; NO_DISPONIBLE means the declaration cannot be retrieved.SituacionPatrimonial
The complete patrimonial snapshot of a public servant at the time of filing. All top-level fields are optional because data availability depends on the source system.Identity data as stored in the patrimonial section (may differ from
metadata fields if the source system stores them independently).Real-estate holdings declared during this period.
Vehicle holdings declared during this period.
Ingresos
Monthly income figures declared by the public servant. Used by the congruence analysis panel to assess whether new asset acquisitions are consistent with reported income.Net monthly salary from the public position, in Mexican pesos, e.g.
45000.Other monthly income (honoraria, rental income, etc.), in Mexican pesos, e.g.
25000.Sum of all net monthly income. Should equal
remuneracionMensualNeta + otrosIngresosMensuales, e.g. 73000.true when the servant explicitly declared zero income. Typically false for active public servants.BienInmueble
A single real-estate asset within thebienesInmuebles.bienes array.
Unique registry ID for this asset within the declaration, e.g.
"INM-1".Property type as reported by the source, e.g.
"Casa", "Departamento", "Terreno".Acquisition value in Mexican pesos at the time of purchase, e.g.
2500000.Method of acquisition, e.g.
"Crédito", "Contado", "Herencia".Date of acquisition in
YYYY-MM-DD format, e.g. "2023-02-10".Vehiculo
A single vehicle within thevehiculos.vehiculos array.
Unique registry ID for this vehicle within the declaration, e.g.
"VEH-1".Vehicle category as reported by the source, e.g.
"SUV", "Sedán", "Motocicleta".Manufacturer brand, e.g.
"Honda".Model name, e.g.
"CR-V".Model year, e.g.
2023.Acquisition value in Mexican pesos, e.g.
650000.Revision
An audit revision (expediente) created by an auditor to document a comparison and record findings. Each revision references one or moreDeclaracion IDs.
Unique revision identifier. Convention:
REV-{sequence}, e.g. "REV-001".RFC of the public servant under review, e.g.
"ROBJ800101XYZ".Full name of the public servant under review, e.g.
"Juan Roberto Robles".Array of
DeclaracionMetadata.id values included in this revision, e.g. ["D-2022-001", "D-2023-001"]. Typically two declarations (base period vs. recent period).estatus
'EN_PROCESO' | 'OBSERVACIONES' | 'SIN_OBSERVACIONES' | 'INCONSISTENCIAS' | 'CERRADA'
required
Current workflow status of the revision:
EN_PROCESO— actively being reviewedOBSERVACIONES— findings noted, pending resolutionSIN_OBSERVACIONES— review complete, no issues foundINCONSISTENCIAS— confirmed discrepancies requiring actionCERRADA— revision finalized and archived
Risk classification assigned by the auditor. See Risk levels for full definitions.
Free-form tags applied by the auditor for categorization, e.g.
["Incremento patrimonial", "Bienes"]. Empty array when no tags have been assigned.Free-text narrative of findings and observations written by the auditor.
ISO 8601 datetime when the revision was first created, e.g.
"2023-06-01T09:00:00Z".ISO 8601 datetime of the most recent update to the revision, e.g.
"2023-06-02T16:30:00Z".Name or identifier of the auditor responsible for this revision, e.g.
"Ana López".FuenteDatos
Represents a configured external data source from which declarations are ingested.Unique data source identifier, e.g.
"F-1".Human-readable name of the data source, e.g.
"SFP Declaranet Nacional".Base URL of the source API, e.g.
"https://api.declaranet.gob.mx/v1".Connection status.
ACTIVA means the source is reachable and synchronizing; INACTIVA means it has been disabled or is unreachable.ISO 8601 datetime of the last successful data sync, e.g.
"2023-10-24T18:00:00Z".BitacoraAccion
A single audit log entry recording a user action in the platform. Used in the Bitácora module, accessible to administrators only.Unique log entry identifier. Convention:
LOG-{sequence}, e.g. "LOG-100".Name or identifier of the user who performed the action, e.g.
"Ana López".Description of the action performed, e.g.
"Comparación Generada", "Prueba de Conexión".Platform module where the action took place, e.g.
"Comparación", "Fuentes de Datos".The entity (RFC, data source name, revision ID, etc.) that was affected by the action, e.g.
"ROBJ800101XYZ".ISO 8601 datetime when the action occurred, e.g.
"2023-10-24T09:15:00Z".Outcome of the action.
EXITO means it completed successfully; ERROR means it failed.User
Represents an authenticated platform user. Used to determine role-based access and display the current user in the sidebar.Unique user identifier, e.g.
"u1".Display name of the user, e.g.
"Ana López (Auditora)".Role that controls module visibility and access. See User roles for full definitions.
Institutional email address, e.g.
"ana.lopez@oic.gob.mx".