{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/NotificationRecipientsRestrictions",
  "title": "NotificationRecipientsRestrictions",
  "additionalProperties": false,
  "description": "Details of the group membership or permissions needed to receive the notification.",
  "properties": {
    "groupIds": {
      "description": "List of groupId memberships required to receive the notification.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "groups": {
      "description": "List of group memberships required to receive the notification.",
      "items": {
        "$ref": "#/components/schemas/GroupName"
      },
      "type": "array"
    },
    "permissions": {
      "description": "List of permissions required to receive the notification.",
      "items": {
        "$ref": "#/components/schemas/RestrictedPermission"
      },
      "type": "array"
    }
  },
  "type": "object"
}