This repository has no description
1{
2 "lexicon": 1,
3 "id": "org.tangled.temp.account.beginSignup",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Begin signup: validate the Turnstile token and email a verification code to the address.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": ["email", "turnstileToken"],
13 "properties": {
14 "email": {
15 "type": "string",
16 "description": "Email address for the new account."
17 },
18 "turnstileToken": {
19 "type": "string",
20 "description": "Cloudflare Turnstile challenge response token."
21 }
22 }
23 }
24 },
25 "errors": [
26 { "name": "SignupDisabled", "description": "Signup is not currently enabled on this service." },
27 { "name": "InvalidTurnstileToken", "description": "The Turnstile captcha response could not be verified." },
28 { "name": "InvalidEmail", "description": "The email address is not valid." },
29 { "name": "EmailAlreadyRegistered", "description": "An account already exists for this email address." }
30 ]
31 }
32 }
33}