Record declaring the inclusion of a single material or a set of materials in a specific collection.
Record Key
tid
Timestamp-based ID
Properties
collection
string
at-uri
Required
Reference to the collection record (`org.okazu-diary.feed.collection`).
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
note
string
Optional
Remarks on the collection item.
maxLength: 5000 bytesmaxGraphemes: 500 graphemessubjects
array
of
string
at-uri
Required
Reference(s) to a material or set of materials (`org.okazu-diary.material.external`) to be included in the collection.
maxLength: 16 itemsminLength: 1 itemsvia
ref
com.atproto.repo.strongRef
Optional
Reference to an `org.okazu-diary.feed.entry` record or an `org.okazu-diary.material.collectionItem` of another collection from which this collection item is derived.
View raw schema
{
"description": "Record declaring the inclusion of a single material or a set of materials in a specific collection.",
"key": "tid",
"record": {
"properties": {
"collection": {
"description": "Reference to the collection record (`org.okazu-diary.feed.collection`).",
"format": "at-uri",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"note": {
"description": "Remarks on the collection item.",
"maxGraphemes": 500,
"maxLength": 5000,
"type": "string"
},
"subjects": {
"description": "Reference(s) to a material or set of materials (`org.okazu-diary.material.external`) to be included in the collection.",
"items": {
"format": "at-uri",
"type": "string"
},
"maxLength": 16,
"minLength": 1,
"type": "array"
},
"via": {
"description": "Reference to an `org.okazu-diary.feed.entry` record or an `org.okazu-diary.material.collectionItem` of another collection from which this collection item is derived.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"required": [
"collection",
"subjects",
"createdAt"
],
"type": "object"
},
"type": "record"
}