An ATProto Lexicon validator for Gleam.
1{
2 "lexicon": 1,
3 "id": "com.example.user",
4 "defs": {
5 "main": {
6 "type": "record",
7 "key": "tid",
8 "record": {
9 "type": "object",
10 "required": ["handle", "displayName"],
11 "properties": {
12 "handle": {
13 "type": "string",
14 "format": "handle"
15 },
16 "displayName": {
17 "type": "string",
18 "maxLength": 64
19 },
20 "bio": {
21 "type": "string",
22 "maxLength": 256
23 }
24 }
25 }
26 },
27 "profile": {
28 "type": "object",
29 "required": ["handle"],
30 "properties": {
31 "handle": {
32 "type": "string",
33 "format": "handle"
34 },
35 "displayName": {
36 "type": "string"
37 }
38 }
39 }
40 }
41}