{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/IssueAlertRule",
  "title": "IssueAlertRule",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "conditions": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "actions": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "filters": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "actionMatch": {
      "type": "string"
    },
    "filterMatch": {
      "type": "string"
    },
    "frequency": {
      "type": "integer"
    },
    "environment": {
      "type": "string",
      "nullable": true
    },
    "owner": {
      "type": "string",
      "nullable": true
    },
    "dateCreated": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "name"
  ]
}