Closed kd-ods closed 5 years ago
Doing this as a check for "any statementIDs" so an empty list is fine?
(The other option is that the componentStatementIDs key just should not exist at all, but you might get some software that writes out a empty list by default maybe)
That sounds fine. We may check for minItems in the schema later.
Ok?
Please rephrase to "An Ownership-or-control Statement cannot both be a component statement (isComponent) and have component statements (componentStatementIDs)."
Thanks!
Done
This has now been merged to master in cove and is just waiting for a deploy.
If oocStatement.componentStatementIDs contains any statementIDs, check that oocStatement.isComponent is ‘false’.