syntax = "proto3";
package rockpaperscissors;
option go_package = "proto";

import "code.justin.tv/dta/rockpaperscissors/proto/project_metadata.proto";
import "code.justin.tv/dta/rockpaperscissors/proto/project_metadata_service.proto";


message IngestRequest {
  oneof request {
    // Comes from project_metadata_service.
    IngestBlueprintRequest ingest_blueprint_request = 1;
    IngestGitHubStatsRequest ingest_github_stats_request = 2;
  }
}


message IngestGitHubStatsRequest {
  GitHubRepository github_repository = 1;
  string commit_sha = 2;
}
