return configs with array type
return configs with string type
For development languages with strict typing, the parsing of this model is akin to a severe toothache. I’m already silent about 1/0 and true/false.
And in general generating code from json schemes for your API is a task for the brave.
You should be ashamed of such a DTO.
I ask you to look at the specifications of your competitors. Done much better. Both with examples and with models and with json schemes.