# JSON schema for Watcher API payloads?

**URL:** <https://discuss.elastic.co/t/json-schema-for-watcher-api-payloads/62756>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [October 11, 2016, 9:05pm UTC](https://discuss.elastic.co/t/json-schema-for-watcher-api-payloads/62756 "2016-10-11T21:05:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)\
**Post date:** [October 11, 2016, 9:05pm UTC](https://discuss.elastic.co/t/json-schema-for-watcher-api-payloads/62756/1 "2016-10-11T21:05:53Z")

</div>

Wondering if one is available ?

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 12, 2016, 6:17am UTC](https://discuss.elastic.co/t/json-schema-for-watcher-api-payloads/62756/2 "2016-10-12T06:17:01Z")

</div>

Hey Paul,

right now there is not. Are you after something specific?

--Alex

---

<div class="post-metadata">

**Author:** ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)\
**Post date:** [October 12, 2016, 6:33pm UTC](https://discuss.elastic.co/t/json-schema-for-watcher-api-payloads/62756/3 "2016-10-12T18:33:26Z")

</div>

Not really.

I wanted the schema so I could generate Java POJOs from the schema to programmatically build the payload with minimum work.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:42pm UTC](https://discuss.elastic.co/t/json-schema-for-watcher-api-payloads/62756/4 "2017-07-06T13:42:37Z")

</div>


