|
95 | 95 | "type": "string", |
96 | 96 | "maxLength": 3 |
97 | 97 | }, |
98 | | - "messageVariable1": { |
99 | | - "title": "Message Variable 1", |
100 | | - "description": "Message variable 1", |
101 | | - "type": "string" |
102 | | - }, |
103 | | - "messageVariable2": { |
104 | | - "title": "Message Variable 2", |
105 | | - "description": "Message variable 2", |
106 | | - "type": "string" |
107 | | - }, |
108 | | - "messageVariable3": { |
109 | | - "title": "Message Variable 3", |
110 | | - "description": "Message variable 3", |
111 | | - "type": "string" |
112 | | - }, |
113 | | - "messageVariable4": { |
114 | | - "title": "Message Variable 4", |
115 | | - "description": "Message variable 4", |
116 | | - "type": "string" |
| 98 | + "variableAssignments": { |
| 99 | + "title": "Message Variable Assignments", |
| 100 | + "description": "Message variable assignments", |
| 101 | + "type": "array", |
| 102 | + "items": { |
| 103 | + "title": "Variable List", |
| 104 | + "description": "Variable list", |
| 105 | + "type": "object", |
| 106 | + "properties": { |
| 107 | + "number": { |
| 108 | + "title": "Number", |
| 109 | + "description": "Number", |
| 110 | + "type": "integer", |
| 111 | + "minimum": 1, |
| 112 | + "maximum": 4 |
| 113 | + }, |
| 114 | + "type": { |
| 115 | + "title": "Type", |
| 116 | + "description": "Type", |
| 117 | + "type": "string", |
| 118 | + "enum": [ |
| 119 | + "constant", |
| 120 | + "systemField", |
| 121 | + "definedField" |
| 122 | + ], |
| 123 | + "enumTitles": [ |
| 124 | + "Constant", |
| 125 | + "System Field", |
| 126 | + "Defined Field" |
| 127 | + ], |
| 128 | + "enumDescriptions": [ |
| 129 | + "Constant value", |
| 130 | + "System field", |
| 131 | + "Defined field in the check assignment" |
| 132 | + ], |
| 133 | + "default": "definedField" |
| 134 | + }, |
| 135 | + "field": { |
| 136 | + "title": "Field", |
| 137 | + "description": "Field", |
| 138 | + "type": "string" |
| 139 | + }, |
| 140 | + "value": { |
| 141 | + "title": "Value", |
| 142 | + "description": "Value", |
| 143 | + "type": "string" |
| 144 | + } |
| 145 | + }, |
| 146 | + "additionalProperties": false |
| 147 | + } |
117 | 148 | } |
118 | 149 | }, |
119 | 150 | "additionalProperties": false |
120 | 151 | }, |
121 | | - "checkAssignments": { |
122 | | - "title": "Check Assignments", |
123 | | - "description": "Check assignments", |
| 152 | + "singleCheckAssignments": { |
| 153 | + "title": "Single Check Assignments", |
| 154 | + "description": "Single check assignments", |
124 | 155 | "type": "array", |
125 | 156 | "items": { |
126 | | - "title": "Check Details", |
127 | | - "description": "Check details", |
| 157 | + "title": "Single Check", |
| 158 | + "description": "Single check", |
128 | 159 | "type": "object", |
129 | 160 | "properties": { |
130 | | - "number": { |
131 | | - "title": "Number", |
132 | | - "description": "Number", |
133 | | - "type": "string", |
134 | | - "maxLength": 3, |
135 | | - "pattern": "^[0-9]+$" |
136 | | - }, |
137 | 161 | "description": { |
138 | 162 | "title": "Description", |
139 | 163 | "description": "Description", |
140 | 164 | "type": "string", |
141 | 165 | "maxLength": 120 |
142 | 166 | }, |
| 167 | + "id": { |
| 168 | + "title": "ID", |
| 169 | + "description": "ID", |
| 170 | + "type": "string", |
| 171 | + "maxLength": 3, |
| 172 | + "pattern": "^[0-9]+$" |
| 173 | + }, |
143 | 174 | "scenario": { |
144 | 175 | "title": "Scenario", |
145 | 176 | "description": "Scenario", |
|
265 | 296 | ], |
266 | 297 | "default": "equals" |
267 | 298 | }, |
268 | | - "pattern": { |
269 | | - "title": "Pattern", |
270 | | - "description": "Pattern for Field Check", |
| 299 | + "fieldType": { |
| 300 | + "title": "Field Type", |
| 301 | + "description": "Field type", |
| 302 | + "type": "string", |
| 303 | + "enum": [ |
| 304 | + "definedField", |
| 305 | + "pattern", |
| 306 | + "systemField" |
| 307 | + ], |
| 308 | + "enumTitles": [ |
| 309 | + "Defined Field", |
| 310 | + "Pattern", |
| 311 | + "System Field" |
| 312 | + ], |
| 313 | + "enumDescriptions": [ |
| 314 | + "Defined field in the check assignment", |
| 315 | + "Pattern", |
| 316 | + "System field" |
| 317 | + ], |
| 318 | + "default": "pattern" |
| 319 | + }, |
| 320 | + "field": { |
| 321 | + "title": "Field", |
| 322 | + "description": "Field", |
| 323 | + "type": "string", |
| 324 | + "maxLength": 60 |
| 325 | + }, |
| 326 | + "value": { |
| 327 | + "title": "Value", |
| 328 | + "description": "Value or pattern for Field Check", |
271 | 329 | "type": "string", |
272 | 330 | "maxLength": 60 |
273 | 331 | } |
|
360 | 418 | ], |
361 | 419 | "default": "equals" |
362 | 420 | }, |
363 | | - "pattern": { |
364 | | - "title": "Pattern", |
365 | | - "description": "Pattern for database check", |
| 421 | + "fieldType": { |
| 422 | + "title": "Field Type", |
| 423 | + "description": "Field type", |
| 424 | + "type": "string", |
| 425 | + "enum": [ |
| 426 | + "definedField", |
| 427 | + "pattern", |
| 428 | + "systemField" |
| 429 | + ], |
| 430 | + "enumTitles": [ |
| 431 | + "Defined Field", |
| 432 | + "Pattern", |
| 433 | + "System Field" |
| 434 | + ], |
| 435 | + "enumDescriptions": [ |
| 436 | + "Defined field in the check assignment", |
| 437 | + "Pattern", |
| 438 | + "System field" |
| 439 | + ], |
| 440 | + "default": "pattern" |
| 441 | + }, |
| 442 | + "field": { |
| 443 | + "title": "Field", |
| 444 | + "description": "Field", |
| 445 | + "type": "string", |
| 446 | + "maxLength": 60 |
| 447 | + }, |
| 448 | + "value": { |
| 449 | + "title": "Value", |
| 450 | + "description": "Value or pattern for database check", |
366 | 451 | "type": "string", |
367 | 452 | "maxLength": 60 |
368 | 453 | } |
|
400 | 485 | "type": "string", |
401 | 486 | "maxLength": 3 |
402 | 487 | }, |
403 | | - "messageVariable1": { |
404 | | - "title": "Message Variable 1", |
405 | | - "description": "Message variable 1", |
406 | | - "type": "string" |
407 | | - }, |
408 | | - "messageVariable2": { |
409 | | - "title": "Message Variable 2", |
410 | | - "description": "Message variable 2", |
411 | | - "type": "string" |
412 | | - }, |
413 | | - "messageVariable3": { |
414 | | - "title": "Message Variable 3", |
415 | | - "description": "Message variable 3", |
416 | | - "type": "string" |
417 | | - }, |
418 | | - "messageVariable4": { |
419 | | - "title": "Message Variable 4", |
420 | | - "description": "Message variable 4", |
421 | | - "type": "string" |
| 488 | + "variableAssignments": { |
| 489 | + "title": "Message Variable Assignments", |
| 490 | + "description": "Message variable assignments", |
| 491 | + "type": "array", |
| 492 | + "items": { |
| 493 | + "title": "Variable List", |
| 494 | + "description": "Variable list", |
| 495 | + "type": "object", |
| 496 | + "properties": { |
| 497 | + "number": { |
| 498 | + "title": "Number", |
| 499 | + "description": "Number", |
| 500 | + "type": "integer", |
| 501 | + "minimum": 1, |
| 502 | + "maximum": 4 |
| 503 | + }, |
| 504 | + "type": { |
| 505 | + "title": "Type", |
| 506 | + "description": "Type", |
| 507 | + "type": "string", |
| 508 | + "enum": [ |
| 509 | + "constant", |
| 510 | + "systemField", |
| 511 | + "definedField" |
| 512 | + ], |
| 513 | + "enumTitles": [ |
| 514 | + "Constant", |
| 515 | + "System Field", |
| 516 | + "Defined Field" |
| 517 | + ], |
| 518 | + "enumDescriptions": [ |
| 519 | + "Constant value", |
| 520 | + "System field", |
| 521 | + "Defined field in the check assignment" |
| 522 | + ], |
| 523 | + "default": "definedField" |
| 524 | + }, |
| 525 | + "field": { |
| 526 | + "title": "Field", |
| 527 | + "description": "Field", |
| 528 | + "type": "string" |
| 529 | + }, |
| 530 | + "value": { |
| 531 | + "title": "Value", |
| 532 | + "description": "Value", |
| 533 | + "type": "string" |
| 534 | + } |
| 535 | + }, |
| 536 | + "additionalProperties": false |
| 537 | + } |
422 | 538 | } |
423 | 539 | }, |
424 | 540 | "additionalProperties": false |
425 | 541 | } |
426 | 542 | }, |
427 | 543 | "additionalProperties": false, |
428 | 544 | "required": [ |
429 | | - "number" |
| 545 | + "description", |
| 546 | + "id" |
430 | 547 | ] |
431 | 548 | } |
432 | 549 | } |
|
436 | 553 | "formatVersion", |
437 | 554 | "header", |
438 | 555 | "generalInformation", |
439 | | - "checkAssignments" |
| 556 | + "singleCheckAssignments" |
440 | 557 | ] |
441 | 558 | } |
0 commit comments