SchemaDefinition Type
The structural schema shapes understood by the compiler backends.
Union cases
| Union case |
Description
|
|
|
|
|
|
|
|
|
Full Usage:
InlineUnion(discriminatorName, SchemaTaggedCase[])
Parameters:
string
Item2 : SchemaTaggedCase[]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
RawJsonValue
|
|
Full Usage:
Record(Type, SchemaField[], obj[] -> obj)
Parameters:
Type
Item2 : SchemaField[]
Item3 : obj[] -> obj
|
|
Full Usage:
StringEnum(names, tryGetName, parseName)
Parameters:
string[]
tryGetName : obj -> string option
parseName : string -> obj
|
|
Full Usage:
Union(discriminatorName, valueName, SchemaTaggedCase[])
Parameters:
string
valueName : string
Item3 : SchemaTaggedCase[]
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsArray
Returns: bool
|
|
Full Usage:
this.IsDelay
Returns: bool
|
|
Full Usage:
this.IsEmptyCollectionAsValue
Returns: bool
|
|
Full Usage:
this.IsEmptyStringAsNone
Returns: bool
|
|
Full Usage:
this.IsInlineUnion
Returns: bool
|
|
Full Usage:
this.IsList
Returns: bool
|
|
Full Usage:
this.IsMap
Returns: bool
|
|
Full Usage:
this.IsMissingAsNone
Returns: bool
|
|
Full Usage:
this.IsMissingAsValue
Returns: bool
|
|
Full Usage:
this.IsNullAsValue
Returns: bool
|
|
Full Usage:
this.IsOption
Returns: bool
|
|
Full Usage:
this.IsPrimitive
Returns: bool
|
|
Full Usage:
this.IsRawJsonValue
Returns: bool
|
|
Full Usage:
this.IsRecord
Returns: bool
|
|
Full Usage:
this.IsStringEnum
Returns: bool
|
|
Full Usage:
this.IsUnion
Returns: bool
|
|
CodecMapper