diff --git a/proto-docs/refs.md b/proto-docs/refs.md index 94dbc86..5947f70 100644 --- a/proto-docs/refs.md +++ b/proto-docs/refs.md @@ -31,7 +31,7 @@ Address of object (container id + object id) | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| ObjectID | [bytes](#bytes) | | ObjectID is an object identifier, valid UUIDv4 represented in bytes | +| ObjectID | [ObjectID](#refs.ObjectID) | | ObjectID carries object identifier. | | CID | [bytes](#bytes) | | CID is container identifier | diff --git a/refs/types.proto b/refs/types.proto index dd78dc0..45e28a5 100644 --- a/refs/types.proto +++ b/refs/types.proto @@ -12,8 +12,8 @@ option (gogoproto.goproto_stringer_all) = false; // Address of object (container id + object id) message Address { - // ObjectID is an object identifier, valid UUIDv4 represented in bytes - bytes ObjectID = 1[(gogoproto.customtype) = "ObjectID", (gogoproto.nullable) = false]; + // ObjectID carries object identifier. + ObjectID ObjectID = 1; // CID is container identifier bytes CID = 2[(gogoproto.customtype) = "CID", (gogoproto.nullable) = false]; }