{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Find artists the directory's DJs played, most supported first, with their supports over every set (no track minimum).",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "artists": {
              "items": {
                "ref": "computer.localnetwork.directory.defs#supportedArtist",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "artists"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "limit": {
            "default": 25,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Text to find anywhere in the artist's name, in any case. Without it, every artist.",
            "maxLength": 100,
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.searchArtists",
  "lexicon": 1
}
