{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/snyk/main/json-schema/snyk-project-settings-data-schema.json",
  "title": "ProjectSettingsData",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/snyk-slacksettings-api-openapi.yml#/components/schemas/ProjectSettingsData",
  "properties": {
    "attributes": {
      "additionalProperties": false,
      "properties": {
        "is_active": {
          "$ref": "#/$defs/IsActive"
        },
        "severity_threshold": {
          "$ref": "#/$defs/SeverityThreshold"
        },
        "target_channel_id": {
          "$ref": "#/$defs/TargetChannelId"
        },
        "target_channel_name": {
          "$ref": "#/$defs/TargetChannelName"
        },
        "target_project_name": {
          "description": "The target file name for the project.",
          "type": "string"
        }
      },
      "required": [
        "target_channel_id",
        "target_channel_name",
        "severity_threshold",
        "target_project_name",
        "is_active"
      ],
      "type": "object"
    },
    "id": {
      "$ref": "#/$defs/Uuid"
    },
    "type": {
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "IsActive": {
      "description": "Current status of the project settings.",
      "type": "boolean"
    },
    "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"
    }
  }
}