void () { @Language("YAML") String schema = "{\"properties\": {\"prop\": {\"type\": \"array\", \"contains\": {\"type\": \"number\"}}}}"; doTestYaml(schema, "prop:\n <warning>- a\n - true</warning>"); doTestYaml(schema, "prop:\n - a\n - true\n - 1"); }