@aylx/dmn-moddle
v1.0.2
Published
Zeebe moddle extensions for DMN
Downloads
203
Readme
zeebe-dmn-moddle
This project defines the Zeebe namespace extensions for DMN as a moddle descriptor.
Usage
Use it together with dmn-moddle to validate Zeebe DMN extensions.
const DmnModdle = require('dmn-moddle');
const zeebeModdle = require('zeebe-dmn-moddle/resources/zeebe.json');
const moddle = new DmnModdle({ zeebe: zeebeModdle });
const versionTag = moddle.create('zeebe:VersionTag', {
value: 'v1.0.0'
});
const decision = moddle.create('dmn:Decision', {
extensionElements: moddle.create('dmn:ExtensionElements', {
values: [ versionTag ]
})
});
Building the Project
Execute the test via
npm test
Perform a complete build of the application via
npm run all
License
Use under the terms of the MIT license.