# social.twinkl.graph.topFriends

> Published by [kandake.africa](https://lexicon.garden/identity/did:plc:lrphxvv25aibthe7xoc2eeyy)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lrphxvv25aibthe7xoc2eeyy/social.twinkl.graph.topFriends)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lrphxvv25aibthe7xoc2eeyy/social.twinkl.graph.topFriends/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lrphxvv25aibthe7xoc2eeyy/social.twinkl.graph.topFriends/examples)

## Definitions

### `social.twinkl.graph.topFriends`

**Type**: `record`

The actor's ordered Top Friends list (MySpace-style Top 8). Order is significant: index 0 is the top friend.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `friends` | `array` | Yes | Ordered list of friend DIDs, most prominent first. |
| `createdAt` | `string` (datetime) | Yes |  |
| `updatedAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "id": "social.twinkl.graph.topFriends",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "friends",
          "createdAt"
        ],
        "properties": {
          "friends": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "did"
            },
            "maxLength": 8,
            "description": "Ordered list of friend DIDs, most prominent first."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "The actor's ordered Top Friends list (MySpace-style Top 8). Order is significant: index 0 is the top friend."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
