{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The requesting account's standing in the town. Requires auth.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "enabled": {
              "description": "Whether this AppView admits accounts by membership at all.",
              "type": "boolean"
            },
            "membership": {
              "ref": "town.delve.membership.defs#membership",
              "type": "ref"
            }
          },
          "required": [
            "enabled"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "town.delve.membership.getMembership",
  "lexicon": 1
}
