File: WebAPI/metadata_2.proto
Market State attribute metadata
Note: To apply a metadata update one must follow rules:
1. If an update contains a MarketStateAttributeMetadata with a combination of “name” and “level” fields values, which does not exist in the local state, then it must be added to it.
2. If an update contains a MarketStateAttributeMetadata with a combination of “name” and “level” fields values, which already exists in the local state, then:
o If the field “deleted” is present and set to true - this Attribute should be deleted from the local state.
o Otherwise updates for value_metadata should be applied (see MarketStateValueMetadata comments).
Type: string
Description: Attribute name
Type: uint32
Description: Attribute level in attributes hierarchy
Type: MarketStateValueMetadata
Description: Attribute possible values metadata
Type: bool
Description: If present and true - attribute should be deleted from metadata