# town.delve.feed.postgate

> Published by [delve.town](https://lexicon.garden/identity/did:plc:qzqct2rrq4u2gmy5g3mjxske)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.feed.postgate)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.feed.postgate/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qzqct2rrq4u2gmy5g3mjxske/town.delve.feed.postgate/examples)

## Definitions

### `town.delve.feed.postgate#disableRule`

**Type**: `object`

Disables embedding of this post.

| Property | Type | Required | Description |
|----------|------|----------|-------------|

### `town.delve.feed.postgate`

**Type**: `record`

Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `detachedEmbeddingUris` | `array` | No | List of AT-URIs embedding this post that the author has detached from. |
| `embeddingRules` | `array` | No | List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed. |
| `post` | `string` (at-uri) | Yes | Reference (AT-URI) to the post record. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "disableRule": {
      "description": "Disables embedding of this post.",
      "properties": {},
      "type": "object"
    },
    "main": {
      "description": "Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "detachedEmbeddingUris": {
            "description": "List of AT-URIs embedding this post that the author has detached from.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "embeddingRules": {
            "description": "List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed.",
            "items": {
              "refs": [
                "#disableRule"
              ],
              "type": "union"
            },
            "maxLength": 5,
            "type": "array"
          },
          "post": {
            "description": "Reference (AT-URI) to the post record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "post",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "town.delve.feed.postgate",
  "lexicon": 1
}
```
