Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Additional Properties

Additional niches properties of products allow studying user preferences and calculating recommendations more accurately. This section describes allowing filling the product feed with niche features of cosmetics and perfumes. 

Cosmetics

The "cosmetics" element must be inside the "offer" element.

Code Block
languagexml
themeMidnight
<offer .

Additional Properties

Additional niches properties of products allow studying user preferences and calculating recommendations more accurately. This section describes allowing filling the product feed with niche features of cosmetics and perfumes. 

Cosmetics

The "cosmetics" element must be inside the "offer" element.

Code Block
languagexml
themeMidnight
<offer ...>
    ...
    <cosmetics>
        ...
    </cosmetics>
</offer>


Gender

The "gender" element must be inside the "cosmetics" element and can have one of the following values:

ValueDescription
mFor men's products
fFor women's products

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <gender>f</gender>
	</cosmetic>
</offer>

Tip

If the product is equally suitable for either gender, there is no need to add this element.



Hypoallargenic

The "hypoallargenic" element must be inside the "cosmetics" element and can have the following values:

ValueDescription
1Product is hypoallergenic
0Product is non-hypoallergenic

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <hypoallergenic>1</hypoallergenic>
	</cosmetic>
</offer>


Skin

The "skin" element must be inside the "cosmetics" element.

Code Block
languagexml
themeMidnight
<offer ...>
    <cosmetics>
       ...
        <skin>
            ...
        </skin>
    </cosmetics>
</offer>


Type (skin)

The "type" elements must be inside the "skin" element of the "cosmetics" element and can have one of the following values:

ValueDescription
dryProducts related to dry skin
normalProducts related to normal skin
oilyProducts related to oily skin
combyProducts related to combination skin

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	   <cosmetics> <skin>
			<type>normal</type>
			<type>dry</type>
     ...
    </cosmetics>		</skin>
	</cosmetic>
</offer>

Gender



Condition (skin)

The "gendercondition" element elements must be inside the "skin" element of the "cosmetics" element and can have one of the following values:

For women's products
ValueDescription
mFor men's products
f
dehydratedProducts related to dehydrated skin
sensitiveProducts related to sensitive skin
problemProducts related to problematic skin
fadingProducts related to aging skin

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <gender>f</gender><skin>
	<		<condition>sensitive</cosmetic>
<condition>
			<condition>fading</condition>
		</skin>
	</cosmetic>
</offer>
Tip

If the product is equally suitable for either gender, there is no need to add this element.

Hypoallargenic

The "hypoallargenic

" element must be inside

Part (skin)

The "part" elements must be inside the "skin" element of the "cosmetics" element and can have one of the following values:

Product is non-hypoallergenic
ValueDescription
1Product is hypoallergenic
0faceProducts related to facial care, makeup, oral hygiene, etc.
bodyProducts related to body care, perfume, etc.
intimProducts related to personal hygiene
handProducts related to hand and nail care
legProducts related to foot care

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <hypoallergenic>1</hypoallergenic><skin>
	<		<part>face</cosmetic>
part>
			<part>body</part>
		</skin>
	</cosmetic>
</offer>
Skin

Hair

The "skinhair" element must be inside the "cosmetics" element.

Code Block
languagexml
themeMidnight
<offer ...>
    <cosmetics>
       ...
        <skin><hair>
            ...
        </skin>hair>
    </cosmetics>
</offer>


Type (

skin

hair)

The "type" elements must be inside the "skinhair" element of the "cosmetics" element and can have one of the following values:

ValueDescription
dryProducts related to dry skinhair
normalProducts related to normal skinhair
oilyProducts related to oily skinhair
combyProducts related to combination skinhair

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <skin><hair>
			<type>normal</type>
			<type>dry<<type>oily</type>
		</skin>hair>
	</cosmetic>
</offer>


Condition (

skin

hair)

The "condition" elements must be inside the "skinhair" element of the "cosmetics" element and can have one of the following values:

dehydrated to dehydrated skinsensitive to sensitive skinproblem
ValueDescription Description
coloredProducts related to dyed hair
damagedProducts related to damaged hair
wavedProducts related to curly hair
seboreaProducts related to dandruff
akneProducts related to problematic skinfadingto aсne, others head skin conditions
lossProducts related to hair loss treatment
growProducts related to aging skinhair growth helping

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <skin><hair>
			<condition>sensitive<<condition>colored</condition>
			<condition>fading<<condition>damaged</condition>
		</skin>hair>
	</cosmetic>
</offer>
Part (skin)

