# net.anisota.graph.mute

> A record for muting content from a specific account with fine-grained control over content types and duration

- Kind: record
- Record key: tid
- Authority: graph.anisota.net
- Lexicon: 1
- Published by [anisota.net](https://lexicon.garden/identity/did:plc:lcieujcfkv4jx7gehsvok3pr), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:lcieujcfkv4jx7gehsvok3pr/net.anisota.graph.mute)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:lcieujcfkv4jx7gehsvok3pr/net.anisota.graph.mute/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:lcieujcfkv4jx7gehsvok3pr/net.anisota.graph.mute/analytics)

## Record (`net.anisota.graph.mute`)

Type: record · key tid

### Properties

- `contentTypes` (ref): Types of content to mute from this account
  - Reference: `#contentTypes`
- `createdAt` (string · datetime, required): When the mute was created
- `expiresAt` (string · datetime): When this mute expires. If not set, mute is permanent
- `reason` (string): Optional reason for muting this account
  - Constraints: maxLength: 300
- `subject` (string · did, required): DID of the account to mute
- `targetFeeds` (array): Specific feeds where this mute should apply: feed generator / list at-uris, or the literal sentinel 'following' for the home timeline (which has no at-uri). Empty or absent applies everywhere. Matches net.anisota.graph.wordlist#targetFeeds.
  - Constraints: maxLength: 50
  - `items` (string)
    - Constraints: maxLength: 512

## #contentTypes (`net.anisota.graph.mute#contentTypes`)

Type: object

Configuration for which types of content to mute

### Properties

- `posts` (boolean): Mute regular posts from this account
  - Constraints: default: true
- `quotes` (boolean): Mute quote posts from this account
  - Constraints: default: true
- `replies` (boolean): Mute replies from this account
  - Constraints: default: true
- `reposts` (boolean): Mute reposts from this account
  - Constraints: default: true

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "contentTypes": {
      "description": "Configuration for which types of content to mute",
      "properties": {
        "posts": {
          "default": true,
          "description": "Mute regular posts from this account",
          "type": "boolean"
        },
        "quotes": {
          "default": true,
          "description": "Mute quote posts from this account",
          "type": "boolean"
        },
        "replies": {
          "default": true,
          "description": "Mute replies from this account",
          "type": "boolean"
        },
        "reposts": {
          "default": true,
          "description": "Mute reposts from this account",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "A record for muting content from a specific account with fine-grained control over content types and duration",
      "key": "tid",
      "record": {
        "properties": {
          "contentTypes": {
            "description": "Types of content to mute from this account",
            "ref": "#contentTypes",
            "type": "ref"
          },
          "createdAt": {
            "description": "When the mute was created",
            "format": "datetime",
            "type": "string"
          },
          "expiresAt": {
            "description": "When this mute expires. If not set, mute is permanent",
            "format": "datetime",
            "type": "string"
          },
          "reason": {
            "description": "Optional reason for muting this account",
            "maxLength": 300,
            "type": "string"
          },
          "subject": {
            "description": "DID of the account to mute",
            "format": "did",
            "type": "string"
          },
          "targetFeeds": {
            "description": "Specific feeds where this mute should apply: feed generator / list at-uris, or the literal sentinel 'following' for the home timeline (which has no at-uri). Empty or absent applies everywhere. Matches net.anisota.graph.wordlist#targetFeeds.",
            "items": {
              "maxLength": 512,
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          }
        },
        "required": [
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "net.anisota.graph.mute",
  "lexicon": 1
}
```
