{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The icon for a namespace, as an image. Unlike getBrand this returns bytes, so the endpoint URL can be used directly as an <img> src with no client code. Always succeeds for a well-formed namespace or identity, falling back to a generated monogram. The X-Brand-Source header carries the provenance getBrand would have reported. Does not require auth; results are not personalized.",
      "errors": [
        {
          "name": "InvalidNamespace"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "namespace": {
            "description": "A namespace, NSID, handle or DID to resolve. A namespace is reverse-DNS ('fm.plyr.song'); a handle is not ('plyr.fm'). Both are accepted and are distinguished exactly, since a namespace cannot resolve as an identity.",
            "maxLength": 317,
            "type": "string"
          }
        },
        "required": [
          "namespace"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "tech.waow.brand.getIcon",
  "lexicon": 1
}
