{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateTeamMembershipRequest",
"title": "CreateTeamMembershipRequest",
"type": "object",
"required": [
"teamId"
],
"properties": {
"teamId": {
"type": "string",
"description": "The team ID to add the person to."
},
"personId": {
"type": "string",
"description": "The person ID to add. Either personId or personEmail is required."
},
"personEmail": {
"type": "string",
"format": "email",
"description": "The email address of the person. Either personId or personEmail is required."
},
"isModerator": {
"type": "boolean",
"description": "Whether the person is a team moderator."
}
}
}