Opportunity reference
3 pages, 18 routes, 18 connections and 6 CLI commands, generated from the declarations of Opportunity without reading storage or running anything.
Code · 0 files
No ingested source sits in a crate named for this app. Either its crate has not been ingested, or the app's name does not match its crate.
Pages · 7
| Page | View id | Role | Route | Order | Parent | Entity | Navigation |
|---|---|---|---|---|---|---|---|
| Funding opportunity | opportunity.detail | detail | /view/opportunity/{opportunity_id} | 0 | opportunity.list | Opportunity | hidden |
| List | opportunity.list | list | /view/opportunity/list | 0 | Opportunity | in navigation | |
| Funding profile | opportunity.profile | detail | /view/opportunity/profile/{profile_id} | 0 | opportunity.profiles | OpportunityProfile | hidden |
| Edit funding profile | opportunity.profile.edit | editor | /view/opportunity/profile/{profile_id}/edit | 0 | opportunity.profile | OpportunityProfile | hidden |
| New funding profile | opportunity.profile.new | editor | /view/opportunity/profiles/create | 0 | opportunity.profiles | OpportunityProfile | hidden |
| Dashboard | opportunity.contracts | dashboard | /view/opportunity/contracts | 10 | in navigation | ||
| Funding profiles | opportunity.profiles | list | /view/opportunity/profiles | 30 | OpportunityProfile | in navigation |
Connections · 18
Opportunity.Awards
Stored past awards from USAspending, NIH RePORTER and NSF Awards, filtered (source, state, assistance_listing, naics, uei, kind, q), largest first, paged.
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/awardsHTTP route
Opportunity.Get
One stored opportunity with its fetched synopsis, sighting history and the largest stored past awards under its assistance listing (or NAICS code).
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| opportunity_id | required |
- Output keyopportunity.result
- Classificationroute_handler
- POST /opportunities/getHTTP route
- opportunity getCLI command
Opportunity.JobSources
Every registered job source with the terms and robots verdicts that decide whether it is read, its boards, and the last sync of each board.
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/jobs/sourcesHTTP route
Opportunity.Jobs
Stored job postings from employers' public job boards, newest first, filtered by words (q), place (in: us or us-ny), workplace (remote), employment type, a minimum yearly pay top (salary_min, currency), source, board and employer. Each row links the employer's own posting.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| q | optional | |||
| in | optional | |||
| remote | optional | |||
| type | optional | |||
| salary_min | optional | |||
| currency | optional | |||
| source | optional | |||
| board | optional | |||
| employer | optional | |||
| limit | optional |
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/jobsHTTP route
- opportunity jobsCLI command
Opportunity.JobsSync
Read one registered job board (source and board), or every board of a source a page at a time (after), and replace what is stored for each; a saved answer in payload replays one board without the network. Only an enabled source is read, and a live read inside a board's wait answers fresh. Rows are Truth rows with no job text, contact or address. Runs as the OpportunitySweeper service or a runtime operator.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| source | required |
- Output keyopportunity.result
- Classificationreal
- POST /opportunities/jobs/syncHTTP route
- opportunity jobs-syncCLI command
Opportunity.List
Stored funding opportunities, filtered (status, agency, closing_within, kind, q), ordered and paged on the owner side.
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/listHTTP route
- opportunity listCLI command
Opportunity.LocalContractSources
The contract registers and solicitation feeds registered for an area, and which contract months are stored.
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/local-contracts/sourcesHTTP route
Opportunity.LocalContracts
Stored state, county and city contract awards counted for an area (in), a window (since, until) and phrases (q): vendors by stated value, departments, methods, size bands, terms ending soon and the newest awards.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| in | optional | |||
| dataset_id | optional | |||
| q | optional | |||
| since | optional | |||
| until | optional | |||
| top | optional | |||
| recent | optional | |||
| ending_days | optional | |||
| format | optional | |||
| source | optional | |||
| list_id | optional |
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/local-contractsHTTP route
Opportunity.LocalContractsSync
Read one registered contract register (dataset_id), or every one under an area (in), from its publisher a calendar month at a time (month, or the last months) and replace what is stored for those months. Rows are Truth rows, not graph records. Runs as the OpportunitySweeper service or a runtime operator.
- Output keyopportunity.result
- Classificationreal
- POST /opportunities/local-contracts/syncHTTP route
Opportunity.Match
Stored opportunities ranked for a profile (the caller's own by profile_id, or an inline unsaved profile): eligibility gates, then a weighted fit score with the reason for every factor.
- Output keyopportunity.result
- Classificationroute_handler
- POST /opportunities/matchHTTP route
Opportunity.Notify
One alert pass: per profile with alerts on, a digest of new matches at or above its threshold through Notification.Create (topic opportunity.match). Runs as the OpportunitySweeper service or a runtime operator; a sweep with notify: true runs it after storing.
- Output keyopportunity.result
- Classificationreal
- POST /opportunities/notifyHTTP route
Opportunity.ProfileDelete
Delete one of the verified caller's funding profiles.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| profile_id | required |
- Output keyopportunity.result
- Classificationreal
- POST /opportunities/profile/deleteHTTP route
Opportunity.ProfileGet
One of the verified caller's funding profiles; another account's reads as not found.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| profile_id | required |
- Output keyopportunity.result
- Classificationroute_handler
- POST /opportunities/profile/getHTTP route
Opportunity.ProfileSave
Create or edit the verified caller's funding profile: applicant type, keywords, agencies, categories, NAICS, certifications, minimum award and alert settings.
| Field | Type | Required | Description | Allowed |
|---|---|---|---|---|
| name | optional |
- Output keyopportunity.result
- Classificationreal
- POST /opportunities/profile/saveHTTP route
Opportunity.Profiles
The verified caller's own funding profiles.
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/profilesHTTP route
Opportunity.Sweep
Read listing pages from a source (live, or a saved response in payload mode), fold them into stored Opportunity records, fetch a bounded number of synopses for new or changed listings, and record one receipt. Runs as the OpportunitySweeper service or a runtime operator; the gateway runs it when CRE8_OPPORTUNITY_SWEEP_INTERVAL_S > 0.
- Output keyopportunity.result
- Classificationreal
- POST /opportunities/sweepHTTP route
- opportunity sweepCLI command
Opportunity.SweepAwards
Read past-award pages from one public ledger (source: usaspending, nih_reporter or nsf_awards; live, or saved pages in payload mode) for a scope (keywords, state, naics, assistance_listings, from/to, award_type grants|contracts), fold them into PastAward records, hand each to Business.Relate as funder -> recipient unless relate is false, and record one receipt with every response hash. Source usaspending_subawards reads the same scope's subawards and hands them to Business.Relate as prime -> sub, storing only the receipt. Runs as the OpportunitySweeper service or a runtime operator.
- Output keyopportunity.result
- Classificationreal
- POST /opportunities/awards/sweepHTTP route
- opportunity sweep-awardsCLI command
Opportunity.Sweeps
Recent sweep receipts, newest first: scope, per-page response hashes, counts, errors and why paging stopped.
- Output keyopportunity.result
- Classificationroute_handler
- GET /opportunities/sweepsHTTP route
CLI commands · 6
opportunity get
One opportunity with its synopsis
opportunity get {"opportunity_id":"grants_gov-362551"}opportunity jobs
Stored job postings from employers' public boards, newest first
opportunity jobs {"q":"engineer","in":"us-ny","remote":"hybrid"}opportunity jobs-sync
Read one employer's job board, or a source's boards a page at a time, into the store (operator)
opportunity jobs-sync {"source":"ashby","board":"neon"}opportunity list
Open grants and contracts, soonest deadline first
opportunity list {"q":"small business","closing_within":30}opportunity sweep
Read Grants.gov listings into the store (operator)
opportunity sweep {"keyword":"small business","max_pages":2,"detail_limit":10}opportunity sweep-awards
Read past awards from USAspending, NIH RePORTER or NSF into the store (operator)
opportunity sweep-awards {"source":"usaspending","state":"NC","assistance_listings":"47.084","max_pages":2}Schema and data model
Declared storage and kinds. Linked kinds open their app pages.
- Authorityhyper
- Preferred truthhyper
- App ownerOpportunity
- SQL projectionnone · DDL declarations: 0
- Opportunity
- OpportunityProfile
- OpportunitySweep
- PastAward
- Opportunity
- OpportunityProfile
- OpportunitySweep
- PastAward
- None declared.
- None declared.
- None declared.
- No model warnings were reported.
Capabilities and dependencies
- Protocol