Message: MarketStateValueMetadata

File: WebAPI/metadata_2.proto

Description

Market State attribute value metadata.

Note: To apply a value metadata update one must follow rules:

1.  If a received update has MarketStateValueMetadata with the “value” field value, which does not exist in the local state, then this metadata must be added to it.

2.  If a received update has MarketStateValueMetadata with the “value” field value, which exists in the local state, then:

If the field “deleted” present and set to true - this MarketStateValueMetadata should be deleted from the local state.

If the field “description” value is different from the value stored in the local state - it should be set to the new value.

Used in

MarketStateAttributeMetadata

Fields

value

Type: string

Description: Attribute value

description

Type: string

Description: Attribute value description

deleted

Type: bool

Description: If present and true - attribute value metadata should be deleted