{
  "lexicon": 1,
  "id": "app.bsky.unspecced.getTaggedSuggestions",
  "defs": {
    "main": {
      "type": "query",
      "description": "Get a list of suggestions (feeds and users) tagged with categories",
      "parameters": {
        "type": "params",
        "properties": {}
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["suggestions"],
          "properties": {
            "suggestions": {
              "type": "array",
              "items": {
                "type": "ref",
                "ref": "#suggestion"
              }
            }
          }
        }
      }
    },
    "suggestion": {
      "type": "object",
      "required": ["tag", "subjectType", "subject"],
      "properties": {
        "tag": { "type": "string" },
        "subjectType": {
          "type": "string",
          "knownValues": ["actor", "feed"]
        },
        "subject": { "type": "string", "format": "uri" }
      }
    }
  }
}
