full diff

pub.chive.endorsement.listForEprint

From
bafyreif3e2olfv6hgpdrkpsjfxoeu4s5hv7zrx5qninabei274go4z4ire indexed 2026-06-18 13:14 UTC View this version
To
bafyreif3e2olfv6hgpdrkpsjfxoeu4s5hv7zrx5qninabei274go4z4ire indexed 2026-06-18 13:14 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "authorRef": {
55 "properties": {
66 "avatar": {
77 "format": "uri",
88 "type": "string"
99 },
1010 "did": {
1111 "format": "did",
1212 "type": "string"
1313 },
1414 "displayName": {
1515 "type": "string"
1616 },
1717 "handle": {
1818 "type": "string"
1919 }
2020 },
2121 "required": [
2222 "did"
2323 ],
2424 "type": "object"
2525 },
2626 "endorsementCountByType": {
2727 "description": "Map of contribution type slug to endorsement count",
2828 "properties": {},
2929 "type": "object"
3030 },
3131 "endorsementSummary": {
3232 "properties": {
3333 "byType": {
3434 "description": "Count by contribution type",
3535 "ref": "#endorsementCountByType",
3636 "type": "ref"
3737 },
3838 "endorserCount": {
3939 "description": "Unique endorser count",
4040 "minimum": 0,
4141 "type": "integer"
4242 },
4343 "total": {
4444 "description": "Total endorsement count",
4545 "minimum": 0,
4646 "type": "integer"
4747 }
4848 },
4949 "required": [
5050 "total",
5151 "endorserCount",
5252 "byType"
5353 ],
5454 "type": "object"
5555 },
5656 "endorsementView": {
5757 "description": "View of an endorsement",
5858 "properties": {
5959 "cid": {
6060 "description": "Content identifier",
6161 "type": "string"
6262 },
6363 "comment": {
6464 "description": "Optional comment",
6565 "maxLength": 1000,
6666 "type": "string"
6767 },
6868 "contributions": {
6969 "description": "Contribution types being endorsed",
7070 "items": {
7171 "knownValues": [
7272 "methodological",
7373 "analytical",
7474 "theoretical",
7575 "empirical",
7676 "conceptual",
7777 "technical",
7878 "data",
7979 "replication",
8080 "reproducibility",
8181 "synthesis",
8282 "interdisciplinary",
8383 "pedagogical",
8484 "visualization",
8585 "societal-impact",
8686 "clinical"
8787 ],
8888 "type": "string"
8989 },
9090 "minLength": 1,
9191 "type": "array"
9292 },
9393 "createdAt": {
9494 "description": "Creation timestamp",
9595 "format": "datetime",
9696 "type": "string"
9797 },
9898 "endorser": {
9999 "ref": "#authorRef",
100100 "type": "ref"
101101 },
102102 "eprintUri": {
103103 "description": "Endorsed eprint AT-URI",
104104 "format": "at-uri",
105105 "type": "string"
106106 },
107107 "updatedAt": {
108108 "description": "Last update timestamp",
109109 "format": "datetime",
110110 "type": "string"
111111 },
112112 "uri": {
113113 "description": "Endorsement AT-URI",
114114 "format": "at-uri",
115115 "type": "string"
116116 }
117117 },
118118 "required": [
119119 "uri",
120120 "cid",
121121 "eprintUri",
122122 "endorser",
123123 "contributions",
124124 "createdAt"
125125 ],
126126 "type": "object"
127127 },
128128 "main": {
129129 "description": "List endorsements for a specific eprint with optional filtering",
130130 "errors": [],
131131 "output": {
132132 "encoding": "application/json",
133133 "schema": {
134134 "properties": {
135135 "cursor": {
136136 "description": "Cursor for next page",
137137 "type": "string"
138138 },
139139 "endorsements": {
140140 "description": "List of endorsements",
141141 "items": {
142142 "ref": "#endorsementView",
143143 "type": "ref"
144144 },
145145 "type": "array"
146146 },
147147 "hasMore": {
148148 "description": "Whether more results are available",
149149 "type": "boolean"
150150 },
151151 "summary": {
152152 "description": "Aggregated summary",
153153 "ref": "#endorsementSummary",
154154 "type": "ref"
155155 },
156156 "total": {
157157 "description": "Total number of endorsements",
158158 "type": "integer"
159159 }
160160 },
161161 "required": [
162162 "endorsements",
163163 "hasMore"
164164 ],
165165 "type": "object"
166166 }
167167 },
168168 "parameters": {
169169 "properties": {
170170 "contributionType": {
171171 "description": "Filter by contribution type",
172172 "knownValues": [
173173 "methodological",
174174 "analytical",
175175 "theoretical",
176176 "empirical",
177177 "conceptual",
178178 "technical",
179179 "data",
180180 "replication",
181181 "reproducibility",
182182 "synthesis",
183183 "interdisciplinary",
184184 "pedagogical",
185185 "visualization",
186186 "societal-impact",
187187 "clinical"
188188 ],
189189 "type": "string"
190190 },
191191 "cursor": {
192192 "description": "Pagination cursor for next page",
193193 "type": "string"
194194 },
195195 "eprintUri": {
196196 "description": "AT-URI of the eprint",
197197 "format": "at-uri",
198198 "type": "string"
199199 },
200200 "limit": {
201201 "default": 50,
202202 "description": "Maximum number of results to return",
203203 "maximum": 100,
204204 "minimum": 1,
205205 "type": "integer"
206206 }
207207 },
208208 "required": [
209209 "eprintUri"
210210 ],
211211 "type": "params"
212212 },
213213 "type": "query"
214214 }
215215 },
216216 "id": "pub.chive.endorsement.listForEprint",
217217 "lexicon": 1,
218218 "revision": 1
219219}