diff --git a/core/modules/taxonomy/config/schema/taxonomy.views.schema.yml b/core/modules/taxonomy/config/schema/taxonomy.views.schema.yml
index 3b46f3d..d64639e 100644
--- a/core/modules/taxonomy/config/schema/taxonomy.views.schema.yml
+++ b/core/modules/taxonomy/config/schema/taxonomy.views.schema.yml
@@ -148,29 +148,17 @@ views.filter.taxonomy_index_tid:
     error_message:
       type: boolean
       label: 'Display error message'
-
-views.filter.taxonomy_index_tid_depth:
-  type: views.filter.in_operator
-  label: 'Taxonomy term ID with depth'
-  mapping:
-    operator:
-      type: string
-      label: 'Operator'
     value:
       type: sequence
       label: 'Values'
       sequence:
-        - type: string
+        - type: integer
           label: 'Value'
-    vid:
-      type: string
-      label: 'Vocabulary'
-    type:
-      type: string
-      label: 'Selection type'
-    hierarchy:
-      type: boolean
-      label: 'Show hierarchy in dropdown'
+
+views.filter.taxonomy_index_tid_depth:
+  type: views.filter.taxonomy_index_tid
+  label: 'Taxonomy term ID with depth'
+  mapping:
     depth:
       type: integer
       label: 'Depth'
diff --git a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml
index 430f6f9..c8b3192 100644
--- a/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml
+++ b/core/modules/taxonomy/tests/modules/taxonomy_test_views/test_views/views.view.test_filter_taxonomy_index_tid.yml
@@ -136,7 +136,7 @@ display:
           admin_label: ''
           operator: or
           value:
-            - '2'
+            - 2
           group: 1
           exposed: false
           expose:
