atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.server.describeServer",
4 "defs": {
5 "contact": {
6 "type": "object",
7 "properties": {
8 "email": {
9 "type": "string"
10 }
11 }
12 },
13 "links": {
14 "type": "object",
15 "properties": {
16 "privacyPolicy": {
17 "type": "string",
18 "format": "uri"
19 },
20 "termsOfService": {
21 "type": "string",
22 "format": "uri"
23 }
24 }
25 },
26 "main": {
27 "type": "query",
28 "description": "Describes the server's account creation requirements and capabilities. Implemented by PDS.",
29 "output": {
30 "encoding": "application/json",
31 "schema": {
32 "type": "object",
33 "required": [
34 "did",
35 "availableUserDomains"
36 ],
37 "properties": {
38 "availableUserDomains": {
39 "type": "array",
40 "description": "List of domain suffixes that can be used in account handles.",
41 "items": {
42 "type": "string"
43 }
44 },
45 "contact": {
46 "type": "ref",
47 "description": "Contact information",
48 "ref": "#contact"
49 },
50 "did": {
51 "type": "string",
52 "format": "did"
53 },
54 "inviteCodeRequired": {
55 "type": "boolean",
56 "description": "If true, an invite code must be supplied to create an account on this instance."
57 },
58 "links": {
59 "type": "ref",
60 "description": "URLs of service policy documents.",
61 "ref": "#links"
62 },
63 "phoneVerificationRequired": {
64 "type": "boolean",
65 "description": "If true, a phone verification token must be supplied to create an account on this instance."
66 }
67 }
68 }
69 }
70 }
71 }
72}