Skip to content

Instantly share code, notes, and snippets.

@kenanb
Created September 5, 2017 15:40
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 kenanb/c10e33946ea1535bd5d6558907e86317 to your computer and use it in GitHub Desktop.
Save kenanb/c10e33946ea1535bd5d6558907e86317 to your computer and use it in GitHub Desktop.
Store Presence Feature Avro Schema
{
"namespace": "store",
"type": "record",
"name": "Feature",
"fields": [
{
"name": "Country",
"aliases": [
"country",
"ctr"
],
"type": "string"
},
{
"name": "Device",
"aliases": [
"device",
"dev"
],
"type": "enum",
"symbols": [
"IPHONE",
"IPAD"
]
},
{
"name": "Category_Page",
"aliases": [
"category_page",
"category",
"cat"
],
"type": "enum",
"symbols": [
"APP_TOP",
"COL_TOP",
"APP_BAN",
"COL_BAN",
"COL_LST",
"COL_VID"
]
"doc": "The featured category page where the placement is displayed."
},
{
"name": "Type",
"aliases": [
"type"
],
"type": "string",
"doc": "The feature type of the final placement displayed in the app store."
},
{
"name": "Depth",
"aliases": [
"depth"
],
"type": "int",
"doc": "The number of steps necessary to see the final feature placement."
},
{
"name": "Rows",
"aliases": [
"rows"
],
"type": "array",
"items": "int",
"doc": "The final row number along the path leading to the feature placement."
},
{
"name": "Position",
"aliases": [
"position",
"pos"
],
"type": "int",
"doc": "The final position number along the path leading to the feature placement."
},
{
"name": "Feature_Path",
"aliases": [
"feature_path",
"path"
],
"type": "array",
"items": "string",
"doc": "A detailed path of where the feature placement was shown in the app store."
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment