Create a gist now

Instantly share code, notes, and snippets.

@kenanb /feature.avsc Secret
Created Sep 5, 2017

What would you like to do?
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