social.dracome.library.collection.item

dracome.social

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "collectionRef": {
      "description": "A reference to the custom collection (social.dracome.library.collection record) that owns this membership item.",
      "properties": {
        "cid": {
          "description": "Optional content hash (CID) of the owning collection record at the time this reference was written. Informational only; not part of the logical membership identity.",
          "format": "cid",
          "type": "string"
        },
        "uri": {
          "description": "AT-URI of the owning social.dracome.library.collection record.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri"
      ],
      "type": "object"
    },
    "main": {
      "description": "A membership item placing one edition in a custom collection. Duplicate convention: the rkey is a TID minted once at first create and never changes. Several records may exist for one actor and edition (for example from out-of-band writers); consumers SHOULD treat the record with the greatest `addedAt` as the winner and break ties by the lowest TID, ignoring the others. This is a convention, not an enforced contract: AppViews MUST tolerate a differing winner, and may see a record's catalogTarget change over time.",
      "key": "tid",
      "record": {
        "properties": {
          "addedAt": {
            "description": "Canonical UTC instant serialized as ISO 8601 with a trailing Z suffix.",
            "format": "datetime",
            "type": "string"
          },
          "catalogSnapshot": {
            "description": "Point-in-time catalog metadata for the added work or edition, captured when this record was last written. Refreshed on every update.",
            "ref": "social.dracome.work.defs#catalogSnapshot",
            "type": "ref"
          },
          "catalogTarget": {
            "description": "The work and edition that this membership item represents. Mutable.",
            "ref": "social.dracome.work.defs#catalogTarget",
            "type": "ref"
          },
          "collection": {
            "description": "Reference to the custom collection this item belongs to.",
            "ref": "#collectionRef",
            "type": "ref"
          },
          "position": {
            "description": "Sparse integer ordering within one custom collection. Gaps are allowed so reorder writes can stay bounded.",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "collection",
          "catalogTarget",
          "catalogSnapshot",
          "position",
          "addedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "social.dracome.library.collection.item",
  "lexicon": 1
}

Validate Record

Validate a record against social.dracome.library.collection.item

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:66dyrt2bmghwlmdteyizs5l3
CID
bafyreia6e7642etoxw7a6zpeevs6epyibenurl7r6kblqp65nbqjqr3od4
Indexed At
2026-10-14 19:42 UTC
AT-URI
at://did:plc:66dyrt2bmghwlmdteyizs5l3/com.atproto.lexicon.schema/social.dracome.library.collection.item

Referenced Schemas (2)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • social.dracome.library.collection recordnot from the namespace authority

    A custom collection header owned by an actor. Items are separate social.dracome.library.collection.item records that reference this record by AT-URI. The rkey is a TID minted once at first create and never changes.

  • social.dracome.library.marker recordnot from the namespace authority

    A favorite/tracked marker record for one edition per actor. Duplicate convention: the rkey is a TID minted once at first create and never changes. Several records may exist for one actor and edition (for example from ou…

  • An item in a collection (links annotation to collection)

  • A record linking a work to a collection.

  • Record representing a recipe's inclusion in a specific collection. One record per recipe per collection.

Lexicon Garden

@