# ai.newnal.illi.service.home

> 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.service.home)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.service.home/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uztm7bi2ce42dez3uu3qafro/ai.newnal.illi.service.home/examples)

## Definitions

### `ai.newnal.illi.service.home`

**Type**: `record`

One home: a device and the family around it. The rkey is the homeId, which is also the family sphere's skey.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `device` | `string` | No | Serial of the bound device, if any. |
| `name` | `string` | Yes |  |
| `rootAdmin` | `string` (did) | Yes |  |
| `sphere` | `string` (space-ref) | Yes | URI of the family sphere. |
| `status` | `string` | Yes |  |
| `updatedAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One home: a device and the family around it. The rkey is the homeId, which is also the family sphere's skey.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "device": {
            "description": "Serial of the bound device, if any.",
            "maxLength": 32,
            "type": "string"
          },
          "name": {
            "maxGraphemes": 40,
            "maxLength": 400,
            "type": "string"
          },
          "rootAdmin": {
            "format": "did",
            "type": "string"
          },
          "sphere": {
            "description": "URI of the family sphere.",
            "format": "space-ref",
            "type": "string"
          },
          "status": {
            "knownValues": [
              "active",
              "deleted"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "name",
          "sphere",
          "rootAdmin",
          "status",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.service.home",
  "lexicon": 1
}
```
