void () { @Language("JSON") final String schema = schema("{\"type\": \"object\", \"properties\": {\"a\": {}, \"b\": {}}, \"required\": [\"a\"]}"); doTest(schema, "{\"prop\": {\"a\": 11}}"); doTest(schema, "{\"prop\": {\"a\": 1, \"b\": true}}"); doTest(schema, "{\"prop\": <warning descr=\"Missing required property 'a'\">{\"b\": \"alarm\"}</warning>}"); }