# chat.bsky.group.defs

> Published by [bsky-lexicons.bsky.social](https://lexicon.garden/identity/did:plc:4v4y5r3lwsbtmsxhile2ljac)

✓ This is the authoritative definition for this NSID.

## Description

[NOTE: This is under active development and should be considered unstable while this note is here].

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.group.defs)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.group.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4v4y5r3lwsbtmsxhile2ljac/chat.bsky.group.defs/examples)

## Definitions

### `chat.bsky.group.defs#joinRule`

**Type**: `string`

**Known Values**:
- `anyone`
- `followedByOwner`

### `chat.bsky.group.defs#joinLinkView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `code` | `string` | Yes |  |
| `joinRule` | `ref` → `#joinRule` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `enabledStatus` | `ref` → `#linkEnabledStatus` | Yes |  |
| `requireApproval` | `boolean` | Yes |  |

### `chat.bsky.group.defs#groupPublicView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes |  |
| `owner` | `ref` → `chat.bsky.actor.defs#profileViewBasic` | Yes |  |
| `memberCount` | `integer` | Yes |  |
| `requireApproval` | `boolean` | Yes |  |

### `chat.bsky.group.defs#joinRequestView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `convoId` | `string` | Yes |  |
| `requestedAt` | `string` (datetime) | Yes |  |
| `requestedBy` | `ref` → `chat.bsky.actor.defs#profileViewBasic` | Yes |  |

### `chat.bsky.group.defs#linkEnabledStatus`

**Type**: `string`

**Known Values**:
- `enabled`
- `disabled`

## Raw Schema

```json
{
  "id": "chat.bsky.group.defs",
  "defs": {
    "joinRule": {
      "type": "string",
      "knownValues": [
        "anyone",
        "followedByOwner"
      ]
    },
    "joinLinkView": {
      "type": "object",
      "required": [
        "code",
        "enabledStatus",
        "requireApproval",
        "joinRule",
        "createdAt"
      ],
      "properties": {
        "code": {
          "type": "string"
        },
        "joinRule": {
          "ref": "#joinRule",
          "type": "ref"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        },
        "enabledStatus": {
          "ref": "#linkEnabledStatus",
          "type": "ref"
        },
        "requireApproval": {
          "type": "boolean"
        }
      }
    },
    "groupPublicView": {
      "type": "object",
      "required": [
        "name",
        "owner",
        "memberCount",
        "requireApproval"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "owner": {
          "ref": "chat.bsky.actor.defs#profileViewBasic",
          "type": "ref"
        },
        "memberCount": {
          "type": "integer"
        },
        "requireApproval": {
          "type": "boolean"
        }
      }
    },
    "joinRequestView": {
      "type": "object",
      "required": [
        "convoId",
        "requestedBy",
        "requestedAt"
      ],
      "properties": {
        "convoId": {
          "type": "string"
        },
        "requestedAt": {
          "type": "string",
          "format": "datetime"
        },
        "requestedBy": {
          "ref": "chat.bsky.actor.defs#profileViewBasic",
          "type": "ref"
        }
      }
    },
    "linkEnabledStatus": {
      "type": "string",
      "knownValues": [
        "enabled",
        "disabled"
      ]
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "[NOTE: This is under active development and should be considered unstable while this note is here]."
}
```
