bridgy-fed/lexicons/app/bsky/actor/ref.json

39 wiersze
992 B
JSON

{
"lexicon": 1,
"id": "app.bsky.actor.ref",
"description": "A reference to an actor in the network.",
"defs": {
"main": {
"type": "object",
"required": ["did", "declarationCid"],
"properties": {
"did": {"type": "string"},
"declarationCid": {"type": "string"}
}
},
"withInfo": {
"type": "object",
"required": ["did", "declaration", "handle"],
"properties": {
"did": {"type": "string"},
"declaration": {"type": "ref", "ref": "app.bsky.system.declRef"},
"handle": {"type": "string"},
"displayName": {
"type": "string",
"maxLength": 64
},
"avatar": { "type": "string" },
"viewer": {"type": "ref", "ref": "#viewerState"}
}
},
"viewerState": {
"type": "object",
"properties": {
"muted": {"type": "boolean"},
"following": {"type": "string"},
"followedBy": {"type": "string"}
}
}
}
}