Skip to content

Instantly share code, notes, and snippets.

@bryanlewis
Forked from timkelty/search-filter-widgets.js
Last active August 31, 2016 17:20
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 bryanlewis/087d3598bf59536ed5e4544f66e42931 to your computer and use it in GitHub Desktop.
Save bryanlewis/087d3598bf59536ed5e4544f66e42931 to your computer and use it in GitHub Desktop.
[
{
"label": "Product Type",
"attributeName": "product.entryType.name",
"type": "menu"
},
{
"label": "Review Rating",
"attributeName": "reviews.avg",
"type": "starRating",
"max": 5
},
{
"label": "Price",
"attributeName": "price",
"type": "rangeSlider"
},
{
"label": "Manufacturer",
"attributeName": "manufacturer.title"
},
{
"label": "Activity Type",
"attributeName": "activityType.title"
},
{
"label": "Sport",
"attributeName": "sport.title"
},
{
"label": "Water Type",
"attributeName": "waterType.title"
},
{
"label": "Accessory Type",
"attributeName": "accessoryType.title"
},
{
"label": "Material",
"attributeName": "primaryMaterial.title"
},
{
"label": "Cockpit Type",
"attributeName": "cockpitType.title"
},
{
"label": "Paddler Configuration",
"attributeName": "seatingConfiguration.title"
},
{
"label": "Weight",
"attributeName": "weightLbs",
"type": "rangeSlider"
},
{
"label": "Length (ft)",
"attributeName": "kayakDimensions.lengthFeet",
"type": "rangeSlider"
},
{
"label": "Width (in)",
"attributeName": "kayakDimensions.widthInches",
"type": "rangeSlider"
},
{
"label": "Deck Height (in)",
"attributeName": "kayakDimensions.deckHeightInches",
"type": "rangeSlider"
},
{
"label": "Cockpit Length (in)",
"attributeName": "cockpitDimensions.length",
"type": "rangeSlider"
},
{
"label": "Cockpit Width (in)",
"attributeName": "cockpitDimensions.width",
"type": "rangeSlider"
},
{
"label": "Packed Length (in)",
"attributeName": "packedDimensions.length",
"type": "rangeSlider"
},
{
"label": "Packed Width (in)",
"attributeName": "packedDimensions.width",
"type": "rangeSlider"
},
{
"label": "Packed Height (in)",
"attributeName": "packedDimensions.height",
"type": "rangeSlider"
},
{
"label": "Length (ft)",
"attributeName": "canoeLength.feet",
"type": "rangeSlider"
},
{
"label": "Max Width (in)",
"attributeName": "canoeWidth.maxWidth",
"type": "rangeSlider"
},
{
"label": "Waterline Width (in)",
"attributeName": "canoeWidth.waterlineWidth",
"type": "rangeSlider"
},
{
"label": "Gunwale Width (in)",
"attributeName": "canoeWidth.gunwaleWidth",
"type": "rangeSlider"
},
{
"label": "Canoe Bow Depth (in)",
"attributeName": "canoeDepth.bowDepth",
"type": "rangeSlider"
},
{
"label": "Canoe Center Depth (in)",
"attributeName": "canoeDepth.centerDepth",
"type": "rangeSlider"
},
{
"label": "Canoe Stern Depth (in)",
"attributeName": "canoeDepth.sternDepth",
"type": "rangeSlider"
},
{
"label": "Length (ft)",
"attributeName": "boardLength.feet"
},
{
"label": "Nose Width (in)",
"attributeName": "boardWidth.noseWidth",
"type": "rangeSlider"
},
{
"label": "Center Width (in)",
"attributeName": "boardWidth.centerWidth",
"type": "rangeSlider"
},
{
"label": "Tail Width (in)",
"attributeName": "boardWidth.tailWidth",
"type": "rangeSlider"
},
{
"label": "Thickness (in)",
"attributeName": "boardThickness",
"type": "rangeSlider"
},
{
"label": "Duration",
"attributeName": "duration.title"
},
{
"label": "Skill Level",
"attributeName": "skillLevel.title"
},
{
"label": "Structure",
"attributeName": "structure.title"
},
{
"label": "Color",
"attributeName": "colorFamily.title"
},
{
"label": "Propulsion",
"attributeName": "propulsion.title"
},
{
"label": "Ideal Paddler Size",
"attributeName": "idealPaddlerSize.title"
},
{
"label": "Max Capacity (lbs.)",
"attributeName": "maxCapacity",
"type": "rangeSlider"
},
{
"label": "Rod Holders",
"attributeName": "rodHolders",
"type": "rangeSlider"
},
{
"label": "Hull Shape",
"attributeName": "hullShape.title"
},
{
"label": "Chine",
"attributeName": "chine.title"
},
{
"label": "Rudder/Skeg",
"attributeName": "rudderSkeg.title"
},
{
"label": "Volume (liters)",
"attributeName": "volume",
"type": "rangeSlider"
},
{
"label": "# of Fin Boxes",
"attributeName": "numberOfFinBoxes",
"type": "rangeSlider"
},
{
"label": "Bulkheads",
"attributeName": "bulkheads.title"
},
{
"label": "Storage",
"attributeName": "storage.title"
},
{
"label": "Side Shape",
"attributeName": "sideShape.title"
},
{
"label": "Asymmetrical",
"attributeName": "asymmetrical",
"type": "toggle"
},
{
"label": "Special Characteristics",
"attributeName": "specialCharacteristics.title"
},
{
"label": "Bow Rocker",
"attributeName": "bowRocker",
"type": "rangeSlider"
},
{
"label": "Stern Rocker",
"attributeName": "sternRocker",
"type": "rangeSlider"
},
{
"label": "Release Date",
"attributeName": "releaseDate.timestamp",
"type": "rangeSlider"
},
{
"label": "Shaft Material",
"attributeName": "shaftMaterial.title"
},
{
"label": "Paddle Blade Material",
"attributeName": "paddleBladeMaterial.title"
},
{
"label": "Min. Weight (oz)",
"attributeName": "paddleWeight.minOz",
"type": "rangeSlider"
},
{
"label": "Max. Paddle Weight (oz)",
"attributeName": "paddleWeight.maxOz",
"type": "rangeSlider"
},
{
"label": "Paddle Length Type",
"attributeName": "paddleLengthType.title"
},
{
"label": "Paddle Shaft Type",
"attributeName": "shaftType.title"
},
{
"label": "Min. Paddle Length",
"attributeName": "paddleLength.min",
"type": "rangeSlider"
},
{
"label": "Max. Paddle Length",
"attributeName": "paddleLength.max",
"type": "rangeSlider"
},
{
"label": "Blade Length (in)",
"attributeName": "bladeDimensions.length",
"type": "rangeSlider"
},
{
"label": "Blade Width (in)",
"attributeName": "bladeDimensions.width",
"type": "rangeSlider"
},
{
"label": "Blade Surface Area (sq in)",
"attributeName": "bladeSurfaceArea",
"type": "rangeSlider"
},
{
"label": "Feather Angles",
"attributeName": "featherAngles.title"
},
{
"label": "Paddling Angle",
"attributeName": "paddlingAngle.title"
},
{
"label": "Features",
"attributeName": "pfdFeatures.title"
},
{
"label": "USCG Type",
"attributeName": "uscgType.title"
},
{
"label": "Entry Style",
"attributeName": "pfdEntryStyle.title"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment