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