syntax = "proto3";

package nominal.ingest.v2;

import "buf/validate/validate.proto";
import "nominal/protos/gen/v1/alias.proto";
import "nominal/protos/ingest/v2/common.proto";

option java_multiple_files = true;
option java_package = "io.nominal.ingest.v2";

// Single-channel log or journal ingest work.
message LogIngestItem {
  IngestSource source = 1 [(buf.validate.field).required = true];
  optional string channel = 2 [(nominal.gen.v1.alias) = {java_name: "io.nominal.api.Channel"}];
  optional TimestampMetadata timestamp_metadata = 3;
}
