Skip to main content

base-attribute

schema/components/base-attribute/1.0.0/base-attribute.schema.json

The base-attribute component defines the three properties common to all attribute types:

  • name — A display name for the attribute.
  • key — A unique key identifying the attribute within its parent list.
  • attribute_type — A constant string discriminator identifying the specific attribute type (e.g., "scalar", "category", "bool").

All attribute schemas compose this component via allOf.

Used by: base-category-attribute, base-continuous-attribute.

Properties​

base-attribute (v1.0.0)​

A base schema for attributes.

PropertyTypeDescriptionFlags
nameStringThe name of the attribute✅
keyStringAn identifier of the attribute, used to keep track of the attribute when it is renamed.
The identifier must be unique within an attribute list.
✅
attribute_typeStringType of the attribute.✅

Legend​

FlagDescription
⬆️Inherited property
✅Required property

Was this page helpful?