void () { @Language("JSON") final String schema2 = schema(""" { "type": "array", "items": [{ "type": "number", "minimum": 18 }, {"type" : "string"}], "additionalItems": false}"""); doTest(schema2, "{\"prop\": [101, \"102\", <warning descr=\"Additional items are not allowed\">\"additional\"</warning>]}"); }