@Test
public void canRemoveSettings() {

    Schema.Builder builder = Schema.builder();
    Set<String> values = SetUtils.of(
            "const",
            "default",
            "enum",
            "multipleOf",
            "maximum",
            "exclusiveMaximum",
            "minimum",
            "exclusiveMinimum",
            "maxLength",
            "minLength",
            "pattern",
            "items",
            "maxItems",
            "minItems",
            "uniqueItems",
            "properties",
            "additionalProperties",
            "required",
            "maxProperties",
            "minProperties",
            "propertyNames",
            "allOf",
            "anyOf",
            "oneOf",
            "not",
            "title",
            "description",
            "format",
            "readOnly",
            "writeOnly",
            "comment",
            "contentEncoding",
            "contentMediaType",
            "examples"
    );
    for (String value : values) {
        builder.disableProperty(value);
    }
    builder.build();
}