2022-12-19 05:55:28 +00:00
|
|
|
syntax = "proto3";
|
2022-12-19 06:14:18 +00:00
|
|
|
package vulcanize.registry.v1beta1;
|
2022-12-19 05:55:28 +00:00
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
|
2022-12-19 06:14:18 +00:00
|
|
|
option go_package = "github.com/cerc-io/laconicd/x/registry/types";
|
2022-12-19 05:55:28 +00:00
|
|
|
|
|
|
|
message ServiceProviderRegistration {
|
|
|
|
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:14:06 +00:00
|
|
|
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
2022-12-19 05:55:28 +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\""];
|
|
|
|
}
|
|
|
|
|
|
|
|
message WebsiteRegistrationRecord {
|
|
|
|
string url = 1 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
|
|
|
string repo_registration_record_cid = 2
|
|
|
|
[(gogoproto.moretags) = "json:\"repoRegistrationRecordCID\" yaml:\"repoRegistrationRecordCID\""];
|
|
|
|
string build_artifact_cid = 3 [(gogoproto.moretags) = "json:\"buildArtifactCID\" yaml:\"buildArtifactCID\""];
|
|
|
|
string tls_cert_cid = 4 [(gogoproto.moretags) = "json:\"TLSCertCID\" yaml:\"TLSCertCID\""];
|
|
|
|
string type = 5 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
2023-01-02 12:14:06 +00:00
|
|
|
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
2022-12-19 05:55:28 +00:00
|
|
|
}
|