# Interface UniqueValueFromStyleRendererJson

This is a special version of UniqueValue Renderer, which loads uniqueValue infos from a portal style.

See https://developers.arcgis.com/web-scene-specification/objects/uniqueValueFromStyleRenderer/.

interface UniqueValueFromStyleRendererJson {
authoringInfo?: AuthoringInfoJson;
defaultLabel?: string;
defaultSymbol?: Symbol3DJson;
field1: string;
rotationExpression?: string;
rotationType?: RotationJsonType;
styleName?: string;
styleUrl?: string;
type: "uniqueValue";
visualVariables?: VisualVariableJson[];
}

#### Hierarchy (view full)

- RendererJsonBase
  - UniqueValueFromStyleRendererJson

#####
Index

### Properties

authoringInfo?
defaultLabel?
defaultSymbol?
field1
rotationExpression?
rotationType?
styleName?
styleUrl?
type
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` defaultLabel

defaultLabel?: string

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

### `Optional` defaultSymbol

defaultSymbol?: Symbol3DJson

The defaultSymbol on the renderer that get assigned to features with no value or features that do not fall within the configured data.

### field1

field1: string

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

### `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

### `Optional` styleName

styleName?: string

A registered web style name. Can not be used in conjunction with styleName.

### `Optional` styleUrl

styleUrl?: string

URL that points to the web style definition. Can not be used in conjunction with styleUrl.

### type

type

The type of renderer. See RendererJsonType.

Overrides RendererJsonBase.type

### `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