{
    "$schema": "../schemas/v3/index.json",
    // Note: to include private repositories, you must provide an authentication token.
    // See: configs/auth.json for a example.
    "connections": {
        // From GitHub, include:
        // - all public repos owned by user `torvalds`
        // - all public repos owned by organization `commai`
        // - repo `sourcebot-dev/sourcebot`
        "example-1": {
            "type": "github",
            "users": [
                "torvalds"
            ],
            "orgs": [
                "commaai"
            ],
            "repos": [
                "sourcebot-dev/sourcebot"
            ]
        },
        // From GitLab, include:
        // - all public projects owned by user `brendan67`
        // - all public projects in group `my-group` and sub-group `sub-group`
        // - project `my-group/project1`
        "example-2": {
            "type": "gitlab",
            "users": [
                "brendan67"
            ],
            "groups": [
                "my-group",
                "my-other-group/sub-group"
            ],
            "projects": [
                "my-group/project1"
            ]
        },
        // From Gitea, include:
        // - all public repos owned by user `my-user`
        // - all public repos owned by organization `my-org`
        // - repo `my-org/my-repo`
        "example-3": {
            "type": "gitea",
            "users": [
                "my-user"
            ],
            "orgs": [
                "my-org"
            ],
            "repos": [
                "my-org/my-repo"
            ]
        }
    }
}