@Test
public void patternPropertyOverridesAdditionalPropSchema() {

    ObjectSchema.builder()
            .schemaOfAdditionalProperties(new NumberSchema())
            .patternProperty("aa.*", BooleanSchema.INSTANCE)
            .build().validate(OBJECTS.get("patternPropertyOverridesAdditionalPropSchema"));
}