CatalogItem
A node of a listing: a folder, a variable, a category, a carrier, a user variable, a category of a user variable or a target, with its children in items. Properties without a value are omitted.
Identifier of the node. Use variable ids in VARIABLES axes, category ids in categories, target ids as TARGET_VAR ids and carrier ids in carriers. Folders of user variables and targets have no id.
Display label, in the language of the user.
Kind of node. The set can grow, so do not fail on a value you do not know.
| Enum Value | Description |
|---|---|
| FOLDER | Grouping node. |
| VAR | Survey variable. |
| CATEGORY | Category of a survey variable. |
| CARRIER | Carrier (media vehicle): a leaf of the carriers tree. |
| CUSTOM_VAR | User variable. |
| CUSTOM_CAT | Category of a user variable. |
| TARGET_VAR | Target (a saved audience). |
Possible values: [FOLDER, VAR, CATEGORY, CARRIER, CUSTOM_VAR, CUSTOM_CAT, TARGET_VAR]
For variables, user variables and targets, how they are measured; it can be absent. Absent on folders, categories and carriers.
| Enum Value | Description |
|---|---|
| SINGLE | Categorical variable with one answer per respondent. |
| MULTIPLE | Categorical variable with several answers per respondent. |
| NUMERIC | Numeric variable with integer values. |
| REAL | Numeric variable with decimal values. |
| LOGIC | Logical variable, true or false. Every target is logical. |
| TEXT | Free text. Surveys return it, but it cannot be tabulated. |
| FREQUENCY | Frequency variable. |
Possible values: [SINGLE, MULTIPLE, NUMERIC, REAL, LOGIC, TEXT, FREQUENCY]
Carriers only: the audience model the survey uses for the carrier. Informative.
| Enum Value | Description |
|---|---|
| STANDARD | Standard audience model of the survey. |
| DIGITAL_MEASUREMENT | Digital media whose audience comes from an external digital measurement source. |
| POISSON | Audience estimated with a Poisson model. |
| ITALIAN_DIARY_INTERNET | Diary-based audience model of Italian surveys, for internet carriers. |
| ITALIAN_DIARY | Diary-based audience model of Italian surveys. |
Possible values: [STANDARD, DIGITAL_MEASUREMENT, POISSON, ITALIAN_DIARY_INTERNET, ITALIAN_DIARY]
Children of the node: the content of a folder, or the categories of a variable. Absent on leaves.
{
"id": "string",
"label": "string",
"type": "FOLDER",
"subtype": "SINGLE",
"audienceModel": "STANDARD",
"items": [
null
]
}