{
  "lexicon": 1,
  "id": "org.tangled.temp.account.resendSignup",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Re-send the signup verification link for a pending signup. Re-mails the same live link (same token, no new invite code) for a signup begun but not yet completed; fails when nothing is in flight for the email or the link has expired.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["email"],
          "properties": {
            "email": {
              "type": "string",
              "description": "Email address used to begin the signup."
            }
          }
        }
      },
      "errors": [
        { "name": "SignupDisabled", "description": "Signup is not currently enabled on this service." },
        { "name": "InvalidEmail", "description": "The email address is not valid." },
        { "name": "NoPendingSignup", "description": "There is no pending (unexpired) signup for this email; start again from the signup page." },
        { "name": "TooManyRequests", "description": "A signup email was sent for this address very recently; wait before asking for another." }
      ]
    }
  }
}
