Closed kd-ods closed 5 years ago
To expand the definition a bit to be clear about primary ooc:
If an entity, person or ooc statement has isComponent value ‘true’ check that there is another ooc Statement with isComponent value ‘false’ which references it (by statementID) from the componentStatementIDs property.
And to add part 2 from https://github.com/openownership/lib-cove-bods/issues/24
If an entity, person or ooc statement has isComponent value ‘true’ check that there is another ooc Statement later in the document with isComponent value ‘false’ which references it (by statementID) from the componentStatementIDs property.
Yes. We think it's more informative to keep #23 and #24 as separate checks.
Ok?
Not sure if we should cover the "primary" check in there somewhere?
Please rephrase to "This Ownership-or-control Statement is a component (isComponent) but no primary Ownership-or-control Statement references it (from componentStatementIDs)".
Done
This has now been merged to master in cove and is just waiting for a deploy.
If an entity, person or ooc statement has isComponent value ‘true’ check that there is a primary ooc Statement which references it (by statementID) from the primary’s componentStatementIDs property.