ThreeSixtyGiving / standard

The 360Giving data standard for UK philanthropic giving
http://www.threesixtygiving.org
Other
10 stars 15 forks source link

toIndividualDetails - Number of reasons #350

Open michaelwood opened 1 year ago

michaelwood commented 1 year ago

In the toIndividualDetails object it's allowed that a secondaryGrantReason can be specified without a primaryGrantReason. This requires a special case in the code when we're processing the data as we can't rely on the fact that if there is no secondaryGrantReason if primaryGrantReason is unspecified.

A possible improvement to this would be an array of grantToIndividualsReasons which has an allowed number of entries from 0-2 (or inf if so desired).