diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index facd36ca97..78cbf554d3 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -35,12 +35,6 @@ ], "response": [] }, - "search_mvt": { - "request": [ - "Request: query parameter 'grid_agg' does not exist in the json spec" - ], - "response": [] - }, "searchable_snapshots.clear_cache": { "request": [ "Request: missing json spec query parameter 'index'" diff --git a/specification/_json_spec/search_mvt.json b/specification/_json_spec/search_mvt.json index 9dc7676d73..36a98c3fd3 100644 --- a/specification/_json_spec/search_mvt.json +++ b/specification/_json_spec/search_mvt.json @@ -62,6 +62,12 @@ "description": "Determines the geometry type for features in the aggs layer.", "default": "grid" }, + "grid_agg": { + "type": "enum", + "options": ["geotile", "geohex"], + "description": "Aggregation used to create a grid for `field`.", + "default": "geotile" + }, "size": { "type": "int", "description": "Maximum number of features to return in the hits layer. Accepts 0-10000.",