void () { @Language("JSON") final String schema = schema(""" { "type": "array", "items": [{ "type": "number", "minimum": 18 }, {"type" : "string"}] }"""); doTest(schema, "{\"prop\": [101, <warning descr=\"Incompatible types.\n Required: string. Actual: integer.\">102</warning>]}"); doTest(schema, "{\"prop\": [101, \"102\"]}"); doTest(schema, "{\"prop\": [101, \"102\", \"additional\"]}"); }