IATI 2.03 and data validation

Hey guys! I’m a new guy here (I’m a Python developer), I’m working with IATI data (I’m building some custom data validation tools) and I have a question about IATI datasets and their validation.

Could anyone point me to a single Dataset which would be fully compliant with IATI v. 2.03 (or at least 2.02) and which would be clean and valid (based on 2.03 rules)? I believe that in the whole registry there should he at least 1 file which should be valid. I checked 5 files in a row, manually compared them with 2.03 rules and the files are far from valid.

Unfortunately when you run the file through http://validator.iatistandard.org/, it gives no error messages. Why it’s not working is a separate question. But what I want to find is at least a single file which would help me to start building working validation tools for the datasets. Is there one ?

thanks and cheers,
Eimantas

1 Like

Dear Eimis,

I doubt you will find any publisher that publishes every single possible element out there by which you can check all the validation but I am happy to point out that IOM’s data does pass the public validator with no error message. We declare that we publish in 2.02 but are fully compliant with 2.03 as well. We will make the switch later this year. And I’m also happy to answer questions about our data if you have any.

Kind Regards,
Michelle Consultant – IATI Project Manager
International Organization for Migration (IOM)
Geneva – Switzerland (GMT +1)
Office: +41-(0)22 717 94 83
Mobile: +41 (0)78 647 31 86
Email/Skype: mylevesque@iom.int

Welcome!

We’ve been working with @AnnaPe at Comic Relief, outputting 2.03 data: https://iatiregistry.org/publisher/cprojects

Testing one of their files on the IATI Validator gives positive results

@Eimis you mention “rules”. The IATI Validator only (afaik) tests data at the “schema level” - there are a set of rules in the standard that are not enforced by the schema.

(and indeed, some of these rules are still subject to discussion --> @YohannaLoucheur @Herman )

With the CoVE tool we maintain at Open Data Services, we have formatted the IATI ruleset into machine-readable ones. Hence, if I test the same Comic data file, it seems that these PASS the rulesets.

I believe @andylolz also has the rules in place via Publish What You Fund tools, and maybe @rolfkleef has something …

Caution - PASSING the rules 100% might not - imho - be fully achievable. There are quite a few logics and conditions that, in some cases, might not be practical or entirely possible for all publishers to achieve.

1 Like

Thanks for your help Michelle and Steven! I’m a bit late with the reply, but regarding public IATI validator - unfortunately I can see that it is not wise to rely on it at all I’m afraid. For example, if you pass in XML Activities file which doesn’t have any “recipient-country” or “recipient-region” element (on both Activity level and transactions level), IATI’s validator says everything’s OK. And for me personally it does not make any sense at all, because I think it’s quite far from OK :slight_smile: But anyway, I ended up building my own XML file based on
Netherlands Ministry of Foreign Affairs files, because they had the least amount of errors! :slight_smile: