# Interface UniqueValueRendererJson

A unique value renderer symbolizes groups of features that have matching field values.

See https://developers.arcgis.com/web-map-specification/objects/uniqueValue_renderer/ https://developers.arcgis.com/web-scene-specification/objects/uniqueValueRenderer/.

interface UniqueValueRendererJson {
authoringInfo?: AuthoringInfoJson;
backgroundFillSymbol?: PolygonSymbol3DJson;
defaultLabel?: string;
defaultSymbol?: SymbolJson;
field1: string;
field2?: string;
field3?: string;
fieldDelimiter?: string;
rotationExpression?: string;
rotationType?: RotationJsonType;
type: "uniqueValue";
uniqueValueGroups?: UniqueValueGroupJson[];
uniqueValueInfos?: UniqueValueInfoJson[];
visualVariables?: VisualVariableJson[];
}

#### Hierarchy (view full)

- RendererJsonBase
  - UniqueValueRendererJson

#####
Index

### Properties

authoringInfo?
backgroundFillSymbol?
defaultLabel?
defaultSymbol?
field1
field2?
field3?
fieldDelimiter?
rotationExpression?
rotationType?
type
uniqueValueGroups?
uniqueValueInfos?
visualVariables?

##
Properties

### `Optional` authoringInfo

authoringInfo?: AuthoringInfoJson

An object containing metadata about the authoring process for creating a renderer object. This allows the authoring clients to save specific overridable settings so that next time it is accessed via the UI, their selections are remembered. Non-authoring clients should ignore it.

Inherited from RendererJsonBase.authoringInfo

### `Optional` backgroundFillSymbol

backgroundFillSymbol?: PolygonSymbol3DJson

A SimpleFillSymbol used for polygon features. It can only be used for bivariate types and size rendering.

### `Optional` defaultLabel

defaultLabel?: string

Default string for the default symbol used to draw unspecified values.

### `Optional` defaultSymbol

defaultSymbol?: SymbolJson

Symbol used when a value cannot be matched.

### field1

field1: string

String value specifying the first field used to render matching values.

### `Optional` field2

field2?: string

String value specifying the second field used to render matching values.

### `Optional` field3

field3?: string

String value specifying the third field used to render matching values.

### `Optional` fieldDelimiter

fieldDelimiter?: string

String value inserted between values if multiple attribute fields are specified.

### `Optional` rotationExpression

rotationExpression?: string

A constant value or an expression that derives the angle of rotation based on a feature attribute value. When an attribute name is specified, it's enclosed in square brackets.

Inherited from RendererJsonBase.rotationExpression

### `Optional` rotationType

rotationType?: RotationJsonType

String value (either geographic or arithmetic) which controls the origin and direction of rotation on point features. If the rotationType is defined as 'arithmetic', the symbol is rotated from East in a counter-clockwise direction where East is the 0� axis. If the rotationType is defined as 'geographic', the symbol is rotated from North in a clockwise direction where North is the 0� axis.

Inherited from RendererJsonBase.rotationType

### type

type

The type of renderer. See RendererJsonType.

Overrides RendererJsonBase.type

### `Optional` uniqueValueGroups

uniqueValueGroups?: UniqueValueGroupJson[]

An array of uniqueValueGroup objects. If present, then uniqueValueGroups should be used in favor of uniqueValueInfos.

### `Optional` uniqueValueInfos

uniqueValueInfos?: UniqueValueInfoJson[]

An array of uniqueValueInfo objects. If uniqueValueGroups is present, then this property should be ignored during webmap reading. In the future, this property will be deprecated and eventually removed.

### `Optional` visualVariables

visualVariables?: VisualVariableJson[]

An array of visualVariable objects used for continuous color or size, simple, and unique values with feature opacity.

Inherited from RendererJsonBase.visualVariables