How change brackets

You can help me about this quests?

I need change brackets

{
  "PhaseName": "h",
  "Comment": "h",
  "Servers": [
    {
      "ServerName": "Main",
      "IP": "8.8.8.8",
      "User": "User"
    }
  ]
}

but i need me

[
{
  "PhaseName": "h",
  "Comment": "h",
  "Servers": [
    {
      "ServerName": "Main",
      "IP": "8.8.8.8",
      "User": "User"
    }
  ]
}
]

What file I should change ?

Hi @Enot41,

Can you elaborate on your problem a bit more? If your data is not unique you can simply wrap the data within a type: 'array' in your JSON Schema.

Sorry I asked the wrong question
After change shhema and uishema
I get Data

{
  "Phases": [
    {
      "PhaseName": "55",
      "Comment": "55",
      "Servers": [
        {
          "ServerName": "55",
          "Comment": "55",
          "IP": "55",
          "User": "55",
          "PwdEncrypted": "55"
        }
      ]
    },
    {
      "PhaseName": "44",
      "Comment": "44",
      "Servers": [
        {
          "ServerName": "44",
          "Comment": "44",
          "IP": "44",
          "User": "44",
          "PwdEncrypted": "44"
        }
      ]
    }
  ]
}

but i need

[
    {
        "PhaseName": "55",
        "Comment": "55",
        "Servers": [
          {
            "ServerName": "55",
            "Comment": "55",
            "IP": "55",
            "User": "55",
            "PwdEncrypted": "55"
          }
        ]
    },
    {
        "PhaseName": "44",
        "Comment": "44",
        "Servers": [
          {
            "ServerName": "44",
            "Comment": "44",
            "IP": "44",
            "User": "44",
            "PwdEncrypted": "44"
          }
        ]
    }
]

Tell me, can I do that?

Hi @Enot41, can you post your Json Schema and UI Schema so we can help you with that?

I did it, example.

const userObj = {
Phases: [
{
PhaseName: ‘55’,
Comment: ‘55’,
Servers: [
{
ServerName: ‘55’,
Comment: ‘55’,
IP: ‘55’,
User: ‘55’,
PwdEncrypted: ‘55’,
},
],
},
],
};

const data2 = { Phases: userObj };