app.bsky.unspecced.apply_labels#

pydantic model atproto.xrpc_client.models.app.bsky.unspecced.apply_labels.Data#

Bases: DataModelBase

Input data model for app.bsky.unspecced.applyLabels.

Show JSON schema
{
   "title": "Data",
   "description": "Input data model for :obj:`app.bsky.unspecced.applyLabels`.",
   "type": "object",
   "properties": {
      "labels": {
         "items": {
            "$ref": "#/$defs/Label"
         },
         "title": "Labels",
         "type": "array"
      }
   },
   "$defs": {
      "Label": {
         "additionalProperties": false,
         "description": "Definition model for :obj:`com.atproto.label.defs`. Metadata tag on an atproto resource (eg, repo or record)",
         "properties": {
            "cts": {
               "title": "Cts",
               "type": "string"
            },
            "src": {
               "title": "Src",
               "type": "string"
            },
            "uri": {
               "title": "Uri",
               "type": "string"
            },
            "val": {
               "maxLength": 128,
               "title": "Val",
               "type": "string"
            },
            "cid": {
               "anyOf": [
                  {
                     "type": "string"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Cid"
            },
            "neg": {
               "anyOf": [
                  {
                     "type": "boolean"
                  },
                  {
                     "type": "null"
                  }
               ],
               "default": null,
               "title": "Neg"
            },
            "$type": {
               "const": "com.atproto.label.defs#label",
               "default": "com.atproto.label.defs#label",
               "title": "$Type"
            }
         },
         "required": [
            "cts",
            "src",
            "uri",
            "val"
         ],
         "title": "Label",
         "type": "object"
      }
   },
   "additionalProperties": false,
   "required": [
      "labels"
   ]
}

Fields:
field labels: List[models.ComAtprotoLabelDefs.Label] [Required]#

Labels.

class atproto.xrpc_client.models.app.bsky.unspecced.apply_labels.DataDict#

Bases: TypedDict

labels: List[models.ComAtprotoLabelDefs.Label]#

Labels.