We want to have nested array of multiple type (string, integer, float).
Below is the yaml snippet that I want to have
definitions:
A:
type: object
required:
- data
- fields
properties:
data:
type: array
items:
type: array
items:
# I want to support number & string in this array
type: number | string
fields:
type: array
items:
type: string
so that it can be seen as below with data
{"data": [[1, "a", 3, 9],[2, "b", 5, 8]], fields: ["AV", "AS"]}