{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The accounts a repository names in its record as its runners, as `knotless runner list` lists them: those whose checks of it are shown, and who land its merge queue. No authentication; responses are not personalized.",
      "errors": [
        {
          "description": "No such repository.",
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "#runners",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "repo": {
            "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "repo"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "runnerKey": {
      "description": "The key one runner publishes to seal its secrets to.",
      "properties": {
        "key": {
          "description": "Its key, a P-256 did:key.",
          "format": "did",
          "type": "string"
        },
        "runner": {
          "description": "The runner.",
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "runner",
        "key"
      ],
      "type": "object"
    },
    "runners": {
      "description": "A repository's runners, in the order its record names them.",
      "properties": {
        "keys": {
          "description": "The key each runner publishes in its dev.knotless.runnerKey record, for its owner to seal secrets to, as dev.knotless.putSecret takes them; a runner that publishes none is not here.",
          "items": {
            "ref": "#runnerKey",
            "type": "ref"
          },
          "type": "array"
        },
        "minutes": {
          "description": "The minutes each runner counts for the repository's owner, where it has counted any; none for a private repository.",
          "items": {
            "ref": "dev.knotless.defs#minutesView",
            "type": "ref"
          },
          "type": "array"
        },
        "runners": {
          "items": {
            "ref": "dev.knotless.defs#actorView",
            "type": "ref"
          },
          "type": "array"
        },
        "warning": {
          "description": "After adding a runner to a private repository, why it could not be told of it: adding it again tells it again.",
          "type": "string"
        }
      },
      "required": [
        "runners"
      ],
      "type": "object"
    }
  },
  "description": "The runners a repository names.",
  "id": "dev.knotless.listRunners",
  "lexicon": 1
}
