{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/modoboa/json-schema/modoboa-notification-schema.json",
  "title": "Notification",
  "description": "Serializer used to render a notification.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/modoboa-notifications-api-openapi.yml#/components/schemas/Notification",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "text": {
      "type": "string"
    },
    "color": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "url": {
      "type": "string"
    },
    "counter": {
      "type": "integer"
    }
  },
  "required": [
    "color",
    "id",
    "target",
    "text"
  ]
}