yaml validation against pojo/bean
<p>I have a schema defined in yaml format. At application startup, I just need to verify that this schema has not been changed. So for that, in code I need to write a bean and validate that schema against that bean. Is this possible? It may sound strange because usually payloads are validated against schema, but I need to validate schema against a bean. Any JAVA based solution? </p>

<p>I was looking at <a href="https://github.com/FasterXML/jackson-module-jsonSchema" rel="nofollow noreferrer">Jackson-module-jsonSchema</a> but it generates Schema from a bean, not validate a bean against a schema AND its json not yaml. </p>

<p>P.S. I can convert yaml to json if need be (if an api is available to do this in json)</p>