{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"us-grant.schema.json","title":"US federal grant opportunity (Grants.gov)","type":"object","required":["id","opportunity_number","title","agency_code","agency_name","assistance_listings","funding_instruments","categories","category_explanation","opportunity_category","eligibility","eligibility_codes","eligibility_details","status","posted_date","close_date","close_date_explanation","estimated_post_date","estimated_close_date","estimated_award_date","fiscal_year","last_updated","archive_date","award_ceiling","award_floor","estimated_total_funding","expected_awards","cost_sharing","summary","more_info_url","opportunity_url","verification","paid_placement","source_id","source_url","retrieved_at"],"additionalProperties":false,"properties":{"id":{"type":"string","description":"Grants.gov opportunity id"},"opportunity_number":{"type":"string","description":"Funding opportunity number assigned by the agency"},"title":{"type":"string"},"agency_code":{"type":["string","null"],"description":"Grants.gov agency code, for example HHS-NIH11 or NSF"},"agency_name":{"type":["string","null"]},"assistance_listings":{"type":"array","items":{"type":"string"},"description":"Assistance Listing (CFDA) numbers, for example 93.837"},"funding_instruments":{"type":"array","items":{"type":"string"},"description":"Grant, Cooperative Agreement, Procurement Contract or Other"},"categories":{"type":"array","items":{"type":"string"},"description":"Category of funding activity, for example Health or Education"},"category_explanation":{"type":["string","null"]},"opportunity_category":{"type":["string","null"],"description":"Discretionary, Mandatory, Continuation, Earmark or Other"},"eligibility":{"type":"array","items":{"type":"string"},"description":"Eligible applicant types"},"eligibility_codes":{"type":"array","items":{"type":"string"},"description":"Grants.gov eligible applicant codes, for example 23 (small businesses)"},"eligibility_details":{"type":["string","null"],"description":"Additional information on eligibility","maxLength":400},"status":{"enum":["forecasted","posted"]},"posted_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"description":"Date the forecast or synopsis was posted"},"close_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"description":"Application close date of a posted opportunity; null for rolling deadlines and forecasts"},"close_date_explanation":{"type":["string","null"]},"estimated_post_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"description":"Forecasts: estimated synopsis post date"},"estimated_close_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"description":"Forecasts: estimated application close date"},"estimated_award_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}],"description":"Forecasts: estimated award date"},"fiscal_year":{"type":["integer","null"]},"last_updated":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"archive_date":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"award_ceiling":{"type":["number","null"],"minimum":0,"description":"USD"},"award_floor":{"type":["number","null"],"minimum":0,"description":"USD"},"estimated_total_funding":{"type":["number","null"],"minimum":0,"description":"Estimated total programme funding, USD"},"expected_awards":{"type":["integer","null"],"minimum":0},"cost_sharing":{"type":["boolean","null"],"description":"Cost sharing or matching requirement"},"summary":{"type":["string","null"],"description":"Short description; contact details removed","maxLength":600},"more_info_url":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"opportunity_url":{"type":"string","format":"uri"},"verification":{"enum":["official-publication"]},"paid_placement":{"const":false},"source_id":{"type":"string"},"source_url":{"type":"string","format":"uri"},"retrieved_at":{"type":"string","format":"date-time"}}}