Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/missionmatch / internal/modules/opportunities/dto.go |
| Date | Not specified in source |
| Repository | Janady13/missionmatch |
| Revision | 1675031db74316e100782d063e9eda1a597fe3a1 |
| Branch | workstream-a-opportunity-intelligence |
| Path or archive member | internal/modules/opportunities/dto.go |
| Original SHA-256 | 6b98ad5afa66d789dc235ddc70eae08743a6581123d281b3762d8c1aea2cb19a |
| Git blob SHA | ec789725f05e1ea6a9c57c82eb731f9ba9988239 |
| Reading-copy SHA-256 | 6b98ad5afa66d789dc235ddc70eae08743a6581123d281b3762d8c1aea2cb19a |
Every recorded occurrence
These 7 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/missionmatch / internal/modules/opportunities/dto.go | workstream-a-opportunity-intelligence | 1675031db74316e100782d063e9eda1a597fe3a1 | Open original |
| Janady13/missionmatch / internal/modules/opportunities/dto.go | workstream-d-command-center | 255e7d1d420abf5e277d0cd8c9b14f6f72b6acb9 | Open original |
| Janady13/missionmatch / internal/modules/opportunities/dto.go | workstream-e-commercial-stubs | 4437da660539284a400ee380b9b427a300c369ee | Open original |
| Janady13/missionmatch / internal/modules/opportunities/dto.go | workstream-b-sam-contract-awards | d5101cceb98e70000cebb31d3e7ac73d747d3a6d | Open original |
| Janady13/missionmatch / internal/modules/opportunities/dto.go | workstream-d-command-center | 255e7d1d420abf5e277d0cd8c9b14f6f72b6acb9 | Open original |
| Janady13/missionmatch / internal/modules/opportunities/dto.go | workstream-a-opportunity-intelligence | 1675031db74316e100782d063e9eda1a597fe3a1 | Open original |
| Janady13/missionmatch / internal/modules/opportunities/dto.go | workstream-e-commercial-stubs | 4437da660539284a400ee380b9b427a300c369ee | Open original |
Recovered source transcript
Download complete source text ↓42 lines · 2.0 KB
// Package opportunities serves the cached SAM.gov Contract Opportunities catalog as the screenMATCH
// requirement feed. It reads the GLOBAL sam_opportunities table (public federal data, no tenant
// scoping, outside RLS) straight off the pool, the frontend never calls SAM live, so the demo is
// fast and survives SAM downtime or quota exhaustion. Writes are owned by the daily sync
// (cmd/sam-sync); this module is read-only.
package opportunities
import "encoding/json"
// Opportunity is the normalized, app-facing view of a cached SAM notice (snake_case JSON to match the
// other module DTOs).
type Opportunity struct {
NoticeID string `json:"notice_id"`
Title string `json:"title"`
SolicitationNumber string `json:"solicitation_number"`
Department string `json:"department"`
SubAgency string `json:"sub_agency"`
FullAgencyPath string `json:"full_agency_path"`
NaicsCode string `json:"naics_code"`
PscCode string `json:"psc_code"`
SetAsideCode string `json:"set_aside_code"`
SetAside string `json:"set_aside"`
Type string `json:"type"`
PostedDate string `json:"posted_date"` // YYYY-MM-DD or ""
ResponseDeadline string `json:"response_deadline"` // RFC3339 or ""
Active bool `json:"active"`
PlaceOfPerformance Place `json:"place_of_performance"`
UILink string `json:"ui_link"`
DescriptionURL string `json:"description_url"`
ResourceLinks json.RawMessage `json:"resource_links"`
PointOfContact json.RawMessage `json:"point_of_contact"`
Source string `json:"source"`
SyncedAt string `json:"synced_at"` // RFC3339; drives the "synced {relative}" badge
}
// Place is the place of performance.
type Place struct {
City string `json:"city"`
State string `json:"state"`
Zip string `json:"zip"`
}