Date: 2026-03-13
The project uses an Access database accessed through ADO. The authoritative schema history lives in ../Data/Migrations. Repository SQL and migration names indicate a relational model centered on jurisdictions, kits, labels, contacts, settings, inkjet records, and custom office copy jobs.
Primary fields observed in JurisdictionRepository:
JCodeNameMailing_AddressCSZIMBIMB_DigitsLater migrations indicate additional fields such as Title.
Role: Master data for election jurisdictions and mailing identity information.
Created in migration 02 and joined from import/export logic.
Role: Contact and addressing data associated with a jurisdiction.
Created in migration 03 and used by SettingsRepository.
Role: Application configuration stored in the database, including STID-related values referenced by kit workflows.
Observed fields in KitRepository and migrations:
IDJobNumberJCodeCreatedOnLabelsPrintedExportedToSnailWorksInkJetJobJobTypeFilenameCassStatusOutboundSTIDInboundSTIDOfficeCopiesAmountRole: Central workflow entity representing a print/export job for a jurisdiction.
Created in migration 05 and counted in kit switchboard queries.
Role: Individual label records associated with a kit.
Created in migration 09 and extended later with KitLabelID and ColorId.
Role: Inkjet output records tied to kits and, later, colors and label relationships.
Created in migration 18.
Role: Tracks custom office copy proof/export work outside the standard label path.
Created in migration 19.
Role: Lookup table used for purple-envelope color assignment and inkjet record coloring.
Kit.JCode links kits to a jurisdiction.KitLabels.KitId links labels to a kit.InkJetRecords.KitId links inkjet records to a kit.Notable schema evolution based on migration names:
JurisdictionContactSettingsKitKit_LabelsKitKit labels/settings behaviorKitInkJetRecordsKitKitKitKitLabelID to InkJetRecordsJurisdictionKitCustomOfficeCopyJobColorsColorId to InkJetRecordsAutomapper.AutoMap.LIKE queries from controller-provided values.DAL.PagedQuery.App/ and ImportService/ before renaming fields or changing status semantics.Generated for brownfield analysis.
Powered by TurnKey Linux.