diff --git a/subnet/types.proto b/subnet/types.proto new file mode 100644 index 0000000..aa69bba --- /dev/null +++ b/subnet/types.proto @@ -0,0 +1,18 @@ +syntax = "proto3"; + +package neo.fs.v2.subnet; + +option go_package = "github.com/nspcc-dev/neofs-api-go/v2/subnet/grpc;subnet"; +option csharp_namespace = "Neo.FileStorage.API.Subnet"; + +import "refs/types.proto"; + +// NeoFS subnetwork description +message SubnetInfo { + // Unique subnet identifier. Missing ID is + // equivalent to zero (default subnetwork) ID. + neo.fs.v2.refs.SubnetID id = 1; + + // Identifier of the subnetwork owner + neo.fs.v2.refs.OwnerID owner = 2; +}