Algolia - Choose a Data Structure
Closed this issue · 1 comments
chadokruse commented
Use existing IRS schema, a custom/modified schema, or existing industry standard (e.g. hGrant, IATI, 360Giving)?
Background
Tim Davies
chadokruse commented
Based on community feedback, we're going to keep the data structure as simple as possible and as close to the IRS schema as possible. We're open to changing this in the future as new standards develop and new feedback received.
The data strucutre will be as follows:
{
"objectID": "521798711_2015_0"
"ein": "521798711",
"organization_name": "KAHLERT FOUNDATION INC",
"city": "Sykesville",
"state": "MD",
"grant_amount": 250000,
"grant_purpose": "PRIMARY HEALTHCARE FOR UNINSURED, LOW-INCOME RESIDENTS OF CARROLL COUNTY.",
"grantee_name": "ACCESS CARROLL INC",
"grantee_city": "Westminster",
"grantee_state": "MD",
"tax_year": 2015,
"grant_number": 4,
}
Notes:
- Algolia objectIDs are in the form of
[ein]_[tax_year]_[index in grants array]