{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Where the caller's DID stands. Requires service auth.",
      "errors": [],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "hasEmail": {
              "type": "boolean"
            },
            "state": {
              "knownValues": [
                "visitor",
                "invited",
                "claimant",
                "member",
                "removed"
              ],
              "type": "string"
            }
          },
          "required": [
            "state",
            "hasEmail"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "club.hellyeah.account.getState",
  "lexicon": 1
}
