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