Unbxd Knowledge Base
  • Documentation

›Feed & Schema Processing

Chapter 1

    Product Overview

    • Unbxd Product Overview
    • Unbxd Technical Product Overview
    • Unbxd Integration Overview

Chapter 2

    Feed Review

    • Feed Review Stages
    • Feed Compatibility Review
    • Feed Product Review
    • Feed Data Integrity Review
    • Feed Logic Review

    Feed & Schema Processing

    • Process Feed
    • Process Schema

    Feed Indexing

    • Feed & Schema Indexing

    Search & Browse API

    • Search & Browse API

Chapter 3

    Analytics

    • Types of analytics integration
    • API based integration
    • JS based integration
    • HTML based integration
    • GTM based integration

Chapter 4

    Recommendation Widgets

    • Recommendation

Chapter 5

    AutoSuggest

    • Types of Autosuggest

Chapter 6

    First Integration

    • Integration Prerequisite
    • Scope of integration
    • Meet Your Customers

Chapter 7

    Inter Team Cordination

    • Inter Team Co-ordination
    • Work with Engineering Team
    • Work with Relevancy Team
    • Work with Quality Assurance Team

Chapter 8

    Take Customer Live

    • Before Go Live
    • Go Live Day
    • Post Go Live

Chapter 9

    Account Handover

    • Account Conversion Numbers
    • Account Handover

Top 100 Issues

  • Top 100 Integration Questions

Process Schema

This document is in Beta stage and we have try to cover all topics in right hierarchy yet indepth. To make this document better, we need your help. Please give your feedback by rating the stars at the end of each topic. For more updates join slack channel #unbxd-knowledgebase

Use this document for internal purpose only. It is not suppose to be shared with customers


After we have created processed json, before we can index it into the Unbxd system, we need to create its schema. Schema is the meta data of each attribute in the processed json.

Meta data of fields

  1. dataType - Data type of a field. It could be text,decimal,number, skus. The complete list of dataType could be found below
  2. multiValue - multiValue could either be true or false. If a attribute contains a list of value then its multiValue should be true otherwise false
  3. autoSuggest - autoSuggest could either be true or false. If a attribute should be the part of autosuggest then its value should be true otherwise false
  4. fieldName - fieldName contains the name of the feed attribute.

Sample Schema looks like this

{
    "feed": {
        "catalog": {
            "schema": [{
                "dataType": "sku",
                "fieldName": "sku",
                "autoSuggest": "false",
                "multiValue": "false"
            }, {
                "dataType": "text",
                "fieldName": "title",
                "autoSuggest": "false",
                "multiValue": "false"
            }, {
                "dataType": "link",
                "fieldName": "productUrl",
                "autoSuggest": "false",
                "multiValue": "false"
            }, {
                "dataType": "text",
                "fieldName": "uniqueId",
                "autoSuggest": "false",
                "multiValue": "false"
            }, {
                "dataType": "link",
                "fieldName": "imageUrl",
                "autoSuggest": "false",
                "multiValue": "true"
            }, {
                "dataType": "number",
                "fieldName": "stockWa",
                "autoSuggest": "false",
                "multiValue": "false"
            },  {
                "dataType": "path",
                "fieldName": "categoryPath",
                "autoSuggest": "false",
                "multiValue": "true"
            }, {
                "dataType": "decimal",
                "fieldName": "price",
                "autoSuggest": "false",
                "multiValue": "false"
            }]
        }
    }
}

Schema Processing Stages

Metadata Mapping

Metadata Mapping is a table in which you maps each attribute in the processed json to its meta data information. Metadata Mapping table looks like this

Field NameData TypeMulti ValueAuto Suggest
skuskufalsefalse
titletextfalsetrue
productUrllinkfalsefalse
uniqueIdtextfalsefalse
imageUrllinktruefalse
categoryPathpathtruefalse
pricedecimalfalsefalse
inventorynumberfalsefalse
other_fieldtextfalsefalse

Once we have metadata mapping, we need to create the process it in the inform it can be ingested in the Unbxd system.

Processing Script

Having Metadata Mapping in hand, we can start with developing schema processing script which will have primary two functions

  1. Using the meta information present in the metadata mapping, create the processed schema which can be ingested into the Unbxd system.
  2. If any attributes whose meta information is not defined, default information would be datatype:text, multiValue:false, autoSuggest:false

Flow of Processing script

  1. Loop through each attribute present in the metadata mapping.
  2. For each attribute, create json based on key and its corresponding value.
  3. Finally push products in the global list_of_attributes

<< Summary Video on how to create schema >>

Once we have processed feed and schema, we are ready to index the feed and schema.


Did you find it useful? Rate it

← Process FeedFeed & Schema Indexing →
  • Schema Processing Stages
    • Metadata Mapping
    • Processing Script
Unbxd Knowledge Base
Knowledge Base
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Contributors
Amit Aggarwal
Version
0.1 ( change log )0.5 ( change log )0.8 ( change log )
Unbxd Knowledge Base
Copyright © 2019 Unbxd Software Limited