AckdbCompanyRelationship
One explicit child-to-parent episode between distinct company entities. Multiple parents, multiple children, and cycles are valid.
Properties
relationshipIdstringrequiredclassstringrequiredrelationshipTypestringrequiredchildToParentLabelstringrequiredparentToChildLabelstringrequiredstatestringrequired"active""ended""retracted"effectiveFromstring <date-time>requiredeffectiveTostring <date-time> (nullable)requiredretractedAtstring <date-time> (nullable)requiredcreatedBystring (nullable)requiredendedBystring (nullable)requiredendedReasonstring (nullable)requiredretractedBystring (nullable)requiredretractedReasonstring (nullable)requiredcreatedEventIdstring (nullable)requiredendedEventIdstring (nullable)requiredretractedEventIdstring (nullable)requiredcreatedAtstring <date-time>requiredupdatedAtstring <date-time>requiredExample
AckdbCompanyRelationship example
{
"relationshipId": "string",
"class": "string",
"childCompany": {
"entityId": "string",
"name": "string",
"domain": "string",
"status": "string",
"graphOnly": false
},
"parentCompany": {
"$ref": "See AckdbCompanyGraphCompany"
},
"relationshipType": "string",
"childToParentLabel": "string",
"parentToChildLabel": "string",
"state": "active",
"effectiveFrom": "1970-01-01T00:00:00.000Z",
"effectiveTo": "1970-01-01T00:00:00.000Z",
"retractedAt": "1970-01-01T00:00:00.000Z",
"provenance": {
"source": "string",
"workflow": "string",
"externalRecordId": "string",
"evidenceUrl": "https://example.com",
"observedAt": "1970-01-01T00:00:00.000Z",
"metadata": {}
},
"createdBy": "string",
"endedBy": "string",
"endedReason": "string",
"retractedBy": "string",
"retractedReason": "string",
"createdEventId": "string",
"endedEventId": "string",
"retractedEventId": "string",
"createdAt": "1970-01-01T00:00:00.000Z",
"updatedAt": "1970-01-01T00:00:00.000Z"
}