@kairosis/events-core
import { Badge } from ‘@astrojs/starlight/components’;
npm install @kairosis/events-coreSchemas
Section titled “Schemas”ActorSchema
Section titled “ActorSchema”| Field | Type | Required | Default |
|---|---|---|---|
id | string | Yes | — |
displayName | string | No | — |
email | string (email) | No | — |
SubjectSchema
Section titled “SubjectSchema”| Field | Type | Required | Default |
|---|---|---|---|
id | string | Yes | — |
displayName | string | No | — |
url | string (URL) | No | — |
ClaimCheckSchema
Section titled “ClaimCheckSchema”| Field | Type | Required | Default |
|---|---|---|---|
objectKey | string | Yes | — |
url | string (URL) | Yes | — |
expiresAt | string (ISO 8601) | Yes | — |
NormalizedEventSchema
Section titled “NormalizedEventSchema”| Field | Type | Required | Default |
|---|---|---|---|
id | string (UUID) | Yes | — |
workspaceId | string (UUID) | Yes | — |
connectorId | string | Yes | — |
occurredAt | string (ISO 8601) | Yes | — |
ingestedAt | string (ISO 8601) | Yes | — |
actor | Actor | No | — |
subject | Subject | No | — |
payload | Record\<string, unknown\> | Yes | — |
raw | unknown | No | — |
version | string | No | '1' |
claimCheck | ClaimCheck | No | — |