// Package awards serves the cached USASpending federal award catalog: incumbent and competitor // intelligence by NAICS, plus Galapagos own past performance. It reads the global usaspending_awards // table (public data, outside RLS) straight off the pool. Writes are owned by cmd/awards-sync. package awards // Award is the normalized, app facing view of a cached federal award. type Award struct { AwardUID string `json:"award_uid"` // generated_internal_id AwardID string `json:"award_id"` // PIID RecipientName string `json:"recipient_name"` RecipientUEI string `json:"recipient_uei"` AwardAmount string `json:"award_amount"` // decimal string, or "" AwardingAgency string `json:"awarding_agency"` AwardingSubAgency string `json:"awarding_sub_agency"` POPStartDate string `json:"pop_start_date"` // YYYY-MM-DD or "" POPEndDate string `json:"pop_end_date"` // recompete signal NaicsCode string `json:"naics_code"` NaicsDescription string `json:"naics_description"` Description string `json:"description"` IsGalapagos bool `json:"is_galapagos"` Source string `json:"source"` SyncedAt string `json:"synced_at"` }