# Plolty example data attribute value not found in JSON schema

**URL:** <https://community.plotly.com/t/plolty-example-data-attribute-value-not-found-in-json-schema/35871>\
**Category:** plotly.js\
**Created:** [March 5, 2020, 4:06pm UTC](https://community.plotly.com/t/plolty-example-data-attribute-value-not-found-in-json-schema/35871 "2020-03-05T16:06:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmmf](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@hmmf](https://community.plotly.com/u/hmmf)\
**Post date:** [March 5, 2020, 4:06pm UTC](https://community.plotly.com/t/plolty-example-data-attribute-value-not-found-in-json-schema/35871/1 "2020-03-05T16:06:01Z")

</div>

Hi,

I am generating Scala code based on the JSON schema that allows me to read and write Plotly JSON. I picked the Violin ([https://plot.ly/javascript/violin/](https://plot.ly/javascript/violin/)) for my first test. In one of the examples we have data with the attribute:

```json
points: 'none'

```

But the schema `points` is an `enumerated` that only has the values:

- “all”
- “outliers”
- “suspectedoutliers”
- false

So my question is: is this a schema error, example error or is “none” a valid input for any enumerate?

TIA

---

<div class="post-metadata">

**Author:** ![nicolaskruchten](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/nicolaskruchten/32/7018_2.png) [@nicolaskruchten](https://community.plotly.com/u/nicolaskruchten)\
**Post date:** [March 6, 2020, 3:59pm UTC](https://community.plotly.com/t/plolty-example-data-attribute-value-not-found-in-json-schema/35871/2 "2020-03-06T15:59:10Z")

</div>

See [https://github.com/plotly/plotly.js/issues/4617](https://github.com/plotly/plotly.js/issues/4617)

---

<div class="post-metadata">

**Author:** ![hmmf](https://avatars.discourse-cdn.com/v4/letter/h/b5e925/32.png) [@hmmf](https://community.plotly.com/u/hmmf)\
**Post date:** [March 6, 2020, 4:34pm UTC](https://community.plotly.com/t/plolty-example-data-attribute-value-not-found-in-json-schema/35871/3 "2020-03-06T16:34:47Z")

</div>

Thank you for the answers in Github. Closed the issue.
