# Notification オブジェクト

**_Notification_** は、ワークフロー中のジョブが持つポリシーが通知を Shisho Cloud に指示する際に、Shisho Cloud に対して出力するオブジェクト（またはその構造）のことです。

![](/docs/ja/_md-assets/005ec9db77-how-workflows-work.ja.png)

## スキーマ

```typescript
type PolicyOutput = {
  message: string;

  target:
    | {
        notification_group: {
          id: id;
        };
      }
    | {
        email: {
          email: email;
        };
      }
    | {
        slack_channel: {
          slack_workspace_id: {
            id: string;
          };
          channel_id: {
            id: channel_id;
          };
        };
      }
    | {
        github_issue: {
          owner: string;
          repo: string;
          issue_id: number;
        };
      };
};
```

## `message` フィールド

`message` フィールドは実際に通知する文字列を値に取るフィールドです。

## `target` フィールド

`target` フィールドは通知先を値に取るフィールドです。
