How to support multiple types in kubenetes CustomResourceDefinition v1 version

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.16+
Cloud being used: (put bare-metal if not on a public cloud)
Installation method:
Host OS:
CNI and version:
CRI and version:

Hi, I am creating a CustomResourceDefinition with apiextensions.k8s.io/v1.
I met problem when I want to assign muitiple types for one argument.
For example, one augument can both support array and string format.
In v1beta1, we can use below format:
properties:
object-type:
oneOf:
- type: string
- type: array
But in v1 version, I can’t find a way for it. When used above format, it will report “non-structual” error, which will prevent creating the CRD.

I searched in the v.1.16 + kubenetes official document, only one parameter x-kubernetes-int-or-string: true is supported, but this parameter is only for int and string format.

Could anyone tell if there is any way to fulfill my request?