diff --git a/rules/id-required.js b/rules/id-required.js index 8d8c0bc..7c835b1 100644 --- a/rules/id-required.js +++ b/rules/id-required.js @@ -24,6 +24,9 @@ module.exports = function() { 'bpmn:TimeDuration', 'bpmn:TimerEventDefinition', 'bpmn:Documentation', + 'bpmn:InputOutputSpecification', + 'bpmn:InputSet', + 'bpmn:OutputSet', ]); } @@ -35,7 +38,7 @@ module.exports = function() { const nodeId = (node.id || '').trim(); if (nodeId.length === 0) { - reporter.report(null, 'Element is missing ID'); + reporter.report(null, 'Element is missing ID ' + node.$type); return; } }