# social.grain.graph.defs

- Kind: defs
- Authority: graph.grain.social
- Lexicon: 1
- Published by [grain.social](https://lexicon.garden/identity/did:plc:e7rftrdyz5e2rw4y6ocszew2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.graph.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.graph.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.graph.defs/analytics)

## #blockItem (`social.grain.graph.defs#blockItem`)

Type: object

### Properties

- `avatar` (string)
- `blockUri` (string · at-uri, required)
- `did` (string · did, required)
- `displayName` (string)
- `handle` (string)

## #followerItem (`social.grain.graph.defs#followerItem`)

Type: object

### Properties

- `avatar` (string)
- `description` (string)
- `did` (string · did, required)
- `displayName` (string)
- `handle` (string)
- `viewer` (ref)
  - Reference: `#viewerState`

## #followingItem (`social.grain.graph.defs#followingItem`)

Type: object

### Properties

- `avatar` (string)
- `description` (string)
- `did` (string · did, required)
- `displayName` (string)
- `handle` (string)
- `viewer` (ref)
  - Reference: `#viewerState`

## #knownFollowerItem (`social.grain.graph.defs#knownFollowerItem`)

Type: object

### Properties

- `avatar` (string)
- `description` (string)
- `did` (string · did, required)
- `displayName` (string)
- `handle` (string)

## #muteItem (`social.grain.graph.defs#muteItem`)

Type: object

### Properties

- `avatar` (string)
- `did` (string · did, required)
- `displayName` (string)
- `handle` (string)

## #viewerState (`social.grain.graph.defs#viewerState`)

Type: object

### Properties

- `following` (string · at-uri)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "blockItem": {
      "properties": {
        "avatar": {
          "type": "string"
        },
        "blockUri": {
          "format": "at-uri",
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        }
      },
      "required": [
        "did",
        "blockUri"
      ],
      "type": "object"
    },
    "followerItem": {
      "properties": {
        "avatar": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "followingItem": {
      "properties": {
        "avatar": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        },
        "viewer": {
          "ref": "#viewerState",
          "type": "ref"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "knownFollowerItem": {
      "properties": {
        "avatar": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "muteItem": {
      "properties": {
        "avatar": {
          "type": "string"
        },
        "did": {
          "format": "did",
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "viewerState": {
      "properties": {
        "following": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "social.grain.graph.defs",
  "lexicon": 1
}
```
