Uses of Class
cloud.opencode.base.yml.schema.YmlSchema.Builder
Packages that use YmlSchema.Builder
-
Uses of YmlSchema.Builder in cloud.opencode.base.yml.schema
Methods in cloud.opencode.base.yml.schema that return YmlSchema.BuilderModifier and TypeMethodDescriptionstatic YmlSchema.BuilderYmlSchema.builder()Creates a new schema builder.Adds a nested schema for validating a sub-document at the given path.Adds a regex pattern constraint for string values at the given path.YmlSchema.Builder.range(String path, Comparable<?> min, Comparable<?> max) Adds a range constraint for Comparable values at the given path.Adds required keys at the root level.Adds a custom validation rule at the given path.Adds a type constraint: the value at the given path must be assignable to the expected type.