Overview
A Logo (Content) key/value pair group defines how brand logos are applied to the items within a rail.
Example extendedAttributes block
For a rail that has a Logo (Content) key/value pair group instance attached to it, the extendedAttributes block will look like this:
...
"extendedAttributes": [
{
"instance": "Amazon Prime logo contents",
"logo_tile_position": "top_right",
"type": "logo_configuration_tile",
"blueprintId": "ef6daa30-e73d-443b-9dc4-6cef8a047d86"
},
{
"reference": "87900d25-e4b3-4625-a804-07d41edaaf81",
"instance": "Amazon Prime Image",
"alt_text": "prime video",
"type": "internal_image",
"blueprintId": "7d603624-f11b-4e2c-b235-dacf14931612",
"image_type": "logo"
}
],
...
Note that:
-
The first block is for the Logo (RAIL) key/value pair group instance.
The value of thetypefield (logo_configuration_tile) tells the client that it needs to apply a logo to the items in the rail (and not to the rail as a whole). -
The second is for a key/value pair group instance that specifies the image to use. This can be:
-
"type": "internal_image"– an internal image. This has areferencefield that contains the image ID. The client should use this ID in a call to ImageService to get the logo image. See Using ImageService to get an image by its ID.
See Internal Image key/value pair group. -
"type": "external_image"– an external image. This has aurlfield that contains the URL of the image.
See External Image key/value pair group.
-
Fields
The fields for the Logo (Content) key/value pair group are as follows:
|
Keys |
Type |
Values |
Description |
|---|---|---|---|
|
|
String |
N/A |
The name of the instance of the KVP group |
|
|
enum |
|
The
|
|
|
static |
|
The |
|
|
String |
N/A |
The blueprint ID for the KVP group that this is an instance of |