---
title: "Data model"
url: "https://help.sqarp.com/en/article/templates-bulk-editing-advanced-data-model"
language: "en"
last_updated: "2026-11-24T15:33:45.135Z"
---

# Data model

Use **Bulk editing → Advanced → Data model** to maintain your category structures, structured attributes, product attribute values, and category-specific data requirements.

| Template | Use it for |
| --- | --- |
| Blueprints | Defining category-specific requirements for standard product data and My Attributes. |
| My Attributes | Creating and maintaining attribute definitions, groups, and select labels. |
| My Product Attributes | Entering the values of those structured attributes on products. |
| Unverified Attributes | Storing semi-structured information using groups, keys, and values. |
| My Categories | Maintaining category trees, category nodes, and category content. |
| Change Category Node Slugs | Renaming existing category-node identifiers. |

## **Before you start**

**Definitions and values are different.** My Attributes defines an attribute's type, name, unit, and allowed choices. My Product Attributes holds the value assigned to each product. Blueprints specify which information is relevant or required for a category.

Use exact slugs in identifier fields. Translated names help people recognise an entity; they do not replace its slug. Keep existing identifiers unchanged when editing their associated information. Use **Change Category Node Slugs** when renaming category-node identifiers.

**Product Title** is support information. Editing it in an attribute template does not rename the product.

Keep sheet names, column headings, and metadata rows intact. The starting row differs between templates:

| Template layout | Rows to preserve | First data row |
| --- | --- | --- |
| Most definition and category data sheets | Row 1 headings and row 2 explanations. | 3 |
| My Product Attributes | Row 1 attribute slugs, row 2 types, and row 3 units and translations. | 4 |
| Unverified Attributes | Row 1 attribute groups and row 2 attribute keys, with the product-identification columns retained. | 3 |

Keep an unedited copy of each download. An empty cell can have a specific meaning, such as removing a value or allowing all defined select values; follow the rule for that field.

## **My Data Model**

### **Blueprints**

Blueprints define the information expected for products in particular categories. They support data-quality review, attribute classification, and communication of data requirements.

Under **My Data Model**, open **Blueprints** and download the template. The current workbook uses **Blueprint Base** for general requirements and **Attributes** for attribute rules.

#### **Define the blueprint and its categories**

Use one row per blueprint on **Blueprint Base**.

| Column or group | How to fill it in |
| --- | --- |
| Blueprint slug | The unique identifier of the blueprint. Reuse it on Attributes for its attribute rules. |
| Blueprint Name | The blueprint's name in each language. Follow the language columns in your download. |
| Category node tree slug | The category tree to which the following node list belongs. |
| Category node slugs | Category-node slugs within that tree. Use a vertical bar to separate several nodes in one cell. |

Keep each numbered category-tree and category-node group together. Use **Categories Reference** to look up tree and node slugs. The translated names help identify them, and **Is Leaf Node** identifies nodes without children.

Assign virtuals to **leaf nodes** as recommended practice. Assigning a virtual to both a parent node and its leaf node is technically allowed, but is bad practice.

For multiple values in one cell, the separator is **|**. For example, an illustrative list could be `category-a|category-b`; use the actual slugs from your reference sheet.

#### **Set standard-data requirements**

Use **TRUE** or **FALSE** in requirement flags. Enter a whole number in **Minimum number of images**; use 0 when no minimum is required.

The current fields cover:

-   • **Taric code required** and **Country of origin required**.
    
-   • **Minimum number of images** and **Alt texts required**.
    
-   • **Required image types**, **Required document types**, **Required video types**, and **Required identifiers**.
    
-   • **Required description language codes** and **Required unverified attribute language codes**.
    
-   • Required primary packaging **weight**, **width**, **height**, **depth**, and **volume**.
    
-   • Required supplier **product title**, **pricing unit**, **packaging unit**, **packaging multiplier**, **maximum delivery time**, **recommended retail price**, and **status**.
    

For lists of required types, identifiers, or languages, separate values with a vertical bar. Use lowercase two-letter language codes, such as `sv|en`.

Use the separate **Image Types**, **Document Types**, **Video Types**, and **Identifiers Reference** sheets for valid codes. **Product Units** provides unit reference information.

#### **Add attribute rules**

On **Attributes**, enter one row for each attribute connected to a blueprint. Repeat **Blueprint slug** for further rules belonging to the same blueprint.

| Column | How to fill it in |
| --- | --- |
| Blueprint slug | The identifier used on Blueprint Base. |
| Customer Attribute Slug | The attribute's exact slug from **My Attributes Reference**. |
| Attribute Type | Reference information; do not fill it in manually. |
| Mandatory | **TRUE** when the attribute is required for this blueprint; **FALSE** when it is optional. |
| Min Value / Max Value | Optional lower and upper bounds for numeric attributes. |
| Min Length / Max Length | Optional lower and upper character lengths for text attributes. |
| Select Values | An optional restriction to particular defined choices for a select attribute. Separate several choices with a vertical bar. |

**Blank Select Values means all defined choices remain valid.** It does not remove the attribute's choices. Use **My Attributes Reference** to find the attribute and its available select values.

