{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Chronological newest-first feed of posts using a specific hashtag. Applies the viewer's label / age-gate filters server-side.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "feed": {
              "items": {
                "ref": "app.didpic.feed.defs#postView",
                "type": "ref"
              },
              "type": "array"
            },
            "postCount": {
              "description": "Total distinct records (posts + comments) using this tag.",
              "minimum": 0,
              "type": "integer"
            },
            "tag": {
              "type": "string"
            }
          },
          "required": [
            "tag",
            "postCount",
            "feed"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "limit": {
            "default": 30,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "tag": {
            "description": "Hashtag without the leading #. Lowercased server-side.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          }
        },
        "required": [
          "tag"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.didpic.feed.getTagFeed",
  "lexicon": 1
}
