# Json-schema already in logstash?

**URL:** <https://discuss.elastic.co/t/json-schema-already-in-logstash/131172>\
**Category:** Logstash\
**Created:** [May 9, 2018, 12:56pm UTC](https://discuss.elastic.co/t/json-schema-already-in-logstash/131172 "2018-05-09T12:56:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebuildy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ebuildy/32/6070_2.png) [@ebuildy](https://discuss.elastic.co/u/ebuildy)\
**Post date:** [May 9, 2018, 12:56pm UTC](https://discuss.elastic.co/t/json-schema-already-in-logstash/131172/1 "2018-05-09T12:56:34Z")

</div>

I am writing a plugin to validate event data structure, hence I am using json-schema.

When installing the gem inside the Docker elastic image, I got the error:

```
   logstash-filter-schema_validation (= 0.1.0) java depends on
   json-schema (~> 2.8) java

  json-schema (~> 2.6) java

```

And I can see in /usr/share/logstash/Gemfile.lock there is already a json-schema: 2.6.

But in logstash source, here: [https://github.com/elastic/logstash/blob/v6.2.4/Gemfile.template#L24](https://github.com/elastic/logstash/blob/v6.2.4/Gemfile.template#L24) it looks used only for development isnit?

---

<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:** [June 6, 2018, 12:56pm UTC](https://discuss.elastic.co/t/json-schema-already-in-logstash/131172/2 "2018-06-06T12:56:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
