# tech.tokimeki.kaku.roomGate

> Published by [tokimeki.blue](https://lexicon.garden/identity/did:plc:4tr5dqti7nmu6g2czpthntak)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.kaku.roomGate)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.kaku.roomGate/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4tr5dqti7nmu6g2czpthntak/tech.tokimeki.kaku.roomGate/examples)

## Definitions

### `tech.tokimeki.kaku.roomGate`

**Type**: `record`

Gate settings for a ROOM post (like threadgate)

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `room` | `ref` → `com.atproto.repo.strongRef` | Yes | Reference to the ROOM post |
| `isClosed` | `boolean` | No | Whether the room is closed for new replies |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the gate was created |

## Raw Schema

```json
{
  "id": "tech.tokimeki.kaku.roomGate",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "room",
          "createdAt"
        ],
        "properties": {
          "room": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to the ROOM post"
          },
          "isClosed": {
            "type": "boolean",
            "default": false,
            "description": "Whether the room is closed for new replies"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the gate was created"
          }
        }
      },
      "description": "Gate settings for a ROOM post (like threadgate)"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
