Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tylerjohnst/2568055 to your computer and use it in GitHub Desktop.
Save tylerjohnst/2568055 to your computer and use it in GitHub Desktop.
Example classification_set JSON body for an API request
{
"classification_set":{
"name":"Florida and Georgia Cities",
"description":"List of serviceable cities in Florida and Georgia",
"created_at":"2012-04-24T08:59:35Z",
"updated_at":"2012-04-24T08:59:50Z",
"items":[
{
"label":"Florida",
"value":"Florida",
"child_classifications":[
{
"label":"Tampa",
"value":"Tampa",
"child_classifications":[
{
"label":"Carrolwood",
"value":"Carrolwood"
},
{
"label":"Seminole Heights",
"label":"Seminole Heights"
}
]
},
{
"label":"St. Pete",
"value":"St. Pete",
"child_classifications":[
{
"label":"Old Northeast",
"value":"Old Northeast"
}
]
}
]
},
{
"label":"Georgia",
"value":"Georgia",
"child_classifications":[
{
"label":"Savannah",
"value":"Savannah"
},
{
"label":"Atlanta",
"value":"Atlanta"
}
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment