void () { @Language("JSON") String schema = """ { "myDefs": { "myArray": [ { "type": "number" }, { "type": "string" } ] }, "type": "array", "items": [ { "$ref": "#/myDefs/myArray/0" }, { "$ref": "#/myDefs/myArray/1" } ] }"""; doTest(schema, "[1, <warning>2</warning>]"); doTest(schema, "[<warning>\"1\"</warning>, <warning>2</warning>]"); doTest(schema, "[<warning>\"1\"</warning>, \"2\"]"); doTest(schema, "[1, \"2\"]"); }