Interface SchemaNode
- All Known Implementing Classes:
SchemaNode.DispatchSchema, SchemaNode.EitherSchema, SchemaNode.EnumSchema, SchemaNode.ListSchema, SchemaNode.MapSchema, SchemaNode.OneOfSchema, SchemaNode.OptionalSchema, SchemaNode.PrimitiveSchema, SchemaNode.RecordSchema, SchemaNode.TupleSchema, SchemaNode.UnknownSchema
public interface SchemaNode
Represents a node within a generated schema model.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordRepresents a polymorphic schema selected by a discriminator field.static final recordRepresents a schema that may be one of two types.static final recordRepresents an enumeration schema.static final recordDescribes a field within a record schema.static final recordRepresents a list schema.static final recordRepresents a map schema.static final recordRepresents a schema that may match one of several alternatives.static final recordRepresents an optional schema value.static final recordRepresents a primitive schema type.static final recordRepresents a structured record schema.static final recordRepresents a fixed ordered sequence of schema elements.static final recordRepresents a schema whose structure cannot be determined. -
Method Summary
Modifier and TypeMethodDescription<T> Tto(DynamicOps<T> ops) Converts this schema node into a standardized serialized representation using the provided dynamic operations.
-
Method Details
-
to
Converts this schema node into a standardized serialized representation using the provided dynamic operations.- Type Parameters:
T- the target output type- Parameters:
ops- the serialization operations provider- Returns:
- the structured representation of this schema
-