**Retain every attribute-rule row you want to keep for a blueprint being updated.** Removing a rule row removes that rule. For example, if a blueprint has Width and Height rules and the uploaded Attributes sheet retains Width but removes the Height row, the Height rule is removed.

### **Attributes**

#### **My Attributes**

Use **My Attributes** to define structured information such as measurements, classifications, and other product properties. Select the attributes to include before downloading.

The current workbook contains **My Attributes**, **Attribute Groups**, and **Select Labels**.

On **My Attributes**, use one row per attribute:

| Column or group | How to fill it in |
| --- | --- |
| Slug | The attribute's unique identifier. Reuse it on Select Labels and in blueprint attribute rules. |
| Type | INTEGER, DECIMAL, BOOLEAN, SINGLE\_SELECT, MULTI\_SELECT, FREE\_TEXT, or LOCALIZED\_TEXT. |
| Translations \[language\] | The customer-facing attribute name in each language column included in the download. Supply a name for the attribute. |
| Description \[language\] | Optional descriptions in the corresponding languages. |
| Unit | An optional unit, such as mm or W. |
| Tags | Optional organisational tags, separated by a vertical bar. |
| Attribute Group Slug | Optional identifier of a group defined on Attribute Groups. |
| Exclude from AI jobs | TRUE to exclude the attribute from AI/Data Labs jobs; otherwise FALSE. |

Choose the type that matches the information:

| Type | Value format |
| --- | --- |
| INTEGER | A whole number. |
| DECIMAL | A numeric value that can include decimals. |
| BOOLEAN | A true-or-false value. |
| SINGLE\_SELECT | One defined choice. |
| MULTI\_SELECT | One or more defined choices. |
| FREE\_TEXT | Text without separate language versions. |
| LOCALIZED\_TEXT | Text with language-specific versions. |

**Existing attribute types must be retained.** To use a different type, create a new attribute with a new unique Slug. Do not change Type on an existing attribute’s row.

On **Attribute Groups**, enter the group's **Slug** and its **Translation \[language\]** values. Use that slug in Attribute Group Slug on the attribute row. Groups are optional; attributes do not need a group to have select labels.

Language columns can include Swedish, English, Norwegian, Danish, Finnish, or other configured languages. Keep each translation and description under its language heading; the language columns shown in one download are not a fixed two-language layout.

For SINGLE\_SELECT and MULTI\_SELECT attributes, define choices on **Select Labels**. Each row contains one complete choice:

-   • **Slug:** the attribute's slug, repeated for every choice belonging to that attribute.
    
-   • **Select Label Slug:** the identifier of the choice.
    
-   • **Select Label Translations \[language\]:** the customer-facing name of that choice in each language.
    
-   • **Select Label Description \[language\]:** optional descriptions of that choice in each language.
    

Keep all fields for a choice on the same row. Add another row with the same attribute Slug for another choice. **Slug identifies the attribute; Select Label Slug identifies the choice within that attribute.** Preserve existing identifiers exactly, including their spelling and case. Translated display names can match the choice identifier, but they serve a different purpose.

Both SINGLE\_SELECT and MULTI\_SELECT attributes can have several allowed choices on Select Labels. **SINGLE\_SELECT means a product can choose one of those choices; MULTI\_SELECT means it can choose one or more.** It does not mean that a SINGLE\_SELECT attribute should have only one label definition.

Use **one choice per Select Labels row**, rather than putting a pipe-separated list in Select Label Slug. Pipe-separated values are used when assigning several choices to a product's MULTI\_SELECT attribute in **My Product Attributes**, and in the relevant reference or blueprint restriction fields.

**Clearing a translation and removing a select label are different actions:**

-   • To remove only a translated name, clear that language's translation cell and retain both **Slug** and **Select Label Slug**. The select label remains available.
    
-   • To remove one select label when the attribute has several, delete that label's entire row. Retain the rows for every label you want to keep.
    
-   • To remove the last select label, retain the attribute's **Slug** on its row and clear **Select Label Slug**. This leaves the attribute with no select labels.
    

#### **My Product Attributes**

Use **My Product Attributes** to enter structured attribute values on products. Choose this option under **Attributes** and select the products to include.

The current data sheet is named **My Attributes**. It is followed by **Reference Sheets -->;** and **My Attributes Reference**.

**Start product data on row 4.** Row 1 names the attribute slugs, row 2 shows their types, and row 3 shows units, translations, and product-identification help. Keep all three rows.

-   • **Owner Article Number** identifies the product. Keep it unchanged.
    
-   • **Product Title** helps identify the product; editing it does not rename the product.
    
-   • Each following column holds the value for the attribute named in its heading.
    
-   • Localized text columns include a language suffix, such as **\[sv\]** or **\[en\]**. Put each translation in its correct column.
    

Follow the type in row 2 and the unit in row 3. Use **My Attributes Reference → Select Values** for valid SINGLE\_SELECT and MULTI\_SELECT choices. Choose one value for SINGLE\_SELECT. For MULTI\_SELECT, separate multiple valid values with a vertical bar, such as the illustrative list `choice-a|choice-b`.

