void () { @Language("JSON") final String schema = "{\"definitions\": {\"address\": {\"type\": \"object\", \"properties\": {\"street\": {\"type\": \"string\"}," + "\"house\": {\"type\": \"integer\"}}}}," + "\"type\": \"object\", \"properties\": {" + "\"home\": {\"$ref\": \"#/definitions/address\"}, " + "\"office\": {\"$ref\": \"#/definitions/address\"}" + "}}"; doTest(schema, "{\"home\": {\"street\": \"Broadway\", \"house\": 11}}"); doTest(schema, """ {"home": {"street": "Broadway", "house": <warning descr="Incompatible types. Required: integer. Actual: string.">"unknown"</warning>},"office": {"street": <warning descr="Incompatible types. Required: string. Actual: integer.">5</warning>}}"""); }