check in lexicons

This commit is contained in:
Samuel Newman
2025-04-30 21:15:55 +03:00
parent 727a696970
commit d5b5b21617
259 changed files with 13100 additions and 0 deletions
@@ -0,0 +1,61 @@
{
"lexicon": 1,
"id": "tools.ozone.signature.findRelatedAccounts",
"defs": {
"main": {
"type": "query",
"description": "Get accounts that share some matching threat signatures with the root account.",
"parameters": {
"type": "params",
"required": ["did"],
"properties": {
"did": {
"type": "string",
"format": "did"
},
"cursor": { "type": "string" },
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 50
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["accounts"],
"properties": {
"cursor": { "type": "string" },
"accounts": {
"type": "array",
"items": {
"type": "ref",
"ref": "#relatedAccount"
}
}
}
}
}
},
"relatedAccount": {
"type": "object",
"required": ["account"],
"properties": {
"account": {
"type": "ref",
"ref": "com.atproto.admin.defs#accountView"
},
"similarities": {
"type": "array",
"items": {
"type": "ref",
"ref": "tools.ozone.signature.defs#sigDetail"
}
}
}
}
}
}