Open saurshaz opened 3 years ago
Also not to use enums to achive effect like this ![Uploading 05⁄03⁄212021-05-03Monday 3_1.png…]()
The schema above is very rigid, we need something which can have n no of nodes in place with correct grammer
"1": {
type: "object",
properties: {
"0": {
type: "object",
properties: {
idx: {
type: "string",
},
label: {
type: "string",
},
size: {
type: "integer",
},
colClass: {
type: "string",
},
},
required: [
"idx",
"label",
"size",
"colClass",
],
},
},
required: ["0"],
},
generate perfect jsonschema validation for a layout config for any route in appConfig Site to use to understand what a jsonschema format would be like https://extendsclass.com/json-schema-validator.html example for config is below
The schema will be used to check whether the entered values are correct or not
Current schema being used is like this