Data Catalog Properties

Create and manage properties in your data catalog.

This guide walks you through creating and managing your properties in the data catalog.

Add property

  1. Log in to the RudderStack dashboard and go to Govern > Data Catalog option in the left sidebar.
  2. Go to the Properties tab, click Add property.
Add new property
  1. In the Property details tab, specify the property name and description.
info

Note that:

  • You cannot set a blank property name - it must be at least 1 character long.

  • RudderStack supports all the UTF-8 characters in property names.

  • The property name can start with a letter, number, or special character. Some examples of valid property names:

    • test_property
    • 1test_property
    • @1Ttest property
  1. Choose the data type for your property from the dropdown. You can also:

    • Choose multiple data types as per your requirement.
    • Leave this field empty to accept any data type.
    • Select a custom data type for the property.
Add new property to catalog
  1. If you choose Array from the dropdown, select the data type of its elements in the Array of field . For example, if you choose String, RudderStack accepts only string elements for that array.
Array property type
  1. Click Save to save the changes and add the new property to your data catalog.

Add multiple properties with the same name

You can create multiple properties with the same name as long as:

  • They have a different data type, OR
  • In case of arrays, they have different Array of values. For example, if you create a property called test_property of the array data type and the Array of field set to String, as shown:
Add multiple properties with same name

In that case:

  • You can create another property called test_property with a different data type, for example, Integer.
  • You can create another property called test_property with an array data type and a different Array of field setting, for example, Boolean and String.
  • You cannot create another property called test_property with an array data type and the Array of field set to String.

Property details

Once created, you can click the property to see the following information:

  • Property details like name, description, and data type. You can also make any changes to these details - make sure to click Save for any changes to take effect.
  • Connections to tracking plans, along with the connected sources and associated events (only visible after you map the property to an event while creating a tracking plan).
  • Delete property from data catalog. Note that you cannot delete any property from the catalog if it is already a part of any tracking plan.
Add new property

Advanced rules

While adding or editing a property, use the Advanced rules tab to add rules that define how RudderStack should capture a property.

info
You can set advanced rules for properties of all the data types except Object and Null.

You can define the following advanced rules for the property depending on its data type:

Custom data types

info

This feature is in beta as part of RudderStack’s Early Access Program, where we work with early users and customers to test new features and get feedback before making them generally available.

Note that these features are functional but can change as we improve them. Contact to get access.

You can use the Custom Data Types tab to set predefined rules and later apply them to multiple event properties as per your requirement. With this approach, you can avoid setting the same set of advanced rules to each property individually.

This section highlights the steps for adding a custom type in your data catalog and then defining a new property to use that custom type.

Define custom types

  1. Go to the Properties tab of the data catalog and click the Custom Data Types (beta) tab. Then, click Add custom type.
Add custom data type
  1. Specify the name, description, and data type under Type details:
warning
The custom type name must be between 2 and 65 characters long. Also, it must start with a capital letter and contain only letters, numbers, underscores and dashes.
Define custom type
  1. Go to the Rules tab and define the rules for the data type selected above. An example for a string is shown below:
Define custom type rules
  1. Click Save to save the changes.

Examples

This section highlights some specific use cases of creating new custom types in your data catalog.

Create a custom type that is an array of other custom types

You can create a custom type that is an array of another custom type, that is, it accepts only a list of that custom type.

  1. Specify the name and description (optional) of the custom type.
  2. Under Type, select Array.
  3. Under Array of, select Custom data type (beta).
  4. Select the required Custom data type.
  5. Specify the rules for this new array custom type, as required.

The following image highlights a custom type named ArrayCustomType that is an array of another custom type StringCustomType.

Define array of custom types

Note that you can specify only one custom type in the Array of field, as seen in the above image.

Create an object custom type that accepts specific properties

You can create a custom data type of object type that only accepts specific properties present in your data catalog:

  1. Specify the name and description (optional) of the custom type.
  2. Under Type, select Object.
  3. Select the required properties present in your data catalog in the Properties field.
  4. Mark the properties as Optional or Required, as per your requirement.
Define object custom type

Create new properties using custom types

  1. In the Properties tab of the data catalog, click Add property.
Add new property
  1. Enter the property name and description.
  2. Under Data type, select Custom data type (beta). Then, select the custom data type defined in Step 1 above.
Select custom data type for property

Once you select the custom data type, the property automatically inherits all the rules that you defined while creating the custom data type.

Custom data type applied property

Create a property that accepts an array of a custom type

You can create a new property that accepts an array of a custom data type.

  1. Specify the property name and description (optional).
  2. Choose Data type as Array.
  3. Set the Array of field to Custom data type (beta).
  4. Select the required Custom data type.
  5. Set the Property rules, as required.

The following image highlights a new property called products_array that is an array of a custom type StringCustomType:

Define array of custom data type

Questions? Contact us by email or on Slack