com.atproto.admin.defs#
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.AccountView#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "AccountView", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "did": { "title": "Did", "type": "string" }, "handle": { "title": "Handle", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Email" }, "inviteNote": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Invitenote" }, "invitedBy": { "anyOf": [ { "$ref": "#/$defs/InviteCode" }, { "type": "null" } ], "default": null }, "invites": { "anyOf": [ { "items": { "$ref": "#/$defs/InviteCode" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Invites" }, "invitesDisabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Invitesdisabled" }, "$type": { "const": "com.atproto.admin.defs#accountView", "default": "com.atproto.admin.defs#accountView", "title": "$Type" } }, "$defs": { "InviteCode": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "available": { "title": "Available", "type": "integer" }, "code": { "title": "Code", "type": "string" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "disabled": { "title": "Disabled", "type": "boolean" }, "forAccount": { "title": "Foraccount", "type": "string" }, "uses": { "items": { "$ref": "#/$defs/InviteCodeUse" }, "title": "Uses", "type": "array" }, "$type": { "const": "com.atproto.server.defs#inviteCode", "default": "com.atproto.server.defs#inviteCode", "title": "$Type" } }, "required": [ "available", "code", "createdAt", "createdBy", "disabled", "forAccount", "uses" ], "title": "InviteCode", "type": "object" }, "InviteCodeUse": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "usedAt": { "title": "Usedat", "type": "string" }, "usedBy": { "title": "Usedby", "type": "string" }, "$type": { "const": "com.atproto.server.defs#inviteCodeUse", "default": "com.atproto.server.defs#inviteCodeUse", "title": "$Type" } }, "required": [ "usedAt", "usedBy" ], "title": "InviteCodeUse", "type": "object" } }, "additionalProperties": false, "required": [ "did", "handle", "indexedAt" ] }
- Fields:
- field did: str [Required]#
Did.
- field email: Optional[str] = None#
Email.
- field handle: str [Required]#
Handle.
- field indexed_at: str [Required] (alias 'indexedAt')#
Indexed at.
- field invite_note: Optional[str] = None (alias 'inviteNote')#
Invite note.
- field invited_by: Optional[models.ComAtprotoServerDefs.InviteCode] = None (alias 'invitedBy')#
Invited by.
- field invites: Optional[List[models.ComAtprotoServerDefs.InviteCode]] = None#
Invites.
- field invites_disabled: Optional[bool] = None (alias 'invitesDisabled')#
Invites disabled.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#accountView] = 'com.atproto.admin.defs#accountView' (alias '$type')#
- atproto.xrpc_client.models.com.atproto.admin.defs.Acknowledge#
Acknowledge. Indicates that the content was reviewed and not considered to violate PDS rules.
- Type:
Moderation action type
alias of
Literal
[com.atproto.admin.defs#acknowledge]
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.ActionReversal#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "ActionReversal", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "reason": { "title": "Reason", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#actionReversal", "default": "com.atproto.admin.defs#actionReversal", "title": "$Type" } }, "additionalProperties": false, "required": [ "createdAt", "createdBy", "reason" ] }
- Fields:
- field created_at: str [Required] (alias 'createdAt')#
Created at.
- field created_by: str [Required] (alias 'createdBy')#
Created by.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#actionReversal] = 'com.atproto.admin.defs#actionReversal' (alias '$type')#
- field reason: str [Required]#
Reason.
- atproto.xrpc_client.models.com.atproto.admin.defs.ActionType#
Action type
alias of
Union
[models.ComAtprotoAdminDefs.Takedown
,models.ComAtprotoAdminDefs.Flag
,models.ComAtprotoAdminDefs.Acknowledge
,models.ComAtprotoAdminDefs.Escalate
]
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.ActionView#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "ActionView", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "reason": { "title": "Reason", "type": "string" }, "resolvedReportIds": { "items": { "type": "integer" }, "title": "Resolvedreportids", "type": "array" }, "subject": { "discriminator": { "mapping": { "com.atproto.admin.defs#repoRef": "#/$defs/RepoRef", "com.atproto.repo.strongRef": "#/$defs/Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/RepoRef" }, { "$ref": "#/$defs/Main" } ], "title": "Subject" }, "subjectBlobCids": { "items": { "type": "string" }, "title": "Subjectblobcids", "type": "array" }, "createLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Createlabelvals" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "negateLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Negatelabelvals" }, "reversal": { "anyOf": [ { "$ref": "#/$defs/ActionReversal" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#actionView", "default": "com.atproto.admin.defs#actionView", "title": "$Type" } }, "$defs": { "ActionReversal": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "reason": { "title": "Reason", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#actionReversal", "default": "com.atproto.admin.defs#actionReversal", "title": "$Type" } }, "required": [ "createdAt", "createdBy", "reason" ], "title": "ActionReversal", "type": "object" }, "Main": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.repo.strongRef`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "com.atproto.repo.strongRef", "default": "com.atproto.repo.strongRef", "title": "$Type" } }, "required": [ "cid", "uri" ], "title": "Main", "type": "object" }, "RepoRef": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#repoRef", "default": "com.atproto.admin.defs#repoRef", "title": "$Type" } }, "required": [ "did" ], "title": "RepoRef", "type": "object" } }, "additionalProperties": false, "required": [ "action", "createdAt", "createdBy", "id", "reason", "resolvedReportIds", "subject", "subjectBlobCids" ] }
- Fields:
- field action: models.ComAtprotoAdminDefs.ActionType [Required]#
Action.
- field create_label_vals: Optional[List[str]] = None (alias 'createLabelVals')#
Create label vals.
- field created_at: str [Required] (alias 'createdAt')#
Created at.
- field created_by: str [Required] (alias 'createdBy')#
Created by.
- field duration_in_hours: Optional[int] = None (alias 'durationInHours')#
Indicates how long this action was meant to be in effect before automatically expiring.
- field id: int [Required]#
Id.
- field negate_label_vals: Optional[List[str]] = None (alias 'negateLabelVals')#
Negate label vals.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#actionView] = 'com.atproto.admin.defs#actionView' (alias '$type')#
- field reason: str [Required]#
Reason.
- field resolved_report_ids: List[int] [Required] (alias 'resolvedReportIds')#
Resolved report ids.
- field reversal: Optional[models.ComAtprotoAdminDefs.ActionReversal] = None#
Reversal.
- field subject: Union[models.ComAtprotoAdminDefs.RepoRef, models.ComAtprotoRepoStrongRef.Main][Union[models.ComAtprotoAdminDefs.RepoRef, models.ComAtprotoRepoStrongRef.Main]] [Required]#
- field subject_blob_cids: List[str] [Required] (alias 'subjectBlobCids')#
Subject blob cids.
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.ActionViewCurrent#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "ActionViewCurrent", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "id": { "title": "Id", "type": "integer" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "$type": { "const": "com.atproto.admin.defs#actionViewCurrent", "default": "com.atproto.admin.defs#actionViewCurrent", "title": "$Type" } }, "additionalProperties": false, "required": [ "action", "id" ] }
- Fields:
- field action: models.ComAtprotoAdminDefs.ActionType [Required]#
Action.
- field duration_in_hours: Optional[int] = None (alias 'durationInHours')#
Indicates how long this action was meant to be in effect before automatically expiring.
- field id: int [Required]#
Id.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#actionViewCurrent] = 'com.atproto.admin.defs#actionViewCurrent' (alias '$type')#
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.ActionViewDetail#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "ActionViewDetail", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "reason": { "title": "Reason", "type": "string" }, "resolvedReports": { "items": { "$ref": "#/$defs/ReportView" }, "title": "Resolvedreports", "type": "array" }, "subject": { "discriminator": { "mapping": { "com.atproto.admin.defs#recordView": "#/$defs/RecordView", "com.atproto.admin.defs#recordViewNotFound": "#/$defs/RecordViewNotFound", "com.atproto.admin.defs#repoView": "#/$defs/RepoView", "com.atproto.admin.defs#repoViewNotFound": "#/$defs/RepoViewNotFound" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/RepoView" }, { "$ref": "#/$defs/RepoViewNotFound" }, { "$ref": "#/$defs/RecordView" }, { "$ref": "#/$defs/RecordViewNotFound" } ], "title": "Subject" }, "subjectBlobs": { "items": { "$ref": "#/$defs/BlobView" }, "title": "Subjectblobs", "type": "array" }, "createLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Createlabelvals" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "negateLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Negatelabelvals" }, "reversal": { "anyOf": [ { "$ref": "#/$defs/ActionReversal" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#actionViewDetail", "default": "com.atproto.admin.defs#actionViewDetail", "title": "$Type" } }, "$defs": { "ActionReversal": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "reason": { "title": "Reason", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#actionReversal", "default": "com.atproto.admin.defs#actionReversal", "title": "$Type" } }, "required": [ "createdAt", "createdBy", "reason" ], "title": "ActionReversal", "type": "object" }, "ActionViewCurrent": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "id": { "title": "Id", "type": "integer" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "$type": { "const": "com.atproto.admin.defs#actionViewCurrent", "default": "com.atproto.admin.defs#actionViewCurrent", "title": "$Type" } }, "required": [ "action", "id" ], "title": "ActionViewCurrent", "type": "object" }, "AspectRatio": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`. width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.", "properties": { "height": { "minimum": 1, "title": "Height", "type": "integer" }, "width": { "minimum": 1, "title": "Width", "type": "integer" }, "$type": { "const": "app.bsky.embed.images#aspectRatio", "default": "app.bsky.embed.images#aspectRatio", "title": "$Type" } }, "required": [ "height", "width" ], "title": "AspectRatio", "type": "object" }, "BlobRef": { "additionalProperties": false, "description": "Blob reference.", "properties": { "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "ref": { "$ref": "#/$defs/BlobRefLink" }, "$type": { "const": "blob", "default": "blob", "title": "$Type" } }, "required": [ "mimeType", "size", "ref" ], "title": "BlobRef", "type": "object" }, "BlobRefLink": { "description": "Blob reference link.", "properties": { "$link": { "title": "$Link", "type": "string" } }, "required": [ "$link" ], "title": "BlobRefLink", "type": "object" }, "BlobView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "createdAt": { "title": "Createdat", "type": "string" }, "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "details": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.admin.defs#imageDetails": "#/$defs/ImageDetails", "com.atproto.admin.defs#videoDetails": "#/$defs/VideoDetails" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/ImageDetails" }, { "$ref": "#/$defs/VideoDetails" } ] }, { "type": "null" } ], "default": null, "title": "Details" }, "moderation": { "anyOf": [ { "$ref": "#/$defs/Moderation" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#blobView", "default": "com.atproto.admin.defs#blobView", "title": "$Type" } }, "required": [ "cid", "createdAt", "mimeType", "size" ], "title": "BlobView", "type": "object" }, "ByteSlice": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A text segment. Start is inclusive, end is exclusive. Indices are for utf8-encoded strings.", "properties": { "byteEnd": { "minimum": 0, "title": "Byteend", "type": "integer" }, "byteStart": { "minimum": 0, "title": "Bytestart", "type": "integer" }, "$type": { "const": "app.bsky.richtext.facet#byteSlice", "default": "app.bsky.richtext.facet#byteSlice", "title": "$Type" } }, "required": [ "byteEnd", "byteStart" ], "title": "ByteSlice", "type": "object" }, "Entity": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated: use facets instead.", "properties": { "index": { "$ref": "#/$defs/TextSlice" }, "type": { "title": "Type", "type": "string" }, "value": { "title": "Value", "type": "string" }, "$type": { "const": "app.bsky.feed.post#entity", "default": "app.bsky.feed.post#entity", "title": "$Type" } }, "required": [ "index", "type", "value" ], "title": "Entity", "type": "object" }, "External": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "description": { "title": "Description", "type": "string" }, "title": { "title": "Title", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "thumb": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.external#external", "default": "app.bsky.embed.external#external", "title": "$Type" } }, "required": [ "description", "title", "uri" ], "title": "External", "type": "object" }, "FollowingRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors you follow.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#followingRule", "default": "app.bsky.feed.threadgate#followingRule", "title": "$Type" } }, "title": "FollowingRule", "type": "object" }, "Image": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "alt": { "title": "Alt", "type": "string" }, "image": { "$ref": "#/$defs/BlobRef" }, "aspectRatio": { "anyOf": [ { "$ref": "#/$defs/AspectRatio" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.images#image", "default": "app.bsky.embed.images#image", "title": "$Type" } }, "required": [ "alt", "image" ], "title": "Image", "type": "object" }, "ImageDetails": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "height": { "title": "Height", "type": "integer" }, "width": { "title": "Width", "type": "integer" }, "$type": { "const": "com.atproto.admin.defs#imageDetails", "default": "com.atproto.admin.defs#imageDetails", "title": "$Type" } }, "required": [ "height", "width" ], "title": "ImageDetails", "type": "object" }, "InviteCode": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "available": { "title": "Available", "type": "integer" }, "code": { "title": "Code", "type": "string" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "disabled": { "title": "Disabled", "type": "boolean" }, "forAccount": { "title": "Foraccount", "type": "string" }, "uses": { "items": { "$ref": "#/$defs/InviteCodeUse" }, "title": "Uses", "type": "array" }, "$type": { "const": "com.atproto.server.defs#inviteCode", "default": "com.atproto.server.defs#inviteCode", "title": "$Type" } }, "required": [ "available", "code", "createdAt", "createdBy", "disabled", "forAccount", "uses" ], "title": "InviteCode", "type": "object" }, "InviteCodeUse": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "usedAt": { "title": "Usedat", "type": "string" }, "usedBy": { "title": "Usedby", "type": "string" }, "$type": { "const": "com.atproto.server.defs#inviteCodeUse", "default": "com.atproto.server.defs#inviteCodeUse", "title": "$Type" } }, "required": [ "usedAt", "usedBy" ], "title": "InviteCodeUse", "type": "object" }, "Link": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for links.", "properties": { "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#link", "default": "app.bsky.richtext.facet#link", "title": "$Type" } }, "required": [ "uri" ], "title": "Link", "type": "object" }, "ListRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors on a list.", "properties": { "list": { "title": "List", "type": "string" }, "$type": { "const": "app.bsky.feed.threadgate#listRule", "default": "app.bsky.feed.threadgate#listRule", "title": "$Type" } }, "required": [ "list" ], "title": "ListRule", "type": "object" }, "Mention": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for actor mentions.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#mention", "default": "app.bsky.richtext.facet#mention", "title": "$Type" } }, "required": [ "did" ], "title": "Mention", "type": "object" }, "MentionRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors mentioned in your post.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#mentionRule", "default": "app.bsky.feed.threadgate#mentionRule", "title": "$Type" } }, "title": "MentionRule", "type": "object" }, "Moderation": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "currentAction": { "anyOf": [ { "$ref": "#/$defs/ActionViewCurrent" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#moderation", "default": "com.atproto.admin.defs#moderation", "title": "$Type" } }, "title": "Moderation", "type": "object" }, "RecordView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "blobCids": { "items": { "type": "string" }, "title": "Blobcids", "type": "array" }, "cid": { "title": "Cid", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "moderation": { "$ref": "#/$defs/Moderation" }, "repo": { "$ref": "#/$defs/RepoView" }, "uri": { "title": "Uri", "type": "string" }, "value": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, { "type": "object" } ], "title": "Value" }, "$type": { "const": "com.atproto.admin.defs#recordView", "default": "com.atproto.admin.defs#recordView", "title": "$Type" } }, "required": [ "blobCids", "cid", "indexedAt", "moderation", "repo", "uri", "value" ], "title": "RecordView", "type": "object" }, "RecordViewNotFound": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#recordViewNotFound", "default": "com.atproto.admin.defs#recordViewNotFound", "title": "$Type" } }, "required": [ "uri" ], "title": "RecordViewNotFound", "type": "object" }, "ReplyRef": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`.", "properties": { "parent": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "root": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.post#replyRef", "default": "app.bsky.feed.post#replyRef", "title": "$Type" } }, "required": [ "parent", "root" ], "title": "ReplyRef", "type": "object" }, "RepoRef": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#repoRef", "default": "com.atproto.admin.defs#repoRef", "title": "$Type" } }, "required": [ "did" ], "title": "RepoRef", "type": "object" }, "RepoView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "handle": { "title": "Handle", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "moderation": { "$ref": "#/$defs/Moderation" }, "relatedRecords": { "items": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, { "type": "object" } ] }, "title": "Relatedrecords", "type": "array" }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Email" }, "inviteNote": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Invitenote" }, "invitedBy": { "anyOf": [ { "$ref": "#/$defs/InviteCode" }, { "type": "null" } ], "default": null }, "invitesDisabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Invitesdisabled" }, "$type": { "const": "com.atproto.admin.defs#repoView", "default": "com.atproto.admin.defs#repoView", "title": "$Type" } }, "required": [ "did", "handle", "indexedAt", "moderation", "relatedRecords" ], "title": "RepoView", "type": "object" }, "RepoViewNotFound": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#repoViewNotFound", "default": "com.atproto.admin.defs#repoViewNotFound", "title": "$Type" } }, "required": [ "did" ], "title": "RepoViewNotFound", "type": "object" }, "ReportView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "reasonType": { "anyOf": [ { "const": "com.atproto.moderation.defs#reasonSpam" }, { "const": "com.atproto.moderation.defs#reasonViolation" }, { "const": "com.atproto.moderation.defs#reasonMisleading" }, { "const": "com.atproto.moderation.defs#reasonSexual" }, { "const": "com.atproto.moderation.defs#reasonRude" }, { "const": "com.atproto.moderation.defs#reasonOther" } ], "title": "Reasontype" }, "reportedBy": { "title": "Reportedby", "type": "string" }, "resolvedByActionIds": { "items": { "type": "integer" }, "title": "Resolvedbyactionids", "type": "array" }, "subject": { "discriminator": { "mapping": { "com.atproto.admin.defs#repoRef": "#/$defs/RepoRef", "com.atproto.repo.strongRef": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/RepoRef" }, { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" } ], "title": "Subject" }, "reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Reason" }, "subjectRepoHandle": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Subjectrepohandle" }, "$type": { "const": "com.atproto.admin.defs#reportView", "default": "com.atproto.admin.defs#reportView", "title": "$Type" } }, "required": [ "createdAt", "id", "reasonType", "reportedBy", "resolvedByActionIds", "subject" ], "title": "ReportView", "type": "object" }, "SelfLabel": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel.", "properties": { "val": { "maxLength": 128, "title": "Val", "type": "string" }, "$type": { "const": "com.atproto.label.defs#selfLabel", "default": "com.atproto.label.defs#selfLabel", "title": "$Type" } }, "required": [ "val" ], "title": "SelfLabel", "type": "object" }, "SelfLabels": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tags on an atproto record, published by the author within the record.", "properties": { "values": { "items": { "$ref": "#/$defs/SelfLabel" }, "maxItems": 10, "title": "Values", "type": "array" }, "$type": { "const": "com.atproto.label.defs#selfLabels", "default": "com.atproto.label.defs#selfLabels", "title": "$Type" } }, "required": [ "values" ], "title": "SelfLabels", "type": "object" }, "Tag": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A hashtag.", "properties": { "tag": { "maxLength": 640, "title": "Tag", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#tag", "default": "app.bsky.richtext.facet#tag", "title": "$Type" } }, "required": [ "tag" ], "title": "Tag", "type": "object" }, "TextSlice": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings.", "properties": { "end": { "minimum": 0, "title": "End", "type": "integer" }, "start": { "minimum": 0, "title": "Start", "type": "integer" }, "$type": { "const": "app.bsky.feed.post#textSlice", "default": "app.bsky.feed.post#textSlice", "title": "$Type" } }, "required": [ "end", "start" ], "title": "TextSlice", "type": "object" }, "VideoDetails": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "height": { "title": "Height", "type": "integer" }, "length": { "title": "Length", "type": "integer" }, "width": { "title": "Width", "type": "integer" }, "$type": { "const": "com.atproto.admin.defs#videoDetails", "default": "com.atproto.admin.defs#videoDetails", "title": "$Type" } }, "required": [ "height", "length", "width" ], "title": "VideoDetails", "type": "object" }, "atproto__xrpc_client__models__app__bsky__actor__profile__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.actor.profile`.", "properties": { "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "banner": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 2560, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "displayName": { "anyOf": [ { "maxLength": 640, "type": "string" }, { "type": "null" } ], "default": null, "title": "Displayname" }, "labels": { "anyOf": [ { "default": null, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.actor.profile", "default": "app.bsky.actor.profile", "title": "$Type" } }, "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__external__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "external": { "$ref": "#/$defs/External" }, "$type": { "const": "app.bsky.embed.external", "default": "app.bsky.embed.external", "title": "$Type" } }, "required": [ "external" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__images__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "images": { "items": { "$ref": "#/$defs/Image" }, "maxItems": 4, "title": "Images", "type": "array" }, "$type": { "const": "app.bsky.embed.images", "default": "app.bsky.embed.images", "title": "$Type" } }, "required": [ "images" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "record": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.embed.record", "default": "app.bsky.embed.record", "title": "$Type" } }, "required": [ "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.recordWithMedia`.", "properties": { "media": { "discriminator": { "mapping": { "app.bsky.embed.external": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main", "app.bsky.embed.images": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" } ], "title": "Media" }, "record": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, "$type": { "const": "app.bsky.embed.recordWithMedia", "default": "app.bsky.embed.recordWithMedia", "title": "$Type" } }, "required": [ "media", "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__generator__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.generator`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "did": { "title": "Did", "type": "string" }, "displayName": { "maxLength": 240, "title": "Displayname", "type": "string" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "labels": { "anyOf": [ { "allOf": [ { "$ref": "#/$defs/SelfLabels" } ], "default": null }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.feed.generator", "default": "app.bsky.feed.generator", "title": "$Type" } }, "required": [ "createdAt", "did", "displayName" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__like__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.like`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.like", "default": "app.bsky.feed.like", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__post__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.post`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "text": { "maxLength": 3000, "title": "Text", "type": "string" }, "embed": { "anyOf": [ { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main" } ], "default": null }, { "type": "null" } ], "default": null, "title": "Embed" }, "entities": { "anyOf": [ { "items": { "$ref": "#/$defs/Entity" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Entities" }, "facets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Facets" }, "labels": { "anyOf": [ { "allOf": [ { "$ref": "#/$defs/SelfLabels" } ], "default": null }, { "type": "null" } ], "default": null }, "langs": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 3, "type": "array" }, { "type": "null" } ], "default": null, "title": "Langs" }, "reply": { "anyOf": [ { "$ref": "#/$defs/ReplyRef" }, { "type": "null" } ], "default": null }, "tags": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 8, "type": "array" }, { "type": "null" } ], "default": null, "title": "Tags" }, "$type": { "const": "app.bsky.feed.post", "default": "app.bsky.feed.post", "title": "$Type" } }, "required": [ "createdAt", "text" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__repost__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.repost`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.repost", "default": "app.bsky.feed.repost", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__threadgate__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.threadgate`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "post": { "title": "Post", "type": "string" }, "allow": { "anyOf": [ { "items": { "anyOf": [ { "$ref": "#/$defs/MentionRule" }, { "$ref": "#/$defs/FollowingRule" }, { "$ref": "#/$defs/ListRule" } ] }, "maxItems": 5, "type": "array" }, { "type": "null" } ], "default": null, "title": "Allow" }, "$type": { "const": "app.bsky.feed.threadgate", "default": "app.bsky.feed.threadgate", "title": "$Type" } }, "required": [ "createdAt", "post" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__block__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.block`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.block", "default": "app.bsky.graph.block", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__follow__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.follow`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.follow", "default": "app.bsky.graph.follow", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__list__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.list`.", "properties": { "createdAt": { "title": "Createdat", "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" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "labels": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.label.defs#selfLabels": "#/$defs/SelfLabels" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.graph.list", "default": "app.bsky.graph.list", "title": "$Type" } }, "required": [ "createdAt", "name", "purpose" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__listblock__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.listblock`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.listblock", "default": "app.bsky.graph.listblock", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__listitem__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.listitem`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "list": { "title": "List", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.listitem", "default": "app.bsky.graph.listitem", "title": "$Type" } }, "required": [ "createdAt", "list", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__richtext__facet__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`.", "properties": { "features": { "items": { "oneOf": [ { "$ref": "#/$defs/Mention" }, { "$ref": "#/$defs/Link" }, { "$ref": "#/$defs/Tag" } ] }, "title": "Features", "type": "array" }, "index": { "$ref": "#/$defs/ByteSlice" }, "$type": { "const": "app.bsky.richtext.facet", "default": "app.bsky.richtext.facet", "title": "$Type" } }, "required": [ "features", "index" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.repo.strongRef`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "com.atproto.repo.strongRef", "default": "com.atproto.repo.strongRef", "title": "$Type" } }, "required": [ "cid", "uri" ], "title": "Main", "type": "object" } }, "additionalProperties": false, "required": [ "action", "createdAt", "createdBy", "id", "reason", "resolvedReports", "subject", "subjectBlobs" ] }
- Fields:
- field action: models.ComAtprotoAdminDefs.ActionType [Required]#
Action.
- field create_label_vals: Optional[List[str]] = None (alias 'createLabelVals')#
Create label vals.
- field created_at: str [Required] (alias 'createdAt')#
Created at.
- field created_by: str [Required] (alias 'createdBy')#
Created by.
- field duration_in_hours: Optional[int] = None (alias 'durationInHours')#
Indicates how long this action was meant to be in effect before automatically expiring.
- field id: int [Required]#
Id.
- field negate_label_vals: Optional[List[str]] = None (alias 'negateLabelVals')#
Negate label vals.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#actionViewDetail] = 'com.atproto.admin.defs#actionViewDetail' (alias '$type')#
- field reason: str [Required]#
Reason.
- field resolved_reports: List[models.ComAtprotoAdminDefs.ReportView] [Required] (alias 'resolvedReports')#
Resolved reports.
- field reversal: Optional[models.ComAtprotoAdminDefs.ActionReversal] = None#
Reversal.
- field subject: Union[models.ComAtprotoAdminDefs.RepoView, models.ComAtprotoAdminDefs.RepoViewNotFound, models.ComAtprotoAdminDefs.RecordView, models.ComAtprotoAdminDefs.RecordViewNotFound][Union[models.ComAtprotoAdminDefs.RepoView, models.ComAtprotoAdminDefs.RepoViewNotFound, models.ComAtprotoAdminDefs.RecordView, models.ComAtprotoAdminDefs.RecordViewNotFound]] [Required]#
- field subject_blobs: List[models.ComAtprotoAdminDefs.BlobView] [Required] (alias 'subjectBlobs')#
Subject blobs.
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.BlobView#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "BlobView", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "cid": { "title": "Cid", "type": "string" }, "createdAt": { "title": "Createdat", "type": "string" }, "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "details": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.admin.defs#imageDetails": "#/$defs/ImageDetails", "com.atproto.admin.defs#videoDetails": "#/$defs/VideoDetails" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/ImageDetails" }, { "$ref": "#/$defs/VideoDetails" } ] }, { "type": "null" } ], "default": null, "title": "Details" }, "moderation": { "anyOf": [ { "$ref": "#/$defs/Moderation" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#blobView", "default": "com.atproto.admin.defs#blobView", "title": "$Type" } }, "$defs": { "ActionViewCurrent": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "id": { "title": "Id", "type": "integer" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "$type": { "const": "com.atproto.admin.defs#actionViewCurrent", "default": "com.atproto.admin.defs#actionViewCurrent", "title": "$Type" } }, "required": [ "action", "id" ], "title": "ActionViewCurrent", "type": "object" }, "ImageDetails": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "height": { "title": "Height", "type": "integer" }, "width": { "title": "Width", "type": "integer" }, "$type": { "const": "com.atproto.admin.defs#imageDetails", "default": "com.atproto.admin.defs#imageDetails", "title": "$Type" } }, "required": [ "height", "width" ], "title": "ImageDetails", "type": "object" }, "Moderation": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "currentAction": { "anyOf": [ { "$ref": "#/$defs/ActionViewCurrent" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#moderation", "default": "com.atproto.admin.defs#moderation", "title": "$Type" } }, "title": "Moderation", "type": "object" }, "VideoDetails": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "height": { "title": "Height", "type": "integer" }, "length": { "title": "Length", "type": "integer" }, "width": { "title": "Width", "type": "integer" }, "$type": { "const": "com.atproto.admin.defs#videoDetails", "default": "com.atproto.admin.defs#videoDetails", "title": "$Type" } }, "required": [ "height", "length", "width" ], "title": "VideoDetails", "type": "object" } }, "additionalProperties": false, "required": [ "cid", "createdAt", "mimeType", "size" ] }
- Fields:
- field cid: str [Required]#
Cid.
- field created_at: str [Required] (alias 'createdAt')#
Created at.
- field details: Optional[Union[models.ComAtprotoAdminDefs.ImageDetails, models.ComAtprotoAdminDefs.VideoDetails][Union[models.ComAtprotoAdminDefs.ImageDetails, models.ComAtprotoAdminDefs.VideoDetails]]] = None#
- field mime_type: str [Required] (alias 'mimeType')#
Mime type.
- field moderation: Optional[models.ComAtprotoAdminDefs.Moderation] = None#
Moderation.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#blobView] = 'com.atproto.admin.defs#blobView' (alias '$type')#
- field size: int [Required]#
Size.
- atproto.xrpc_client.models.com.atproto.admin.defs.Escalate#
Escalate. Indicates that the content has been flagged for additional review.
- Type:
Moderation action type
alias of
Literal
[com.atproto.admin.defs#escalate]
- atproto.xrpc_client.models.com.atproto.admin.defs.Flag#
Flag. Indicates that the content was reviewed and considered to violate PDS rules, but may still be served.
- Type:
Moderation action type
alias of
Literal
[com.atproto.admin.defs#flag]
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.ImageDetails#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "ImageDetails", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "height": { "title": "Height", "type": "integer" }, "width": { "title": "Width", "type": "integer" }, "$type": { "const": "com.atproto.admin.defs#imageDetails", "default": "com.atproto.admin.defs#imageDetails", "title": "$Type" } }, "additionalProperties": false, "required": [ "height", "width" ] }
- Fields:
- field height: int [Required]#
Height.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#imageDetails] = 'com.atproto.admin.defs#imageDetails' (alias '$type')#
- field width: int [Required]#
Width.
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.Moderation#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "Moderation", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "currentAction": { "anyOf": [ { "$ref": "#/$defs/ActionViewCurrent" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#moderation", "default": "com.atproto.admin.defs#moderation", "title": "$Type" } }, "$defs": { "ActionViewCurrent": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "id": { "title": "Id", "type": "integer" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "$type": { "const": "com.atproto.admin.defs#actionViewCurrent", "default": "com.atproto.admin.defs#actionViewCurrent", "title": "$Type" } }, "required": [ "action", "id" ], "title": "ActionViewCurrent", "type": "object" } }, "additionalProperties": false }
- Fields:
- field current_action: Optional[models.ComAtprotoAdminDefs.ActionViewCurrent] = None (alias 'currentAction')#
Current action.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#moderation] = 'com.atproto.admin.defs#moderation' (alias '$type')#
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.ModerationDetail#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "ModerationDetail", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "actions": { "items": { "$ref": "#/$defs/ActionView" }, "title": "Actions", "type": "array" }, "reports": { "items": { "$ref": "#/$defs/ReportView" }, "title": "Reports", "type": "array" }, "currentAction": { "anyOf": [ { "$ref": "#/$defs/ActionViewCurrent" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#moderationDetail", "default": "com.atproto.admin.defs#moderationDetail", "title": "$Type" } }, "$defs": { "ActionReversal": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "reason": { "title": "Reason", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#actionReversal", "default": "com.atproto.admin.defs#actionReversal", "title": "$Type" } }, "required": [ "createdAt", "createdBy", "reason" ], "title": "ActionReversal", "type": "object" }, "ActionView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "reason": { "title": "Reason", "type": "string" }, "resolvedReportIds": { "items": { "type": "integer" }, "title": "Resolvedreportids", "type": "array" }, "subject": { "anyOf": [ { "$ref": "#/$defs/RepoRef" }, { "$ref": "#/$defs/Main" } ], "title": "Subject" }, "subjectBlobCids": { "items": { "type": "string" }, "title": "Subjectblobcids", "type": "array" }, "createLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Createlabelvals" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "negateLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Negatelabelvals" }, "reversal": { "anyOf": [ { "$ref": "#/$defs/ActionReversal" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#actionView", "default": "com.atproto.admin.defs#actionView", "title": "$Type" } }, "required": [ "action", "createdAt", "createdBy", "id", "reason", "resolvedReportIds", "subject", "subjectBlobCids" ], "title": "ActionView", "type": "object" }, "ActionViewCurrent": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "id": { "title": "Id", "type": "integer" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "$type": { "const": "com.atproto.admin.defs#actionViewCurrent", "default": "com.atproto.admin.defs#actionViewCurrent", "title": "$Type" } }, "required": [ "action", "id" ], "title": "ActionViewCurrent", "type": "object" }, "Main": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.repo.strongRef`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "com.atproto.repo.strongRef", "default": "com.atproto.repo.strongRef", "title": "$Type" } }, "required": [ "cid", "uri" ], "title": "Main", "type": "object" }, "RepoRef": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#repoRef", "default": "com.atproto.admin.defs#repoRef", "title": "$Type" } }, "required": [ "did" ], "title": "RepoRef", "type": "object" }, "ReportView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "reasonType": { "anyOf": [ { "const": "com.atproto.moderation.defs#reasonSpam" }, { "const": "com.atproto.moderation.defs#reasonViolation" }, { "const": "com.atproto.moderation.defs#reasonMisleading" }, { "const": "com.atproto.moderation.defs#reasonSexual" }, { "const": "com.atproto.moderation.defs#reasonRude" }, { "const": "com.atproto.moderation.defs#reasonOther" } ], "title": "Reasontype" }, "reportedBy": { "title": "Reportedby", "type": "string" }, "resolvedByActionIds": { "items": { "type": "integer" }, "title": "Resolvedbyactionids", "type": "array" }, "subject": { "anyOf": [ { "$ref": "#/$defs/RepoRef" }, { "$ref": "#/$defs/Main" } ], "title": "Subject" }, "reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Reason" }, "subjectRepoHandle": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Subjectrepohandle" }, "$type": { "const": "com.atproto.admin.defs#reportView", "default": "com.atproto.admin.defs#reportView", "title": "$Type" } }, "required": [ "createdAt", "id", "reasonType", "reportedBy", "resolvedByActionIds", "subject" ], "title": "ReportView", "type": "object" } }, "additionalProperties": false, "required": [ "actions", "reports" ] }
- Fields:
- field actions: List[models.ComAtprotoAdminDefs.ActionView] [Required]#
Actions.
- field current_action: Optional[models.ComAtprotoAdminDefs.ActionViewCurrent] = None (alias 'currentAction')#
Current action.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#moderationDetail] = 'com.atproto.admin.defs#moderationDetail' (alias '$type')#
- field reports: List[models.ComAtprotoAdminDefs.ReportView] [Required]#
Reports.
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.RecordView#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "RecordView", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "blobCids": { "items": { "type": "string" }, "title": "Blobcids", "type": "array" }, "cid": { "title": "Cid", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "moderation": { "$ref": "#/$defs/Moderation" }, "repo": { "$ref": "#/$defs/RepoView" }, "uri": { "title": "Uri", "type": "string" }, "value": { "anyOf": [ { "discriminator": { "mapping": { "app.bsky.actor.profile": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main", "app.bsky.feed.generator": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main", "app.bsky.feed.like": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main", "app.bsky.feed.post": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main", "app.bsky.feed.repost": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main", "app.bsky.feed.threadgate": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main", "app.bsky.graph.block": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main", "app.bsky.graph.follow": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main", "app.bsky.graph.list": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main", "app.bsky.graph.listblock": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main", "app.bsky.graph.listitem": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" } ] }, { "type": "object" } ], "title": "Value" }, "$type": { "const": "com.atproto.admin.defs#recordView", "default": "com.atproto.admin.defs#recordView", "title": "$Type" } }, "$defs": { "ActionViewCurrent": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "id": { "title": "Id", "type": "integer" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "$type": { "const": "com.atproto.admin.defs#actionViewCurrent", "default": "com.atproto.admin.defs#actionViewCurrent", "title": "$Type" } }, "required": [ "action", "id" ], "title": "ActionViewCurrent", "type": "object" }, "AspectRatio": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`. width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.", "properties": { "height": { "minimum": 1, "title": "Height", "type": "integer" }, "width": { "minimum": 1, "title": "Width", "type": "integer" }, "$type": { "const": "app.bsky.embed.images#aspectRatio", "default": "app.bsky.embed.images#aspectRatio", "title": "$Type" } }, "required": [ "height", "width" ], "title": "AspectRatio", "type": "object" }, "BlobRef": { "additionalProperties": false, "description": "Blob reference.", "properties": { "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "ref": { "$ref": "#/$defs/BlobRefLink" }, "$type": { "const": "blob", "default": "blob", "title": "$Type" } }, "required": [ "mimeType", "size", "ref" ], "title": "BlobRef", "type": "object" }, "BlobRefLink": { "description": "Blob reference link.", "properties": { "$link": { "title": "$Link", "type": "string" } }, "required": [ "$link" ], "title": "BlobRefLink", "type": "object" }, "ByteSlice": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A text segment. Start is inclusive, end is exclusive. Indices are for utf8-encoded strings.", "properties": { "byteEnd": { "minimum": 0, "title": "Byteend", "type": "integer" }, "byteStart": { "minimum": 0, "title": "Bytestart", "type": "integer" }, "$type": { "const": "app.bsky.richtext.facet#byteSlice", "default": "app.bsky.richtext.facet#byteSlice", "title": "$Type" } }, "required": [ "byteEnd", "byteStart" ], "title": "ByteSlice", "type": "object" }, "Entity": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated: use facets instead.", "properties": { "index": { "$ref": "#/$defs/TextSlice" }, "type": { "title": "Type", "type": "string" }, "value": { "title": "Value", "type": "string" }, "$type": { "const": "app.bsky.feed.post#entity", "default": "app.bsky.feed.post#entity", "title": "$Type" } }, "required": [ "index", "type", "value" ], "title": "Entity", "type": "object" }, "External": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "description": { "title": "Description", "type": "string" }, "title": { "title": "Title", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "thumb": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.external#external", "default": "app.bsky.embed.external#external", "title": "$Type" } }, "required": [ "description", "title", "uri" ], "title": "External", "type": "object" }, "FollowingRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors you follow.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#followingRule", "default": "app.bsky.feed.threadgate#followingRule", "title": "$Type" } }, "title": "FollowingRule", "type": "object" }, "Image": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "alt": { "title": "Alt", "type": "string" }, "image": { "$ref": "#/$defs/BlobRef" }, "aspectRatio": { "anyOf": [ { "$ref": "#/$defs/AspectRatio" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.images#image", "default": "app.bsky.embed.images#image", "title": "$Type" } }, "required": [ "alt", "image" ], "title": "Image", "type": "object" }, "InviteCode": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "available": { "title": "Available", "type": "integer" }, "code": { "title": "Code", "type": "string" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "disabled": { "title": "Disabled", "type": "boolean" }, "forAccount": { "title": "Foraccount", "type": "string" }, "uses": { "items": { "$ref": "#/$defs/InviteCodeUse" }, "title": "Uses", "type": "array" }, "$type": { "const": "com.atproto.server.defs#inviteCode", "default": "com.atproto.server.defs#inviteCode", "title": "$Type" } }, "required": [ "available", "code", "createdAt", "createdBy", "disabled", "forAccount", "uses" ], "title": "InviteCode", "type": "object" }, "InviteCodeUse": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "usedAt": { "title": "Usedat", "type": "string" }, "usedBy": { "title": "Usedby", "type": "string" }, "$type": { "const": "com.atproto.server.defs#inviteCodeUse", "default": "com.atproto.server.defs#inviteCodeUse", "title": "$Type" } }, "required": [ "usedAt", "usedBy" ], "title": "InviteCodeUse", "type": "object" }, "Link": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for links.", "properties": { "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#link", "default": "app.bsky.richtext.facet#link", "title": "$Type" } }, "required": [ "uri" ], "title": "Link", "type": "object" }, "ListRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors on a list.", "properties": { "list": { "title": "List", "type": "string" }, "$type": { "const": "app.bsky.feed.threadgate#listRule", "default": "app.bsky.feed.threadgate#listRule", "title": "$Type" } }, "required": [ "list" ], "title": "ListRule", "type": "object" }, "Mention": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for actor mentions.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#mention", "default": "app.bsky.richtext.facet#mention", "title": "$Type" } }, "required": [ "did" ], "title": "Mention", "type": "object" }, "MentionRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors mentioned in your post.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#mentionRule", "default": "app.bsky.feed.threadgate#mentionRule", "title": "$Type" } }, "title": "MentionRule", "type": "object" }, "Moderation": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "currentAction": { "anyOf": [ { "$ref": "#/$defs/ActionViewCurrent" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#moderation", "default": "com.atproto.admin.defs#moderation", "title": "$Type" } }, "title": "Moderation", "type": "object" }, "ReplyRef": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`.", "properties": { "parent": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "root": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.post#replyRef", "default": "app.bsky.feed.post#replyRef", "title": "$Type" } }, "required": [ "parent", "root" ], "title": "ReplyRef", "type": "object" }, "RepoView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "handle": { "title": "Handle", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "moderation": { "$ref": "#/$defs/Moderation" }, "relatedRecords": { "items": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, { "type": "object" } ] }, "title": "Relatedrecords", "type": "array" }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Email" }, "inviteNote": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Invitenote" }, "invitedBy": { "anyOf": [ { "$ref": "#/$defs/InviteCode" }, { "type": "null" } ], "default": null }, "invitesDisabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Invitesdisabled" }, "$type": { "const": "com.atproto.admin.defs#repoView", "default": "com.atproto.admin.defs#repoView", "title": "$Type" } }, "required": [ "did", "handle", "indexedAt", "moderation", "relatedRecords" ], "title": "RepoView", "type": "object" }, "SelfLabel": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel.", "properties": { "val": { "maxLength": 128, "title": "Val", "type": "string" }, "$type": { "const": "com.atproto.label.defs#selfLabel", "default": "com.atproto.label.defs#selfLabel", "title": "$Type" } }, "required": [ "val" ], "title": "SelfLabel", "type": "object" }, "SelfLabels": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tags on an atproto record, published by the author within the record.", "properties": { "values": { "items": { "$ref": "#/$defs/SelfLabel" }, "maxItems": 10, "title": "Values", "type": "array" }, "$type": { "const": "com.atproto.label.defs#selfLabels", "default": "com.atproto.label.defs#selfLabels", "title": "$Type" } }, "required": [ "values" ], "title": "SelfLabels", "type": "object" }, "Tag": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A hashtag.", "properties": { "tag": { "maxLength": 640, "title": "Tag", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#tag", "default": "app.bsky.richtext.facet#tag", "title": "$Type" } }, "required": [ "tag" ], "title": "Tag", "type": "object" }, "TextSlice": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings.", "properties": { "end": { "minimum": 0, "title": "End", "type": "integer" }, "start": { "minimum": 0, "title": "Start", "type": "integer" }, "$type": { "const": "app.bsky.feed.post#textSlice", "default": "app.bsky.feed.post#textSlice", "title": "$Type" } }, "required": [ "end", "start" ], "title": "TextSlice", "type": "object" }, "atproto__xrpc_client__models__app__bsky__actor__profile__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.actor.profile`.", "properties": { "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "banner": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 2560, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "displayName": { "anyOf": [ { "maxLength": 640, "type": "string" }, { "type": "null" } ], "default": null, "title": "Displayname" }, "labels": { "anyOf": [ { "default": null, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.actor.profile", "default": "app.bsky.actor.profile", "title": "$Type" } }, "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__external__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "external": { "$ref": "#/$defs/External" }, "$type": { "const": "app.bsky.embed.external", "default": "app.bsky.embed.external", "title": "$Type" } }, "required": [ "external" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__images__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "images": { "items": { "$ref": "#/$defs/Image" }, "maxItems": 4, "title": "Images", "type": "array" }, "$type": { "const": "app.bsky.embed.images", "default": "app.bsky.embed.images", "title": "$Type" } }, "required": [ "images" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "record": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.embed.record", "default": "app.bsky.embed.record", "title": "$Type" } }, "required": [ "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.recordWithMedia`.", "properties": { "media": { "discriminator": { "mapping": { "app.bsky.embed.external": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main", "app.bsky.embed.images": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" } ], "title": "Media" }, "record": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, "$type": { "const": "app.bsky.embed.recordWithMedia", "default": "app.bsky.embed.recordWithMedia", "title": "$Type" } }, "required": [ "media", "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__generator__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.generator`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "did": { "title": "Did", "type": "string" }, "displayName": { "maxLength": 240, "title": "Displayname", "type": "string" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "labels": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.label.defs#selfLabels": "#/$defs/SelfLabels" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.feed.generator", "default": "app.bsky.feed.generator", "title": "$Type" } }, "required": [ "createdAt", "did", "displayName" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__like__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.like`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.like", "default": "app.bsky.feed.like", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__post__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.post`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "text": { "maxLength": 3000, "title": "Text", "type": "string" }, "embed": { "anyOf": [ { "default": null, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main" } ] }, { "type": "null" } ], "default": null, "title": "Embed" }, "entities": { "anyOf": [ { "items": { "$ref": "#/$defs/Entity" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Entities" }, "facets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Facets" }, "labels": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.label.defs#selfLabels": "#/$defs/SelfLabels" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "langs": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 3, "type": "array" }, { "type": "null" } ], "default": null, "title": "Langs" }, "reply": { "anyOf": [ { "$ref": "#/$defs/ReplyRef" }, { "type": "null" } ], "default": null }, "tags": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 8, "type": "array" }, { "type": "null" } ], "default": null, "title": "Tags" }, "$type": { "const": "app.bsky.feed.post", "default": "app.bsky.feed.post", "title": "$Type" } }, "required": [ "createdAt", "text" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__repost__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.repost`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.repost", "default": "app.bsky.feed.repost", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__threadgate__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.threadgate`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "post": { "title": "Post", "type": "string" }, "allow": { "anyOf": [ { "items": { "anyOf": [ { "$ref": "#/$defs/MentionRule" }, { "$ref": "#/$defs/FollowingRule" }, { "$ref": "#/$defs/ListRule" } ] }, "maxItems": 5, "type": "array" }, { "type": "null" } ], "default": null, "title": "Allow" }, "$type": { "const": "app.bsky.feed.threadgate", "default": "app.bsky.feed.threadgate", "title": "$Type" } }, "required": [ "createdAt", "post" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__block__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.block`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.block", "default": "app.bsky.graph.block", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__follow__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.follow`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.follow", "default": "app.bsky.graph.follow", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__list__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.list`.", "properties": { "createdAt": { "title": "Createdat", "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" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "labels": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.label.defs#selfLabels": "#/$defs/SelfLabels" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.graph.list", "default": "app.bsky.graph.list", "title": "$Type" } }, "required": [ "createdAt", "name", "purpose" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__listblock__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.listblock`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.listblock", "default": "app.bsky.graph.listblock", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__listitem__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.listitem`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "list": { "title": "List", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.listitem", "default": "app.bsky.graph.listitem", "title": "$Type" } }, "required": [ "createdAt", "list", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__richtext__facet__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`.", "properties": { "features": { "items": { "discriminator": { "mapping": { "app.bsky.richtext.facet#link": "#/$defs/Link", "app.bsky.richtext.facet#mention": "#/$defs/Mention", "app.bsky.richtext.facet#tag": "#/$defs/Tag" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/Mention" }, { "$ref": "#/$defs/Link" }, { "$ref": "#/$defs/Tag" } ] }, "title": "Features", "type": "array" }, "index": { "$ref": "#/$defs/ByteSlice" }, "$type": { "const": "app.bsky.richtext.facet", "default": "app.bsky.richtext.facet", "title": "$Type" } }, "required": [ "features", "index" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.repo.strongRef`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "com.atproto.repo.strongRef", "default": "com.atproto.repo.strongRef", "title": "$Type" } }, "required": [ "cid", "uri" ], "title": "Main", "type": "object" } }, "additionalProperties": false, "required": [ "blobCids", "cid", "indexedAt", "moderation", "repo", "uri", "value" ] }
- Fields:
- field blob_cids: List[str] [Required] (alias 'blobCids')#
Blob cids.
- field cid: str [Required]#
Cid.
- field indexed_at: str [Required] (alias 'indexedAt')#
Indexed at.
- field moderation: models.ComAtprotoAdminDefs.Moderation [Required]#
Moderation.
- field py_type: typing_extensions.Literal[com.atproto.admin.defs#recordView] = 'com.atproto.admin.defs#recordView' (alias '$type')#
- field repo: models.ComAtprotoAdminDefs.RepoView [Required]#
Repo.
- field uri: str [Required]#
Uri.
- field value: UnknownType [Required]#
Value.
- pydantic model atproto.xrpc_client.models.com.atproto.admin.defs.RecordViewDetail#
Bases:
ModelBase
Definition model for
com.atproto.admin.defs
.Show JSON schema
{ "title": "RecordViewDetail", "description": "Definition model for :obj:`com.atproto.admin.defs`.", "type": "object", "properties": { "blobs": { "items": { "$ref": "#/$defs/BlobView" }, "title": "Blobs", "type": "array" }, "cid": { "title": "Cid", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "moderation": { "$ref": "#/$defs/ModerationDetail" }, "repo": { "$ref": "#/$defs/RepoView" }, "uri": { "title": "Uri", "type": "string" }, "value": { "anyOf": [ { "discriminator": { "mapping": { "app.bsky.actor.profile": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main", "app.bsky.feed.generator": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main", "app.bsky.feed.like": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main", "app.bsky.feed.post": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main", "app.bsky.feed.repost": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main", "app.bsky.feed.threadgate": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main", "app.bsky.graph.block": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main", "app.bsky.graph.follow": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main", "app.bsky.graph.list": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main", "app.bsky.graph.listblock": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main", "app.bsky.graph.listitem": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" } ] }, { "type": "object" } ], "title": "Value" }, "labels": { "anyOf": [ { "items": { "$ref": "#/$defs/Label" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "com.atproto.admin.defs#recordViewDetail", "default": "com.atproto.admin.defs#recordViewDetail", "title": "$Type" } }, "$defs": { "ActionReversal": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "reason": { "title": "Reason", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#actionReversal", "default": "com.atproto.admin.defs#actionReversal", "title": "$Type" } }, "required": [ "createdAt", "createdBy", "reason" ], "title": "ActionReversal", "type": "object" }, "ActionView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "reason": { "title": "Reason", "type": "string" }, "resolvedReportIds": { "items": { "type": "integer" }, "title": "Resolvedreportids", "type": "array" }, "subject": { "anyOf": [ { "$ref": "#/$defs/RepoRef" }, { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" } ], "title": "Subject" }, "subjectBlobCids": { "items": { "type": "string" }, "title": "Subjectblobcids", "type": "array" }, "createLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Createlabelvals" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "negateLabelVals": { "anyOf": [ { "items": { "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Negatelabelvals" }, "reversal": { "anyOf": [ { "$ref": "#/$defs/ActionReversal" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#actionView", "default": "com.atproto.admin.defs#actionView", "title": "$Type" } }, "required": [ "action", "createdAt", "createdBy", "id", "reason", "resolvedReportIds", "subject", "subjectBlobCids" ], "title": "ActionView", "type": "object" }, "ActionViewCurrent": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "action": { "anyOf": [ { "const": "com.atproto.admin.defs#takedown" }, { "const": "com.atproto.admin.defs#flag" }, { "const": "com.atproto.admin.defs#acknowledge" }, { "const": "com.atproto.admin.defs#escalate" } ], "title": "Action" }, "id": { "title": "Id", "type": "integer" }, "durationInHours": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "default": null, "title": "Durationinhours" }, "$type": { "const": "com.atproto.admin.defs#actionViewCurrent", "default": "com.atproto.admin.defs#actionViewCurrent", "title": "$Type" } }, "required": [ "action", "id" ], "title": "ActionViewCurrent", "type": "object" }, "AspectRatio": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`. width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.", "properties": { "height": { "minimum": 1, "title": "Height", "type": "integer" }, "width": { "minimum": 1, "title": "Width", "type": "integer" }, "$type": { "const": "app.bsky.embed.images#aspectRatio", "default": "app.bsky.embed.images#aspectRatio", "title": "$Type" } }, "required": [ "height", "width" ], "title": "AspectRatio", "type": "object" }, "BlobRef": { "additionalProperties": false, "description": "Blob reference.", "properties": { "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "ref": { "$ref": "#/$defs/BlobRefLink" }, "$type": { "const": "blob", "default": "blob", "title": "$Type" } }, "required": [ "mimeType", "size", "ref" ], "title": "BlobRef", "type": "object" }, "BlobRefLink": { "description": "Blob reference link.", "properties": { "$link": { "title": "$Link", "type": "string" } }, "required": [ "$link" ], "title": "BlobRefLink", "type": "object" }, "BlobView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "cid": { "title": "Cid", "type": "string" }, "createdAt": { "title": "Createdat", "type": "string" }, "mimeType": { "title": "Mimetype", "type": "string" }, "size": { "title": "Size", "type": "integer" }, "details": { "anyOf": [ { "anyOf": [ { "$ref": "#/$defs/ImageDetails" }, { "$ref": "#/$defs/VideoDetails" } ], "default": null }, { "type": "null" } ], "default": null, "title": "Details" }, "moderation": { "anyOf": [ { "$ref": "#/$defs/Moderation" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#blobView", "default": "com.atproto.admin.defs#blobView", "title": "$Type" } }, "required": [ "cid", "createdAt", "mimeType", "size" ], "title": "BlobView", "type": "object" }, "ByteSlice": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A text segment. Start is inclusive, end is exclusive. Indices are for utf8-encoded strings.", "properties": { "byteEnd": { "minimum": 0, "title": "Byteend", "type": "integer" }, "byteStart": { "minimum": 0, "title": "Bytestart", "type": "integer" }, "$type": { "const": "app.bsky.richtext.facet#byteSlice", "default": "app.bsky.richtext.facet#byteSlice", "title": "$Type" } }, "required": [ "byteEnd", "byteStart" ], "title": "ByteSlice", "type": "object" }, "Entity": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated: use facets instead.", "properties": { "index": { "$ref": "#/$defs/TextSlice" }, "type": { "title": "Type", "type": "string" }, "value": { "title": "Value", "type": "string" }, "$type": { "const": "app.bsky.feed.post#entity", "default": "app.bsky.feed.post#entity", "title": "$Type" } }, "required": [ "index", "type", "value" ], "title": "Entity", "type": "object" }, "External": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "description": { "title": "Description", "type": "string" }, "title": { "title": "Title", "type": "string" }, "uri": { "title": "Uri", "type": "string" }, "thumb": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.external#external", "default": "app.bsky.embed.external#external", "title": "$Type" } }, "required": [ "description", "title", "uri" ], "title": "External", "type": "object" }, "FollowingRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors you follow.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#followingRule", "default": "app.bsky.feed.threadgate#followingRule", "title": "$Type" } }, "title": "FollowingRule", "type": "object" }, "Image": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "alt": { "title": "Alt", "type": "string" }, "image": { "$ref": "#/$defs/BlobRef" }, "aspectRatio": { "anyOf": [ { "$ref": "#/$defs/AspectRatio" }, { "type": "null" } ], "default": null }, "$type": { "const": "app.bsky.embed.images#image", "default": "app.bsky.embed.images#image", "title": "$Type" } }, "required": [ "alt", "image" ], "title": "Image", "type": "object" }, "ImageDetails": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "height": { "title": "Height", "type": "integer" }, "width": { "title": "Width", "type": "integer" }, "$type": { "const": "com.atproto.admin.defs#imageDetails", "default": "com.atproto.admin.defs#imageDetails", "title": "$Type" } }, "required": [ "height", "width" ], "title": "ImageDetails", "type": "object" }, "InviteCode": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "available": { "title": "Available", "type": "integer" }, "code": { "title": "Code", "type": "string" }, "createdAt": { "title": "Createdat", "type": "string" }, "createdBy": { "title": "Createdby", "type": "string" }, "disabled": { "title": "Disabled", "type": "boolean" }, "forAccount": { "title": "Foraccount", "type": "string" }, "uses": { "items": { "$ref": "#/$defs/InviteCodeUse" }, "title": "Uses", "type": "array" }, "$type": { "const": "com.atproto.server.defs#inviteCode", "default": "com.atproto.server.defs#inviteCode", "title": "$Type" } }, "required": [ "available", "code", "createdAt", "createdBy", "disabled", "forAccount", "uses" ], "title": "InviteCode", "type": "object" }, "InviteCodeUse": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.server.defs`.", "properties": { "usedAt": { "title": "Usedat", "type": "string" }, "usedBy": { "title": "Usedby", "type": "string" }, "$type": { "const": "com.atproto.server.defs#inviteCodeUse", "default": "com.atproto.server.defs#inviteCodeUse", "title": "$Type" } }, "required": [ "usedAt", "usedBy" ], "title": "InviteCodeUse", "type": "object" }, "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" }, "Link": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for links.", "properties": { "uri": { "title": "Uri", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#link", "default": "app.bsky.richtext.facet#link", "title": "$Type" } }, "required": [ "uri" ], "title": "Link", "type": "object" }, "ListRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors on a list.", "properties": { "list": { "title": "List", "type": "string" }, "$type": { "const": "app.bsky.feed.threadgate#listRule", "default": "app.bsky.feed.threadgate#listRule", "title": "$Type" } }, "required": [ "list" ], "title": "ListRule", "type": "object" }, "Mention": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A facet feature for actor mentions.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#mention", "default": "app.bsky.richtext.facet#mention", "title": "$Type" } }, "required": [ "did" ], "title": "Mention", "type": "object" }, "MentionRule": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.threadgate`. Allow replies from actors mentioned in your post.", "properties": { "$type": { "const": "app.bsky.feed.threadgate#mentionRule", "default": "app.bsky.feed.threadgate#mentionRule", "title": "$Type" } }, "title": "MentionRule", "type": "object" }, "Moderation": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "currentAction": { "anyOf": [ { "$ref": "#/$defs/ActionViewCurrent" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#moderation", "default": "com.atproto.admin.defs#moderation", "title": "$Type" } }, "title": "Moderation", "type": "object" }, "ModerationDetail": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "actions": { "items": { "$ref": "#/$defs/ActionView" }, "title": "Actions", "type": "array" }, "reports": { "items": { "$ref": "#/$defs/ReportView" }, "title": "Reports", "type": "array" }, "currentAction": { "anyOf": [ { "$ref": "#/$defs/ActionViewCurrent" }, { "type": "null" } ], "default": null }, "$type": { "const": "com.atproto.admin.defs#moderationDetail", "default": "com.atproto.admin.defs#moderationDetail", "title": "$Type" } }, "required": [ "actions", "reports" ], "title": "ModerationDetail", "type": "object" }, "ReplyRef": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`.", "properties": { "parent": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "root": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.post#replyRef", "default": "app.bsky.feed.post#replyRef", "title": "$Type" } }, "required": [ "parent", "root" ], "title": "ReplyRef", "type": "object" }, "RepoRef": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "$type": { "const": "com.atproto.admin.defs#repoRef", "default": "com.atproto.admin.defs#repoRef", "title": "$Type" } }, "required": [ "did" ], "title": "RepoRef", "type": "object" }, "RepoView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "did": { "title": "Did", "type": "string" }, "handle": { "title": "Handle", "type": "string" }, "indexedAt": { "title": "Indexedat", "type": "string" }, "moderation": { "$ref": "#/$defs/Moderation" }, "relatedRecords": { "items": { "anyOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__actor__profile__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__generator__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__like__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__post__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__repost__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__feed__threadgate__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__block__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__follow__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__list__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listblock__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__graph__listitem__Main" }, { "type": "object" } ] }, "title": "Relatedrecords", "type": "array" }, "email": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Email" }, "inviteNote": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Invitenote" }, "invitedBy": { "anyOf": [ { "$ref": "#/$defs/InviteCode" }, { "type": "null" } ], "default": null }, "invitesDisabled": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "default": null, "title": "Invitesdisabled" }, "$type": { "const": "com.atproto.admin.defs#repoView", "default": "com.atproto.admin.defs#repoView", "title": "$Type" } }, "required": [ "did", "handle", "indexedAt", "moderation", "relatedRecords" ], "title": "RepoView", "type": "object" }, "ReportView": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "id": { "title": "Id", "type": "integer" }, "reasonType": { "anyOf": [ { "const": "com.atproto.moderation.defs#reasonSpam" }, { "const": "com.atproto.moderation.defs#reasonViolation" }, { "const": "com.atproto.moderation.defs#reasonMisleading" }, { "const": "com.atproto.moderation.defs#reasonSexual" }, { "const": "com.atproto.moderation.defs#reasonRude" }, { "const": "com.atproto.moderation.defs#reasonOther" } ], "title": "Reasontype" }, "reportedBy": { "title": "Reportedby", "type": "string" }, "resolvedByActionIds": { "items": { "type": "integer" }, "title": "Resolvedbyactionids", "type": "array" }, "subject": { "anyOf": [ { "$ref": "#/$defs/RepoRef" }, { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" } ], "title": "Subject" }, "reason": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Reason" }, "subjectRepoHandle": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Subjectrepohandle" }, "$type": { "const": "com.atproto.admin.defs#reportView", "default": "com.atproto.admin.defs#reportView", "title": "$Type" } }, "required": [ "createdAt", "id", "reasonType", "reportedBy", "resolvedByActionIds", "subject" ], "title": "ReportView", "type": "object" }, "SelfLabel": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto record, published by the author within the record. Note -- schemas should use #selfLabels, not #selfLabel.", "properties": { "val": { "maxLength": 128, "title": "Val", "type": "string" }, "$type": { "const": "com.atproto.label.defs#selfLabel", "default": "com.atproto.label.defs#selfLabel", "title": "$Type" } }, "required": [ "val" ], "title": "SelfLabel", "type": "object" }, "SelfLabels": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tags on an atproto record, published by the author within the record.", "properties": { "values": { "items": { "$ref": "#/$defs/SelfLabel" }, "maxItems": 10, "title": "Values", "type": "array" }, "$type": { "const": "com.atproto.label.defs#selfLabels", "default": "com.atproto.label.defs#selfLabels", "title": "$Type" } }, "required": [ "values" ], "title": "SelfLabels", "type": "object" }, "Tag": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.richtext.facet`. A hashtag.", "properties": { "tag": { "maxLength": 640, "title": "Tag", "type": "string" }, "$type": { "const": "app.bsky.richtext.facet#tag", "default": "app.bsky.richtext.facet#tag", "title": "$Type" } }, "required": [ "tag" ], "title": "Tag", "type": "object" }, "TextSlice": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.feed.post`. Deprecated. Use app.bsky.richtext instead -- A text segment. Start is inclusive, end is exclusive. Indices are for utf16-encoded strings.", "properties": { "end": { "minimum": 0, "title": "End", "type": "integer" }, "start": { "minimum": 0, "title": "Start", "type": "integer" }, "$type": { "const": "app.bsky.feed.post#textSlice", "default": "app.bsky.feed.post#textSlice", "title": "$Type" } }, "required": [ "end", "start" ], "title": "TextSlice", "type": "object" }, "VideoDetails": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.admin.defs`.", "properties": { "height": { "title": "Height", "type": "integer" }, "length": { "title": "Length", "type": "integer" }, "width": { "title": "Width", "type": "integer" }, "$type": { "const": "com.atproto.admin.defs#videoDetails", "default": "com.atproto.admin.defs#videoDetails", "title": "$Type" } }, "required": [ "height", "length", "width" ], "title": "VideoDetails", "type": "object" }, "atproto__xrpc_client__models__app__bsky__actor__profile__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.actor.profile`.", "properties": { "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "banner": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 2560, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "displayName": { "anyOf": [ { "maxLength": 640, "type": "string" }, { "type": "null" } ], "default": null, "title": "Displayname" }, "labels": { "anyOf": [ { "default": null, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.actor.profile", "default": "app.bsky.actor.profile", "title": "$Type" } }, "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__external__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.external`.", "properties": { "external": { "$ref": "#/$defs/External" }, "$type": { "const": "app.bsky.embed.external", "default": "app.bsky.embed.external", "title": "$Type" } }, "required": [ "external" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__images__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.images`.", "properties": { "images": { "items": { "$ref": "#/$defs/Image" }, "maxItems": 4, "title": "Images", "type": "array" }, "$type": { "const": "app.bsky.embed.images", "default": "app.bsky.embed.images", "title": "$Type" } }, "required": [ "images" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.record`.", "properties": { "record": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.embed.record", "default": "app.bsky.embed.record", "title": "$Type" } }, "required": [ "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main": { "additionalProperties": false, "description": "Definition model for :obj:`app.bsky.embed.recordWithMedia`.", "properties": { "media": { "discriminator": { "mapping": { "app.bsky.embed.external": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main", "app.bsky.embed.images": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" } ], "title": "Media" }, "record": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, "$type": { "const": "app.bsky.embed.recordWithMedia", "default": "app.bsky.embed.recordWithMedia", "title": "$Type" } }, "required": [ "media", "record" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__generator__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.generator`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "did": { "title": "Did", "type": "string" }, "displayName": { "maxLength": 240, "title": "Displayname", "type": "string" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" } ], "default": null }, "description": { "anyOf": [ { "maxLength": 3000, "type": "string" }, { "type": "null" } ], "default": null, "title": "Description" }, "descriptionFacets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Descriptionfacets" }, "labels": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.label.defs#selfLabels": "#/$defs/SelfLabels" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "$type": { "const": "app.bsky.feed.generator", "default": "app.bsky.feed.generator", "title": "$Type" } }, "required": [ "createdAt", "did", "displayName" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__like__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.like`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.like", "default": "app.bsky.feed.like", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__post__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.post`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "text": { "maxLength": 3000, "title": "Text", "type": "string" }, "embed": { "anyOf": [ { "default": null, "oneOf": [ { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__images__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__external__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record__Main" }, { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__embed__record_with_media__Main" } ] }, { "type": "null" } ], "default": null, "title": "Embed" }, "entities": { "anyOf": [ { "items": { "$ref": "#/$defs/Entity" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Entities" }, "facets": { "anyOf": [ { "items": { "$ref": "#/$defs/atproto__xrpc_client__models__app__bsky__richtext__facet__Main" }, "type": "array" }, { "type": "null" } ], "default": null, "title": "Facets" }, "labels": { "anyOf": [ { "default": null, "discriminator": { "mapping": { "com.atproto.label.defs#selfLabels": "#/$defs/SelfLabels" }, "propertyName": "$type" }, "oneOf": [ { "$ref": "#/$defs/SelfLabels" } ] }, { "type": "null" } ], "default": null, "title": "Labels" }, "langs": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 3, "type": "array" }, { "type": "null" } ], "default": null, "title": "Langs" }, "reply": { "anyOf": [ { "$ref": "#/$defs/ReplyRef" }, { "type": "null" } ], "default": null }, "tags": { "anyOf": [ { "items": { "type": "string" }, "maxItems": 8, "type": "array" }, { "type": "null" } ], "default": null, "title": "Tags" }, "$type": { "const": "app.bsky.feed.post", "default": "app.bsky.feed.post", "title": "$Type" } }, "required": [ "createdAt", "text" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__repost__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.repost`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "$ref": "#/$defs/atproto__xrpc_client__models__com__atproto__repo__strong_ref__Main" }, "$type": { "const": "app.bsky.feed.repost", "default": "app.bsky.feed.repost", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__feed__threadgate__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.feed.threadgate`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "post": { "title": "Post", "type": "string" }, "allow": { "anyOf": [ { "items": { "anyOf": [ { "$ref": "#/$defs/MentionRule" }, { "$ref": "#/$defs/FollowingRule" }, { "$ref": "#/$defs/ListRule" } ] }, "maxItems": 5, "type": "array" }, { "type": "null" } ], "default": null, "title": "Allow" }, "$type": { "const": "app.bsky.feed.threadgate", "default": "app.bsky.feed.threadgate", "title": "$Type" } }, "required": [ "createdAt", "post" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__block__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.block`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.block", "default": "app.bsky.graph.block", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__follow__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.follow`.", "properties": { "createdAt": { "title": "Createdat", "type": "string" }, "subject": { "title": "Subject", "type": "string" }, "$type": { "const": "app.bsky.graph.follow", "default": "app.bsky.graph.follow", "title": "$Type" } }, "required": [ "createdAt", "subject" ], "title": "Main", "type": "object" }, "atproto__xrpc_client__models__app__bsky__graph__list__Main": { "additionalProperties": false, "description": "Record model for :obj:`app.bsky.graph.list`.", "properties": { "createdAt": { "title": "Createdat", "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" }, "avatar": { "anyOf": [ { "$ref": "#/$defs/BlobRef" }, { "type": "null" }