garden.lexicon.documentation
Schema Diff
+4 -28
1
1
{
2
2
"id": "garden.lexicon.documentation",
3
3
"defs": {
4
4
"main": {
5
-
"key": "tid",
5
+
"key": "nsid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"lexicon",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
-
"title": {
15
-
"type": "array",
16
-
"items": {
17
-
"ref": "#localizedString",
18
-
"type": "ref"
19
-
},
20
-
"description": "Localized titles for the lexicon."
21
-
},
22
14
"lexicon": {
23
15
"type": "string",
24
16
"format": "nsid",
25
17
"description": "The NSID of the lexicon being documented."
26
18
},
27
19
"createdAt": {
28
20
"type": "string",
29
21
"format": "datetime",
30
22
"description": "Timestamp when this documentation was created."
31
23
},
32
24
"definitions": {
33
25
"type": "array",
34
26
"items": {
35
27
"ref": "#definitionDoc",
36
28
"type": "ref"
37
29
},
38
30
"description": "Documentation for specific definitions within the lexicon (e.g., main, replyRef)."
39
31
},
40
32
"description": {
41
33
"type": "array",
42
34
"items": {
43
35
"ref": "#localizedString",
44
36
"type": "ref"
45
37
},
46
38
"description": "Localized descriptions for the lexicon."
47
39
}
48
40
}
49
41
},
50
-
"description": "Auxiliary documentation for a lexicon schema, supporting localized titles and descriptions for the lexicon and its properties."
42
+
"description": "Auxiliary documentation for a lexicon schema, supporting localized descriptions for the lexicon and its properties."
51
43
},
52
44
"propertyDoc": {
53
45
"type": "object",
54
46
"required": [
55
47
"name"
56
48
],
57
49
"properties": {
58
50
"name": {
59
51
"type": "string",
60
52
"maxLength": 256,
61
53
"description": "The property name being documented."
62
-
},
63
-
"title": {
64
-
"type": "array",
65
-
"items": {
66
-
"ref": "#localizedString",
67
-
"type": "ref"
68
-
},
69
-
"description": "Localized titles for this property."
70
54
},
71
55
"description": {
72
56
"type": "array",
73
57
"items": {
74
58
"ref": "#localizedString",
75
59
"type": "ref"
76
60
},
77
61
"description": "Localized descriptions for this property."
78
62
}
79
63
},
80
64
"description": "Documentation for a specific property within a definition."
81
65
},
82
66
"definitionDoc": {
83
67
"type": "object",
84
68
"required": [
85
69
"name"
86
70
],
87
71
"properties": {
88
72
"name": {
89
73
"type": "string",
90
-
"maxLength": 256,
74
+
"maxLength": 512,
91
75
"description": "The name of the definition being documented (e.g., 'main', 'replyRef')."
92
-
},
93
-
"title": {
94
-
"type": "array",
95
-
"items": {
96
-
"ref": "#localizedString",
97
-
"type": "ref"
98
-
},
99
-
"description": "Localized titles for this definition."
100
76
},
101
77
"properties": {
102
78
"type": "array",
103
79
"items": {
104
80
"ref": "#propertyDoc",
105
81
"type": "ref"
106
82
},
107
83
"description": "Documentation for properties within this definition."
108
84
},
109
85
"description": {
110
86
"type": "array",
111
87
"items": {
112
88
"ref": "#localizedString",
113
89
"type": "ref"
114
90
},
115
91
"description": "Localized descriptions for this definition."
116
92
}
117
93
},
118
-
"description": "Documentation for a specific definition within a lexicon."
94
+
"description": "Documentation for a definition within a lexicon."
119
95
},
120
96
"localizedString": {
121
97
"type": "object",
122
98
"required": [
123
99
"lang",
124
100
"value"
125
101
],
126
102
"properties": {
127
103
"lang": {
128
104
"type": "string",
129
105
"format": "language",
130
106
"description": "ISO 639 language code (e.g., 'en', 'es', 'ja')."
131
107
},
132
108
"value": {
133
109
"type": "string",
134
110
"maxLength": 10000,
135
111
"description": "The localized string value."
136
112
}
137
113
},
138
114
"description": "A string with an associated language code."
139
115
}
140
116
},
141
117
"$type": "com.atproto.lexicon.schema",
142
118
"lexicon": 1
143
119
}