Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sourabhbagrecha/95b584d0bdfbe40c68719e44de39173c to your computer and use it in GitHub Desktop.
Save sourabhbagrecha/95b584d0bdfbe40c68719e44de39173c to your computer and use it in GitHub Desktop.
{
"type": "object",
"title": "CategoryAnalyticsOutput",
"properties": {
"categories": {
"bsonType": "array",
"items": {
"bsonType": "object",
"title": "categoryAnalyticsItem",
"properties": {
"category": {
"bsonType": "string"
},
"amount": {
"bsonType": "int"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment