org.okazu-diary.material.collectionItem

okazu-diary.org

Documentation

Record declaring the inclusion of a single material or a set of materials in a specific collection.

main record

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 graphemes
subjects 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 items
via 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
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "collection",
      "subjects",
      "createdAt"
    ],
    "properties": {
      "via": {
        "ref": "com.atproto.repo.strongRef",
        "type": "ref",
        "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."
      },
      "note": {
        "type": "string",
        "maxLength": 5000,
        "description": "Remarks on the collection item.",
        "maxGraphemes": 500
      },
      "subjects": {
        "type": "array",
        "items": {
          "type": "string",
          "format": "at-uri"
        },
        "maxLength": 16,
        "minLength": 1,
        "description": "Reference(s) to a material or set of materials (`org.okazu-diary.material.external`) to be included in the collection."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "collection": {
        "type": "string",
        "format": "at-uri",
        "description": "Reference to the collection record (`org.okazu-diary.feed.collection`)."
      }
    }
  },
  "description": "Record declaring the inclusion of a single material or a set of materials in a specific collection."
}

Lexicon Garden

@