diff --git a/object/types.proto b/object/types.proto index fe14a57..37d80a4 100644 --- a/object/types.proto +++ b/object/types.proto @@ -16,7 +16,7 @@ message Attribute { string Value = 2; } -message Header { +message ExtendedHeader { oneof Value { // Link to other objects Link Link = 1; @@ -112,8 +112,8 @@ message Transform { message Object { // SystemHeader describes system header SystemHeader SystemHeader = 1; - // Headers describes a set of an extended headers - repeated Header Headers = 2; + // ExtendedHeaders describes a set of an extended headers + repeated ExtendedHeader ExtendedHeaders = 2; // Payload is an object's payload bytes Payload = 3; } diff --git a/proto-docs/object.md b/proto-docs/object.md index 2f0c482..fdc2275 100644 --- a/proto-docs/object.md +++ b/proto-docs/object.md @@ -31,7 +31,7 @@ - Messages - [Attribute](#object.Attribute) - [CreationPoint](#object.CreationPoint) - - [Header](#object.Header) + - [ExtendedHeader](#object.ExtendedHeader) - [IntegrityHeader](#object.IntegrityHeader) - [Link](#object.Link) - [Object](#object.Object) @@ -385,9 +385,9 @@ Attribute groups the parameters of the object attributes. | Epoch | [uint64](#uint64) | | Epoch is a date of creation in NeoFS epochs | - + -### Message Header +### Message ExtendedHeader @@ -439,7 +439,7 @@ Attribute groups the parameters of the object attributes. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | | SystemHeader | [SystemHeader](#object.SystemHeader) | | SystemHeader describes system header | -| Headers | [Header](#object.Header) | repeated | Headers describes a set of an extended headers | +| ExtendedHeaders | [ExtendedHeader](#object.ExtendedHeader) | repeated | ExtendedHeaders describes a set of an extended headers | | Payload | [bytes](#bytes) | | Payload is an object's payload |