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 products for children and babies.
Child
The "child" element must be inside the "offer" element.
<offer ...>
...
<child>
...
</child>
</offer>
Gender
Mandatory parameter <gender>
. Placed inside the <offer>
section, within the <child>
subsection.
Consider the following table of possible values:
Mandatory? | Value | Description |
---|
Yes | m | Male |
Yes | f | Female |
Consider the following example of use:
...
<offer ...>
...
<child>
<gender>f</gender>
</child>
</offer>
...
Product Type
Optional parameter <type
>. Placed inside the <offer>
section, within the <child>
subsection.
Consider the following table of possible values:
Mandatory? | Value | Description |
---|
No | toy | Toys |
No | education | Edicational games, constructor sets |
No | nappy | Diaper |
No | furniture | Furniture |
No | school | School supplies |
No | transport | Transportation devices (strollers, baby car seats, scooters, bicycles, etc.) |
Consider the following example of use:
...
<offer ...>
...
<child>
<gender>f</gender>
<type>toy</type>
</child>
</offer>
...
Age
Optional parameter <age>. Placed inside the <offer>
section, within the <child>
subsection.
Bracket age (for less than 2 years old babies) supported through subparameters <min> (minimum age) and <max> (maximum age).
Consider the following table of possible values:
Mandatory? | Age | Value |
---|
No | 1-3 months | 0.25 |
No | 4-6 months | 0.5 |
No | 7-9 months | 0.75 |
No | 10-12 months | 1 |
No | 13-15 months | 1.25 |
No | 16-18 months | 1.5 |
No | 19-21 months | 1.75 |
No | 22-24 months | 2 |
No | 3 years | 3 |
No | 4 years | 4 |
No | ... | etc. |
Consider the following example of use:
...
<offer ...>
...
<child>
<gender>f</gender>
<age>
<min>0.5</min>
<max>1</max>
</age>
</child>
</offer>
...
Example of use of interconnected <child>
and <fashion>
sections
In case this particular baby and children product is a piece of clothing, hence, all the additional product data should be passed in the <fashion>
section:
...
<offer ...>
...
<child>
<gender>f</gender>
<age>
<min>1.5</min>
<max>2</max>
</age>
</child>
<fashion>
<type>jacket</type>
<sizes>
<size>h80-82</size>
<size>h83-85</size>
<size>h86-88</size>
</sizes>
</fashion>
</offer>
...
Example of use of interconnected <child>
and <cosmetic>
sections
In case this particular product belongs to both cosmetic and hygiene products categories, hence, all the additional data should be passed in the <cosmetic>
section:
...
<offer ...>
...
<child>
<gender>f</gender>
<age>
<min>1.5</min>
<max>2</max>
</age>
</child>
<cosmetic>
<hypoallergenic>1</hypoallergenic>
<skin>
<part>face</part>
<part>body</part>
<type>normal</type>
<type>oily</type>
<condition>sensitive</condition>
<condition>problem</condition>
</skin>
<volumes>
<volume>
<value>200</value>
<price>1000</price>
</volume>
<volume>
<value>400</value>
<price>2000</price>
</volume>
</volumes>
</cosmetic>
</offer>
...
Example of use of interconnected <child>
and <fmcg>
sections
In case this particular baby and children product belongs to the FMCG (fast-moving consumer goods) category, hence, all the additional data should be passed in the <fmcg>
section.
...
<offer ...>
...
<child>
<gender>f</gender>
<age>
<min>1.5</min>
<max>2</max>
</age>
</child>
<fmcg>
<periodic>1</periodic>
<type>food</type>
</fmcg>
</offer>
...