@@ -30,10 +30,6 @@ object TestFilterDraft7 : TestFilter {
30
30
}
31
31
32
32
object TestFilterDraft201909 : TestFilter {
33
- private val IGNORED_CASES_WITH_CUSTOM_META_SCHEMA : Set <String > = hashSetOf(
34
- " schema that uses custom metaschema with with no validation vocabulary" ,
35
- " ignore unrecognized optional vocabulary" ,
36
- )
37
33
38
34
private val IGNORE_CASES_WITH_MIN_CONTAINS_ZERO = setOf (
39
35
" minContains = 0 with no maxContains" ,
@@ -42,8 +38,6 @@ object TestFilterDraft201909 : TestFilter {
42
38
override fun shouldSkipCase (caseDescription : String ): String? {
43
39
return when {
44
40
caseDescription.endsWith(" format" ) -> " the format keyword is not yet supported"
45
- caseDescription in IGNORED_CASES_WITH_CUSTOM_META_SCHEMA ->
46
- " vocabulary from custom meta-schemas is not supported yet"
47
41
caseDescription in IGNORE_CASES_WITH_MIN_CONTAINS_ZERO ->
48
42
" 'minContains' does not affect contains work - at least one element must match 'contains' schema"
49
43
else -> null
@@ -62,16 +56,10 @@ object TestFilterDraft201909 : TestFilter {
62
56
}
63
57
64
58
object TestFilterDraft202012 : TestFilter {
65
- private val IGNORED_CASES_WITH_CUSTOM_META_SCHEMA : Set <String > = hashSetOf(
66
- " schema that uses custom metaschema with with no validation vocabulary" ,
67
- " ignore unrecognized optional vocabulary" ,
68
- )
69
59
70
60
override fun shouldSkipCase (caseDescription : String ): String? {
71
61
return when {
72
62
caseDescription.endsWith(" format" ) -> " the format keyword is not yet supported"
73
- caseDescription in IGNORED_CASES_WITH_CUSTOM_META_SCHEMA ->
74
- " vocabulary from custom meta-schemas is not supported yet"
75
63
else -> null
76
64
}
77
65
}
0 commit comments