app.greengale.document
Schema Diff
+10 -0
1
1
{
2
2
"id": "app.greengale.document",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"content",
11
11
"url",
12
12
"path",
13
13
"title",
14
14
"publishedAt"
15
15
],
16
16
"properties": {
17
17
"ogp": {
18
18
"ref": "app.greengale.blog.defs#ogp",
19
19
"type": "ref"
20
20
},
21
21
"url": {
22
22
"type": "string",
23
23
"format": "uri",
24
24
"maxLength": 2048,
25
25
"description": "Base publication URL (e.g., https://greengale.app)"
26
26
},
27
27
"path": {
28
28
"type": "string",
29
29
"maxLength": 500,
30
30
"description": "Document path relative to the publication URL (e.g., /handle/rkey)"
31
31
},
32
+
"tags": {
33
+
"type": "array",
34
+
"items": {
35
+
"type": "string",
36
+
"maxLength": 100,
37
+
"maxGraphemes": 50
38
+
},
39
+
"maxLength": 100,
40
+
"description": "Optional array of strings to tag/categorize the document. Avoid prepending with hashtags."
41
+
},
32
42
"blobs": {
33
43
"type": "array",
34
44
"items": {
35
45
"ref": "app.greengale.blog.defs#blobMetadata",
36
46
"type": "ref"
37
47
}
38
48
},
39
49
"latex": {
40
50
"type": "boolean",
41
51
"default": false,
42
52
"description": "Legacy field for LaTeX math rendering. LaTeX is now always enabled for GreenGale posts; this field is kept for backward compatibility."
43
53
},
44
54
"theme": {
45
55
"ref": "app.greengale.blog.defs#theme",
46
56
"type": "ref"
47
57
},
48
58
"title": {
49
59
"type": "string",
50
60
"maxLength": 1000,
51
61
"description": "Document title"
52
62
},
53
63
"content": {
54
64
"type": "string",
55
65
"maxLength": 100000,
56
66
"description": "Markdown content of the document"
57
67
},
58
68
"subtitle": {
59
69
"type": "string",
60
70
"maxLength": 1000
61
71
},
62
72
"visibility": {
63
73
"enum": [
64
74
"public",
65
75
"url",
66
76
"author"
67
77
],
68
78
"type": "string",
69
79
"default": "public",
70
80
"maxLength": 16,
71
81
"description": "Controls who can view this document"
72
82
},
73
83
"publishedAt": {
74
84
"type": "string",
75
85
"format": "datetime",
76
86
"description": "Publication timestamp"
77
87
}
78
88
}
79
89
},
80
90
"description": "A markdown document with extended theme and LaTeX support."
81
91
},
82
92
"contentRef": {
83
93
"type": "object",
84
94
"required": [
85
95
"uri"
86
96
],
87
97
"properties": {
88
98
"uri": {
89
99
"type": "string",
90
100
"format": "at-uri",
91
101
"description": "AT-URI pointing to the full document content"
92
102
}
93
103
},
94
104
"description": "Reference to external content via AT-URI. Used in site.standard.document content union."
95
105
}
96
106
},
97
107
"$type": "com.atproto.lexicon.schema",
98
108
"lexicon": 1
99
109
}