+ public static SchemaContext entityOwners() {
+ YangParserImpl parser = new YangParserImpl();
+ try {
+ File file = new File("src/main/yang/entity-owners.yang");
+ return parser.parseSources(Arrays.asList(Resources.asByteSource(file.toURI().toURL())));
+ } catch (IOException | YangSyntaxErrorException e) {
+ throw new ExceptionInInitializerError(e);
+ }