app.bsky.actor.defs#

pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.AdultContentPref#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "AdultContentPref",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "enabled": {
         "default": null,
         "title": "Enabled",
         "type": "boolean"
      },
      "$type": {
         "const": "app.bsky.actor.defs#adultContentPref",
         "default": "app.bsky.actor.defs#adultContentPref",
         "title": "$Type"
      }
   },
   "additionalProperties": false
}

Fields:
field enabled: bool = None#

Enabled.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#adultContentPref] = 'app.bsky.actor.defs#adultContentPref' (alias '$type')#
pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.ContentLabelPref#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "ContentLabelPref",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "label": {
         "title": "Label",
         "type": "string"
      },
      "visibility": {
         "title": "Visibility",
         "type": "string"
      },
      "$type": {
         "const": "app.bsky.actor.defs#contentLabelPref",
         "default": "app.bsky.actor.defs#contentLabelPref",
         "title": "$Type"
      }
   },
   "additionalProperties": false,
   "required": [
      "label",
      "visibility"
   ]
}

Fields:
field label: str [Required]#

Label.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#contentLabelPref] = 'app.bsky.actor.defs#contentLabelPref' (alias '$type')#
field visibility: str [Required]#

Visibility.

pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.FeedViewPref#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "FeedViewPref",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "feed": {
         "title": "Feed",
         "type": "string"
      },
      "hideQuotePosts": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Hidequoteposts"
      },
      "hideReplies": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Hidereplies"
      },
      "hideRepliesByLikeCount": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Hiderepliesbylikecount"
      },
      "hideRepliesByUnfollowed": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Hiderepliesbyunfollowed"
      },
      "hideReposts": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Hidereposts"
      },
      "$type": {
         "const": "app.bsky.actor.defs#feedViewPref",
         "default": "app.bsky.actor.defs#feedViewPref",
         "title": "$Type"
      }
   },
   "additionalProperties": false,
   "required": [
      "feed"
   ]
}

Fields:
field feed: str [Required]#

The URI of the feed, or an identifier which describes the feed.

field hide_quote_posts: Optional[bool] = None (alias 'hideQuotePosts')#

Hide quote posts in the feed.

field hide_replies: Optional[bool] = None (alias 'hideReplies')#

Hide replies in the feed.

field hide_replies_by_like_count: Optional[int] = None (alias 'hideRepliesByLikeCount')#

Hide replies in the feed if they do not have this number of likes.

field hide_replies_by_unfollowed: Optional[bool] = None (alias 'hideRepliesByUnfollowed')#

Hide replies in the feed if they are not by followed users.

field hide_reposts: Optional[bool] = None (alias 'hideReposts')#

Hide reposts in the feed.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#feedViewPref] = 'app.bsky.actor.defs#feedViewPref' (alias '$type')#
pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.PersonalDetailsPref#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "PersonalDetailsPref",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "birthDate": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Birthdate"
      },
      "$type": {
         "const": "app.bsky.actor.defs#personalDetailsPref",
         "default": "app.bsky.actor.defs#personalDetailsPref",
         "title": "$Type"
      }
   },
   "additionalProperties": false
}

Fields:
field birth_date: Optional[str] = None (alias 'birthDate')#

