{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Ask this service to begin indexing a Circle Space. The service verifies the Space independently against the owner's PDS; it does not trust the caller's claim that the Space exists. Idempotent: activating an already-active Circle returns its current summary.",
"errors": [
{
"description": "This service holds no usable OAuth grant for a participant of the Space, so it cannot obtain a Space credential.",
"name": "AuthorizationRequired"
},
{
"description": "The caller is not on the Space's member list.",
"name": "NotAuthorized"
},
{
"name": "SpaceNotFound"
},
{
"description": "The Space exists but is not a usable Circle: its app access does not name this service, or its metadata record is absent.",
"name": "SpaceNotEligible"
},
{
"name": "UnsupportedPDS"
},
{
"name": "ProtocolRevisionMismatch"
},
{
"name": "UpstreamUnavailable"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"space": {
"format": "space-ref",
"type": "string"
}
},
"required": [
"space"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"circle": {
"ref": "blue.catbird.circle.defs#circleSummary",
"type": "ref"
}
},
"required": [
"circle"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "blue.catbird.circle.activateCircle",
"lexicon": 1
}