Created
January 20, 2021 12:14
-
-
Save GTRekter/bdb01a62c2bf006e81b6270d3f8ebc4b to your computer and use it in GitHub Desktop.
Sample JSON
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"teams":[ | |
{ | |
"displayName": "Public team1", | |
"visibility": "Public", | |
"users": [ | |
{ | |
"email":"User1@domain.com", | |
"role":"Owner" | |
}, | |
{ | |
"email":"User2@domain.com", | |
"role":"Member" | |
}, | |
{ | |
"email":"User3@domain.com", | |
"role":"Member" | |
} | |
], | |
"channels": [ | |
{ | |
"displayName": "Public channel", | |
"membershipType": "Public", | |
"users":[] | |
}, | |
{ | |
"displayName": "Private channel", | |
"membershipType": "Private", | |
"users":[ | |
{ | |
"email":"User1@domain.com", | |
"role":"Owner" | |
}, | |
{ | |
"email":"User2@domain.com", | |
"role":"Member" | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"displayName": "Public team2", | |
"visibility": "Public", | |
"users": [ | |
{ | |
"email":"User1@domain.com", | |
"role":"Owner" | |
}, | |
{ | |
"email":"User2@domain.com", | |
"role":"Member" | |
}, | |
{ | |
"email":"User3@domain.com", | |
"role":"Member" | |
} | |
], | |
"channels": [ | |
{ | |
"displayName": "Public channel", | |
"membershipType": "Public", | |
"users":[] | |
}, | |
{ | |
"displayName": "Private channel", | |
"membershipType": "Private", | |
"users":[ | |
{ | |
"email":"User1@domain.com", | |
"role":"Owner" | |
}, | |
{ | |
"email":"User2@domain.com", | |
"role":"Member" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment