insula

Dataset color map Schema

https://cgi-italy.github.io/insula/schemas/v1.1.1/common/dataset-colormap.schema.json

Definition of a dataset color map

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none dataset-colormap.schema.json

Dataset color map Type

object (Dataset color map)

Dataset color map Examples

{
  "colorScale": "viridis",
  "range": {
    "min": 0,
    "max": 66
  },
  "clamp": true
}

Dataset color map Properties

Property Type Required Nullable Defined by
colorScale string Optional cannot be null Dataset color map
range object Optional cannot be null Dataset color map
clamp boolean Optional cannot be null Dataset color map

colorScale

colorScale

colorScale Type

string (Dataset colorscale)

colorScale Constraints

enum: the value of this property must be equal to one of the following values:

Value Explanation
"viridis"  
"inferno"  
"turbo"  
"rainbow"  
"jet"  
"hsv"  
"hot"  
"cool"  
"spring"  
"summer"  
"autumn"  
"winter"  
"bone"  
"copper"  
"greys"  
"ylgnbu"  
"greens"  
"ylorrd"  
"bluered"  
"rdbu"  
"picnic"  
"portland"  
"blackbody"  
"earth"  
"electric"  
"magma"  
"plasma"  
"redblue"  
"coolwarm"  
"diverging_1"  
"diverging_2"  
"blackwhite"  
"twilight"  
"twilight_shifted"  

range

range

range Type

object (Color map range)

clamp

Define clamping colormap behaviour. If enabled values beyond the range limits will be colored using the colorScale extreme colors. If disabled values beyond the range will be filtered out in the visualization

clamp

clamp Type

boolean (Colormap clamp)

clamp Default Value

The default value is:

true