Custom attributes

Stelace offers flexible searchable asset data through custom attributes.

Custom attributes allow you to add any structured and searchable data to assets. You can use custom attributes to do full-text search, filter, and custom ranking.

We support the following types of custom attributes:

  • number
  • boolean
  • text
  • select (end user is expected to pick one single value in a list)
  • tags (end user can pick several values in a list)

Before being used in assets, custom attributes have to be created with a simple API call:

  name: 'seatingCapacity',
  type: 'number'

An additional listValues property should be set to an array of allowed values for select and tags types.

  name: 'extras',
  type: 'tags',
  listValues: ['Sunroof', 'Leather Interior']