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