{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/RoleAssignmentRequest", "title": "RoleAssignmentRequest", "type": "object", "required": [ "roleId", "principalId", "scope" ], "properties": { "roleId": { "type": "string", "format": "uuid", "description": "Role ID of the Synapse Built-In Role." }, "principalId": { "type": "string", "format": "uuid", "description": "Object ID of the AAD principal or security-group." }, "scope": { "type": "string", "description": "Scope at which the role assignment is created." }, "principalType": { "type": "string", "description": "Type of the principal.", "enum": [ "User", "Group", "ServicePrincipal" ] } } }