A record representing the relationship between a card and a collection.
Record Key
tid
Timestamp-based ID
Properties
addedAt
string
datetime
Required
Timestamp when the card was added to the collection.
addedBy
string
Required
DID of the user who added the card to the collection
card
ref
com.atproto.repo.strongRef
Required
Strong reference to the card record in the users library.
collection
ref
com.atproto.repo.strongRef
Required
Strong reference to the collection record.
createdAt
string
datetime
Optional
Timestamp when this link record was created (usually set by PDS).
originalCard
ref
com.atproto.repo.strongRef
Optional
Strong reference to the original card record (may be in another library).
provenance
ref
network.cosmik.defs#provenance
Optional
Optional provenance information for this link.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"collection",
"card",
"addedBy",
"addedAt"
],
"properties": {
"card": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong reference to the card record in the users library."
},
"addedAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when the card was added to the collection."
},
"addedBy": {
"type": "string",
"description": "DID of the user who added the card to the collection"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this link record was created (usually set by PDS)."
},
"collection": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong reference to the collection record."
},
"provenance": {
"ref": "network.cosmik.defs#provenance",
"type": "ref",
"description": "Optional provenance information for this link."
},
"originalCard": {
"ref": "com.atproto.repo.strongRef",
"type": "ref",
"description": "Strong reference to the original card record (may be in another library)."
}
}
},
"description": "A record representing the relationship between a card and a collection."
}