Y Level can be represented in a few ways, below are the listed ways they can be shown.
They can be listed as an object with a min and max like as such.
You can also format them as a list of 2 integers
And you can just format it as a single integer if you would like them to spawn at a single Y level.
Note:
Y Level have a range from -512
to 512