|
6 | 6 |
|
7 | 7 | class ConstraintError extends Enum
|
8 | 8 | {
|
9 |
| - const ADDITIONAL_ITEMS = 'additionalItems'; |
10 |
| - const ADDITIONAL_PROPERTIES = 'additionalProp'; |
11 |
| - const ALL_OF = 'allOf'; |
12 |
| - const ANY_OF = 'anyOf'; |
13 |
| - const DEPENDENCIES = 'dependencies'; |
14 |
| - const DISALLOW = 'disallow'; |
15 |
| - const DIVISIBLE_BY = 'divisibleBy'; |
16 |
| - const ENUM = 'enum'; |
17 |
| - const CONSTANT = 'const'; |
18 |
| - const EXCLUSIVE_MINIMUM = 'exclusiveMinimum'; |
19 |
| - const EXCLUSIVE_MAXIMUM = 'exclusiveMaximum'; |
20 |
| - const FORMAT_COLOR = 'colorFormat'; |
21 |
| - const FORMAT_DATE = 'dateFormat'; |
22 |
| - const FORMAT_DATE_TIME = 'dateTimeFormat'; |
23 |
| - const FORMAT_DATE_UTC = 'dateUtcFormat'; |
24 |
| - const FORMAT_EMAIL = 'emailFormat'; |
25 |
| - const FORMAT_HOSTNAME = 'styleHostName'; |
26 |
| - const FORMAT_IP = 'ipFormat'; |
27 |
| - const FORMAT_PHONE = 'phoneFormat'; |
28 |
| - const FORMAT_REGEX= 'regexFormat'; |
29 |
| - const FORMAT_STYLE = 'styleFormat'; |
30 |
| - const FORMAT_TIME = 'timeFormat'; |
31 |
| - const FORMAT_URL = 'urlFormat'; |
32 |
| - const FORMAT_URL_REF = 'urlRefFormat'; |
33 |
| - const INVALID_SCHEMA = 'invalidSchema'; |
34 |
| - const LENGTH_MAX = 'maxLength'; |
35 |
| - const LENGTH_MIN = 'minLength'; |
36 |
| - const MAXIMUM = 'maximum'; |
37 |
| - const MIN_ITEMS = 'minItems'; |
38 |
| - const MINIMUM = 'minimum'; |
39 |
| - const MISSING_ERROR = 'missingError'; |
40 |
| - const MISSING_MAXIMUM = 'missingMaximum'; |
41 |
| - const MISSING_MINIMUM = 'missingMinimum'; |
42 |
| - const MAX_ITEMS = 'maxItems'; |
43 |
| - const MULTIPLE_OF = 'multipleOf'; |
44 |
| - const NOT = 'not'; |
45 |
| - const ONE_OF = 'oneOf'; |
46 |
| - const REQUIRED = 'required'; |
47 |
| - const REQUIRES = 'requires'; |
48 |
| - const PATTERN = 'pattern'; |
49 |
| - const PREGEX_INVALID = 'pregrex'; |
50 |
| - const PROPERTIES_MIN = 'minProperties'; |
51 |
| - const PROPERTIES_MAX = 'maxProperties'; |
52 |
| - const TYPE = 'type'; |
53 |
| - const UNIQUE_ITEMS = 'uniqueItems'; |
| 9 | + public const ADDITIONAL_ITEMS = 'additionalItems'; |
| 10 | + public const ADDITIONAL_PROPERTIES = 'additionalProp'; |
| 11 | + public const ALL_OF = 'allOf'; |
| 12 | + public const ANY_OF = 'anyOf'; |
| 13 | + public const DEPENDENCIES = 'dependencies'; |
| 14 | + public const DISALLOW = 'disallow'; |
| 15 | + public const DIVISIBLE_BY = 'divisibleBy'; |
| 16 | + public const ENUM = 'enum'; |
| 17 | + public const CONSTANT = 'const'; |
| 18 | + public const EXCLUSIVE_MINIMUM = 'exclusiveMinimum'; |
| 19 | + public const EXCLUSIVE_MAXIMUM = 'exclusiveMaximum'; |
| 20 | + public const FORMAT_COLOR = 'colorFormat'; |
| 21 | + public const FORMAT_DATE = 'dateFormat'; |
| 22 | + public const FORMAT_DATE_TIME = 'dateTimeFormat'; |
| 23 | + public const FORMAT_DATE_UTC = 'dateUtcFormat'; |
| 24 | + public const FORMAT_EMAIL = 'emailFormat'; |
| 25 | + public const FORMAT_HOSTNAME = 'styleHostName'; |
| 26 | + public const FORMAT_IP = 'ipFormat'; |
| 27 | + public const FORMAT_PHONE = 'phoneFormat'; |
| 28 | + public const FORMAT_REGEX= 'regexFormat'; |
| 29 | + public const FORMAT_STYLE = 'styleFormat'; |
| 30 | + public const FORMAT_TIME = 'timeFormat'; |
| 31 | + public const FORMAT_URL = 'urlFormat'; |
| 32 | + public const FORMAT_URL_REF = 'urlRefFormat'; |
| 33 | + public const INVALID_SCHEMA = 'invalidSchema'; |
| 34 | + public const LENGTH_MAX = 'maxLength'; |
| 35 | + public const LENGTH_MIN = 'minLength'; |
| 36 | + public const MAXIMUM = 'maximum'; |
| 37 | + public const MIN_ITEMS = 'minItems'; |
| 38 | + public const MINIMUM = 'minimum'; |
| 39 | + public const MISSING_ERROR = 'missingError'; |
| 40 | + public const MISSING_MAXIMUM = 'missingMaximum'; |
| 41 | + public const MISSING_MINIMUM = 'missingMinimum'; |
| 42 | + public const MAX_ITEMS = 'maxItems'; |
| 43 | + public const MULTIPLE_OF = 'multipleOf'; |
| 44 | + public const NOT = 'not'; |
| 45 | + public const ONE_OF = 'oneOf'; |
| 46 | + public const REQUIRED = 'required'; |
| 47 | + public const REQUIRES = 'requires'; |
| 48 | + public const PATTERN = 'pattern'; |
| 49 | + public const PREGEX_INVALID = 'pregrex'; |
| 50 | + public const PROPERTIES_MIN = 'minProperties'; |
| 51 | + public const PROPERTIES_MAX = 'maxProperties'; |
| 52 | + public const TYPE = 'type'; |
| 53 | + public const UNIQUE_ITEMS = 'uniqueItems'; |
54 | 54 |
|
55 | 55 | /**
|
56 | 56 | * @return string
|
|
0 commit comments