Black Lives Matter. Please consider donating to Black Girls Code today.

Plolty example data attribute value not found in JSON schema


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

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?



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