{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-slack-default-settings-data-schema.json",
  "title": "SlackDefaultSettingsData",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-slacksettings-api-openapi.yml#/components/schemas/SlackDefaultSettingsData",
  "properties": {
    "attributes": {
      "additionalProperties": false,
      "properties": {
        "severity_threshold": {
          "$ref": "#/$defs/SeverityThreshold"
        },
        "target_channel_id": {
          "$ref": "#/$defs/TargetChannelId"
        },
        "target_channel_name": {
          "$ref": "#/$defs/TargetChannelName"
        }
      },
      "required": [
        "target_channel_id",
        "target_channel_name",
        "severity_threshold"
      ],
      "type": "object"
    },
    "id": {
      "$ref": "#/$defs/Uuid"
    },
    "type": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "SeverityThreshold": {
      "description": "Minimum Snyk issue severity to send a notification for, messages will not be sent for any issue below this value",
      "enum": [
        "low",
        "medium",
        "high",
        "critical"
      ],
      "type": "string"
    },
    "TargetChannelId": {
      "format": "uri",
      "type": "string"
    },
    "TargetChannelName": {
      "minLength": 1,
      "type": "string"
    },
    "Uuid": {
      "format": "uuid",
      "type": "string"
    }
  }
}