Skip to main content

one-of-attribute

schema/components/one-of-attribute/1.2.0/one-of-attribute.schema.json

The one-of-attribute component is a discriminated union defining the set of attribute types that can be used within an attribute list. Each item in the array must match exactly one of the supported attribute schemas, distinguished by the attribute_type field.

The supported attribute types are:

Attribute typeattribute_type valueDescription
continuous-attribute"scalar"Floating-point values
category-attribute"category"Categorical values with a lookup table
bool-attribute"bool"Boolean values
color-attribute"color"ABGR colour values
string-attribute"string"String values
integer-attribute"integer"Integer values
date-time-attribute"date_time"Timestamp values
vector-attribute"vector"N-dimensional vectors
indices-attribute"indices"Index references to related objects
continuous-ensembleEnsemble of continuous realisations
category-ensembleEnsemble of categorical realisations
bool-time-seriesBoolean values over time
continuous-time-seriesContinuous values over time
category-time-seriesCategorical values over time

See Understanding attributes for guidance on how attributes are associated with geometry.

Used by: geological-model-meshes, geological-sections, regular-2d-grid, regular-3d-grid, regular-masked-3d-grid, tensor-2d-grid, tensor-3d-grid.

Properties

one-of-attribute (v1.2.0)

A component describing the list of attributes that can be used.

PropertyTypeDescriptionFlags

Legend

FlagDescription
⬆️Inherited property
Required property

What is the reason for your feedback?