From
bafyreif2a42shsaohvwnuoj3twcdohv5mkwvla7bnj5tnuuso7d5mc5lxu
indexed 2026-06-18 13:14 UTC
View this version
To
bafyreif2a42shsaohvwnuoj3twcdohv5mkwvla7bnj5tnuuso7d5mc5lxu
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
"communityResult": {55
"description": "Community detection result",66
"properties": {77
"communityId": {88
"description": "Community identifier",99
"type": "integer"1010
},1111
"members": {1212
"description": "Member URIs",1313
"items": {1414
"type": "string"1515
},1616
"type": "array"1717
},1818
"representativeMembers": {1919
"description": "Representative members with labels",2020
"items": {2121
"ref": "#representativeMember",2222
"type": "ref"2323
},2424
"type": "array"2525
},2626
"size": {2727
"description": "Number of members",2828
"type": "integer"2929
}3030
},3131
"required": [3232
"communityId",3333
"members",3434
"size"3535
],3636
"type": "object"3737
},3838
"main": {3939
"description": "Detect communities in the knowledge graph using graph clustering algorithms",4040
"output": {4141
"encoding": "application/json",4242
"schema": {4343
"properties": {4444
"algorithm": {4545
"description": "Algorithm used",4646
"knownValues": [4747
"louvain",4848
"label-propagation"4949
],5050
"type": "string"5151
},5252
"communities": {5353
"description": "Detected communities",5454
"items": {5555
"ref": "#communityResult",5656
"type": "ref"5757
},5858
"type": "array"5959
},6060
"generatedAt": {6161
"description": "Timestamp when generated",6262
"format": "datetime",6363
"type": "string"6464
},6565
"total": {6666
"description": "Total communities found",6767
"type": "integer"6868
}6969
},7070
"required": [7171
"communities",7272
"algorithm",7373
"total",7474
"generatedAt"7575
],7676
"type": "object"7777
}7878
},7979
"parameters": {8080
"properties": {8181
"algorithm": {8282
"default": "louvain",8383
"description": "Community detection algorithm",8484
"knownValues": [8585
"louvain",8686
"label-propagation"8787
],8888
"type": "string"8989
},9090
"limit": {9191
"default": 20,9292
"description": "Maximum communities to return",9393
"maximum": 100,9494
"minimum": 1,9595
"type": "integer"9696
},9797
"minSize": {9898
"default": 2,9999
"description": "Minimum community size",100100
"minimum": 1,101101
"type": "integer"102102
}103103
},104104
"type": "params"105105
},106106
"type": "query"107107
},108108
"representativeMember": {109109
"description": "Representative community member",110110
"properties": {111111
"label": {112112
"description": "Member label",113113
"type": "string"114114
},115115
"uri": {116116
"description": "Member AT-URI",117117
"type": "string"118118
}119119
},120120
"required": [121121
"uri",122122
"label"123123
],124124
"type": "object"125125
}126126
},127127
"id": "pub.chive.graph.getCommunities",128128
"lexicon": 1,129129
"revision": 1130130
}