{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "People's place.hud.theme records, a page at a time: one account's, newest first; or everyone's, account by account, as the relay HUD asks (HUD_RELAY) lists the repositories that hold them. A record not as its lexicon says, or with a text reading at under 4.5:1, is left out. Requires auth: the workspace's web session (its cookie) or a HUD access token as Bearer.",
      "errors": [
        {
          "description": "No such account.",
          "name": "NotFound"
        },
        {
          "description": "No live web session or HUD access token: sign in.",
          "name": "AuthRequired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "maxLength": 512,
              "type": "string"
            },
            "themes": {
              "description": "Each by its uri, with its creator.",
              "items": {
                "ref": "place.hud.defs#theme",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "themes"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "description": "Only this account's themes, by DID or handle.",
            "format": "at-identifier",
            "type": "string"
          },
          "cursor": {
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 25,
            "maximum": 50,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Themes people made for the workspace.",
  "id": "place.hud.listThemes",
  "lexicon": 1
}
