IATI JSON Template

Perhaps this is an easy question but has IATI come up with a recommended JSON format for IATI data?

I’m not a JSON expert and I was just consulting a previous topic and I noticed different recommendations on how to format data (IATI XML to JSON converter?).

I’m looking for a best practices style template fully documenting an aid activity file containing multiple activities, and I’m especially curious how hyphens and codelists should be treated?

Application-wise, I’m experimenting with nesting IATI data within a blockchain transaction between a previous-hash, timestamp and a current-hash. I’m curious how the IATI and non-IATI data should/could look in JSON.

I’m aware of two main JSON outputs available right now of IATI data.

(1) The IATI Datastore will provide JSON if given the JSON extension -
e,g. http://datastore.iatistandard.org/api/1/access/activity.json

(2) OIPA provides JSON as it’s default format: https://oipa.nl/api/activities/?format=json

I’m not sure how these JSON renderings compare, and whether there are differences between them - though that would be interesting to analyse.

1 Like

I’ll give them a closer look, thanks.