app.lanyards.actor.lanyard
How a person's lanyard is presented: accent, block order and visibility, hidden items, connect preferences and per-event overrides.
Details · record, key literal:self
| Kind | record |
|---|---|
| Record key | literal:self |
| Authority | actor.lanyards.app |
| Commit rev | 3n2spc67vtf2t |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"badgePrefs": {
"description": "How the badge looks: its cover and which headline details it shows",
"properties": {
"cover": {
"description": "Cover pattern; derived from the DID when absent or unknown",
"knownValues": [
"dots",
"stripes",
"pixels",
"orb",
"symbols",
"hazard",
"arrows",
"monogram"
],
"maxLength": 32,
"type": "string"
},
"showLocation": {
"default": true,
"description": "Show the location on the badge",
"type": "boolean"
},
"showOpenTo": {
"default": true,
"description": "Show what the owner is open to on the badge",
"type": "boolean"
},
"showRole": {
"default": true,
"description": "Show the current role on the badge",
"type": "boolean"
}
},
"type": "object"
},
"block": {
"properties": {
"limit": {
"description": "How many items to show, for blocks that keep a count; 3 by default",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"type": {
"ref": "#blockType",
"type": "ref"
},
"visible": {
"type": "boolean"
}
},
"required": [
"type",
"visible"
],
"type": "object"
},
"blockType": {
"description": "A block a lanyard can show",
"knownValues": [
"links",
"talks",
"openTo",
"blogPosts",
"bskyPosts",
"publications",
"skills",
"education",
"code",
"collections",
"media",
"events",
"details",
"roles"
],
"maxLength": 32,
"type": "string"
},
"connectPrefs": {
"description": "What a Connect does; each defaults to true",
"properties": {
"follow": {
"default": true,
"type": "boolean"
},
"metPack": {
"default": true,
"type": "boolean"
},
"vouch": {
"default": true,
"type": "boolean"
}
},
"type": "object"
},
"eventOverride": {
"properties": {
"emphasise": {
"description": "Block types moved to the top for this event",
"items": {
"ref": "#blockType",
"type": "ref"
},
"maxLength": 20,
"type": "array"
},
"event": {
"description": "The community.lexicon.calendar.event this override applies to",
"format": "at-uri",
"type": "string"
},
"headline": {
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
},
"hereFor": {
"maxGraphemes": 200,
"maxLength": 2000,
"type": "string"
},
"metPacks": {
"description": "Starter packs of people met at this event, in rollover order",
"items": {
"format": "at-uri",
"type": "string"
},
"maxLength": 20,
"type": "array"
}
},
"required": [
"event"
],
"type": "object"
},
"main": {
"description": "How a person's lanyard is presented: accent, block order and visibility, hidden items, connect preferences and per-event overrides.",
"key": "literal:self",
"record": {
"properties": {
"accent": {
"description": "Accent palette; blue when absent or unknown. violet, indigo and ocean are legacy values read as blue; moss and teal as mint; rose, plum and ember as pink",
"knownValues": [
"blue",
"mint",
"lime",
"pink",
"violet",
"indigo",
"plum",
"rose",
"ember",
"moss",
"teal",
"ocean"
],
"maxLength": 32,
"type": "string"
},
"badge": {
"ref": "#badgePrefs",
"type": "ref"
},
"blocks": {
"description": "Blocks in display order",
"items": {
"ref": "#block",
"type": "ref"
},
"maxLength": 20,
"type": "array"
},
"connect": {
"ref": "#connectPrefs",
"type": "ref"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"events": {
"description": "Per-event lanyard overrides, matched by event URI",
"items": {
"ref": "#eventOverride",
"type": "ref"
},
"maxLength": 200,
"type": "array"
},
"hidden": {
"description": "AT-URIs or URLs of individual items hidden from the lanyard",
"items": {
"maxLength": 2048,
"type": "string"
},
"maxLength": 500,
"type": "array"
},
"showJob": {
"default": true,
"description": "Legacy: show the current role on the badge. Read as badge.showRole when that is absent",
"type": "boolean"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.lanyards.actor.lanyard",
"lexicon": 1
}