arenaxr/arena-web-core

Add custom field validators for build

Closed this issue · 1 comments

It's possible to input bad values into certain fields despite valid types. For instance, rotation takes number types but should be rangebound -- terms greater than 1 will mess up the scale of an object.

This seems like we can write some custom validators https://github.com/json-editor/json-editor#custom-validation

Using the standard json schema also works here: e4ab61c

Screenshot 2023-12-08 at 2 30 18 PM