Skip to main content
Rimdian comes with predefined schemas for the most common types of content. These schemas are designed to handle most of the uses cases, but you can always extend them with Apps to store additional data. Refer to the Data Collector API section to import data into Rimdian.

App items

Apps can define their own tables to store additional data. For example, a “Loyalty” app could define a app_loyalty_points table to store the points earned by users. In such the data import item should look like:
{
  "kind": "app_loyalty_points",
  "app_loyalty_points": {
    "external_id": "transaction_123",
    "created_at": "2021-01-01T00:00:00Z",
    "user_id": "xxxxxxx",
    "points": 100
  }
}

App extra columns

Apps can also define extra columns for the predefined schemas. For example, a “Loyalty” app could define a app_loyalty_points column for the user schema to store the points earned by users. In such the data import item should look like:
{
  "kind": "user",
  "user": {
    "external_id": "customer_123",
    "is_authenticated": true,
    "created_at": "2023-01-01T00:00:00Z",
    "created_at": "2024-01-01T00:00:00Z",
    "app_loyalty_points": 100
  }
}

Predefined schemas

User

Store information about your visitors & customers.

Order

Store information about orders made by your customers.

Custom event

Store information about custom events done by your users.

Session

Store information about the sessions (visits) of your users.

Cart

Store information about the carts & items added by your users.

Pageview

Store information about the pageviews of your users.

Device

Store information about the devices used by your users.