IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.convertOneOfToAnyOf() |
Adds a transformation that converts all "oneOf" keywords to "anyOf" keywords, keeping the same subschemas.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.forbidAdditionalProperties() |
Adds a transformation step that forbids additional properties in all objects, i.e. sets "additionalProperties" to
false in all applicable schemas.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.forbidOptionalProperties(ForbidOptionalPropertiesMode mode) |
Adds a transformation step that makes all properties required.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.keepFormats(Iterable<?> formats) |
Adds a transformation that keeps only the given supported formats for the "format" keyword.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.keepKeywords(Iterable<?> keywords) |
Adds a transformation step that keeps only the given keywords in all objects in the schema, removing all other
keywords.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.keepKnownKeywords(Iterable<?> keywords) |
Adds a transformation that keeps only the given keywords in all objects in the schema, removing all other
keywords.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMaxContainsToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "maxContains" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMaxItemsToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "maxItems" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMaxLengthToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "maxLength" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMaxPropertiesToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "maxProperties" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMinContainsToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "minContains" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMinItemsToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "minItems" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMinLengthToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "minLength" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.limitMinPropertiesToRange(com.google.common.collect.Range<Integer> range) |
Limit the value of "minProperties" keywords to the given range.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.moveConstIntoEnum() |
Adds a transformation step that moves the "const" keyword into an "enum" keyword with a single value; and removes
the "const" keyword.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.moveExamplesIntoDescription() |
Adds a transformation step that moves the "examples" keyword into the "description" keyword, appending the
examples to the description.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.prettyPrint(int indent) |
Sets whether to pretty-print the output JSON schema, and if so, with how many spaces to indent.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.removeFormats(Iterable<?> formats) |
Adds a transformation that removes "format" keyword if its value is one of the given formats.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.removeKeywords(Iterable<?> keywords) |
Adds a transformation that removes the given keywords from all objects in the schema.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.removeRequiredWithoutDefinition() |
Removes from the "required" array all property names that do not exist in the "properties" object are not matched
by a "patternProperties".
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.removeUnknownKeywords() |
Adds a transformation that removes all unknown keywords from all objects in the schema, i.e. keywords other than
those defined by the JSON schema specification.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.removeUnneededTypeConstraints() |
Adds a transformation that removes type-related constraints that cannot apply to the schema's type.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.requireRootObject(String rootPropertyName) |
Adds a transformation that requires the root schema to be an object schema that allows only objects, i.e.
|
IJsonSchemaTransformerBuilder |
IPromptJsonSchemaService.transformJsonSchema() |
Gets a builder for transforming JSON schemas.
|
IJsonSchemaTransformerBuilder |
IJsonSchemaTransformerBuilder.upgradeToSchemaVersion(EJsonSchemaVersion targetVersion) |
Adds a transformation that upgrades the schema to the given target version, applying necessary transformations as
needed.
|