Bucklescript is not expanding my node


#1

We use bucklescript to show our JSON schema in a more user-friendly manner:
https://bucklescript.github.io/bucklescript/docson/#https://raw.githubusercontent.com/andrejellema/GlobalCoffeeDataStandard/master/global-coffee-data-standard.schema.json

As you can see the Farmer > General node cannot be expanded.
I create this schema using WebStorm and it says it is valid.

My question is my schema really valid and can’t bucklescript handle this situation and/or should I change my schema.

The offending part:

 "properties": {
        "general": {
          "description": "The general farmer characteristics",
          "type": "object",
          "additionalProperties": false,
          "oneOf": [
            {
              "required": [
                "farmerId",
                "dateOfBirth"
              ]
            },
            {
              "required": [
                "farmerId",
                "age"
              ]
            }
          ],
          "properties": {
          }

The oneOf > required block is causing the problem.