Uses of Class
io.github.glaforge.gemini.schema.ObjectSchema
Packages that use ObjectSchema
-
Uses of ObjectSchema in io.github.glaforge.gemini.schema
Methods in io.github.glaforge.gemini.schema that return ObjectSchemaModifier and TypeMethodDescriptionObjectSchema.addProps(boolean allowed) Allow or disallow additional properties.Define the schema for additional properties.Add an array property.Add an array property with specified item schema.Add a boolean property.Add an integer property.Add an integer property with min and max constraints.Add an integer property with allowed enum values.Add a number property.Add a number property with min and max constraints.Add a number property with allowed enum values.static ObjectSchemaGSchema.obj()Creates a new object schema.Add an object property.Add a property to this object schema.Specify required properties.Helper to add a required property in one go.Add a string property.ObjectSchema.str(String name, StringSchema.Format format) Add a string property with a specific format.Add a string property with allowed enum values.