# ooo.bsky.hidden.gate

> Published by [bsky.ooo](https://lexicon.garden/identity/did:web:bsky.ooo)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:bsky.ooo/ooo.bsky.hidden.gate)
- [Documentation](https://lexicon.garden/lexicon/did:web:bsky.ooo/ooo.bsky.hidden.gate/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:bsky.ooo/ooo.bsky.hidden.gate/examples)

## Definitions

### `ooo.bsky.hidden.gate`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `allow` | `array` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |

### `ooo.bsky.hidden.gate#pdsRule`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `pds` | `string` (uri) | Yes |  |

### `ooo.bsky.hidden.gate#listRule`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `list` | `string` (at-uri) | Yes |  |

### `ooo.bsky.hidden.gate#actorRule`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | Yes |  |

### `ooo.bsky.hidden.gate#customRule`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `rule` | `unknown` | Yes |  |

### `ooo.bsky.hidden.gate#mutualsRule`

**Type**: `object`

### `ooo.bsky.hidden.gate#everyoneRule`

**Type**: `object`

### `ooo.bsky.hidden.gate#authorFollowsRule`

**Type**: `object`

### `ooo.bsky.hidden.gate#followingAuthorRule`

**Type**: `object`

## Raw Schema

```json
{
  "id": "ooo.bsky.hidden.gate",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "allow",
          "createdAt"
        ],
        "properties": {
          "allow": {
            "type": "array",
            "items": {
              "refs": [
                "#everyoneRule",
                "#authorFollowsRule",
                "#followingAuthorRule",
                "#mutualsRule",
                "#listRule",
                "#actorRule",
                "#pdsRule",
                "#customRule"
              ],
              "type": "union"
            },
            "maxLength": 5
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    },
    "pdsRule": {
      "type": "object",
      "required": [
        "pds"
      ],
      "properties": {
        "pds": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "listRule": {
      "type": "object",
      "required": [
        "list"
      ],
      "properties": {
        "list": {
          "type": "string",
          "format": "at-uri"
        }
      }
    },
    "actorRule": {
      "type": "object",
      "required": [
        "actor"
      ],
      "properties": {
        "actor": {
          "type": "string",
          "format": "at-identifier"
        }
      }
    },
    "customRule": {
      "type": "object",
      "required": [
        "rule"
      ],
      "properties": {
        "rule": {
          "type": "unknown"
        }
      }
    },
    "mutualsRule": {
      "type": "object"
    },
    "everyoneRule": {
      "type": "object"
    },
    "authorFollowsRule": {
      "type": "object"
    },
    "followingAuthorRule": {
      "type": "object"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
