Skip to content

Commit 7ed01df

Browse files
authored
Update lexicons fetched from 0087dc1 committed 2025-04-18T19:46:42Z (#599)
1 parent bedd158 commit 7ed01df

24 files changed

+586
-11
lines changed

docs/source/aliases_db.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@
6767
'models.AppBskyGraphUnmuteActor': 'atproto_client.models.app.bsky.graph.unmute_actor',
6868
'models.AppBskyGraphUnmuteActorList': 'atproto_client.models.app.bsky.graph.unmute_actor_list',
6969
'models.AppBskyGraphUnmuteThread': 'atproto_client.models.app.bsky.graph.unmute_thread',
70+
'models.AppBskyGraphVerification': 'atproto_client.models.app.bsky.graph.verification',
7071
'models.AppBskyLabelerDefs': 'atproto_client.models.app.bsky.labeler.defs',
7172
'models.AppBskyLabelerGetServices': 'atproto_client.models.app.bsky.labeler.get_services',
7273
'models.AppBskyLabelerService': 'atproto_client.models.app.bsky.labeler.service',
74+
'models.AppBskyNotificationDefs': 'atproto_client.models.app.bsky.notification.defs',
7375
'models.AppBskyNotificationGetUnreadCount': 'atproto_client.models.app.bsky.notification.get_unread_count',
7476
'models.AppBskyNotificationListNotifications': 'atproto_client.models.app.bsky.notification.list_notifications',
7577
'models.AppBskyNotificationPutPreferences': 'atproto_client.models.app.bsky.notification.put_preferences',

docs/source/atproto/atproto_client.models.app.bsky.graph.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,4 @@ Submodules
4040
atproto_client.models.app.bsky.graph.unmute_actor
4141
atproto_client.models.app.bsky.graph.unmute_actor_list
4242
atproto_client.models.app.bsky.graph.unmute_thread
43+
atproto_client.models.app.bsky.graph.verification
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
app.bsky.graph.verification
2+
==================================================
3+
4+
.. automodule:: atproto_client.models.app.bsky.graph.verification
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
app.bsky.notification.defs
2+
=================================================
3+
4+
.. automodule:: atproto_client.models.app.bsky.notification.defs
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

docs/source/atproto/atproto_client.models.app.bsky.notification.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Submodules
1212
.. toctree::
1313
:maxdepth: 4
1414

15+
atproto_client.models.app.bsky.notification.defs
1516
atproto_client.models.app.bsky.notification.get_unread_count
1617
atproto_client.models.app.bsky.notification.list_notifications
1718
atproto_client.models.app.bsky.notification.put_preferences

lexicons/app.bsky.actor.defs.json

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
"type": "array",
2424
"items": { "type": "ref", "ref": "com.atproto.label.defs#label" }
2525
},
26-
"createdAt": { "type": "string", "format": "datetime" }
26+
"createdAt": { "type": "string", "format": "datetime" },
27+
"verification": {
28+
"type": "ref",
29+
"ref": "#verificationState"
30+
}
2731
}
2832
},
2933
"profileView": {
@@ -53,6 +57,10 @@
5357
"labels": {
5458
"type": "array",
5559
"items": { "type": "ref", "ref": "com.atproto.label.defs#label" }
60+
},
61+
"verification": {
62+
"type": "ref",
63+
"ref": "#verificationState"
5664
}
5765
}
5866
},
@@ -95,6 +103,10 @@
95103
"pinnedPost": {
96104
"type": "ref",
97105
"ref": "com.atproto.repo.strongRef"
106+
},
107+
"verification": {
108+
"type": "ref",
109+
"ref": "#verificationState"
98110
}
99111
}
100112
},
@@ -158,6 +170,54 @@
158170
}
159171
}
160172
},
173+
"verificationState": {
174+
"type": "object",
175+
"description": "Represents the verification information about the user this object is attached to.",
176+
"required": ["verifications", "verifiedStatus", "trustedVerifierStatus"],
177+
"properties": {
178+
"verifications": {
179+
"type": "array",
180+
"description": "All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included.",
181+
"items": { "type": "ref", "ref": "#verificationView" }
182+
},
183+
"verifiedStatus": {
184+
"type": "string",
185+
"description": "The user's status as a verified account.",
186+
"knownValues": ["valid", "invalid", "none"]
187+
},
188+
"trustedVerifierStatus": {
189+
"type": "string",
190+
"description": "The user's status as a trusted verifier.",
191+
"knownValues": ["valid", "invalid", "none"]
192+
}
193+
}
194+
},
195+
"verificationView": {
196+
"type": "object",
197+
"description": "An individual verification for an associated subject.",
198+
"required": ["issuer", "uri", "isValid", "createdAt"],
199+
"properties": {
200+
"issuer": {
201+
"type": "string",
202+
"description": "The user who issued this verification.",
203+
"format": "did"
204+
},
205+
"uri": {
206+
"type": "string",
207+
"description": "The AT-URI of the verification record.",
208+
"format": "at-uri"
209+
},
210+
"isValid": {
211+
"type": "boolean",
212+
"description": "True if the verification passes validation, otherwise false."
213+
},
214+
"createdAt": {
215+
"type": "string",
216+
"description": "Timestamp when the verification was created.",
217+
"format": "datetime"
218+
}
219+
}
220+
},
161221
"preferences": {
162222
"type": "array",
163223
"items": {
@@ -175,7 +235,8 @@
175235
"#hiddenPostsPref",
176236
"#bskyAppStatePref",
177237
"#labelersPref",
178-
"#postInteractionSettingsPref"
238+
"#postInteractionSettingsPref",
239+
"#verificationPrefs"
179240
]
180241
}
181242
},
@@ -470,6 +531,18 @@
470531
}
471532
}
472533
},
534+
"verificationPrefs": {
535+
"type": "object",
536+
"description": "Preferences for how verified accounts appear in the app.",
537+
"required": [],
538+
"properties": {
539+
"hideBadges": {
540+
"description": "Hide the blue check badges for verified accounts and trusted verifiers.",
541+
"type": "boolean",
542+
"default": false
543+
}
544+
}
545+
},
473546
"postInteractionSettingsPref": {
474547
"type": "object",
475548
"description": "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.",
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"lexicon": 1,
3+
"id": "app.bsky.graph.verification",
4+
"defs": {
5+
"main": {
6+
"type": "record",
7+
"description": "Record declaring a verification relationship between two accounts. Verifications are only considered valid by an app if issued by an account the app considers trusted.",
8+
"key": "tid",
9+
"record": {
10+
"type": "object",
11+
"required": ["subject", "handle", "displayName", "createdAt"],
12+
"properties": {
13+
"subject": {
14+
"description": "DID of the subject the verification applies to.",
15+
"type": "string",
16+
"format": "did"
17+
},
18+
"handle": {
19+
"description": "Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying.",
20+
"type": "string",
21+
"format": "handle"
22+
},
23+
"displayName": {
24+
"description": "Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying.",
25+
"type": "string"
26+
},
27+
"createdAt": {
28+
"description": "Date of when the verification was created.",
29+
"type": "string",
30+
"format": "datetime"
31+
}
32+
}
33+
}
34+
}
35+
}
36+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"lexicon": 1,
3+
"id": "app.bsky.notification.defs",
4+
"defs": {
5+
"recordDeleted": {
6+
"type": "object",
7+
"properties": {}
8+
}
9+
}
10+
}

lexicons/app.bsky.notification.listNotifications.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,17 @@
6161
"author": { "type": "ref", "ref": "app.bsky.actor.defs#profileView" },
6262
"reason": {
6363
"type": "string",
64-
"description": "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', and 'starterpack-joined'.",
64+
"description": "Expected values are 'like', 'repost', 'follow', 'mention', 'reply', 'quote', 'starterpack-joined', 'verified', and 'unverified'.",
6565
"knownValues": [
6666
"like",
6767
"repost",
6868
"follow",
6969
"mention",
7070
"reply",
7171
"quote",
72-
"starterpack-joined"
72+
"starterpack-joined",
73+
"verified",
74+
"unverified"
7375
]
7476
},
7577
"reasonSubject": { "type": "string", "format": "at-uri" },

lexicons/chat.bsky.actor.defs.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525
},
2626
"chatDisabled": {
2727
"type": "boolean",
28-
"description": "Set to true when the actor cannot actively participate in converations"
28+
"description": "Set to true when the actor cannot actively participate in conversations"
29+
},
30+
"verification": {
31+
"type": "ref",
32+
"ref": "app.bsky.actor.defs#verificationState"
2933
}
3034
}
3135
}

0 commit comments

Comments
 (0)