@Test
    void testStructOutsideDocumentLegal() throws IOException, ParseException {
        new ApplicationBuilder().addSchemaFile("src/test/examples/structoutsideofdocument.sd");
    }
Declaring a struct before a document should work
config-model/src/test/java/com/yahoo/schema/StructTestCase.java