space.highport.sites.tile
Schema Diff
+18 -18
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"itemSchema": {
5
5
"description": "Element type of an array parameter: any #param type except array, with the same constraint fields.",
6
6
"properties": {
7
7
"accept": {
8
8
"items": {
9
9
"type": "string"
10
10
},
11
11
"maxLength": 16,
12
12
"type": "array"
13
13
},
14
14
"enum": {
15
15
"items": {
16
16
"type": "string"
17
17
},
18
18
"maxLength": 64,
19
19
"type": "array"
20
20
},
21
21
"format": {
22
22
"knownValues": [
23
23
"at-identifier",
24
24
"at-uri",
25
25
"cid",
26
26
"datetime",
27
27
"did",
28
28
"handle",
29
29
"language",
30
30
"nsid",
31
31
"record-key",
32
32
"tid",
33
33
"uri"
34
34
],
35
35
"type": "string"
36
36
},
37
37
"knownValues": {
38
38
"items": {
39
39
"type": "string"
40
40
},
41
41
"maxLength": 64,
42
42
"type": "array"
43
43
},
44
44
"maxGraphemes": {
45
45
"minimum": 1,
46
46
"type": "integer"
47
47
},
48
48
"maxLength": {
49
49
"minimum": 1,
50
50
"type": "integer"
51
51
},
52
52
"maxSize": {
53
53
"minimum": 1,
54
54
"type": "integer"
55
55
},
56
56
"maximum": {
57
57
"type": "integer"
58
58
},
59
59
"minimum": {
60
60
"type": "integer"
61
61
},
62
62
"type": {
63
63
"maxLength": 317,
64
64
"type": "string"
65
65
}
66
66
},
67
67
"required": [
68
68
"type"
69
69
],
70
70
"type": "object"
71
71
},
72
72
"main": {
73
73
"key": "tid",
74
74
"record": {
75
75
"properties": {
76
76
"content": {
77
-
"description": "The tile's resources. Must name the bundle and contain a '/' entry.",
77
+
"description": "The tile's resources. Must have a bundle name and a '/' entry.",
78
78
"ref": "space.highport.sites.defs#manifest",
79
79
"type": "ref"
80
80
},
81
81
"description": {
82
82
"maxGraphemes": 300,
83
83
"maxLength": 3000,
84
84
"type": "string"
85
85
},
86
86
"icon": {
87
87
"accept": [
88
88
"image/png",
89
89
"image/jpeg",
90
90
"image/webp"
91
91
],
92
92
"maxSize": 1048576,
93
93
"type": "blob"
94
94
},
95
95
"name": {
96
-
"description": "Display name; limits match the Web Tiles specification.",
96
+
"description": "Display name. Limits match the Web Tiles specification.",
97
97
"maxGraphemes": 100,
98
98
"maxLength": 1000,
99
99
"type": "string"
100
100
},
101
101
"params": {
102
-
"description": "Parameters a binding site must or may supply. Names are unique within a tile.",
102
+
"description": "Parameters a binding site must or may supply. Names must be unique within the tile.",
103
103
"items": {
104
104
"ref": "#param",
105
105
"type": "ref"
106
106
},
107
107
"maxLength": 32,
108
108
"type": "array"
109
109
}
110
110
},
111
111
"required": [
112
112
"name",
113
113
"content"
114
114
],
115
115
"type": "object"
116
116
},
117
117
"type": "record"
118
118
},
119
119
"param": {
120
-
"description": "A parameter a binding site supplies. type is a Lexicon primitive or an NSID; the constraint fields mirror Lexicon's own and apply only where Lexicon applies them — a constraint on a type it does not govern makes the tile invalid.",
120
+
"description": "A parameter a binding site supplies. type is a Lexicon primitive or an NSID. The constraint fields work like Lexicon's and apply only where Lexicon applies them; using one on a type it does not govern makes the tile invalid.",
121
121
"properties": {
122
122
"accept": {
123
-
"description": "blob: accepted MIME types, wildcards as in Lexicon (image/*).",
123
+
"description": "For blob: accepted MIME types, with wildcards as in Lexicon (image/*).",
124
124
"items": {
125
125
"type": "string"
126
126
},
127
127
"maxLength": 16,
128
128
"type": "array"
129
129
},
130
130
"description": {
131
131
"maxLength": 1000,
132
132
"type": "string"
133
133
},
134
134
"enum": {
135
-
"description": "string: closed set of permitted values.",
135
+
"description": "For string: a closed set of allowed values.",
136
136
"items": {
137
137
"type": "string"
138
138
},
139
139
"maxLength": 64,
140
140
"type": "array"
141
141
},
142
142
"format": {
143
-
"description": "string: Lexicon string format.",
143
+
"description": "For string: a Lexicon string format.",
144
144
"knownValues": [
145
145
"at-identifier",
146
146
"at-uri",
147
147
"cid",
148
148
"datetime",
149
149
"did",
150
150
"handle",
151
151
"language",
152
152
"nsid",
153
153
"record-key",
154
154
"tid",
155
155
"uri"
156
156
],
157
157
"type": "string"
158
158
},
159
159
"items": {
160
-
"description": "array: the element type. Required when type is array, forbidden otherwise. One level: an item is never itself an array.",
160
+
"description": "For array: the element type. Required when type is array and not allowed otherwise. An item is never itself an array.",
161
161
"ref": "#itemSchema",
162
162
"type": "ref"
163
163
},
164
164
"knownValues": {
165
-
"description": "string: open, advisory set.",
165
+
"description": "For string: an open, advisory set of values.",
166
166
"items": {
167
167
"type": "string"
168
168
},
169
169
"maxLength": 64,
170
170
"type": "array"
171
171
},
172
172
"maxGraphemes": {
173
-
"description": "string.",
173
+
"description": "For string: the maximum graphemes.",
174
174
"minimum": 1,
175
175
"type": "integer"
176
176
},
177
177
"maxLength": {
178
-
"description": "string: maximum UTF-8 bytes; array: maximum item count.",
178
+
"description": "For string, the maximum UTF-8 bytes; for array, the maximum number of items.",
179
179
"minimum": 1,
180
180
"type": "integer"
181
181
},
182
182
"maxSize": {
183
-
"description": "blob: maximum size in bytes.",
183
+
"description": "For blob: the maximum size in bytes.",
184
184
"minimum": 1,
185
185
"type": "integer"
186
186
},
187
187
"maximum": {
188
-
"description": "integer.",
188
+
"description": "For integer: the maximum value.",
189
189
"type": "integer"
190
190
},
191
191
"minimum": {
192
-
"description": "integer.",
192
+
"description": "For integer: the minimum value.",
193
193
"type": "integer"
194
194
},
195
195
"name": {
196
-
"description": "Key in the site record's parameters map. Matches [A-Za-z][A-Za-z0-9_]*; must not begin with an underscore.",
196
+
"description": "Key in the site record's parameters map. Must match [A-Za-z][A-Za-z0-9_]*, so it cannot start with an underscore.",
197
197
"maxLength": 64,
198
198
"type": "string"
199
199
},
200
200
"required": {
201
-
"description": "Default false. An absent optional parameter is simply absent; tile code defaults it.",
201
+
"description": "Defaults to false. An optional parameter that is left out stays absent, and the tile's code supplies the default.",
202
202
"type": "boolean"
203
203
},
204
204
"type": {
205
-
"description": "One of string, integer, boolean, blob, array — or an NSID naming the record type a value must carry as its $type, which may also be supplied by strong reference.",
205
+
"description": "One of string, integer, boolean, blob or array, or an NSID naming the $type a value must have. A value of NSID type may also be given by strong reference.",
206
206
"maxLength": 317,
207
207
"type": "string"
208
208
}
209
209
},
210
210
"required": [
211
211
"name",
212
212
"type"
213
213
],
214
214
"type": "object"
215
215
}
216
216
},
217
-
"description": "A reusable, parameterized web tile: a bundle of static resources a space.highport.sites.site may bind to a domain by strong reference. Tiles are published under a TID key by their authors and are never tied to a domain.",
217
+
"description": "A reusable, parameterized web tile: a bundle of static resources that a space.highport.sites.site can bind to a domain by strong reference. Authors publish tiles under a TID key, and a tile is never tied to a domain.",
218
218
"id": "space.highport.sites.tile",
219
219
"lexicon": 1
220
220
}