Interface Type

All Known Implementing Classes:
Type.Any, Type.Ref, Type.Scalar

public sealed interface Type permits Type.Scalar, Type.Ref, Type.Any
The three field-type forms an OSD schema field can declare (omnist-spec §5.3, §3.3): a scalar kind, a reference to another record, or the open any type.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    The open any type: accepts any value unchecked (omnist-spec §5.3.3).
    static final record 
    A field typed as a reference to another record in the same schema (omnist-spec §5.3.2).
    static final record 
    A field typed as one of the seven scalar kinds, optionally nullable.