{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Every DID a membership record names, with the records behind it. Effective admins and the community identity only. With space, the members holding that pair and only the grants naming one of its halves, for the pair's own admins too.",
      "errors": [
        {
          "name": "NotAdmin"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "members": {
              "items": {
                "ref": "us.off-the-clock.admin.defs#member",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "members"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "space": {
            "description": "A pair's TID.",
            "format": "tid",
            "type": "string"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "us.off-the-clock.admin.listMembers",
  "lexicon": 1
}
