2022-11-15 06:21:14 +00:00
|
|
|
syntax = "proto3";
|
2022-12-09 04:17:14 +00:00
|
|
|
package vulcanize.registry.v1beta1;
|
2022-11-15 06:21:14 +00:00
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
2022-12-09 04:17:14 +00:00
|
|
|
option go_package = "github.com/cerc-io/laconicd/x/registry/types";
|
2022-11-15 06:21:14 +00:00
|
|
|
|
2023-01-17 06:25:08 +00:00
|
|
|
message HashReference {
|
|
|
|
map<string,string> hash_reference=1;
|
|
|
|
}
|
|
|
|
|
2023-01-11 10:53:29 +00:00
|
|
|
message ServiceProviderRecord {
|
2022-11-15 06:21:14 +00:00
|
|
|
string bond_id = 1 [(gogoproto.moretags) = "json:\"bondId\" yaml:\"bondId\""];
|
|
|
|
string laconic_id = 2 [(gogoproto.moretags) = "json:\"laconicId\" yaml:\"laconicId\""];
|
|
|
|
X500 x500 = 3 [(gogoproto.moretags) = "json:\"x500\" yaml:\"x500\""];
|
|
|
|
string type = 4 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
2023-01-02 12:15:52 +00:00
|
|
|
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
2022-11-15 06:21:14 +00:00
|
|
|
|
2023-01-11 10:53:29 +00:00
|
|
|
message X500 {
|
|
|
|
string common_name = 1 [(gogoproto.moretags) = "json:\"commonName\" yaml:\"commonName\""];
|
|
|
|
string organization_unit = 2 [(gogoproto.moretags) = "json:\"organizationUnit\" yaml:\"organizationUnit\""];
|
|
|
|
string organization_name = 3 [(gogoproto.moretags) = "json:\"organizationName\" yaml:\"organizationName\""];
|
|
|
|
string locality_name = 4 [(gogoproto.moretags) = "json:\"localityName\" yaml:\"localityName\""];
|
|
|
|
string state_name = 5 [(gogoproto.moretags) = "json:\"stateName\" yaml:\"stateName\""];
|
|
|
|
string country = 6 [(gogoproto.moretags) = "json:\"country\" yaml:\"country\""];
|
|
|
|
}
|
2022-11-15 06:21:14 +00:00
|
|
|
}
|
|
|
|
|
2023-01-11 10:53:29 +00:00
|
|
|
|
|
|
|
|
2022-11-15 06:21:14 +00:00
|
|
|
message WebsiteRegistrationRecord {
|
|
|
|
string url = 1 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
2023-01-17 06:33:48 +00:00
|
|
|
HashReference repo_hash_reference = 2
|
|
|
|
[(gogoproto.moretags) = "json:\"repoHashReference\" yaml:\"repoHashReference\""];
|
|
|
|
HashReference build_artifact_hash_ref = 3 [(gogoproto.moretags) = "json:\"buildArtifactHashRef\" yaml:\"buildArtifactHashRef\""];
|
|
|
|
HashReference tls_cert_hash_ref = 4 [(gogoproto.moretags) = "json:\"tlsCertHashRef\" yaml:\"tlsCertHashRef\""];
|
2022-11-15 06:21:14 +00:00
|
|
|
string type = 5 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
2023-01-02 12:15:52 +00:00
|
|
|
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
2023-01-11 10:53:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message GitRepository{
|
|
|
|
string name =1 [(gogoproto.moretags) = "json:\"name\" yaml:\"name\""];
|
|
|
|
string repo_reference=2 [(gogoproto.moretags) = "json:\"repo_reference\" yaml:\"repo_reference\""];
|
|
|
|
string description=3 [(gogoproto.moretags) = "json:\"description\" yaml:\"description\""];
|
|
|
|
string version = 4 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
2023-01-19 10:01:08 +00:00
|
|
|
string type =5 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
2023-01-11 10:53:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message Binary{
|
2023-01-17 06:25:08 +00:00
|
|
|
HashReference hash_reference=1;
|
|
|
|
string targeted_arch=2;
|
|
|
|
string runtime_version=3;
|
|
|
|
HashReference repo_hash_reference=4;
|
|
|
|
string version=5;
|
|
|
|
string type=6;
|
2023-01-11 10:53:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message DockerImage{
|
|
|
|
string image_id=1;
|
2023-01-17 06:25:08 +00:00
|
|
|
HashReference binary_hash_reference=2;
|
|
|
|
HashReference repo_hash_reference=3;
|
2023-01-11 10:53:29 +00:00
|
|
|
string version=4;
|
|
|
|
string type=5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message WatcherRegistrationRecord{
|
|
|
|
WatcherMetadata metadata =1;
|
2023-01-17 06:25:08 +00:00
|
|
|
HashReference repo_hash_reference=2;
|
2023-01-11 10:53:29 +00:00
|
|
|
WASMBinary wasm=3;
|
|
|
|
string version=4;
|
|
|
|
string type=5;
|
|
|
|
|
|
|
|
message WatcherMetadata{
|
|
|
|
string version=1;
|
2023-01-17 06:25:08 +00:00
|
|
|
HashReference chain_hash_reference=2;
|
2023-01-11 10:53:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message WASMBinary{
|
2023-01-17 06:25:08 +00:00
|
|
|
HashReference hash_reference=1;
|
2023-01-11 10:53:29 +00:00
|
|
|
WASMBinaryMetadata metadata=2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message WASMBinaryMetadata{
|
|
|
|
string compiler_version=1;
|
|
|
|
string execution_engine_version=2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
message ResponderContract{
|
2023-01-17 06:25:08 +00:00
|
|
|
HashReference service_provider_hash_ref=1;
|
|
|
|
HashReference auction_hash_ref=2;
|
|
|
|
HashReference watcher_hash_ref=3;
|
2023-01-11 10:53:29 +00:00
|
|
|
string version=4;
|
|
|
|
string type=5;
|
|
|
|
}
|
|
|
|
|
2023-01-17 06:25:08 +00:00
|
|
|
message JSPackage{
|
|
|
|
HashReference repo_hash_reference=1;
|
|
|
|
HashReference js_package_hash_ref=2;
|
2023-01-11 10:53:29 +00:00
|
|
|
string version=3;
|
|
|
|
string type=4;
|
2023-01-17 06:25:08 +00:00
|
|
|
string name =5;
|
2023-01-11 10:53:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message ChainRegistrationRecord{
|
|
|
|
string name=1;
|
|
|
|
repeated string ipld_types=2;
|
|
|
|
string type=3;
|
|
|
|
string version=4;
|
2023-01-17 06:25:08 +00:00
|
|
|
string chain_id=5;
|
2023-01-18 10:11:14 +00:00
|
|
|
string network_id=6;
|
2023-01-17 06:25:08 +00:00
|
|
|
string genesis_hash=7;
|
2022-11-15 06:21:14 +00:00
|
|
|
}
|