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