A record representing a collection of cards.
Record Key
tid
Timestamp-based ID
Properties
accessType
string
Required
Access control for the collection
Known values:
OPEN, CLOSEDcollaborators
array
of
string
Optional
List of collaborator DIDs who can add cards to closed collections
createdAt
string
datetime
Optional
Timestamp when this collection was created (usually set by PDS).
description
string
Optional
Description of the collection
maxLength: 500 bytesname
string
Required
Name of the collection
maxLength: 100 bytesupdatedAt
string
datetime
Optional
Timestamp when this collection was last updated.
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"accessType"
],
"properties": {
"name": {
"type": "string",
"maxLength": 100,
"description": "Name of the collection"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this collection was created (usually set by PDS)."
},
"updatedAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this collection was last updated."
},
"accessType": {
"type": "string",
"description": "Access control for the collection",
"knownValues": [
"OPEN",
"CLOSED"
]
},
"description": {
"type": "string",
"maxLength": 500,
"description": "Description of the collection"
},
"collaborators": {
"type": "array",
"items": {
"type": "string",
"description": "DID of a collaborator"
},
"description": "List of collaborator DIDs who can add cards to closed collections"
}
}
},
"description": "A record representing a collection of cards."
}