{
"id": "app.didpic.actor.defs",
"defs": {
"profileView": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"handle": {
"type": "string",
"format": "handle"
},
"avatarCid": {
"type": "string",
"format": "cid"
},
"bannerCid": {
"type": "string",
"format": "cid"
},
"indexedAt": {
"type": "string",
"format": "datetime"
},
"likesCount": {
"type": "integer",
"minimum": 0
},
"postsCount": {
"type": "integer",
"minimum": 0
},
"description": {
"type": "string",
"maxLength": 2560,
"maxGraphemes": 256
},
"displayName": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"followsCount": {
"type": "integer",
"minimum": 0
},
"followersCount": {
"type": "integer",
"minimum": 0
},
"viewerFollowing": {
"type": "string",
"format": "at-uri",
"description": "URI of the viewer's follow record for this actor, if any."
}
},
"description": "Full profile view returned by app.didpic.actor.getProfile."
},
"profileBasic": {
"type": "object",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"handle": {
"type": "string",
"format": "handle"
},
"avatarCid": {
"type": "string",
"format": "cid"
},
"displayName": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"viewerFollowing": {
"type": "string",
"format": "at-uri",
"description": "URI of the viewer's follow record for this actor, if any."
}
},
"description": "Minimal profile info embedded inside other views. `viewerFollowing` is populated where the calling endpoint can cheaply join viewer follow state (e.g. graph.getFollows/getFollowers); it may be absent elsewhere. `handle` comes from the user's DID document (kept in sync via jetstream identity events) and is absent only for DIDs we've never been able to resolve."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}