-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Forecasted Pipeline] Add forecast-specific fields to OpenAPI schema definition #874
Comments
@TylerHendrickson which field does |
@masimons Just recapping what we discussed in the meeting today:
|
1 similar comment
@masimons Just recapping what we discussed in the meeting today:
|
@TylerHendrickson Thanks for elaborating on this! I agree that While I was originally thinking that it might be nice to have a bit of historical data about estimations so that we could, at some point, get an idea of how "far off" the estimated dates are, your point about those fields eventually aligning would remove that ability. The more I think about this, the more I think that "re-using" current fields is the cleanest way to go. That being said, if an estimated grant is removed by grants.gov before the open date, then our system wouldn't know about it from what I understand, and we may erroneously treat it as active when the open date rolls around. Perhaps an edge case that won't ever happen, but, we can just use a different field for the estimated open date, which may be what you had in mind anyways. Looks like this is at least a possibility fwiw - dropping this link for future reference: https://apply07.grants.gov/help/html/help/index.htm#t=Grantors%2FDeleteGrantOpportunities.htm |
I think I agree; I'll update the proposal on this OP for this issue. Thanks for the feedback! (cc @joshgarza – I'll flag in a separate comment once I've made those changes to the ticket so you know this is ready for work.) |
Sprinkling some documentation assets around: |
@TylerHendrickson just wondering if you and josh were able to chat this week about how to model the estimated end date and open/post date for the forecasted grants? have we solidified that yet? |
@masimons Just a heads-up that the implementation plan for this ticket has been revised (should be for the last time). |
Blocked by
N/A
Blocks
Why is this issue important?
We want to ensure that published
GrantModificationEvent
s emitted by this service are well-defined for downstream consumers. Now that we are planning to include data about forecasted grant opportunities in these events, the OpenAPI schema definition should be updated to reflect the new data fields.Current State
Fields specific to forecasted grant opportunities are absent from the
openapi/openapi.yaml
file, which serves as the official spec for events published to AWS EventBridge by thePublishGrantEvents
Lambda function.Expected State
The OpenAPI schema includes definitions for the new fields. (See #330, along with usdigitalresponse/usdr-gost#3212 (comment) for more details) on the fields that need to be documented.
Implementation Plan
Update the
Grant
object type schema definition.While not set in stone (I'm certainly open to discussion), consider the following proposal for how to incorporate the new fields:
Grant
object schema:fiscal_year
string
type, withyear format
^\d{4}$
GrantorContact
object schema:name
string
typephone
string
typeOpportunityMilestones
object schema:award_date
string
type, withdate
formatproject_start_date
string
type, withdate
formatforecast_creation_date
string
type, withdate
formatRelevant Code Snippets
No response
The text was updated successfully, but these errors were encountered: