You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.9 KiB
71 lines
1.9 KiB
3 years ago
|
{
|
||
|
"type": "optiontree",
|
||
|
"tree": {
|
||
|
"selectors": {
|
||
|
"sport": {
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"options": {
|
||
|
"type": "select",
|
||
|
"noneLabel": "Pick a Sport..."
|
||
|
}
|
||
|
},
|
||
|
"team": {
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"options": {
|
||
|
"type": "select",
|
||
|
"noneLabel": "Pick a Team..."
|
||
|
}
|
||
|
},
|
||
|
"player": {
|
||
|
"schema": {
|
||
|
"type": "string"
|
||
|
},
|
||
|
"options": {
|
||
|
"type": "select",
|
||
|
"noneLabel": "Pick a Player..."
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"order": ["sport", "team", "player"],
|
||
|
"data": [{
|
||
|
"value": 23,
|
||
|
"attributes": {
|
||
|
"sport": "Basketball",
|
||
|
"team": "Chicago Bulls",
|
||
|
"player": "Michael Jordan"
|
||
|
}
|
||
|
}, {
|
||
|
"value": 33,
|
||
|
"attributes": {
|
||
|
"sport": "Basketball",
|
||
|
"team": "Chicago Bulls",
|
||
|
"player": "Scotty Pippen"
|
||
|
}
|
||
|
}, {
|
||
|
"value": 4,
|
||
|
"attributes": {
|
||
|
"sport": "Football",
|
||
|
"team": "Green Bay Packers",
|
||
|
"player": "Brett Favre"
|
||
|
}
|
||
|
}, {
|
||
|
"value": 19,
|
||
|
"attributes": {
|
||
|
"sport": "Baseball",
|
||
|
"team": "Milwaukee Brewers",
|
||
|
"player": "Robin Yount"
|
||
|
}
|
||
|
}, {
|
||
|
"value": 99,
|
||
|
"attributes": {
|
||
|
"sport": "Hockey",
|
||
|
"player": "Wayne Gretzky"
|
||
|
}
|
||
|
}],
|
||
|
"horizontal": true
|
||
|
}
|
||
|
}
|