Skip to content

Instantly share code, notes, and snippets.

@jeffsteinmetz
Last active August 29, 2015 13:56
Show Gist options
  • Save jeffsteinmetz/49a9e70bd0c187142515 to your computer and use it in GitHub Desktop.
Save jeffsteinmetz/49a9e70bd0c187142515 to your computer and use it in GitHub Desktop.
Organization (aka Account) Document
{
"_id": "1234567890abcdef12345678",
"_type" : "organization",
"pricing_plan": "free, partner, individual, professional, team or enterprise",
"creator_user_id": "2134567890abcdef12345678",
"unique_name" : "autodesk",
"org_full_name" : "Autodesk Inc",
"created_date_ISO": "2012-12-19T06:01:17.171Z",
"closed_date_ISO": "",
"billing_address" : "1200 Grand Ave, San Rafael, CA 99999",
"billing_contact" : "Mary Monybags",
"billing_schedule" : "monthly",
"billing_type" : "swipe",
"billing_id" : "some swipe id",
"org_members_user_ids" : [ "2134567890abcdef12345678", "279123823498344723474", "1bcf123823498344723433", "9934567890abcdef12345678", "888123823498344723474" ],
"org_owners_user_ids" : [ "2134567890abcdef12345678" ],
"access_teams" : [
{
"view only team" : {
"permissions" : {
"canCreate" : 0,
"canView" : 1,
"canDelete" : 0,
"canUpdate" : 0,
"canStart" : 0,
"canStop" : 0
},
"group_members_user_ids" : [ "1bcf123823498344723433" ],
"group_focus_sets" : ["52eac0c97830c5d18e73874e", "13dd30c97830c5d18e73874c"]
}
},
{
"developers" : {
"permissions" : {
"canCreate" : 1,
"canDelete" : 1,
"canView" : 1,
"canUpdate" : 1,
"canStart" : 0,
"canStop" : 0
},
"group_members_user_ids" : [ "9934567890abcdef12345678", "888123823498344723474" ],
"group_focus_sets" : ["52eac0c97830c5d18e73874e"]
}
}
],
"account_limits": {
"max_users" : 1,
"max_focus_sets" : 50,
"max_dpu_per_focus_set" : 4,
"max_interactions" : 50000
},
"user_default_limits" : {
"max_focus_sets" : 5,
"max_dpu_per_focus_set" : 4,
"max_interactions" : 10000
},
"available_datasources" : [
"datasift",
"s3",
"spark",
"customimport"
],
"datasource_limits" : [
{
"upstream_subscription_id" : "84ef1aaa6631812388afbc182833",
"max_data_size" : 10240000,
"max_dpu" : 10
},
{
"endpoint_subscription_id" : "73ee1cca6b3181c378afbc182821",
"max_data_size" : 10240000,
"max_cpu" : 10
}
],
"billing_history" : [
{
"charge_USD" : 2000.000,
"type" : "monthly",
"billed_on" : "2012-12-19T06:01:17.171Z",
"payment_recevied on" : "2013-01-19T06:01:17.171Z"
},
{
"charge_USD" : 2000.000,
"type" : "monthly",
"billed_on" : "2013-01-19T06:01:17.171Z",
"payment_recevied on" : "2013-02-19T06:01:17.171Z"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment