{
"id": "social.showcase.library.item",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"title",
"tags",
"images",
"visibility",
"createdAt"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 64
},
"maxLength": 20,
"description": "Tags for discovery (max 20)"
},
"notes": {
"type": "string",
"maxLength": 2000,
"description": "Personal notes or story about the item"
},
"title": {
"type": "string",
"maxLength": 300,
"description": "Item title"
},
"images": {
"type": "array",
"items": {
"ref": "social.showcase.defs#itemImage",
"type": "ref"
},
"maxLength": 6,
"description": "Embedded image blobs (max 6 images, 2000x2000px max, 5MB each)"
},
"category": {
"type": "string",
"maxLength": 100,
"description": "Category/type of item"
},
"metadata": {
"type": "unknown",
"description": "Freeform metadata (brand, model, condition, datePurchased, etc.)"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"updatedAt": {
"type": "string",
"format": "datetime"
},
"visibility": {
"type": "string",
"maxLength": 10,
"knownValues": [
"public",
"unlisted",
"private"
]
},
"description": {
"type": "string",
"maxLength": 3000,
"description": "Item description"
},
"externalLink": {
"type": "string",
"format": "uri",
"description": "Link to external site"
},
"schemaVersion": {
"type": "integer",
"default": 1,
"description": "Schema version for migrations (defaults to 1 if missing)"
}
}
},
"description": "Showcase item record"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}