protocol: add canonical Phase 3A contract sources
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package versevdi.control.v1;
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
|
||||
option go_package = "github.com/sechmachine/VerseVDI-Protocol/gen/go/protocol";
|
||||
|
||||
message VersionNegotiation {
|
||||
repeated string supported_versions = 1;
|
||||
repeated string features = 2;
|
||||
}
|
||||
|
||||
message ResourceLink {
|
||||
string type = 1;
|
||||
string id = 2;
|
||||
int64 version = 3;
|
||||
}
|
||||
|
||||
message EventEnvelope {
|
||||
string event_id = 1;
|
||||
int64 sequence = 2;
|
||||
string type = 3;
|
||||
int64 version = 4;
|
||||
ResourceLink resource = 5;
|
||||
google.protobuf.Timestamp occurred_at = 6;
|
||||
bytes payload_json = 7;
|
||||
string correlation_id = 8;
|
||||
}
|
||||
|
||||
message ClipboardText {
|
||||
string text = 1;
|
||||
string encoding = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user