{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Sends one batch of the invites email to opted-in claims that haven't had it. Nobody gets it twice. Admins only, by service auth.",
      "errors": [
        {
          "name": "Busy"
        },
        {
          "name": "EmailFailed"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "required": [],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "remaining": {
              "minimum": 0,
              "type": "integer"
            },
            "sent": {
              "minimum": 0,
              "type": "integer"
            }
          },
          "required": [
            "sent",
            "remaining"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "club.hellyeah.admin.sendInvitesOpen",
  "lexicon": 1
}
