{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.forgeling.io/schemas/events/bundle.version_rejected.json",
  "title": "bundle.version_rejected",
  "description": "A bundle version failed validation.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "bundle",
    "version",
    "errors"
  ],
  "properties": {
    "bundle": {
      "type": "string"
    },
    "version": {
      "type": "string"
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path",
          "message"
        ],
        "properties": {
          "path": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    }
  }
}