The birth date of the owner of the account.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#personalDetailsPref] = 'app.bsky.actor.defs#personalDetailsPref' (alias '$type')#
pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.ProfileView#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "ProfileView",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "did": {
         "title": "Did",
         "type": "string"
      },
      "handle": {
         "title": "Handle",
         "type": "string"
      },
      "avatar": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Avatar"
      },
      "description": {
         "anyOf": [
            {
               "maxLength": 2560,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Description"
      },
      "displayName": {
         "anyOf": [
            {
               "maxLength": 640,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Displayname"
      },
      "indexedAt": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Indexedat"
      },
      "labels": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/Label"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Labels"
      },
      "viewer": {
         "anyOf": [
            {
               "$ref": "#/$defs/ViewerState"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "$type": {
         "const": "app.bsky.actor.defs#profileView",
         "default": "app.bsky.actor.defs#profileView",
         "title": "$Type"
      }
   },
   "$defs": {
      "Label": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto resource (eg, repo or record)",
         "properties": {
            "cts": {
               "title": "Cts",
               "type": "string"
            },
            "src": {
               "title": "Src",
               "type": "string"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "val": {
               "maxLength": 128,
               "title": "Val",
               "type": "string"
            },
            "cid": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Cid"
            },
            "neg": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Neg"
            },
            "$type": {
               "const": "com.atproto.label.defs#label",
               "default": "com.atproto.label.defs#label",
               "title": "$Type"
            }
         },
         "required": [
            "cts",
            "src",
            "uri",
            "val"
         ],
         "title": "Label",
         "type": "object"
      },
      "ListViewBasic": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "cid": {
               "title": "Cid",
               "type": "string"
            },
            "name": {
               "maxLength": 64,
               "minLength": 1,
               "title": "Name",
               "type": "string"
            },
            "purpose": {
               "anyOf": [
                  {
                     "const": "app.bsky.graph.defs#modlist"
                  },
                  {
                     "const": "app.bsky.graph.defs#curatelist"
                  }
               ],
               "title": "Purpose"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "avatar": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Avatar"
            },
            "indexedAt": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Indexedat"
            },
            "viewer": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewerState"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewBasic",
               "default": "app.bsky.graph.defs#listViewBasic",
               "title": "$Type"
            }
         },
         "required": [
            "cid",
            "name",
            "purpose",
            "uri"
         ],
         "title": "ListViewBasic",
         "type": "object"
      },
      "ListViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "blocked": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocked"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewerState",
               "default": "app.bsky.graph.defs#listViewerState",
               "title": "$Type"
            }
         },
         "title": "ListViewerState",
         "type": "object"
      },
      "ViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.actor.defs`.",
         "properties": {
            "blockedBy": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blockedby"
            },
            "blocking": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocking"
            },
            "blockingByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "followedBy": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Followedby"
            },
            "following": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Following"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "mutedByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.actor.defs#viewerState",
               "default": "app.bsky.actor.defs#viewerState",
               "title": "$Type"
            }
         },
         "title": "ViewerState",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "did",
      "handle"
   ]
}

Fields:
field avatar: Optional[str] = None#

Avatar.

field description: Optional[str] = None#

Description.

Constraints:
  • max_length = 2560

field did: str [Required]#

Did.

field display_name: Optional[str] = None (alias 'displayName')#

Display name.

Constraints:
  • max_length = 640

field handle: str [Required]#

Handle.

field indexed_at: Optional[str] = None (alias 'indexedAt')#

Indexed at.

field labels: Optional[List[models.ComAtprotoLabelDefs.Label]] = None#

Labels.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#profileView] = 'app.bsky.actor.defs#profileView' (alias '$type')#
field viewer: Optional[models.AppBskyActorDefs.ViewerState] = None#

Viewer.

pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.ProfileViewBasic#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "ProfileViewBasic",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "did": {
         "title": "Did",
         "type": "string"
      },
      "handle": {
         "title": "Handle",
         "type": "string"
      },
      "avatar": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Avatar"
      },
      "displayName": {
         "anyOf": [
            {
               "maxLength": 640,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Displayname"
      },
      "labels": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/Label"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Labels"
      },
      "viewer": {
         "anyOf": [
            {
               "$ref": "#/$defs/ViewerState"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "$type": {
         "const": "app.bsky.actor.defs#profileViewBasic",
         "default": "app.bsky.actor.defs#profileViewBasic",
         "title": "$Type"
      }
   },
   "$defs": {
      "Label": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto resource (eg, repo or record)",
         "properties": {
            "cts": {
               "title": "Cts",
               "type": "string"
            },
            "src": {
               "title": "Src",
               "type": "string"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "val": {
               "maxLength": 128,
               "title": "Val",
               "type": "string"
            },
            "cid": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Cid"
            },
            "neg": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Neg"
            },
            "$type": {
               "const": "com.atproto.label.defs#label",
               "default": "com.atproto.label.defs#label",
               "title": "$Type"
            }
         },
         "required": [
            "cts",
            "src",
            "uri",
            "val"
         ],
         "title": "Label",
         "type": "object"
      },
      "ListViewBasic": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "cid": {
               "title": "Cid",
               "type": "string"
            },
            "name": {
               "maxLength": 64,
               "minLength": 1,
               "title": "Name",
               "type": "string"
            },
            "purpose": {
               "anyOf": [
                  {
                     "const": "app.bsky.graph.defs#modlist"
                  },
                  {
                     "const": "app.bsky.graph.defs#curatelist"
                  }
               ],
               "title": "Purpose"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "avatar": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Avatar"
            },
            "indexedAt": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Indexedat"
            },
            "viewer": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewerState"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewBasic",
               "default": "app.bsky.graph.defs#listViewBasic",
               "title": "$Type"
            }
         },
         "required": [
            "cid",
            "name",
            "purpose",
            "uri"
         ],
         "title": "ListViewBasic",
         "type": "object"
      },
      "ListViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "blocked": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocked"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewerState",
               "default": "app.bsky.graph.defs#listViewerState",
               "title": "$Type"
            }
         },
         "title": "ListViewerState",
         "type": "object"
      },
      "ViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.actor.defs`.",
         "properties": {
            "blockedBy": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blockedby"
            },
            "blocking": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocking"
            },
            "blockingByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "followedBy": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Followedby"
            },
            "following": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Following"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "mutedByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.actor.defs#viewerState",
               "default": "app.bsky.actor.defs#viewerState",
               "title": "$Type"
            }
         },
         "title": "ViewerState",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "did",
      "handle"
   ]
}

Fields:
field avatar: Optional[str] = None#

Avatar.

field did: str [Required]#

Did.

field display_name: Optional[str] = None (alias 'displayName')#

Display name.

Constraints:
  • max_length = 640

field handle: str [Required]#

Handle.

field labels: Optional[List[models.ComAtprotoLabelDefs.Label]] = None#

Labels.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#profileViewBasic] = 'app.bsky.actor.defs#profileViewBasic' (alias '$type')#
field viewer: Optional[models.AppBskyActorDefs.ViewerState] = None#

Viewer.

pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.ProfileViewDetailed#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "ProfileViewDetailed",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "did": {
         "title": "Did",
         "type": "string"
      },
      "handle": {
         "title": "Handle",
         "type": "string"
      },
      "avatar": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Avatar"
      },
      "banner": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Banner"
      },
      "description": {
         "anyOf": [
            {
               "maxLength": 2560,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Description"
      },
      "displayName": {
         "anyOf": [
            {
               "maxLength": 640,
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Displayname"
      },
      "followersCount": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Followerscount"
      },
      "followsCount": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Followscount"
      },
      "indexedAt": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Indexedat"
      },
      "labels": {
         "anyOf": [
            {
               "items": {
                  "$ref": "#/$defs/Label"
               },
               "type": "array"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Labels"
      },
      "postsCount": {
         "anyOf": [
            {
               "type": "integer"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Postscount"
      },
      "viewer": {
         "anyOf": [
            {
               "$ref": "#/$defs/ViewerState"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "$type": {
         "const": "app.bsky.actor.defs#profileViewDetailed",
         "default": "app.bsky.actor.defs#profileViewDetailed",
         "title": "$Type"
      }
   },
   "$defs": {
      "Label": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto resource (eg, repo or record)",
         "properties": {
            "cts": {
               "title": "Cts",
               "type": "string"
            },
            "src": {
               "title": "Src",
               "type": "string"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "val": {
               "maxLength": 128,
               "title": "Val",
               "type": "string"
            },
            "cid": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Cid"
            },
            "neg": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Neg"
            },
            "$type": {
               "const": "com.atproto.label.defs#label",
               "default": "com.atproto.label.defs#label",
               "title": "$Type"
            }
         },
         "required": [
            "cts",
            "src",
            "uri",
            "val"
         ],
         "title": "Label",
         "type": "object"
      },
      "ListViewBasic": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "cid": {
               "title": "Cid",
               "type": "string"
            },
            "name": {
               "maxLength": 64,
               "minLength": 1,
               "title": "Name",
               "type": "string"
            },
            "purpose": {
               "anyOf": [
                  {
                     "const": "app.bsky.graph.defs#modlist"
                  },
                  {
                     "const": "app.bsky.graph.defs#curatelist"
                  }
               ],
               "title": "Purpose"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "avatar": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Avatar"
            },
            "indexedAt": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Indexedat"
            },
            "viewer": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewerState"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewBasic",
               "default": "app.bsky.graph.defs#listViewBasic",
               "title": "$Type"
            }
         },
         "required": [
            "cid",
            "name",
            "purpose",
            "uri"
         ],
         "title": "ListViewBasic",
         "type": "object"
      },
      "ListViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "blocked": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocked"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewerState",
               "default": "app.bsky.graph.defs#listViewerState",
               "title": "$Type"
            }
         },
         "title": "ListViewerState",
         "type": "object"
      },
      "ViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.actor.defs`.",
         "properties": {
            "blockedBy": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blockedby"
            },
            "blocking": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocking"
            },
            "blockingByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "followedBy": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Followedby"
            },
            "following": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Following"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "mutedByList": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewBasic"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.actor.defs#viewerState",
               "default": "app.bsky.actor.defs#viewerState",
               "title": "$Type"
            }
         },
         "title": "ViewerState",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "did",
      "handle"
   ]
}

Fields:
field avatar: Optional[str] = None#

Avatar.

field banner: Optional[str] = None#

Banner.

field description: Optional[str] = None#

Description.

Constraints:
  • max_length = 2560

field did: str [Required]#

Did.

field display_name: Optional[str] = None (alias 'displayName')#

Display name.

Constraints:
  • max_length = 640

field followers_count: Optional[int] = None (alias 'followersCount')#

Followers count.

field follows_count: Optional[int] = None (alias 'followsCount')#

Follows count.

field handle: str [Required]#

Handle.

field indexed_at: Optional[str] = None (alias 'indexedAt')#

Indexed at.

field labels: Optional[List[models.ComAtprotoLabelDefs.Label]] = None#

Labels.

field posts_count: Optional[int] = None (alias 'postsCount')#

Posts count.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#profileViewDetailed] = 'app.bsky.actor.defs#profileViewDetailed' (alias '$type')#
field viewer: Optional[models.AppBskyActorDefs.ViewerState] = None#

Viewer.

pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.SavedFeedsPref#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "SavedFeedsPref",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "pinned": {
         "items": {
            "type": "string"
         },
         "title": "Pinned",
         "type": "array"
      },
      "saved": {
         "items": {
            "type": "string"
         },
         "title": "Saved",
         "type": "array"
      },
      "$type": {
         "const": "app.bsky.actor.defs#savedFeedsPref",
         "default": "app.bsky.actor.defs#savedFeedsPref",
         "title": "$Type"
      }
   },
   "additionalProperties": false,
   "required": [
      "pinned",
      "saved"
   ]
}

Fields:
field pinned: List[str] [Required]#

Pinned.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#savedFeedsPref] = 'app.bsky.actor.defs#savedFeedsPref' (alias '$type')#
field saved: List[str] [Required]#

Saved.

pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.ThreadViewPref#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "ThreadViewPref",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "prioritizeFollowedUsers": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Prioritizefollowedusers"
      },
      "sort": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Sort"
      },
      "$type": {
         "const": "app.bsky.actor.defs#threadViewPref",
         "default": "app.bsky.actor.defs#threadViewPref",
         "title": "$Type"
      }
   },
   "additionalProperties": false
}

Fields:
field prioritize_followed_users: Optional[bool] = None (alias 'prioritizeFollowedUsers')#

Show followed users at the top of all replies.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#threadViewPref] = 'app.bsky.actor.defs#threadViewPref' (alias '$type')#
field sort: Optional[str] = None#

Sorting mode.

pydantic model atproto.xrpc_client.models.app.bsky.actor.defs.ViewerState#

Bases: ModelBase

Definition model for app.bsky.actor.defs.

Show JSON schema
{
   "title": "ViewerState",
   "description": "Definition model for :obj:`app.bsky.actor.defs`.",
   "type": "object",
   "properties": {
      "blockedBy": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Blockedby"
      },
      "blocking": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Blocking"
      },
      "blockingByList": {
         "anyOf": [
            {
               "$ref": "#/$defs/ListViewBasic"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "followedBy": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Followedby"
      },
      "following": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Following"
      },
      "muted": {
         "anyOf": [
            {
               "type": "boolean"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Muted"
      },
      "mutedByList": {
         "anyOf": [
            {
               "$ref": "#/$defs/ListViewBasic"
            },
            {
               "type": "null"
            }
         ],
         "default": null
      },
      "$type": {
         "const": "app.bsky.actor.defs#viewerState",
         "default": "app.bsky.actor.defs#viewerState",
         "title": "$Type"
      }
   },
   "$defs": {
      "ListViewBasic": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "cid": {
               "title": "Cid",
               "type": "string"
            },
            "name": {
               "maxLength": 64,
               "minLength": 1,
               "title": "Name",
               "type": "string"
            },
            "purpose": {
               "anyOf": [
                  {
                     "const": "app.bsky.graph.defs#modlist"
                  },
                  {
                     "const": "app.bsky.graph.defs#curatelist"
                  }
               ],
               "title": "Purpose"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "avatar": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Avatar"
            },
            "indexedAt": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Indexedat"
            },
            "viewer": {
               "anyOf": [
                  {
                     "$ref": "#/$defs/ListViewerState"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewBasic",
               "default": "app.bsky.graph.defs#listViewBasic",
               "title": "$Type"
            }
         },
         "required": [
            "cid",
            "name",
            "purpose",
            "uri"
         ],
         "title": "ListViewBasic",
         "type": "object"
      },
      "ListViewerState": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`app.bsky.graph.defs`.",
         "properties": {
            "blocked": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Blocked"
            },
            "muted": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Muted"
            },
            "$type": {
               "const": "app.bsky.graph.defs#listViewerState",
               "default": "app.bsky.graph.defs#listViewerState",
               "title": "$Type"
            }
         },
         "title": "ListViewerState",
         "type": "object"
      }
   },
   "additionalProperties": false
}

Fields:
field blocked_by: Optional[bool] = None (alias 'blockedBy')#

Blocked by.

field blocking: Optional[str] = None#

Blocking.

field blocking_by_list: Optional[models.AppBskyGraphDefs.ListViewBasic] = None (alias 'blockingByList')#

Blocking by list.

field followed_by: Optional[str] = None (alias 'followedBy')#

Followed by.

field following: Optional[str] = None#

Following.

field muted: Optional[bool] = None#

Muted.

field muted_by_list: Optional[models.AppBskyGraphDefs.ListViewBasic] = None (alias 'mutedByList')#

Muted by list.

field py_type: typing_extensions.Literal[app.bsky.actor.defs#viewerState] = 'app.bsky.actor.defs#viewerState' (alias '$type')#