# Schema for workflow json

**URL:** <https://community.dynatrace.com/t/schema-for-workflow-json/41939>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app, workflows\
**Created:** [October 5, 2023, 7:22am UTC](https://community.dynatrace.com/t/schema-for-workflow-json/41939 "2023-10-05T07:22:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beigert](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/beigert/32/7422_2.png) [@beigert](https://community.dynatrace.com/u/beigert)\
**Post date:** [October 5, 2023, 7:22am UTC](https://community.dynatrace.com/t/schema-for-workflow-json/41939/1 "2023-10-05T07:22:24Z")

</div>

How can I get a json-schema or TypeScript interface (on any other format) to validate workflow definiton locally?

---

<div class="post-metadata">

**Author:** ![michal\_zawislak](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/michal_zawislak/32/13613_2.png) [@michal\_zawislak](https://community.dynatrace.com/u/michal_zawislak)\
**Post date:** [October 5, 2023, 10:11am UTC](https://community.dynatrace.com/t/schema-for-workflow-json/41939/2 "2023-10-05T10:11:40Z")

</div>

Hi&nbsp;[@beigert](https://community.dynatrace.com/user/59122),

To validate the workflow definition locally in Typescript, you could leverage the&nbsp;[Workflow](https://developer.dynatrace.com/reference/sdks/client-automation/#workflow)&nbsp;type from the “@dynatrace-sdk/client-automation”.

We’re aware that the typing still isn’t perfect, but we’re working on it.

Please let me know if I can help you further.

---

<div class="post-metadata">

**Author:** ![beigert](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/beigert/32/7422_2.png) [@beigert](https://community.dynatrace.com/u/beigert)\
**Post date:** [October 11, 2023, 12:31pm UTC](https://community.dynatrace.com/t/schema-for-workflow-json/41939/3 "2023-10-11T12:31:30Z")

</div>

Works, thanks a lot
