{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/monit-rs/json-schema/monit-rs-changelog-entry-schema.json",
  "title": "ChangelogEntry",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/monit-rs-changelog-api-openapi.yml#/components/schemas/ChangelogEntry",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "published_at": {
      "type": "string",
      "format": "date-time"
    },
    "breaking_count": {
      "type": "integer"
    },
    "non_breaking_count": {
      "type": "integer"
    },
    "info_count": {
      "type": "integer"
    },
    "summary": {
      "type": "string",
      "description": "Human-readable one-line summary of the entry."
    },
    "changes": {
      "type": "array",
      "description": "Individual change events comprising this entry.",
      "items": {
        "$ref": "#/$defs/ChangeEvent"
      }
    }
  },
  "$defs": {
    "ChangeEvent": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "description": "Category of change. See https://monit.rs/blog for the taxonomy."
        },
        "severity": {
          "type": "string",
          "enum": [
            "breaking",
            "non_breaking",
            "info"
          ]
        },
        "path": {
          "type": "string",
          "description": "OpenAPI path the change targets, when applicable."
        },
        "method": {
          "type": "string",
          "description": "HTTP method the change targets, when applicable."
        },
        "detail": {
          "type": "string",
          "description": "Short human-readable description of the specific change."
        }
      },
      "required": [
        "kind",
        "severity"
      ]
    }
  }
}