insula

Categorical domain item Schema

https://cgi-italy.github.io/insula/schemas/v1.1.0/common/dataset-variable-domain.schema.json#/$defs/categoricalDomain/properties/values/items

Definition of a categorical domain item

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

items Type

object (Categorical domain item)

items Properties

Property Type Required Nullable Defined by
value Multiple Required cannot be null Dataset variable domain
label string Optional cannot be null Dataset variable domain
description string Optional cannot be null Dataset variable domain
color string Optional cannot be null Dataset variable domain

value

The domain item value

value

value Type

any of the following: string or number (Domain item value)

label

The human-readable domain item label

label

label Type

string (Domain item label)

description

The domain item description

description

description Type

string (Domain item description)

color

The color associated to the value. Used for dynamic coloring

color

color Type

string (Domain item color)