Skip to content

Instantly share code, notes, and snippets.

@rcoe
Created May 19, 2016 19:34
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 rcoe/ef902df18fc7d25fbefa2169ebad7c8d to your computer and use it in GitHub Desktop.
Save rcoe/ef902df18fc7d25fbefa2169ebad7c8d to your computer and use it in GitHub Desktop.
resp
{
"attributes": [
{
"attributeId": "serves_vegetarian",
"valueType": "BOOL",
"displayName": "Vegetarian options",
"groupDisplayName": "Offerings",
"valueMetadata": [
{
"value": true,
"displayName": "Serves vegetarian options"
},
{
"value": false,
"displayName": "No vegetarian options"
}
]
},
{
"attributeId": "serves_wine",
"valueType": "BOOL",
"displayName": "Wine",
"groupDisplayName": "Offerings",
"valueMetadata": [
{
"value": false,
"displayName": "No wine"
}
]
},
{
"attributeId": "has_takeout",
"valueType": "BOOL",
"displayName": "Takeout",
"groupDisplayName": "Dining options",
"valueMetadata": [
{
"value": true,
"displayName": "Offers takeout"
},
{
"value": false,
"displayName": "No takeout"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment