atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.unspecced.defs",
4 "defs": {
5 "ageAssuranceEvent": {
6 "type": "object",
7 "description": "Object used to store age assurance data in stash.",
8 "required": [
9 "createdAt",
10 "status",
11 "attemptId"
12 ],
13 "properties": {
14 "attemptId": {
15 "type": "string",
16 "description": "The unique identifier for this instance of the age assurance flow, in UUID format."
17 },
18 "completeIp": {
19 "type": "string",
20 "description": "The IP address used when completing the AA flow."
21 },
22 "completeUa": {
23 "type": "string",
24 "description": "The user agent used when completing the AA flow."
25 },
26 "createdAt": {
27 "type": "string",
28 "description": "The date and time of this write operation.",
29 "format": "datetime"
30 },
31 "email": {
32 "type": "string",
33 "description": "The email used for AA."
34 },
35 "initIp": {
36 "type": "string",
37 "description": "The IP address used when initiating the AA flow."
38 },
39 "initUa": {
40 "type": "string",
41 "description": "The user agent used when initiating the AA flow."
42 },
43 "status": {
44 "type": "string",
45 "description": "The status of the age assurance process.",
46 "knownValues": [
47 "unknown",
48 "pending",
49 "assured"
50 ]
51 }
52 }
53 },
54 "ageAssuranceState": {
55 "type": "object",
56 "description": "The computed state of the age assurance process, returned to the user in question on certain authenticated requests.",
57 "required": [
58 "status"
59 ],
60 "properties": {
61 "lastInitiatedAt": {
62 "type": "string",
63 "description": "The timestamp when this state was last updated.",
64 "format": "datetime"
65 },
66 "status": {
67 "type": "string",
68 "description": "The status of the age assurance process.",
69 "knownValues": [
70 "unknown",
71 "pending",
72 "assured",
73 "blocked"
74 ]
75 }
76 }
77 },
78 "skeletonSearchActor": {
79 "type": "object",
80 "required": [
81 "did"
82 ],
83 "properties": {
84 "did": {
85 "type": "string",
86 "format": "did"
87 }
88 }
89 },
90 "skeletonSearchPost": {
91 "type": "object",
92 "required": [
93 "uri"
94 ],
95 "properties": {
96 "uri": {
97 "type": "string",
98 "format": "at-uri"
99 }
100 }
101 },
102 "skeletonSearchStarterPack": {
103 "type": "object",
104 "required": [
105 "uri"
106 ],
107 "properties": {
108 "uri": {
109 "type": "string",
110 "format": "at-uri"
111 }
112 }
113 },
114 "skeletonTrend": {
115 "type": "object",
116 "required": [
117 "topic",
118 "displayName",
119 "link",
120 "startedAt",
121 "postCount",
122 "dids"
123 ],
124 "properties": {
125 "category": {
126 "type": "string"
127 },
128 "dids": {
129 "type": "array",
130 "items": {
131 "type": "string",
132 "format": "did"
133 }
134 },
135 "displayName": {
136 "type": "string"
137 },
138 "link": {
139 "type": "string"
140 },
141 "postCount": {
142 "type": "integer"
143 },
144 "startedAt": {
145 "type": "string",
146 "format": "datetime"
147 },
148 "status": {
149 "type": "string",
150 "knownValues": [
151 "hot"
152 ]
153 },
154 "topic": {
155 "type": "string"
156 }
157 }
158 },
159 "threadItemBlocked": {
160 "type": "object",
161 "required": [
162 "author"
163 ],
164 "properties": {
165 "author": {
166 "type": "ref",
167 "ref": "app.bsky.feed.defs#blockedAuthor"
168 }
169 }
170 },
171 "threadItemNoUnauthenticated": {
172 "type": "object",
173 "properties": {}
174 },
175 "threadItemNotFound": {
176 "type": "object",
177 "properties": {}
178 },
179 "threadItemPost": {
180 "type": "object",
181 "required": [
182 "post",
183 "moreParents",
184 "moreReplies",
185 "opThread",
186 "hiddenByThreadgate",
187 "mutedByViewer"
188 ],
189 "properties": {
190 "hiddenByThreadgate": {
191 "type": "boolean",
192 "description": "The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread."
193 },
194 "moreParents": {
195 "type": "boolean",
196 "description": "This post has more parents that were not present in the response. This is just a boolean, without the number of parents."
197 },
198 "moreReplies": {
199 "type": "integer",
200 "description": "This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate."
201 },
202 "mutedByViewer": {
203 "type": "boolean",
204 "description": "This is by an account muted by the viewer requesting it."
205 },
206 "opThread": {
207 "type": "boolean",
208 "description": "This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread."
209 },
210 "post": {
211 "type": "ref",
212 "ref": "app.bsky.feed.defs#postView"
213 }
214 }
215 },
216 "trendView": {
217 "type": "object",
218 "required": [
219 "topic",
220 "displayName",
221 "link",
222 "startedAt",
223 "postCount",
224 "actors"
225 ],
226 "properties": {
227 "actors": {
228 "type": "array",
229 "items": {
230 "type": "ref",
231 "ref": "app.bsky.actor.defs#profileViewBasic"
232 }
233 },
234 "category": {
235 "type": "string"
236 },
237 "displayName": {
238 "type": "string"
239 },
240 "link": {
241 "type": "string"
242 },
243 "postCount": {
244 "type": "integer"
245 },
246 "startedAt": {
247 "type": "string",
248 "format": "datetime"
249 },
250 "status": {
251 "type": "string",
252 "knownValues": [
253 "hot"
254 ]
255 },
256 "topic": {
257 "type": "string"
258 }
259 }
260 },
261 "trendingTopic": {
262 "type": "object",
263 "required": [
264 "topic",
265 "link"
266 ],
267 "properties": {
268 "description": {
269 "type": "string"
270 },
271 "displayName": {
272 "type": "string"
273 },
274 "link": {
275 "type": "string"
276 },
277 "topic": {
278 "type": "string"
279 }
280 }
281 }
282 }
283}