# ai.newnal.illi.events.defs

- Kind: defs
- Authority: events.illi.newnal.ai
- Lexicon: 1
- Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.events.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.events.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.events.defs/analytics)

## #event (`ai.newnal.illi.events.defs#event`)

Type: object

### Properties

- `createdAt` (string · datetime, required)
- `id` (integer, required)
- `payload` (unknown)
- `type` (string, required)
  - Constraints: knownValues: changed | memberJoined | memberRemoved | roleChanged | parentCreationRequested | phoneIdentity | phoneRoom | credentialEnvelope | custodyReceipt | custodyKeyChanged | syncPaused | syncResumed | artworkDelivery | deviceOffline | scheduleChanged

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "event": {
      "properties": {
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "id": {
          "type": "integer"
        },
        "payload": {
          "type": "unknown"
        },
        "type": {
          "knownValues": [
            "changed",
            "memberJoined",
            "memberRemoved",
            "roleChanged",
            "parentCreationRequested",
            "phoneIdentity",
            "phoneRoom",
            "credentialEnvelope",
            "custodyReceipt",
            "custodyKeyChanged",
            "syncPaused",
            "syncResumed",
            "artworkDelivery",
            "deviceOffline",
            "scheduleChanged"
          ],
          "type": "string"
        }
      },
      "required": [
        "id",
        "type",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "ai.newnal.illi.events.defs",
  "lexicon": 1
}
```
