{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/peppyrus/main/json-schema/peppyrus-message-report-schema.json",
  "title": "Message Report",
  "x-generated": "2026-10-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peppyrus-openapi.json#/components/schemas/Message Report",
  "type": "object",
  "properties": {
    "validationRules": {
      "type": "array",
      "description": "Message validation rules",
      "items": {
        "$ref": "#/$defs/Message validation rule"
      }
    },
    "transmissionRules": {
      "type": "string",
      "description": "Message transmission rules"
    }
  },
  "$defs": {
    "Message validation rule": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the rule"
        },
        "type": {
          "type": "string",
          "description": "Type of the rule",
          "enum": [
            "WARNING",
            "FATAL"
          ]
        },
        "location": {
          "type": "string",
          "description": "Location of the rule"
        },
        "message": {
          "type": "string",
          "description": "Message of the rule"
        }
      }
    }
  }
}