"use strict";
var import_elements = require("../../elements/index.js");
var import_models = require("../../models/index.js");
var import_ModelValidator = require("./ModelValidator.js");
var import_ValueValidator = require("./ValueValidator.js");
/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import_ModelValidator.ModelValidator.validators[import_elements.EventElement.Tag] = class EventValidator extends import_ValueValidator.ValueValidator {
  validate() {
    this.validateStructure(true, import_models.FieldModel);
    this.validateProperty({ name: "priority", type: import_elements.EventElement.Priority, required: true });
    super.validate();
  }
};
//# sourceMappingURL=EventValidator.js.map
