<div dir="ltr">Per our meeting this afternoon, Don, JSON schema draft-07 "eats own dog food"<div><br></div><div><a href="https://github.com/everit-org/json-schema">https://github.com/everit-org/json-schema</a>  <br><div><br></div><div>Apache 2.0 licensed</div><div><br></div><div>Which validator tool did you use to validate 2019-19 against itself?   That's why I've stuck with draft-07, no tool support.  That is, a JSON schema file can't validate itself without necessary code.</div><div>I've been a happy customer of draft-07.  Maybe we can spend some time with this repository so you achieve more happiness with with Java/JSON schema.</div><div><br></div><div>Also, if you're friendly with JavaScript:</div><div><br></div><div><a href="https://github.com/hyperjump-io/json-schema-validator">https://github.com/hyperjump-io/json-schema-validator</a> </div><div> <br></div><div>I'm sticking with Ajv for now, unless the standardization produces something.  I've got schema generators for all X3D versions.</div><div><br></div><div>Dog food test below (`maven clean package` first):</div><div><br></div><div>Classpath:</div><div><br></div><div>CLASSPATH=.;C:/Users/coderextreme/.m2/repository/com/google/re2j/re2j/1.1/re2j-1.1.jar;C:/Users/coderextreme/.m2/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar;C:/Users/coderextreme/.m2/repository/org/json/json/20180130/json-20180130.jar;C:/Users/coderextreme/.m2/repository/com/damnhandy/handy-uri-templates/2.1.6/handy-uri-templates-2.1.6.jar;json-schema/core/target/org.everit.json.schema-1.10.0.jar<br></div><div><br></div><div><br></div><div>Meta schema test code:</div><div><br></div><div>/*<br> * Copyright (C) 2011 Everit Kft. (<a href="http://www.everit.org">http://www.everit.org</a>)<br> *<br> * Licensed under the Apache License, Version 2.0 (the "License");<br> * you may not use this file except in compliance with the License.<br> * You may obtain a copy of the License at<br> *<br> *         <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a><br> *<br> * Unless required by applicable law or agreed to in writing, software<br> * distributed under the License is distributed on an "AS IS" BASIS,<br> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br> * See the License for the specific language governing permissions and<br> * limitations under the License.<br> */<br><br>import org.everit.json.schema.loader.SchemaLoader;<br>import org.everit.json.schema.Schema;<br>import org.json.JSONObject;<br>import org.json.JSONTokener;<br><br>public class MetaSchemaTest {<br>  public static void main(String args[]) {<br><br>    JSONObject jsonSchema = new JSONObject(new JSONTokener(<br>        MetaSchemaTest.class<br>            .getResourceAsStream("json-schema-draft-07.json")));<br><br>    JSONObject jsonSubject = new JSONObject(new JSONTokener(<br>        MetaSchemaTest.class<br>            .getResourceAsStream("json-schema-draft-07.json")));<br>         Schema schema = SchemaLoader.load(jsonSchema);<br>    schema.validate(jsonSubject);<br>  }<br><br>}</div><div><br></div><div>John</div></div></div>