{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "reactionGroup": {
      "description": "Aggregated reactions to a subject, grouped by emoji item URI.",
      "properties": {
        "count": {
          "minimum": 0,
          "type": "integer"
        },
        "emoji": {
          "ref": "blue.moji.feed.reaction#emojiRef",
          "type": "ref"
        },
        "viewer": {
          "description": "AT-URI of the requesting account's reaction record in this group, if any. Enables un-reacting.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "emoji",
        "count"
      ],
      "type": "object"
    },
    "reactionView": {
      "description": "A single reaction by a single actor.",
      "properties": {
        "actor": {
          "ref": "app.bsky.actor.defs#profileViewBasic",
          "type": "ref"
        },
        "createdAt": {
          "format": "datetime",
          "type": "string"
        },
        "emoji": {
          "ref": "blue.moji.feed.reaction#emojiRef",
          "type": "ref"
        },
        "uri": {
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "actor",
        "emoji",
        "createdAt"
      ],
      "type": "object"
    }
  },
  "id": "blue.moji.feed.defs",
  "lexicon": 1
}
