|
4819 | 4819 | "The object value was not expected to define unevaluated properties" |
4820 | 4820 | ] |
4821 | 4821 | } |
| 4822 | + }, |
| 4823 | + { |
| 4824 | + "description": "empty_enum_string", |
| 4825 | + "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "enum": [] }, |
| 4826 | + "instance": "foo", |
| 4827 | + "valid": false, |
| 4828 | + "fast": { |
| 4829 | + "pre": [ |
| 4830 | + [ "AssertionFail", "/enum", "#/enum", "" ] |
| 4831 | + ], |
| 4832 | + "post": [ |
| 4833 | + [ false, "AssertionFail", "/enum", "#/enum", "" ] |
| 4834 | + ], |
| 4835 | + "descriptions": [ |
| 4836 | + "The string value was not expected to validate against the empty enumeration" |
| 4837 | + ] |
| 4838 | + }, |
| 4839 | + "exhaustive": { |
| 4840 | + "pre": [ |
| 4841 | + [ "AssertionFail", "/enum", "#/enum", "" ] |
| 4842 | + ], |
| 4843 | + "post": [ |
| 4844 | + [ false, "AssertionFail", "/enum", "#/enum", "" ] |
| 4845 | + ], |
| 4846 | + "descriptions": [ |
| 4847 | + "The string value was not expected to validate against the empty enumeration" |
| 4848 | + ] |
| 4849 | + } |
| 4850 | + }, |
| 4851 | + { |
| 4852 | + "description": "empty_enum_integer", |
| 4853 | + "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", "enum": [] }, |
| 4854 | + "instance": 42, |
| 4855 | + "valid": false, |
| 4856 | + "fast": { |
| 4857 | + "pre": [ |
| 4858 | + [ "AssertionFail", "/enum", "#/enum", "" ] |
| 4859 | + ], |
| 4860 | + "post": [ |
| 4861 | + [ false, "AssertionFail", "/enum", "#/enum", "" ] |
| 4862 | + ], |
| 4863 | + "descriptions": [ |
| 4864 | + "The integer value was not expected to validate against the empty enumeration" |
| 4865 | + ] |
| 4866 | + }, |
| 4867 | + "exhaustive": { |
| 4868 | + "pre": [ |
| 4869 | + [ "AssertionFail", "/enum", "#/enum", "" ] |
| 4870 | + ], |
| 4871 | + "post": [ |
| 4872 | + [ false, "AssertionFail", "/enum", "#/enum", "" ] |
| 4873 | + ], |
| 4874 | + "descriptions": [ |
| 4875 | + "The integer value was not expected to validate against the empty enumeration" |
| 4876 | + ] |
| 4877 | + } |
4822 | 4878 | } |
4823 | 4879 | ] |
0 commit comments