Uses of Class
org.apache.juneau.bean.jsonschema.JsonSchema
Packages that use JsonSchema
Package
Description
JSON Schema Data Transfer Objects
Juneau
@Marshalled types for the Model Context Protocol (MCP) wire format.-
Uses of JsonSchema in org.apache.juneau.bean.jsonschema
Classes in org.apache.juneau.bean.jsonschema with type parameters of type JsonSchemaModifier and TypeClassDescriptionclassJsonSchema<SELF extends JsonSchema<SELF>>Represents a top-level schema object bean in the JSON-Schema core specification.Subclasses of JsonSchema in org.apache.juneau.bean.jsonschemaModifier and TypeClassDescriptionclassJsonSchemaProperty<SELF extends JsonSchemaProperty<SELF>>Represents a JSON property in the JSON-Schema core specification.classConvenience class for representing a property that's an array of simple types.classConvenience class for representing a schema reference such as"{'$ref':'/url/to/ref'}" .Methods in org.apache.juneau.bean.jsonschema that return JsonSchemaModifier and TypeMethodDescriptionJsonSchema<?>Generates a schema bean from a Java class.JsonSchema<?>Generates a schema bean from an object.JsonSchema<?>Generates a schema bean from a Java type.JsonSchema<?>Return theJsonSchemaobject at the specified URI.JsonSchema<?>JsonSchema.getAdditionalPropertiesAsSchema()Bean property getter:additionalProperties .JsonSchema<?>JsonSchema.getElse()Bean property getter:else .JsonSchema<?>JsonSchema.getIf()Bean property getter:if .JsonSchema<?>JsonSchema.getItemsAsSchema()Bean property getter:items .JsonSchema<?>JsonSchema.getNot()Bean property getter:not .JsonSchema<?>JsonSchema.getProperty(String name) Returns the property with the specified name.JsonSchema<?>JsonSchema.getProperty(String name, boolean resolve) Returns the property with the specified name.JsonSchema<?>JsonSchemaValidator.getSchema()Returns the schema this validator was built from.JsonSchema<?>JsonSchema.getThen()Bean property getter:then .JsonSchema<?>JsonSchema.getUnevaluatedItems()Bean property getter:unevaluatedItems .JsonSchema<?>JsonSchema.getUnevaluatedProperties()Bean property getter:unevaluatedProperties .JsonSchema<?>Subclasses must implement either this method orJsonSchemaMap.getReader(URI)to load the schema with the specified URI.static JsonSchema<?>Generates aJsonSchemabean from the specified class usingJsonSchemaBeanGenerator.DEFAULT.static JsonSchema<?>Generates aJsonSchemabean from the specified type usingJsonSchemaBeanGenerator.DEFAULT.JsonSchema<?>JsonSchema.resolve()Resolve schema if reference.static JsonSchema<?>Converts a generated schema map into a typed bean.Methods in org.apache.juneau.bean.jsonschema that return types with arguments of type JsonSchemaModifier and TypeMethodDescriptionList<JsonSchema<?>>JsonSchema.getAdditionalItemsAsSchemaArray()Bean property getter:additionalItems .List<JsonSchema<?>>JsonSchema.getAllOf()Bean property getter:allOf .List<JsonSchema<?>>JsonSchema.getAnyOf()Bean property getter:anyOf .Map<String,JsonSchema<?>> JsonSchema.getDefinitions()Bean property getter:definitions .Map<String,JsonSchema<?>> JsonSchema.getDefs()Bean property getter:$defs .Map<String,JsonSchema<?>> JsonSchema.getDependencies()Bean property getter:dependencies .Map<String,JsonSchema<?>> JsonSchema.getDependentSchemas()Bean property getter:dependentSchemas .List<JsonSchema<?>>JsonSchema.getOneOf()Bean property getter:oneOf .Map<String,JsonSchema<?>> JsonSchema.getPatternProperties()Bean property getter:patternProperties .Map<String,JsonSchema<?>> JsonSchema.getProperties()Bean property getter:properties .Methods in org.apache.juneau.bean.jsonschema with parameters of type JsonSchemaModifier and TypeMethodDescriptionJsonSchemaMap.add(JsonSchema<?>... schemas) Convenience method for pre-populating this map with the specified schemas.JsonSchema.addAdditionalItems(JsonSchema<?>... value) Bean property appender:additionalItems .JsonSchemaArray.addAll(JsonSchema<?>... value) Convenience method for adding one or moreJsonSchemaobjects to this array.JsonSchema.addAllOf(JsonSchema<?>... value) Bean property appender:allOf .JsonSchema.addAnyOf(JsonSchema<?>... value) Bean property appender:anyOf .JsonSchema.addDef(String name, JsonSchema<?> value) Bean property appender:$defs .JsonSchema.addDefinition(String name, JsonSchema<?> value) Bean property appender:definitions .JsonSchema.addDependency(String name, JsonSchema<?> value) Bean property appender:dependencies .JsonSchema.addDependentSchema(String name, JsonSchema<?> value) Bean property appender:dependentSchemas .JsonSchema.addItems(JsonSchema<?>... value) Bean property appender:items .JsonSchema.addOneOf(JsonSchema<?>... value) Bean property appender:oneOf .JsonSchema.addPatternProperty(String name, JsonSchema<?> value) Bean property appender:patternProperties .JsonSchema.addPrefixItems(JsonSchema<?>... value) Bean property appender:prefixItems .JsonSchema.addProperties(JsonSchema<?>... value) Bean property appender:properties .JsonSchema.addProperty(String name, JsonSchema<?> value) Bean property appender:properties .static JsonSchemaValidatorJsonSchemaValidator.of(JsonSchema<?> schema) Builds a validator from aJsonSchemabean.JsonSchema.setAllOf(JsonSchema<?>... value) Bean property setter:allOf .JsonSchema.setAnyOf(JsonSchema<?>... value) Bean property setter:anyOf .JsonSchema.setElse(JsonSchema<?> value) Bean property setter:else .JsonSchema.setIf(JsonSchema<?> value) Bean property setter:if .protected voidJsonSchema.setMaster(JsonSchema<?> master) Sets the master schema for this schema and all child schema objects.JsonSchema.setNot(JsonSchema<?> value) Bean property setter:not .JsonSchema.setOneOf(JsonSchema<?>... value) Bean property setter:oneOf .JsonSchema.setThen(JsonSchema<?> value) Bean property setter:then .JsonSchema.setUnevaluatedItems(JsonSchema<?> value) Bean property setter:unevaluatedItems .JsonSchema.setUnevaluatedProperties(JsonSchema<?> value) Bean property setter:unevaluatedProperties .Method parameters in org.apache.juneau.bean.jsonschema with type arguments of type JsonSchemaModifier and TypeMethodDescriptionJsonSchema.addAllOf(Collection<JsonSchema<?>> value) Bean property appender:allOf .JsonSchema.addAnyOf(Collection<JsonSchema<?>> value) Bean property appender:anyOf .JsonSchema.addOneOf(Collection<JsonSchema<?>> value) Bean property appender:oneOf .JsonSchema.setAllOf(List<JsonSchema<?>> value) Bean property setter:allOf .JsonSchema.setAnyOf(List<JsonSchema<?>> value) Bean property setter:anyOf .JsonSchema.setDefinitions(Map<String, JsonSchema<?>> value) Bean property setter:definitions .JsonSchema.setDefs(Map<String, JsonSchema<?>> value) Bean property setter:$defs .JsonSchema.setDependencies(Map<String, JsonSchema<?>> value) Bean property setter:dependencies .JsonSchema.setDependentSchemas(Map<String, JsonSchema<?>> value) Bean property setter:dependentSchemas .JsonSchema.setOneOf(List<JsonSchema<?>> value) Bean property setter:oneOf .JsonSchema.setPatternProperties(Map<String, JsonSchema<?>> value) Bean property setter:patternProperties .JsonSchema.setProperties(Map<String, JsonSchema<?>> value) Bean property setter:properties .Constructors in org.apache.juneau.bean.jsonschema with parameters of type JsonSchemaModifierConstructorDescriptionJsonSchemaArray(JsonSchema<?>... value) Constructor with predefined types to add to this list. -
Uses of JsonSchema in org.apache.juneau.bean.mcp.v20260728
Methods in org.apache.juneau.bean.mcp.v20260728 that return JsonSchemaModifier and TypeMethodDescriptionJsonSchema<?>Tool.getInputSchema()Draft-2020-12 JSON Schema for tool arguments.JsonSchema<?>Tool.getOutputSchema()Draft-2020-12 JSON Schema for structured tool output.Methods in org.apache.juneau.bean.mcp.v20260728 with parameters of type JsonSchemaModifier and TypeMethodDescriptionTool.setInputSchema(JsonSchema<?> value) Sets the input schema.Tool.setOutputSchema(JsonSchema<?> value) Sets the output schema.