{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get a single userstyle by its author and record key.",
      "errors": [
        {
          "name": "ActorNotFound"
        },
        {
          "name": "UserstyleNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "club.userstyles.alpha.defs#userstyleView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "at-identifier",
            "type": "string"
          },
          "rkey": {
            "format": "record-key",
            "type": "string"
          }
        },
        "required": [
          "actor",
          "rkey"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "club.userstyles.alpha.getUserstyle",
  "lexicon": 1
}
