diff --git a/zulia-testing/src/main/resources/zulia_testing_schema-1.0.json b/zulia-testing/src/main/resources/zulia_testing_schema-1.1.json similarity index 96% rename from zulia-testing/src/main/resources/zulia_testing_schema-1.0.json rename to zulia-testing/src/main/resources/zulia_testing_schema-1.1.json index 6a5428b4..65db487c 100644 --- a/zulia-testing/src/main/resources/zulia_testing_schema-1.0.json +++ b/zulia-testing/src/main/resources/zulia_testing_schema-1.1.json @@ -186,13 +186,21 @@ "type": "string" }, "queryType": { - "type": "string" + "enum": [ + "FILTER", + "FILTER_NOT", + "SCORE_MUST", + "SCORE_SHOULD" + ] }, "qf": { "type": "array", "items": { "type": "string" } + }, + "mm": { + "type": "number" } }, "required": [ diff --git a/zulia-testing/src/test/resources/sample_testing.yaml b/zulia-testing/src/test/resources/sample_testing.yaml index fab7f151..224f9b2f 100644 --- a/zulia-testing/src/test/resources/sample_testing.yaml +++ b/zulia-testing/src/test/resources/sample_testing.yaml @@ -1,4 +1,4 @@ -# yaml-language-server: $schema=https://maven.zulia.io/schema/zulia_testing_schema-1.0.json +# yaml-language-server: $schema=https://maven.zulia.io/schema/zulia_testing_schema-1.1.json logSearches: true logSearchResults: true connections: