This is how it's specified in the Elasticsearch specification, and avoids a false positive during validation.
@@ -82,7 +82,7 @@ setup:
field: location
sort:
field: "@timestamp"
- sort_order: ASC
+ sort_order: asc
- match: { hits.total: 10 }
- length: { aggregations.by_time_series.buckets: 3 }
- match:
@@ -135,7 +135,7 @@ setup:
- sort_order: DESC
+ sort_order: desc