@@ -39,10 +39,37 @@ export const errors = [
39
39
{
40
40
keyword : 'type' ,
41
41
dataPath : '/properties/1/value' ,
42
- schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/type' ,
43
- params : { type : 'string' } ,
42
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf/0/type' ,
43
+ params : {
44
+ type : 'string'
45
+ } ,
46
+ message : 'should be string'
47
+ } ,
48
+ {
49
+ keyword : 'type' ,
50
+ dataPath : '/properties/1/value' ,
51
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf/1/type' ,
52
+ params : {
53
+ type : 'string'
54
+ } ,
44
55
message : 'should be string'
45
56
} ,
57
+ {
58
+ keyword : 'not' ,
59
+ dataPath : '/properties/1/value' ,
60
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf/1/not' ,
61
+ params : { } ,
62
+ message : 'should NOT be valid'
63
+ } ,
64
+ {
65
+ keyword : 'oneOf' ,
66
+ dataPath : '/properties/1/value' ,
67
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf' ,
68
+ params : {
69
+ passingSchemas : null
70
+ } ,
71
+ message : 'should match exactly one schema in oneOf'
72
+ } ,
46
73
{
47
74
keyword : 'if' ,
48
75
dataPath : '/properties/1' ,
@@ -53,10 +80,37 @@ export const errors = [
53
80
{
54
81
keyword : 'type' ,
55
82
dataPath : '/properties/2/value' ,
56
- schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/type' ,
57
- params : { type : 'string' } ,
83
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf/0/type' ,
84
+ params : {
85
+ type : 'string'
86
+ } ,
87
+ message : 'should be string'
88
+ } ,
89
+ {
90
+ keyword : 'type' ,
91
+ dataPath : '/properties/2/value' ,
92
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf/1/type' ,
93
+ params : {
94
+ type : 'string'
95
+ } ,
58
96
message : 'should be string'
59
97
} ,
98
+ {
99
+ keyword : 'not' ,
100
+ dataPath : '/properties/2/value' ,
101
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf/1/not' ,
102
+ params : { } ,
103
+ message : 'should NOT be valid'
104
+ } ,
105
+ {
106
+ keyword : 'oneOf' ,
107
+ dataPath : '/properties/2/value' ,
108
+ schemaPath : '#/allOf/1/items/allOf/9/then/properties/value/oneOf' ,
109
+ params : {
110
+ passingSchemas : null
111
+ } ,
112
+ message : 'should match exactly one schema in oneOf'
113
+ } ,
60
114
{
61
115
keyword : 'if' ,
62
116
dataPath : '/properties/2' ,
0 commit comments