void () { @Language("JSON") final String schema = """ { "definitions": { "options": { "type": "array", "items": { "type": "number" } } }, "items": [ { "type": "boolean" }, { "type": "boolean" } ], "additionalItems": { "$ref": "#/definitions/options/items" } }"""; doTest(schema, "[true, true]"); doTest(schema, "[true, true, 1, 2, 3]"); doTest(schema, "[true, true, 1, <warning>\"2\"</warning>]"); }