Numeric, boolean, and text attributes do not use a predefined select list. Do not enter unit text into a numeric value cell; use the unit shown by the template.

Keep existing values you want to retain. Clearing an included editable value removes the stored product-attribute value; keep the product article number so that the update identifies the intended product.

## **Unverified Attributes**

Use this template for semi-structured specifications that do not need definitions in My Attributes. Each attribute has a **header**, **key**, and **value**. Use human-readable wording rather than database codes. Do not duplicate information already represented by standard SQARP fields.

Select products and languages under **Unverified Attributes**, then download the workbook. Current language sheets use names such as **Unverified Attributes - sv**.

| Position | What it contains |
| --- | --- |
| My Article Number | The product to update. |
| Product Title | Support information; editing it does not change the product title. |
| Row 1 of each attribute column | The group header, such as Dimensions. Repeat it above the keys in that group. |
| Row 2 of each attribute column | The attribute key, such as Width. |
| Row 3 onward | Each product's value for that header and key. |

Add an attribute by copying an existing attribute column, keeping both header rows. Enter its group in row 1, key in row 2, and each product's value on its own row. The keys and values are free-form and are not validated against My Attributes.

When updating existing values, keep their header, key, and language aligned. **An empty value cell removes that unverified attribute for the product.** Complete the appropriate language sheets.

## **My Categories**

Use this template to create and maintain your own category trees, their nodes, and category content. A node belongs to a category tree and can have a parent node. A leaf node is a node without children.

Select the category tree under **My Categories**, then download the workbook.

### **Define trees and nodes**

| Sheet | Columns and purpose |
| --- | --- |
| Category Trees | **Category Tree Slug** identifies the tree. **Category Tree Name sv / en** contains its translated names. |
| Category Nodes | **Category Tree Slug** and **Category Node Slug** identify the node. **Category Node Name sv / en** contains its names. **Parent Node** defines its position in the hierarchy. |

Use one row per tree or node. Leave **Parent Node** blank for a top-level node. For a child node, enter the exact Category Node Slug of its parent within the tree.

A category-node slug is unique within its category tree. Keep both the tree and node slugs with every content row so that it identifies the intended node.

### **Add category content**

| Sheet | Fields to complete |
| --- | --- |
| Category Node Images | Category Tree Slug, Category Node Slug, Image URL, Image Alt Text, Image Type, and Image Language Codes. |
| Category Node Documents | Category Tree Slug, Category Node Slug, Document URL, Document Type, and Document Language Codes. |
| Category Node Videos | Category Tree Slug, Category Node Slug, Video URL, Video Type, and Video Language Codes. |
| Category Node Descriptions | Category Tree Slug, Category Node Slug, Description Language, Description Header, Description, and Description Bullets. |

Use one media item or description block per row and repeat **both identifying slugs** for additional rows belonging to the same category node.

For descriptions, keep the **Description Header**, **Description**, and **Description Bullets** of each block together on that row, with its **Description Language**. A block must contain description text or bullets; a header alone is insufficient. Use another row with both slugs and the language for the next complete block.

Use accessible image and document URLs. Videos remain externally hosted. Types must be valid SQARP codes, and language codes use lowercase two-letter codes. Separate multiple language codes or bullet items with a vertical bar.

**For each category node you update, keep every image, document, video or description row that you want to remain after the upload.** The same rule applies to category images, documents, videos, and descriptions:

-   • If a category has three images and you retain one image row with the same Category Tree Slug and Category Node Slug, only that image remains.
    
-   • If you remove every row for that category from the sheet, its existing content of that type is left unchanged.
    
-   • To remove all items of one type, such as all images, keep a row containing its Category Tree Slug and Category Node Slug, and clear the content fields.
    

For descriptions, retain every complete block and language you want to keep. Keep each block's Description Header, Description, and Description Bullets together on its row.

## **Change Category Node Slugs**

Use this template to rename existing category-node identifiers. It changes the slug, not the node's name, parent, tree, content, or relationships.

Download the template and open **Change Category Node Slugs**. The export includes nodes with their tree slugs; the partner requirement tree is excluded.

| Column | How to fill it in |
| --- | --- |
| Category Tree Slug | The tree containing the node. Keep it unchanged. |
| Category Node Slug | The current node identifier. |
| New Category Node Slug | The new identifier. Leave blank to keep the current slug. |
| Category Node Name | Support information; editing it does not rename the node. |

A new value equal to the current one makes no change. Unknown current slugs and duplicate current or new values cause errors. Swaps and chains can be included in one file.

**Integrations, older Excel files, and saved queries using old slugs are not updated automatically.** Review those references and download fresh templates before later updates.

## **Upload and apply your changes**

-   • Save the edited workbook as an Excel file.
    
-   • Return to the same template under **Bulk editing → Advanced → Data model** and select **Upload changes**.
    
-   • Review validation. If errors are reported, read the messages or download the error log, correct the workbook, and validate it again.
    
-   • After successful validation, select **Publish changes** in SQARP to apply the updates. Uploaded projects appear in **Project Log**.
    

For a first upload, start with a small selection so that you can review the result before updating a larger part of your data model.
