full diff

pub.chive.actor.autocompleteAffiliation

From
bafyreielnpxmeoyw6v4y4wkrtlftkwqsupgx64wv3bcw62giculvng2pgy indexed 2026-06-18 13:14 UTC View this version
To
bafyreielnpxmeoyw6v4y4wkrtlftkwqsupgx64wv3bcw62giculvng2pgy 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 "affiliationSuggestion": {
55 "description": "An affiliation suggestion from the ROR database",
66 "properties": {
77 "acronym": {
88 "description": "Institution acronym if available",
99 "type": "string"
1010 },
1111 "country": {
1212 "description": "Country where the institution is located",
1313 "type": "string"
1414 },
1515 "name": {
1616 "description": "Display name of the institution",
1717 "type": "string"
1818 },
1919 "rorId": {
2020 "description": "ROR identifier URL (e.g., https://ror.org/02mhbdp94)",
2121 "type": "string"
2222 },
2323 "types": {
2424 "description": "Organization types (e.g., Education, Nonprofit)",
2525 "items": {
2626 "type": "string"
2727 },
2828 "type": "array"
2929 }
3030 },
3131 "required": [
3232 "rorId",
3333 "name",
3434 "country",
3535 "types"
3636 ],
3737 "type": "object"
3838 },
3939 "main": {
4040 "description": "Autocomplete institutional affiliations using the Research Organization Registry (ROR) API",
4141 "errors": [],
4242 "output": {
4343 "encoding": "application/json",
4444 "schema": {
4545 "properties": {
4646 "suggestions": {
4747 "items": {
4848 "ref": "#affiliationSuggestion",
4949 "type": "ref"
5050 },
5151 "type": "array"
5252 }
5353 },
5454 "required": [
5555 "suggestions"
5656 ],
5757 "type": "object"
5858 }
5959 },
6060 "parameters": {
6161 "properties": {
6262 "limit": {
6363 "default": 8,
6464 "description": "Maximum number of suggestions to return",
6565 "maximum": 50,
6666 "minimum": 1,
6767 "type": "integer"
6868 },
6969 "query": {
7070 "description": "Search query for institution name",
7171 "minLength": 1,
7272 "type": "string"
7373 }
7474 },
7575 "required": [
7676 "query"
7777 ],
7878 "type": "params"
7979 },
8080 "type": "query"
8181 }
8282 },
8383 "id": "pub.chive.actor.autocompleteAffiliation",
8484 "lexicon": 1,
8585 "revision": 1
8686}