Interface JsonSchema


public interface JsonSchema
JSON schema definition for a JSON value type.
Since:
5.2.251104
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Builder for a JsonSchema definition.
  • Method Summary

    Modifier and Type
    Method
    Description
    static @NotNull JsonSchema.Builder
    Creates a new builder for creating a JsonSchema definition.
    @NotNull Map<String,Object>
    JSON Schema descriptor for the type of object this parameter contains.
  • Method Details

    • builder

      @NotNull static @NotNull JsonSchema.Builder builder()
      Creates a new builder for creating a JsonSchema definition.
      Returns:
      The new builder instance.
      Since:
      5.2.251104
    • getProperties

      @NotNull @NotNull Map<String,Object> getProperties()
      JSON Schema descriptor for the type of object this parameter contains.
      Returns:
      The JSON schema descriptor.
      Since:
      5.2.251104