Get started with schemas schemas

AVAILABILITY
To access schemas, you’ll need one of the following permissions:
-Manage Federated Schema
-View Federated Schema
For more information on the required permissions, please read the access control guide.

What is a schema schema-start

A schema is a representation of a table of your database. It is an object within the application that defines how the data are tied to database tables.

By creating a schema, you can define a representation of your table in Experience Platform Federated Audience Composition:

  • Give it a friendly name and description to simplify the comprehension for the user
  • Decide the visibility of each field, according to their real use
  • Select its primary key, in order to link schemas between them, as needed in the data model
CAUTION
When connecting multiple sandboxes with same database, you must use distinct working schemas.

Create a schema schema-create

To create a schema in Federated Audience Composition, select Models in the Federated Data section. Within the Schema tab, select Create schema.

The Create schema button is highlighted within the Federate Audience Composition schema section. {modal="regular"}

The Select federated database popover appears. On this popover, you can select the source database, followed by Next.

{modal="regular"}

The Select Table popover appears. On this popover, you can select the tables which you want to use to create the schema.

The Select Table popover is displayed. {modal="regular"}

Each selected table generates a schema with the chosen columns. For each table, you can change the label of the schema, add a description, rename the field label, set the field label visibility, and select the schema primary key.

{modal="regular"}

NOTE
If you enable Use Composite Key but only select one key to be used, the key will be treated like a standard schema primary key.

Additionally, you can create a key that is made up of multiple schema columns. Turn on Use Composite Key, and mark the keys you want to use as your composite key.

{modal="regular"}

After completing your configuration, select Done to finish creating your schema.

Edit a schema schema-edit

To edit a schema, select your previously created schema on the Schemas page.

The schema details page appears. Select the pencil icon to edit the schema.

{modal="regular"}

On the Edit schema window, you can access and configure the same options as when creating a schema.

{modal="regular"}

Preview data in a schema schema-preview

To preview the data in the table represented by your schema, browse to the Data tab as below.

Select Calculate link to preview the total number of recordings.

{modal="regular"}

Select the Configure columns button to change the data display.

{modal="regular"}

Refresh a schema schema-refresh

Tables in a federated database can be updated, added or removed. In such cases, you must refresh the schema in Adobe Experience Platform to align with the latest changes. To perform this, select the three dots icon next to the name of the schema followed by Refresh schema.

You can also update the schema definition when editing it.

{modal="regular"}

Delete a schema schema-delete

To delete a schema, select the three dots icon , followed by Delete.

{modal="regular"}

recommendation-more-help
fadff0d9-29d0-4d44-99a6-2499b0b7778b