prototypey.org - atproto lexicon typescript toolkit - mirror https://github.com/tylersayshi/prototypey
1{
2 "type": "object",
3 "properties": {
4 "uri": {
5 "type": "string",
6 "required": true,
7 "format": "at-uri"
8 },
9 "cid": {
10 "type": "string",
11 "required": true,
12 "format": "cid"
13 },
14 "did": {
15 "type": "string",
16 "required": true,
17 "format": "did"
18 },
19 "creator": {
20 "type": "ref",
21 "ref": "app.bsky.actor.defs#profileView",
22 "required": true
23 },
24 "displayName": {
25 "type": "string",
26 "required": true
27 },
28 "description": {
29 "type": "string",
30 "maxGraphemes": 300,
31 "maxLength": 3000
32 },
33 "descriptionFacets": {
34 "type": "array",
35 "items": {
36 "type": "ref",
37 "ref": "app.bsky.richtext.facet"
38 }
39 },
40 "avatar": {
41 "type": "string",
42 "format": "uri"
43 },
44 "likeCount": {
45 "type": "integer",
46 "minimum": 0
47 },
48 "acceptsInteractions": {
49 "type": "boolean"
50 },
51 "labels": {
52 "type": "array",
53 "items": {
54 "type": "ref",
55 "ref": "com.atproto.label.defs#label"
56 }
57 },
58 "viewer": {
59 "type": "ref",
60 "ref": "#generatorViewerState"
61 },
62 "contentMode": {
63 "type": "string",
64 "knownValues": [
65 "app.bsky.feed.defs#contentModeUnspecified",
66 "app.bsky.feed.defs#contentModeVideo"
67 ]
68 },
69 "indexedAt": {
70 "type": "string",
71 "required": true,
72 "format": "datetime"
73 }
74 },
75 "required": ["uri", "cid", "did", "creator", "displayName", "indexedAt"]
76}