# ai.newnal.illi.family.phoneRoom

> Registry entry for a Private Phone room of this home, written by the ILLI Service Agent Node with the root admin's session after it created the room through the Messaging Node's Admin API: the home's group room or a direct room between a member and parent 1.

- Kind: record
- Record key: tid
- Authority: family.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.family.phoneRoom)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.phoneRoom/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.phoneRoom/analytics)

## Record (`ai.newnal.illi.family.phoneRoom`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `kind` (string, required)
  - Constraints: knownValues: direct | group
- `participants` (array, required): Matrix IDs of the participants at creation time.
  - `items` (string)
    - Constraints: maxLength: 255
- `roomId` (string, required): Matrix room ID.
  - Constraints: maxLength: 255

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Registry entry for a Private Phone room of this home, written by the ILLI Service Agent Node with the root admin's session after it created the room through the Messaging Node's Admin API: the home's group room or a direct room between a member and parent 1.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "knownValues": [
              "direct",
              "group"
            ],
            "type": "string"
          },
          "participants": {
            "description": "Matrix IDs of the participants at creation time.",
            "items": {
              "maxLength": 255,
              "type": "string"
            },
            "type": "array"
          },
          "roomId": {
            "description": "Matrix room ID.",
            "maxLength": 255,
            "type": "string"
          }
        },
        "required": [
          "kind",
          "roomId",
          "participants",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.family.phoneRoom",
  "lexicon": 1
}
```
