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.
| Property | Type | Description | Flags |
|---|---|---|---|
| name | String | The name of the attribute | ✅ |
| key | String | An 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_type | String | Type of the attribute. | ✅ |
Legend
| Flag | Description |
|---|---|
| ⬆️ | Inherited property |
| ✅ | Required property |