openownership / lib-cove-bods

Check that your data complies with the Beneficial Ownership Data Standard (BODS) using our install our data review library to analyse files via your command line interface
https://datareview.openownership.org/
Other
1 stars 0 forks source link

Additional check: Only one interestedParty should be present in an OOC statement #91

Open Blueskies00 opened 2 years ago

Blueskies00 commented 2 years ago

Check: Within a single OOC statement, if interestedParty has a value for either describedByEntityStatement OR describedByPersonStatement OR unspecified (no priority) then the other two MUST be blank.

Error message: "There can be only one interested party per ownership or control statement."

rhiaro commented 1 year ago

I've assigned myself because this can be solved at the JSON schema validation level, so I'll work on it as part of the changes to 0.4.0