| Mandatory Elements | Mandatory Attributes |
|---|---|
| 1. content 2. feature-list 3. Feature |
1. Ref (image- only if image element is present) 2. title (Feature- only if image and video elements are not present) 3.styled-text (description-->Feature -only if image and video elements are not present) |
The following are the keypoints:
- <download> or <external> XML element is mandatory for the video element.
- <layout> (feature-list) will default to LeftAligned when not sent.
- <font-background-color> (Feature) and <font-color> (Feature) must be valid HEX color code.
- The below element will be ignored if it does not contain ref attributes.
- external
- snapshot
- info-asset
- For valid attribute values refer Valid Tag Value section.
- <tag> (presentation) will default to Features when not sent.
- Valid values for layout attribute under <feature-list> tag.
- wide-image
- two-columns
- three-columns
- four-columns
- zigzag-left-aligned
- zigzag-right-aligned
- left-aligned (Default Value when not sent)
- right-aligned
- expanded-features
- wide-image layout supports only image features.
- The asset-size attribute is only supported with the image features and below layouts.
- left-aligned
- right-aligned
- two-columns
- three-columns
- four-columns
- zigzag-left-aligned
- zigzag-right-aligned
- Valid values for asset-size attribute under <feature> tag
- Small
- Medium (Default Value when not sent)
- Large
- WideImage Layout
- In case of asset-size is large then text-wrapping will be overwritten to false.
- The allow-enlarged-viewing attribute is only supported with the image features and below layouts.
- left-aligned
- right-aligned
- two-columns
- three-columns
- four-columns
- zigzag-left-aligned
- zigzag-right-aligned
- expanded-features
- The allow-enlarged-viewing attribute will default to false if not provided.
- The text-wrapping attribute is only supported by the image and video features with below layouts.
- left-aligned
- right-aligned
- zigzag-left-aligned
- zigzag-right-aligned
- expanded-features
- The text-wrapping attribute will default to false if not provided.
- Valid values for text-position attribute under <feature> tag.
- None
- Below (Default Value when not sent)
- Overlaid
- Valid values for text-color-option attribute under <feature> tag.
- BlackTextWhiteBackground (Default Value when not sent)
- WhiteTextBlackBackground
- BlackTextNoBackground
- WhiteTextNoBackground
- Customize
- Valid values for text-location attribute under <feature> tag.
- Left (Default Value when not sent)
- Center
- Right
- font-color and font-background-color attributes are valid only when text-color-option is “Custom”.
- text-width, font-opacity, and text-location attributes are valid only when text-position is “Overlaid”.
XML
<feed updated="2021-05-17T05:00:00Z">
<content-package id="12345678910" updated="2021-05-17T05:00:00Z">
<name>Product 1</name>
<description>This is product 1.</description>
<brand>BrandXYZ</brand>
<mpn>MPN-123456</mpn>
<gtin>00012345678910</gtin>
<msrp currency="USD">1,699.00</msrp>
<sections>
<section label="features">
<presentation>
<power-page title="Features"/>
<tag>
<![CDATA[Features]]>
</tag>
</presentation>
<content template="rich-features">
<feature-list layout="left-aligned">
<!--Below sytax of Text Feature set will support
1. two-columns
2. three-columns
3. four-columns
4. zigzag-left-aligned
5. zigzag-right-aligned
6. left-aligned
7. right-aligned-->
<Feature title="Text Feature Set">
<description>
<styled-text>
<![CDATA[This will allow to create text feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media/>
</Feature>
<!--Below sytax of image Feature set will support
1. left-aligned
2. right-aligned
3. zigzag-left-aligned
4. zigzag-right-aligned -->
<Feature title="Image Feature Set" text-wrapping="false" asset-size="small" allow-enlarged-viewing="false">
<description>
<styled-text>
<![CDATA[This will allow to create Image feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
</media>
</Feature>
<!--Below sytax of image Feature set will support
1. left-aligned
2. right-aligned
3. zigzag-left-aligned
4. zigzag-right-aligned-->
<Feature title="Video Feature Set" text-wrapping="false">
<description>
<styled-text>
<![CDATA[This will allow to create video feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<featureCode>F0003</featureCode>
<media>
<video title="Download Video Started">
<download ref="https://www.test.com/resources/video/12345678910/video3.mp4"/>
<info-asset type="Captioning" language="en" ref="https://www.test.com/resources/video/12345678910/video3-CaptionEN.vtt"/>
<info-asset type="Descriptions" language="en" ref="https://www.test.com/resources/video/12345678910/video3-DescriptionEN.vtt"/>
<info-asset type="Subtitle" language="en" ref="https://www.test.com/resources/video/12345678910/video3-SubtitleEN.vtt"/>
<snapshot ref="https://www.test.com/resources/video/snapshot/12345678910/video3-Snapshot.jpg"/>
</video>
</media>
</Feature>
</feature-list>
<feature-list layout="expanded-features">
<Feature title="Text Feature Set">
<description>
<styled-text>
<![CDATA[This will allow to create text feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<related-image ref="http://www.testsite.com/resources/img/12345678910/product1-relatedimage1.jpg" title="Title for related Image 1">
<description>
<styled-text>
<![CDATA[This is description for Title for related Image 1.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
</related-image>
</media>
</Feature>
<Feature title="Image Feature Set" text-wrapping="false" allow-enlarged-viewing="false">
<description>
<styled-text>
<![CDATA[This will allow to create Image feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
<related-image ref="http://www.testsite.com/resources/img/12345678910/product1-relatedimage1.jpg" title="Title for related Image 1">
<description>
<styled-text>
<![CDATA[This is description for Title for related Image 1.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
</related-image>
</media>
</Feature>
<Feature title="Video Feature Set" text-wrapping="false">
<description>
<styled-text>
<![CDATA[This will allow to create video feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<featureCode>F0003</featureCode>
<media>
<video title="Download Video Started">
<download ref="https://www.test.com/resources/video/12345678910/video3.mp4"/>
<info-asset type="Captioning" language="en" ref="https://www.test.com/resources/video/12345678910/video3-CaptionEN.vtt"/>
<info-asset type="Descriptions" language="en" ref="https://www.test.com/resources/video/12345678910/video3-DescriptionEN.vtt"/>
<info-asset type="Subtitle" language="en" ref="https://www.test.com/resources/video/12345678910/video3-SubtitleEN.vtt"/>
<snapshot ref="https://www.test.com/resources/video/snapshot/12345678910/video3-Snapshot.jpg"/>
</video>
<related-image ref="http://www.testsite.com/resources/img/12345678910/product1-relatedimage1.jpg" title="Title for related Image 1">
<description>
<styled-text>
<![CDATA[This is description for Title for related Image 1.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
</related-image>
</media>
</Feature>
</feature-list>
<feature-list layout="two-columns">
<!--Below sytax of Text Feature set will support
1. two-columns
2. three-columns
3. four-columns
4. zigzag-left-aligned
5. zigzag-right-aligned
6. left-aligned
7. right-aligned-->
<Feature title="Text Feature Set">
<description>
<styled-text>
<![CDATA[This will allow to create text feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media/>
</Feature>
<!--Below sytax of image Feature set will support
1. two-columns
2. three-columns
3. four-columns -->
<Feature title="Image Feature Set" asset-size="small" allow-enlarged-viewing="false">
<description>
<styled-text>
<![CDATA[This will allow to create Image feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
</media>
</Feature>
<!--Below sytax of image Feature set will support
1. two-columns
2. three-columns
3. four-columns -->
<Feature title="Video Feature Set">
<description>
<styled-text>
<![CDATA[This will allow to create video feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<featureCode>F0003</featureCode>
<media>
<video title="Download Video Started">
<download ref="https://www.test.com/resources/video/12345678910/video3.mp4"/>
<info-asset type="Captioning" language="en" ref="https://www.test.com/resources/video/12345678910/video3-CaptionEN.vtt"/>
<info-asset type="Descriptions" language="en" ref="https://www.test.com/resources/video/12345678910/video3-DescriptionEN.vtt"/>
<info-asset type="Subtitle" language="en" ref="https://www.test.com/resources/video/12345678910/video3-SubtitleEN.vtt"/>
<snapshot ref="https://www.test.com/resources/video/snapshot/12345678910/video3-Snapshot.jpg"/>
</video>
</media>
</Feature>
</feature-list>
<feature-list layout="wide-image">
<!--Below sytax of image Feature set will support
1. Text Position: Below and text-color-option is Custom-->
<Feature title="Image Feature Set 1" text-position="Below" text-color-option="Custom" font-color="#fffb86" font-background-color="#000b86">
<description>
<styled-text>
<![CDATA[This will allow to create Image feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
</media>
</Feature>
<!--Below sytax of image Feature set will support
1. Text Position: Below and text-color-option is BlackTextWhiteBackground or WhiteTextBlackBackground-->
<Feature title="Image Feature Set 1" text-position="Below" text-color-option="BlackTextWhiteBackground">
<description>
<styled-text>
<![CDATA[This will allow to create Image feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
</media>
</Feature>
<!--Below sytax of image Feature set will support
1. Text Position: Overlaid and text-color-option is one of below
- BlackTextWhiteBackground (Default Value when not sent)
- WhiteTextBlackBackground
- BlackTextNoBackground
- WhiteTextNoBackground-->
<Feature title="Image Feature Set 1" text-position="Overlaid" text-color-option="BlackTextWhiteBackground" text-width="100" font-opacity="100" text-location="left">
<description>
<styled-text>
<![CDATA[This will allow to create Image feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
</media>
</Feature>
<!--Below sytax of image Feature set will support
1. Text Position: Overlaid and text-color-option is Custom-->
<Feature title="Image Feature Set 1" text-position="Overlaid" text-color-option="Custom" font-color="#fffb86" font-background-color="#000b86" text-width="100" font-opacity="100" text-location="left">
<description>
<styled-text>
<![CDATA[This will allow to create Image feature set.]]>
</styled-text>
<footnotes>
<footnote>Footnotes will be shown at last of the Enhance content.</footnote>
</footnotes>
</description>
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
</media>
</Feature>
<!--Below sytax of image Feature set will support
1. Text Position: None-->
<Feature title="Image Feature Set 1" text-position="None">
<media>
<image ref="https://www.test.com/resources/img/12345678910/image-featureset.jpg" link="https://www.test.com/us/" link-label="Learn more"/>
</media>
</Feature>
</feature-list>
</content>
</section>
</sections>
</content-package>
</feed>
Preview
