The Feature object

The Feature object describes features within your application. A new Feature is created in the Schematic application or via the API.

A Feature can be associated with Plans via Entitlements to target Companies. A Feature may be boolean, or metered (trait-based or event-based).

Attributes

id
string

Unique id generated by Schematic for the object.

name
string

The features’s name, which is displayable to Schematic users.

description
string

The feature’s description, which is displayable to Schematic users.

feature_type
string

The feature’s type, which can be boolean (on/off), trait (metered against a trait) or event (metered against aggregated events).

created_at
datetime

Datetime when the feature was created. Format is ISO 8601.

updated_at
datetime

Datetime when the feature was updated. Format is ISO 8601.

event_subtype
string

If the feature’s type is event, the unique key of the event to meter against.

trait_id
string

If the feature’s type is trait, the unique id of the event to meter against.

flags
dictionary

Set of flags that the feature is associated with. Currently, features may only be associated with one flag.

Was this page helpful?