{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Engagement statistics for one member's Zeens photo posts, for Studio's Stats tab: totals and top posts for posts published in the range, and when likes, reposts and replies arrived (from the engagement ledger: a like's record key is a TID, which carries its time). All of it is derived from public engagement records; no views exist on AT Protocol.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "days": {
            "description": "Range in days: 30, 90 or 365. 0 (default) means all time.",
            "type": "integer"
          },
          "did": {
            "description": "The member whose posts are counted.",
            "type": "string"
          }
        },
        "required": [
          "did"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.postMeta",
      "type": "query"
    }
  },
  "id": "app.zeens.getAuthorStats",
  "lexicon": 1
}
