{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/opoint/json-schema/opoint-alert-mails-schema.json",
  "title": "AlertMails",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opoint-mailstatus-api-openapi.yml#/components/schemas/AlertMails",
  "type": "object",
  "properties": {
    "alert_name": {
      "type": "string"
    },
    "owner_name": {
      "type": "string"
    },
    "owner_id": {
      "type": "integer"
    },
    "mails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MailList"
      }
    }
  },
  "required": [
    "alert_name",
    "mails",
    "owner_id",
    "owner_name"
  ],
  "$defs": {
    "MailList": {
      "type": "object",
      "properties": {
        "timestamp": {
          "type": "integer"
        },
        "status": {
          "type": "integer"
        },
        "subject": {
          "type": "string"
        },
        "id_mail": {
          "type": "integer"
        }
      },
      "required": [
        "id_mail",
        "status",
        "subject",
        "timestamp"
      ]
    }
  }
}