|
34 | 34 |
|
35 | 35 | ***
|
36 | 36 | #### Json Related Validation Constructs
|
37 |
| -| Rule Name | Check Id | Message | |
38 |
| -|----------|-------------|------| |
39 |
| -|`ensure_enum_not_changed`|`ENM001`|`"CANNOT remove values from enum"`| |
40 |
| -|`ensure_minlength_not_contracted`|`ML001`|`"cannot remove minLength from properties"`| |
| 37 | +| Rule Name | Check Id | Message | |
| 38 | +|----------|-------------|------------------------------------------------------------| |
| 39 | +|`ensure_enum_not_changed`|`ENM001`| `"CANNOT remove values from enum"` | |
| 40 | +|`ensure_minlength_not_contracted`|`ML001`| `"cannot remove minLength from properties"` | |
41 | 41 | ||`ML002`|`"only NEWLY ADDED properties can have additional minLength constraint"`|
|
42 | 42 | ||`ML003`|`"new minLength value cannot exceed old value"`|
|
43 |
| -|`ensure_maxlength_not_contracted`|`ML004`|`"cannot remove maxLength from properties"`| |
| 43 | +|`ensure_maxlength_not_contracted`|`ML004`| `"cannot remove maxLength from properties"` | |
44 | 44 | ||`ML005`|`"only NEWLY ADDED properties can have additional maxLength constraint"`|
|
45 | 45 | ||`ML006`|`"new maxLength value cannot be less than the old value"`|
|
46 |
| -|`ensure_property_string_pattern_not_changed`|`PAT001`|`"Only NEWLY ADDED properties can have new pattern added"`| |
| 46 | +|`ensure_property_string_pattern_not_changed`|`PAT001`| `"Only NEWLY ADDED properties can have new pattern added"` | |
47 | 47 | ||`PAT002`|`"cannot remove PATTERN from a property"`|
|
48 | 48 | ||`PAT003`|`"cannot change PATTERN of a property"`|
|
49 |
| -|`ensure_minitems_not_contracted`|`MI001`|`"cannot remove minItems from properties"`| |
| 49 | +|`ensure_minitems_not_contracted`|`MI001`| `"cannot remove minItems from properties"` | |
50 | 50 | ||`MI002`|`"only NEWLY ADDED properties can have additional minItems constraint"`|
|
51 | 51 | ||`MI003`|`"new minItems value cannot exceed old value"`|
|
52 |
| -|`ensure_maxitems_not_contracted`|`MI004`|`"cannot remove maxItems from properties"`| |
| 52 | +|`ensure_maxitems_not_contracted`|`MI004`| `"cannot remove maxItems from properties"` | |
53 | 53 | ||`MI005`|`"only NEWLY ADDED properties can have additional maxItems constraint"`|
|
54 | 54 | ||`MI006`|`"new maxItems value cannot be less than the old value"`|
|
55 |
| -|`ensure_minimum_not_contracted`|`MI007`|``| |
| 55 | +|`ensure_minimum_not_contracted`|`MI007`| `cannot remove minimum from properties` | |
56 | 56 | ||`MI008`|`"only NEWLY ADDED properties can have additional minimum constraint"`|
|
57 | 57 | ||`MI009`|`"new minimum value cannot exceed old value"`|
|
58 | 58 | ||`MI010`|`"cannot remove maximum from properties"`|
|
|
0 commit comments