├── .github └── workflows │ ├── CI.yml │ └── CODE_SCANNING.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docs └── descriptor.md ├── eslint.config.js ├── lib ├── base.js ├── descriptor-builder.js ├── factory.js ├── index.js ├── moddle.js ├── ns.js ├── properties.js ├── registry.js └── types.js ├── package.json ├── resources └── schema │ └── moddle.json ├── rollup.config.js └── test ├── expect.js ├── fixtures └── model │ ├── datatype-external.json │ ├── datatype.json │ ├── extension │ ├── base.json │ └── custom.json │ ├── meta.json │ ├── noalias.json │ ├── properties-extended.json │ ├── properties.json │ ├── redefines │ └── base.json │ ├── replaces │ └── base.json │ ├── schema-meta.json │ ├── self-extend.json │ └── shadow.json ├── helper.js ├── integration └── distro.cjs ├── matchers.js └── spec ├── extension.js ├── meta.js ├── moddle.js ├── ns.js ├── properties.js ├── schema.js └── types.js /.github/workflows/CI.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/.github/workflows/CI.yml -------------------------------------------------------------------------------- /.github/workflows/CODE_SCANNING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/.github/workflows/CODE_SCANNING.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | dist/ 3 | tmp/ -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/README.md -------------------------------------------------------------------------------- /docs/descriptor.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/docs/descriptor.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/eslint.config.js -------------------------------------------------------------------------------- /lib/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/base.js -------------------------------------------------------------------------------- /lib/descriptor-builder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/descriptor-builder.js -------------------------------------------------------------------------------- /lib/factory.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/factory.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/moddle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/moddle.js -------------------------------------------------------------------------------- /lib/ns.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/ns.js -------------------------------------------------------------------------------- /lib/properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/properties.js -------------------------------------------------------------------------------- /lib/registry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/registry.js -------------------------------------------------------------------------------- /lib/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/lib/types.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/package.json -------------------------------------------------------------------------------- /resources/schema/moddle.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/resources/schema/moddle.json -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/rollup.config.js -------------------------------------------------------------------------------- /test/expect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/expect.js -------------------------------------------------------------------------------- /test/fixtures/model/datatype-external.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/datatype-external.json -------------------------------------------------------------------------------- /test/fixtures/model/datatype.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/datatype.json -------------------------------------------------------------------------------- /test/fixtures/model/extension/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/extension/base.json -------------------------------------------------------------------------------- /test/fixtures/model/extension/custom.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/extension/custom.json -------------------------------------------------------------------------------- /test/fixtures/model/meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/meta.json -------------------------------------------------------------------------------- /test/fixtures/model/noalias.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/noalias.json -------------------------------------------------------------------------------- /test/fixtures/model/properties-extended.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/properties-extended.json -------------------------------------------------------------------------------- /test/fixtures/model/properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/properties.json -------------------------------------------------------------------------------- /test/fixtures/model/redefines/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/redefines/base.json -------------------------------------------------------------------------------- /test/fixtures/model/replaces/base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/replaces/base.json -------------------------------------------------------------------------------- /test/fixtures/model/schema-meta.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/schema-meta.json -------------------------------------------------------------------------------- /test/fixtures/model/self-extend.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/self-extend.json -------------------------------------------------------------------------------- /test/fixtures/model/shadow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/fixtures/model/shadow.json -------------------------------------------------------------------------------- /test/helper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/helper.js -------------------------------------------------------------------------------- /test/integration/distro.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/integration/distro.cjs -------------------------------------------------------------------------------- /test/matchers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/matchers.js -------------------------------------------------------------------------------- /test/spec/extension.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/spec/extension.js -------------------------------------------------------------------------------- /test/spec/meta.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/spec/meta.js -------------------------------------------------------------------------------- /test/spec/moddle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/spec/moddle.js -------------------------------------------------------------------------------- /test/spec/ns.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/spec/ns.js -------------------------------------------------------------------------------- /test/spec/properties.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/spec/properties.js -------------------------------------------------------------------------------- /test/spec/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/spec/schema.js -------------------------------------------------------------------------------- /test/spec/types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bpmn-io/moddle/HEAD/test/spec/types.js --------------------------------------------------------------------------------