void () { @Language("JSON") String schema = """ { "additionalProperties": { "oneOf": [ { "type": "string", "x-intellij-language-injection": "XML" }, { "type": "array", "items": { "type": "string", "x-intellij-language-injection": "XML" } } ] } }"""; doTest(schema, """ { "foo": "<caret><a/>", "bar": ["<a/>"] }""", true); doTest(schema, """ { "foo": "<a/>", "bar": ["<caret><a/>"] }""", true); }