void () { @Language("JSON") final String schema = schema("{\"type\": \"array\", \"minItems\": 2, \"maxItems\": 3}"); doTest(schema, "{\"prop\": <warning descr=\"Array is shorter than 2\">[]</warning>}"); doTest(schema, "{\"prop\": [1,2]}"); doTest(schema, "{\"prop\": <warning descr=\"Array is longer than 3\">[1,2,3,4]</warning>}"); }