# ai.newnal.illi.family.phoneRoom

> Published by [illi-service.newnal.id](https://lexicon.garden/identity/did:plc:uztm7bi2ce42dez3uu3qafro)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.phoneRoom)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.phoneRoom/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.family.phoneRoom/examples)

## Definitions

### `ai.newnal.illi.family.phoneRoom`

**Type**: `record`

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

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `kind` | `string` | Yes |  |
| `participants` | `array` | Yes | Matrix IDs of the participants at creation time. |
| `roomId` | `string` | Yes | Matrix room ID. |

## Raw 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 Node with the root admin's session after it created the room through the Messaging Node's Admin API (D-50): 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
}
```
