Skip to content

Instantly share code, notes, and snippets.

@micheleberardi
Created February 19, 2022 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save micheleberardi/ae464cebcc9230194e3a30477ca56f8b to your computer and use it in GitHub Desktop.
Save micheleberardi/ae464cebcc9230194e3a30477ca56f8b to your computer and use it in GitHub Desktop.
[
{
"name": "product_metadata",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "images",
"type": "RECORD",
"mode": "REPEATED",
"fields": [
{
"name": "uri",
"type": "STRING",
"mode": "REQUIRED"
},
{
"name": "height",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "width",
"type": "STRING",
"mode": "NULLABLE"
}
]
},
{
"name": "exact_price",
"type": "RECORD",
"mode": "REQUIRED",
"fields": [
{
"name": "original_price",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "display_price",
"type": "FLOAT",
"mode": "NULLABLE"
}
]
},
{
"name": "canonical_product_uri",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "currency_code",
"type": "STRING",
"mode": "NULLABLE"
}
]
},
{
"name": "language_code",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "description",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "title",
"type": "STRING",
"mode": "REQUIRED"
},
{
"name": "tags",
"type": "STRING",
"mode": "REPEATED"
},
{
"name": "item_group_id",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "category_hierarchies",
"type": "RECORD",
"mode": "REPEATED",
"fields": [
{
"name": "categories",
"type": "STRING",
"mode": "REPEATED"
}
]
},
{
"name": "id",
"type": "STRING",
"mode": "REQUIRED"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment