Schemas
- Topics:
- Schemas
CREATED FOR:
- User
- Admin
To manage schemas, supporting the data you want to ingest in Experience Platform and use in Mix Modeler:
-
Go to the Mix Modeler interface.
-
Select
See the Schemas UI overview for more information.
Aggregate or summary data
It is highly recommended to use the XDM Summary Metrics class as the base of the schema underlying any aggregate or summary data you want to ingest in Experience Platform and use in Mix Modeler.
Use the XDM Summary Metrics class for:
-
walled garden data, for example data from Facebook or YouTube.
-
external factors data, like data from SPX (S&P 500 stock price indices), weather data,
-
internal factors data, for example price changes, a holiday calendar.
A schema using the XDM Summary Metrics base class can be simple, as shown in the ExternalFactorSummarySchema below.
This simple schema can be used to ingest datasets containing data for, for example:
-
Competitor index data
timestampdate_typefactorvalue2020-11-28T00:00:00.000Zweekcompetitor_index289.82020-12-05T00:00:00.000Zweekcompetitor_index291.22020-12-12T00:00:00.000Zweekcompetitor_index280.07………… -
Public holiday data
timestampdate_typefactorvalue2020-11-28T00:00:00.000Zweekall_holidays_flag0.02020-12-05T00:00:00.000Zweekall_holidays_flag0.02020-12-12T00:00:00.000Zweekall_holidays_flag0.02020-12-19T00:00:00.000Zweekall_holidays_flag0.02020-12-26T00:00:00.000Zweekall_holidays_flag1.0…………
See below for a more comprehensive example of a LumaPaidMarketingSchema using the XDM Summary Metrics as the base class. The schema uses dedicated field groups (annotated with colors) for metrics (AMMMetrics), dimensions (AMMDimensions), and other customer-specific information (CustomerSpecific).
Given the asynchronous nature of profile ingestion, when collecting aggregate or summary data from external sources, it is encouraged to use the External Source System Audit Details field group as part of a schema. This field group defines a set of audit properties for external sources.
Supported data types
Currently, Mix Modeler does support a subset of Experience Platform data types. The following basic data types (fields), mentioned in Basics of schema composition, are supported:
- String
- Integer
- Double
- Boolean
- Long
- Short
- Byte
- Date
- Date-time