New tag “Optional” in XML, JSON and XSD

Avatar for Anastasiia
By
xml json xsd
Likethumbsup(2)Dislikesthumbsdown(0)

From the 16th of June 2020, we are adding the new tag “Optional” with parameter values 0 or 1 to the Icecat export files: in XML, JSON and the XSD schema.

Specifications tagged with Optional=”1″ are not standardized specifications in Icecat. These specs are used only for supporting automated data imports from brands, to avoid loosing attribute values.

Old structure XML:

 <ProductFeature Localized="0" ID="357847148" Local_ID="0" Value="Y" CategoryFeature_ID="39564" CategoryFeatureGroup_ID="2687" No="100000" Presentation_Value="Y" Translated="0" Mandatory="0" Searchable="0">
 <LocalValue Value="Y"> 
<Measure ID="26"> 
<Signs/> 
</Measure> 
</LocalValue> 
<Feature ID="838" > 
<Measure ID="26" Sign=""> 
<Signs/> 
</Measure>

New structure XML 

<ProductFeature Localized="0" ID="357847148" Local_ID="0" Value="Y" CategoryFeature_ID="39564" CategoryFeatureGroup_ID="2687" No="100000" Presentation_Value="Y" Translated="0" Mandatory="0" Searchable="0" Optional="0">
<LocalValue Value="Y">
<Measure ID="26">
<Signs/>
</Measure>
</LocalValue>
<Feature ID="838" >
<Measure ID="26" Sign="">
<Signs/>
</Measure>

Old structure JSON:

"Features": [ 
                { 
                    "Localized": 0, 
                      ... 
                     "Searchable": "0", 
                     "Feature": { 
                        "ID": "17956", 
                        "Sign": "", 
                        "Measure": { 
                             "ID": "29", 
                            "Sign": "", 
                            "Signs": { 
                                "ID": "", 
                                "_": "", 
                               "Language": "EN" 
                                  } 
                              }, 
                               "Name": { 
                                       "Value": 
                                       "Colour name", 
                                       "Language": "EN" 
                           } 
                      } 
                 },

New structure JSON:

"Features": [
{
"Localized": 0,
...
"Searchable": "0",
"Optional": "0",
"Feature": {
"ID": "17956",
"Sign": "",
"Measure": {
"ID": "29",
"Sign": "",
"Signs": {
"ID": "",
"_": "",
"Language": "EN"
}
},
"Name": {
"Value":
"Colour name",
"Language": "EN"
}
}
},

New structure XSD

index 8dcdde86d..e889ee1fd 100644 
--- a/www/dtd/ICECAT-interface_response.dtd 
+++ b/www/dtd/ICECAT-interface_response.dtd 
@@ -461,7 +461,8 @@ 
Localized CDATA #IMPLIED 
Mandatory CDATA #IMPLIED 
Searchable CDATA #IMPLIED
Translated CDATA #IMPLIED> 
Translated CDATA #IMPLIED
Optional CDATA #IMPLIED> 
<!ELEMENT FeatureLogo (Descriptions|FeatureLogoCategories|FeatureLogoFeatures)*>
<!ATTLIST FeatureLogo 
diff --git a/www/xsd/ICECAT-interface_response.xsd b/www/xsd/ICECAT-interface_response.xsd 
index 325b0b255..7136fc786 100644 
--- a/www/xsd/ICECAT-interface_response.xsd 
+++ b/www/xsd/ICECAT-interface_response.xsd 
@@ -722,6 +722,7 @@ 
<xs:attribute name="Translated" type="xs:boolean"/> 
<xs:attribute name="Mandatory" type="xs:boolean"/> 
<xs:attribute name="Searchable" type="xs:boolean"/> 
<xs:attribute name="Optional" type="xs:boolean"/> 
</xs:complexType> 
<xs:complexType name="FeatureLogoList">

Subscribe to our newsletter and stay updated.
Loading

Leave a Reply

Your email address will not be published. Required fields are marked *

Icecat xml

Open Catalog Interface (OCI): Manual for Open Icecat XML and Full Icecat XML

This document describes the Icecat XML method of Icecat's Open Catalog Inte...
 November 3, 2019
 October 4, 2018
Manual

Manual for Icecat Live: Real-Time Product Data in Your App

Icecat Live is a (free) service that enables you to insert real-time produc...
 June 10, 2022
Manual for Icecat CSV Interface

Manual for Icecat CSV Interface

This document describes the manual for Icecat CSV interface (Comma-Separate...
 September 28, 2016
Manual

Manual for Open Icecat JSON Product Requests

JSON (JavaScript Object Notation) is an increasingly popular means of trans...
 September 17, 2018
Icecat Addons plugins

Icecat Add-ons include Magento, PrestaShop, Shopify, Magento, Google Shopping, Pimcore, Bol.com. NEW: Mirakl

Icecat has a huge list of integration partners, making it easy for clients ...
 November 24, 2022
 January 20, 2020
LIVE JS

How to Create a Button that Opens Video in a Modal Window

Recently, our Icecat Live JavaScript interface was updated with two new fun...
 November 3, 2021
New Standard video thumbnail

Autheos video acquisition completed

July 21, Icecat and Autheos jointly a...
 September 7, 2021

Iceclog: Content Log New Ideas like a Free Vendor Central

“Iceclog” (Icecat content log) is the Icecat ...
 June 26, 2019