{
"$defs": {
"SettableInstallRole": {
"description": "An install role the install owner may give.",
"oneOf": [
{
"const": "admin",
"description": "Install admin.",
"type": "string"
},
{
"const": "member",
"description": "Regular member.",
"type": "string"
}
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Body of `POST /api/v1/install/members/{id}/role` (install owner only).",
"properties": {
"install_role": {
"$ref": "#/$defs/SettableInstallRole",
"description": "The new role."
}
},
"required": [
"install_role"
],
"title": "SetInstallRoleRequest",
"type": "object"
}