Metadata tag on an atproto resource (eg, repo or record).
Properties
cid
string
cid
Optional
Optionally, CID specifying the specific version of 'uri' resource this label applies to.
cts
string
datetime
Required
Timestamp when this label was created.
exp
string
datetime
Optional
Timestamp at which this label expires (no longer applies).
neg
boolean
Optional
If true, this is a negation label, overwriting a previous label.
sig
bytes
Optional
Signature of dag-cbor encoded label.
src
string
did
Required
DID of the actor who created this label.
uri
string
uri
Required
AT URI of the record, repository (account), or other resource that this label applies to.
val
string
Required
The short string name of the value or type of this label.
maxLength: 128 bytesver
integer
Optional
The AT Protocol version of the label object.
View raw schema
{
"type": "object",
"required": [
"src",
"uri",
"val",
"cts"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "Optionally, CID specifying the specific version of 'uri' resource this label applies to."
},
"cts": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this label was created."
},
"exp": {
"type": "string",
"format": "datetime",
"description": "Timestamp at which this label expires (no longer applies)."
},
"neg": {
"type": "boolean",
"description": "If true, this is a negation label, overwriting a previous label."
},
"sig": {
"type": "bytes",
"description": "Signature of dag-cbor encoded label."
},
"src": {
"type": "string",
"format": "did",
"description": "DID of the actor who created this label."
},
"uri": {
"type": "string",
"format": "uri",
"description": "AT URI of the record, repository (account), or other resource that this label applies to."
},
"val": {
"type": "string",
"maxLength": 128,
"description": "The short string name of the value or type of this label."
},
"ver": {
"type": "integer",
"description": "The AT Protocol version of the label object."
}
},
"description": "Metadata tag on an atproto resource (eg, repo or record)."
}