Skip to content
1 viewer
View

Opportunity reference

3 pages, 18 routes, 18 connections and 6 CLI commands, generated from the declarations of Opportunity without reading storage or running anything.

AboutCode

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

Declared views
PageView idRoleRouteOrderParentEntityNavigation
Funding opportunityopportunity.detaildetail/view/opportunity/{opportunity_id}0opportunity.listOpportunityhidden
Listopportunity.listlist/view/opportunity/list0Opportunityin navigation
Funding profileopportunity.profiledetail/view/opportunity/profile/{profile_id}0opportunity.profilesOpportunityProfilehidden
Edit funding profileopportunity.profile.editeditor/view/opportunity/profile/{profile_id}/edit0opportunity.profileOpportunityProfilehidden
New funding profileopportunity.profile.neweditor/view/opportunity/profiles/create0opportunity.profilesOpportunityProfilehidden
Dashboardopportunity.contractsdashboard/view/opportunity/contracts10in navigation
Funding profilesopportunity.profileslist/view/opportunity/profiles30OpportunityProfilein navigation
7 rows

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.

Calls and output
  • 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).

Opportunity.Get input
FieldTypeRequiredDescriptionAllowed
opportunity_idrequired
1 row
Calls and output

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.

Calls and output
  • 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.

Opportunity.Jobs input
FieldTypeRequiredDescriptionAllowed
qoptional
inoptional
remoteoptional
typeoptional
salary_minoptional
currencyoptional
sourceoptional
boardoptional
employeroptional
limitoptional
10 rows
Calls and output

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.

Opportunity.JobsSync input
FieldTypeRequiredDescriptionAllowed
sourcerequired
1 row
Calls and output

Opportunity.List

Stored funding opportunities, filtered (status, agency, closing_within, kind, q), ordered and paged on the owner side.

Calls and output

Opportunity.LocalContractSources

The contract registers and solicitation feeds registered for an area, and which contract months are stored.

Calls and output
  • 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.

Opportunity.LocalContracts input
FieldTypeRequiredDescriptionAllowed
inoptional
dataset_idoptional
qoptional
sinceoptional
untiloptional
topoptional
recentoptional
ending_daysoptional
formatoptional
sourceoptional
list_idoptional
11 rows
Calls and output
  • 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.

Calls and output
  • 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.

Calls and output
  • 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.

Calls and output
  • Output keyopportunity.result
  • Classificationreal
  • POST /opportunities/notifyHTTP route

Opportunity.ProfileDelete

Delete one of the verified caller's funding profiles.

Opportunity.ProfileDelete input
FieldTypeRequiredDescriptionAllowed
profile_idrequired
1 row
Calls and output
  • 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.

Opportunity.ProfileGet input
FieldTypeRequiredDescriptionAllowed
profile_idrequired
1 row
Calls and output
  • 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.

Opportunity.ProfileSave input
FieldTypeRequiredDescriptionAllowed
nameoptional
1 row
Calls and output
  • Output keyopportunity.result
  • Classificationreal
  • POST /opportunities/profile/saveHTTP route

Opportunity.Profiles

The verified caller's own funding profiles.

Calls and output
  • 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.

Calls and output

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.

Calls and output

Opportunity.Sweeps

Recent sweep receipts, newest first: scope, per-page response hashes, counts, errors and why paging stopped.

Calls and output
  • 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.

Declared storage
Hyper vertex kinds read
Hyper vertex kinds written
Hyper edge kinds written
  • None declared.
Asset namespaces read
  • None declared.
Asset namespaces minted
  • None declared.
Model warnings
  • No model warnings were reported.

Capabilities and dependencies

Depends on
  • Protocol

Structure review · 1

Warnings · 1