{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "What bard knows about one connected space: its sync state, the expiry of the credential bard holds, and its counts. Answered for the space's authority and for viewers — identities with a grant inside the viewer window.",
      "errors": [
        {
          "description": "Bard is not connected to that space — also the answer for a caller who is neither its authority nor a viewer.",
          "name": "SpaceNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "space.highport.defs#spaceView",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "space": {
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "space"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "space.highport.manage.getSpace",
  "lexicon": 1
}
