AckdbCompanyRelationship

One explicit child-to-parent episode between distinct company entities. Multiple parents, multiple children, and cycles are valid.

Properties

relationshipIdstringrequired
classstringrequired
childCompanyAckdbCompanyGraphCompanyrequired
parentCompanyAckdbCompanyGraphCompanyrequired
relationshipTypestringrequired
childToParentLabelstringrequired
parentToChildLabelstringrequired
statestringrequired
"active""ended""retracted"
effectiveFromstring <date-time>required
effectiveTostring <date-time> (nullable)required
retractedAtstring <date-time> (nullable)required
createdBystring (nullable)required
endedBystring (nullable)required
endedReasonstring (nullable)required
retractedBystring (nullable)required
retractedReasonstring (nullable)required
createdEventIdstring (nullable)required
endedEventIdstring (nullable)required
retractedEventIdstring (nullable)required
createdAtstring <date-time>required
updatedAtstring <date-time>required

Example

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"
}