Nail

Code Block
languagexml
themeMidnight
<offer ...>

The "partnail" elements element must be inside the "skin " element of the "cosmetics" element and can have one of the following values:

ValueDescriptionfaceProducts related to facial care, makeup, oral hygiene, etc.bodyProducts related to body care, perfume, etc.intimProducts related to personal hygienehandProducts related to hand and nail carelegProducts related to foot care

.

Code Block
languagexml
themeMidnight
<offer ...>
    ...
    <cosmetics>
    ... 	<cosmetic> 	  <nail>
 <skin> 			<part>face</part> 			<part>body</part> 		</skin> 	</cosmetic> </offer>

Hair

The "hair" element must be inside the "cosmetics" element.

Code Block
languagexml
themeMidnight
<offer ...>
    <cosmetics>
       ...
        <hair></nail>
            ...
        </hair>
    </cosmetics>
</offer>
Type (hair
<cosmetics>
</offer>


Type (nail)

The "type" elements must be inside the "hairnail" element of the "cosmetics" element and can have one of the following values:

Products related to combination hair
ValueDescription
drytoolProducts related to dry hair
normalProducts related to normal hair
oilyProducts related to oily hair
combynail care tool
polishProducts related to nail polish
gelProducts related to gel polish
oilProducts related to nail oil
cleanerProducts related to nail cleaner

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <hair><nail>
			<type>normal</type>
			<type>oily<<type>tool</type>
		</hair>nail>
	</cosmetic>
</offer>
Condition

Polish Color (

hair

nail)

Code Block
languagexml
themeMidnight
<offer ...> ...

The "conditionpolish_color" elements element must be inside the "hairnail" element of the "cosmetics" element and can have one of the following values:

Value DescriptioncoloredProducts related to dyed hairdamagedProducts related to damaged hairwavedProducts related to curly hairseboreaProducts related to dandruffakneProducts related to aсne, others head skin conditionslossProducts related to hair loss treatmentgrowProducts related to hair growth helping

can have any value describing the color of the nail polish.

Note

This element can only be used in combination with the "polish" type. See above.


Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <hair><nail>
			<condition>colored<<type>polish</condition>
			<condition>damaged</condition>
		</hair>
	</cosmetic>
</offer>

Nail

The "nail" element must be inside the "cosmetics" element.

Code Block
languagexml
themeMidnight
<offer ...>type>
         ...   <polish_color>red</polish_color>
 <cosmetics>
        <nail>
            ...
        </nail>
    <cosmetics>
</offer>

Type (nail)

The "type" elements must be inside the "nail" element of the "cosmetics" element and can have one of the following values:

ValueDescriptiontoolProducts related to nail care toolpolishProducts related to nail polishgelProducts related to gel polishoilProducts related to nail oilcleanerProducts related to nail cleaner
Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <nail>
			<type>tool</type>
		</nail>
	</cosmetic>
</offer>

Polish Color (nail)

The "polish_color" element must be inside the "nail" element of the "cosmetics" element and can have any value describing the color of the nail polish.

Note

This element can only be used in combination with the "polish" type. See above.

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <nail>
			<type>polish</type>
            <polish_color>red</polish_color>
		</nail>
	</cosmetic>
</offer>

Perfume

The "perfume" element must be inside the "cosmetics" element.

Code Block
languagexml
themeMidnight
<offer ...>
    ...
    <cosmetics>
        <perfume>
            ...
        </perfume>
    <cosmetics>
</offer>

Family

The "family" element must be inside the "perfume" element of the "cosmetics" element and can have one of the following values:

ValueDescriptionfloralPerfume products of the floral note familyorientalPerfume products of the oriental note familywoodyPerfume products of the woody note familyfreshPerfume products of the fresh note family
		</nail>
	</cosmetic>
</offer>


Perfume

The "perfume" element must be inside the "cosmetics" element.

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	
    <cosmetics>
        <perfume>
			<family>woody</family>
		</perfume>
	</cosmetic>
            ...
        </perfume>
    <cosmetics>
</offer>
Aroma

Family

The "aromafamily" element must be inside the "perfume" element of the "cosmetics" element and can have one of the following values:

Floral notes

Oriental notes

Woody notes

Fresh notes

fruity_floralFloral notes
ValueRelationsDescriptionCommentaryfruity_floralFruity Floral (Fruity + Floral Notes)Main notes include fruits and floral notes
floralFloral (Floral + Fresh Notes)Main notes include fresh-cut flowers
soft_floralSoft Floral (Floral Notes)Main notes include aldehydes and powdery notes
RelationsValueDescriptionCommentary
floralPerfume products of the floral note family
orientalPerfume products of the oriental note family
woodyPerfume products of the woody note family
freshPerfume products of the fresh note family

Code Block
languagexml
themeMidnight
<offer ...>
    ...
	<cosmetic>
	    <perfume>
			<family>woody</family>
		</perfume>
	</cosmetic>
</offer>


Aroma

The "aroma" element must be inside the "perfume" element of the "cosmetics" element and can have one of the following values:

ValueRelationsDescriptionCommentary
fruity_floralFloral Family

Fruity Floral (Fruity + Floral Notes)Main notes include fruits and floral notes
floralFloral (Floral + Fresh Notes)Main notes include fresh-cut flowers
.
soft_floralSoft Floral (Floral Notes)Main notes
include aldehydes and
include aldehydes and powdery notes
.
floral_orientalOriental FamilyFloral Oriental (Floral + Oriental Notes)Main notes include white flowers (such as orange blossom) and sweet spices
.
soft_orientalSoft Oriental (Oriental + Floral Notes)Main notes include incense and amber
.
orientalOriental (Oriental Notes)Main notes include oriental resins such as frankincense, and vanilla
.
woody_orientalWoody Oriental (Oriental + Woody Notes)Main notes include sandalwood and patchouli.
woodsWoody FamilyWoodsMain notes include aromatic woods and vetiver
.
mossy_woodsMossy Woods (Woody + Oriental Notes)Main notes include oakmoss and amber
.
dry_woodsDry Woods (Woody Notes)Main notes include dry woods and leather
.
aromaticFresh FamilyAromatic Fougère (Fresh Notes)Main notes include lavender and aromatic herbs. This universal fragrance group includes elements from different families: the freshness from the Citrus family, floral notes of lavender, the spicy-sweetness of a Floral Oriental, the ambery depth of an Oriental and the Mossy Woods warmth of sandalwood and oakmoss.
citrusCitrus (Woody + Fresh Notes)Main notes include bergamot and other citrus oils
.
waterWater (Fresh + Floral Notes)Main notes include marine and aquatic notes, generally from the chemical calone
.
greenGreen (Fresh + Floral Notes)Main notes include galbanum and green notes.
fruityFruity (Fresh + Floral Notes)Main notes include berries and other non-citrus fruits
.

Consider the following example of use:


 ...
Code Block
languagexml
titlethemeXML example
Midnight
<offer ...>
    ...
	<cosmetic>
	    <perfume>
			<family>woody</family>
            <aroma>mossy_woods</aroma> 
		</perfume>
	</cosmetic>
</offer>
...

Product Volume

Optional parameter <volume> and <price> are wrapped in the parameter <volumes>. Placed inside the <offer> section, within the <cosmetics> subsection.

<volumes> allows to specify product volume and volume-dependable pricing.

Consider the following table of possible sub-parameters:

ParameterDescription
<volume>Wrapper for each product volume (for parameters <value> and <price>)
<value>Volume in milliliters
<price>Price for each volume


Consider the following example of use:

Code Block
languagexml
titleXML example
collapsetrue
 ...
<offer ...>
    ...
	<cosmetic>
		<volumes>
 			<volume>
    			<value>200</value>
				<price>1000</price>
  			</volume>
			<volume>
    			<value>400</value>
				<price>2000</price>
  			</volume>
		</volumes>
	</cosmetic>
</offer>
...


Info
titleIMPORTANT

Measurment units for the <value> parameter are milliliters.


Purchase Frequency

Optional parameter <periodic>. Placed inside the <offer> section, within the <cosmetics> subsection.

Consider the following table of possible values:

ValueDescription
1Product is purchased frequently
0Product is purchased occasionally


Consider the following example of use:

Code Block
languagexml
titleXML example
 ...
<offer ...>
    ...
	<cosmetic>
	    <periodic>1</periodic>
	</cosmetic>
</offer>
...


Professional Products

Optional parameter <professional>. Placed inside the <offer> section, within the <cosmetics> subsection.

Consider the following table of possible values:

ValueDescription
1Product is purchased for professional use (by professionals)
0Product is purchased for everyday use (by ordinary customers)


Consider the following example of use:

Code Block
languagexml
titleXML example
 ...
<offer ...>
    ...
	<cosmetic>
	    <professional>1</professional>
	</cosmetic>
</offer>
...


Table of Contents
classpersonaclick-fixed-position