https://github.com/camunda/modeler-moddle
Camunda Modeler namespace extensions for BPMN 2.0 as a moddle descriptor.
https://github.com/camunda/modeler-moddle
bpmn bpmn-js camunda-modeler moddle modeler
Last synced: 3 months ago
JSON representation
Camunda Modeler namespace extensions for BPMN 2.0 as a moddle descriptor.
- Host: GitHub
- URL: https://github.com/camunda/modeler-moddle
- Owner: camunda
- License: mit
- Created: 2021-02-03T11:27:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2026-03-02T08:52:10.000Z (3 months ago)
- Last Synced: 2026-03-02T12:39:16.359Z (3 months ago)
- Topics: bpmn, bpmn-js, camunda-modeler, moddle, modeler
- Language: JavaScript
- Homepage:
- Size: 278 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# modeler-moddle
[](https://github.com/camunda/modeler-moddle/actions?query=workflow%3ACI)
This project defines the [Camunda Modeler](https://github.com/camunda/camunda-modeler) namespace extensions for BPMN 2.0 as well as DMN 1.3 as [moddle](https://github.com/bpmn-io/moddle) descriptors.
## Usage
### BPMN
Use it together with [bpmn-moddle](https://github.com/bpmn-io/bpmn-moddle) to validate Camunda Modeler BPMN 2.0 extensions.
```javascript
var BpmnModdle = require('bpmn-moddle');
var modelerModdle = require('modeler-moddle/resources/modeler');
var moddle = new BpmnModdle({ modeler: modelerModdle });
var serviceTask = moddle.create('bpmn:Definitions', {
executionPlatform: 'Camunda Platform',
executionPlatformVersion: '7.15.0'
});
```
Once serialized, this exports the properties under the `http://camunda.org/schema/modeler/1.0` namespace:
```xml
...
```
### DMN
Use it together with [dmn-moddle](https://github.com/bpmn-io/dmn-moddle) to validate Camunda Modeler DMN 1.3 extensions.
```javascript
var DmnModdle = require('dmn-moddle');
var modelerModdle = require('modeler-moddle/resources/dmn-modeler');
var moddle = new DmnModdle({ modeler: modelerModdle });
var serviceTask = moddle.create('dmn:Definitions', {
executionPlatform: 'Camunda Platform',
executionPlatformVersion: '7.15.0'
});
```
Once serialized, this exports the properties under the `http://camunda.org/schema/modeler/1.0` namespace:
```xml
...
```
## Building the Project
To run the test suite that includes XSD schema validation you must have a Java JDK installed and properly exposed through the `JAVA_HOME` variable.
Execute the test via
```sh
npm test
```
Perform a complete build of the application via
```sh
npm run all
```
## License
Use under the terms of the [MIT license](http://opensource.org/licenses/MIT).