LinkedIn · Schema

ComplianceEvent

ComplianceEvent from LinkedIn API

BusinessCareersMarketingProfessional NetworkingRecruitingSocial MediaFortune 1000

Properties

Name Type Description
id string Unique identifier for the compliance event
capturedAt integer Timestamp when the event was captured
processedAt integer Timestamp when the event was processed
configVersion string Configuration version
owner object
actor object
resourceName string Name of the resource
resourceId string Identifier of the resource
resourceUri string URI of the resource
method string Action method performed
activity object Activity details
processedActivity object Processed activity details
siblingActivities array Related sibling activities
parentActivity object Parent activity if applicable
parentSiblingActivities array Parent sibling activities
View JSON Schema on GitHub

JSON Schema

linkedin-compliance-events-compliance-event-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/linkedin/refs/heads/main/json-schema/linkedin-compliance-events-compliance-event-schema.json",
  "title": "ComplianceEvent",
  "description": "ComplianceEvent from LinkedIn API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the compliance event",
      "example": "evt_123456789"
    },
    "capturedAt": {
      "type": "integer",
      "format": "int64",
      "description": "Timestamp when the event was captured",
      "example": 1640000000000
    },
    "processedAt": {
      "type": "integer",
      "format": "int64",
      "description": "Timestamp when the event was processed",
      "example": 1640000001000
    },
    "configVersion": {
      "type": "string",
      "description": "Configuration version",
      "example": "1.0"
    },
    "owner": {
      "$ref": "#/components/schemas/MemberProfile"
    },
    "actor": {
      "$ref": "#/components/schemas/MemberProfile"
    },
    "resourceName": {
      "type": "string",
      "description": "Name of the resource",
      "example": "MESSAGE"
    },
    "resourceId": {
      "type": "string",
      "description": "Identifier of the resource",
      "example": "res_987654321"
    },
    "resourceUri": {
      "type": "string",
      "description": "URI of the resource",
      "example": "urn:li:message:987654321"
    },
    "method": {
      "type": "string",
      "enum": [
        "CREATE",
        "UPDATE",
        "DELETE"
      ],
      "description": "Action method performed",
      "example": "CREATE"
    },
    "activity": {
      "type": "object",
      "description": "Activity details",
      "additionalProperties": true
    },
    "processedActivity": {
      "type": "object",
      "description": "Processed activity details",
      "additionalProperties": true
    },
    "siblingActivities": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Related sibling activities"
    },
    "parentActivity": {
      "type": "object",
      "description": "Parent activity if applicable",
      "additionalProperties": true
    },
    "parentSiblingActivities": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Parent sibling activities"
    }
  },
  "required": [
    "id",
    "capturedAt",
    "resourceName",
    "method"
  ]
}