insula

Categorical domain Schema

https://cgi-italy.github.io/insula/schemas/v1.2.0/common/vector-feature-property.schema.json#/$defs/enumProperty/properties/domain

Definition of a categorical variable domain

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

domain Type

object (Categorical domain)

domain Examples

{
  "values": [
    {
      "value": 0,
      "label": "First"
    },
    {
      "value": 1,
      "label": "Second"
    }
  ]
}

domain Properties

Property Type Required Nullable Defined by
values array Required cannot be null Dataset variable domain
noData number Optional cannot be null Dataset variable domain

values

The domain allowed values

values

values Type

object[] (Categorical domain item)

values Constraints

minimum number of items: the minimum number of items for this array is: 1

unique items: all items in this array must be unique. Duplicates are not allowed.

noData

The data domain no data value

noData

noData Type

number (Domain no data value)