{"id":19767167,"url":"https://github.com/camunda/element-templates-json-schema","last_synced_at":"2025-08-22T11:14:10.365Z","repository":{"id":38204508,"uuid":"298502082","full_name":"camunda/element-templates-json-schema","owner":"camunda","description":"JSON Schema for (Camunda) Element Templates","archived":false,"fork":false,"pushed_at":"2025-05-08T08:58:56.000Z","size":1268,"stargazers_count":10,"open_issues_count":10,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-08T23:44:06.947Z","etag":null,"topics":["camunda","json-schema"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/camunda.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-09-25T07:36:02.000Z","updated_at":"2025-05-08T08:58:59.000Z","dependencies_parsed_at":"2023-02-18T05:45:42.794Z","dependency_job_id":"3d649404-ae55-4ced-b088-498bc625fb6e","html_url":"https://github.com/camunda/element-templates-json-schema","commit_stats":{"total_commits":181,"total_committers":11,"mean_commits":"16.454545454545453","dds":0.419889502762431,"last_synced_commit":"c5203da87bff55978af23844b7fc8e52bd2cddb5"},"previous_names":["camunda/element-template-json-schema"],"tags_count":75,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camunda%2Felement-templates-json-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camunda%2Felement-templates-json-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camunda%2Felement-templates-json-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/camunda%2Felement-templates-json-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/camunda","download_url":"https://codeload.github.com/camunda/element-templates-json-schema/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253166474,"owners_count":21864467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["camunda","json-schema"],"created_at":"2024-11-12T04:28:14.058Z","updated_at":"2025-05-08T23:44:15.152Z","avatar_url":"https://github.com/camunda.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# element-templates-json-schema\n\n[![CI](https://github.com/camunda/element-templates-json-schema/actions/workflows/CI.yml/badge.svg)](https://github.com/camunda/element-templates-json-schema/actions/workflows/CI.yml)\n\nJSON Schema for [(Camunda) Element Templates](https://docs.camunda.io/docs/components/modeler/desktop-modeler/element-templates/about-templates/). The schema is built on top of and validated by [`json-schema@draft-07`](https://json-schema.org/draft-07/json-schema-release-notes.html).\n\n\n## Usage\n\nThis library exports [several Element Templates JSON Schema definitions](./packages).\n\nThere exist different ways to consume the definition. Many tools, like IDEs, support schema validation out of the box. To activate those, simply specify the `$schema` attribute to an element template.\n\n```js\n{\n  \"$schema\": \"https://unpkg.com/@camunda/element-templates-json-schema/resources/schema.json\",\n  \"name\": \"Mail Task\",\n  \"id\": \"com.camunda.example.MailTask\",\n  \"appliesTo\": [ \"bpmn:ServiceTask\" ],\n  \"properties\": []\n}\n```\n\nYou can also use a specific version.\n\n```js\n\"$schema\": \"https://unpkg.com/@camunda/element-templates-json-schema@0.1.0/resources/schema.json\"\n```\n\nAdditionally, it's possible to use the schema on top of existing validation libraries and tools. Follow the [example](./example) for further instructions.\n\n\n## Build and Run\n\nPrepare the project by installing all dependencies:\n\n```sh\nnpm install\n```\n\nThen, depending on your use case, bundle [the source schema files](./packages) together\n\n```sh\n# bundle all schema files\nnpm run build\n\n# bundle C7 schema\nnpm run build:camunda\n\n# bundle C8 schema\nnpm run build:zeebe\n```\n\nFurthermore, execute the following command to run the generated schema against our tests\n\n```sh\nnpm run test\n```\n\nRun tests in individual [packages](./packages):\n\n```\nnpm run dev -- @camunda/zeebe-element-templates-json-schema\n```\n\n## Release\n\nWe use [`lerna`](https://github.com/lerna/lerna) to publish releases. All [packages](./packages/) can be released independently (lerna will take care of this).\n\n```sh\n# release stable version\nnpm run release\n\n# release alpha version\nnpm run release:alpha\n\n# execute dry run\nnpm run release:dry\n```\n\n## License\n\nMIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamunda%2Felement-templates-json-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcamunda%2Felement-templates-json-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcamunda%2Felement-templates-json-schema/lists"}