SchemaDefaultsType
PackageReified.Schema
Canonical value-schema resolution for a schema field. A type participates by exposing
static member Schema: T -> Schema<T>; Reified supplies that member for its supported built-in types.
When no member matches, define the field with a withSchema operation.
Specification
Kind
Type
Members
25
Examples
0
DistinctListWithSignature
SchemaDefaults.DistinctListWith(item)
ListWithSignature
SchemaDefaults.ListWith(item)
MapWithSignature
SchemaDefaults.MapWith(item)
NonEmptyArrayWithSignature
SchemaDefaults.NonEmptyArrayWith(item)
NonEmptyListWithSignature
SchemaDefaults.NonEmptyListWith(item)
Summary
| Name | Signature | Synopsis |
|---|---|---|
| DistinctListWith | SchemaDefaults.DistinctListWith(item) | Builds a duplicate-free list schema from an explicitly resolved item schema. |
| ListWith | SchemaDefaults.ListWith(item) | Builds a list schema from an explicitly resolved item schema. |
| MapWith | SchemaDefaults.MapWith(item) | Builds a string-keyed map schema from an explicitly resolved value schema. |
| NonEmptyArrayWith | SchemaDefaults.NonEmptyArrayWith(item) | Builds a non-empty array schema from an explicitly resolved item schema. |
| NonEmptyListWith | SchemaDefaults.NonEmptyListWith(item) | Builds a non-empty list schema from an explicitly resolved item schema. |
| OptionWith | SchemaDefaults.OptionWith(item) | Builds an omittable schema from an explicitly resolved item schema. |
| Resolve | SchemaDefaults.Resolve() | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
| Schema | SchemaDefaults.Schema(_) | No description available. |
Builds a duplicate-free list schema from an explicitly resolved item schema.
Parameters
| Name | Type | Description |
|---|---|---|
| item | Schema<'item> |
Returns
Schema<DistinctList<'item>>
Builds a list schema from an explicitly resolved item schema.
Parameters
| Name | Type | Description |
|---|---|---|
| item | Schema<'item> |
Returns
Schema<'item list>
Builds a string-keyed map schema from an explicitly resolved value schema.
Parameters
| Name | Type | Description |
|---|---|---|
| item | Schema<'item> |
Returns
Schema<Map<string, 'item>>
Builds a non-empty array schema from an explicitly resolved item schema.
Parameters
| Name | Type | Description |
|---|---|---|
| item | Schema<'item> |
Returns
Schema<NonEmptyArray<'item>>
Builds a non-empty list schema from an explicitly resolved item schema.
Parameters
| Name | Type | Description |
|---|---|---|
| item | Schema<'item> |
Returns
Schema<NonEmptyList<'item>>
Builds an omittable schema from an explicitly resolved item schema.
Parameters
| Name | Type | Description |
|---|---|---|
| item | Schema<'item> |
Returns
Schema<'item option>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | Map<string, ^item> |
Returns
Schema<Map<string, ^item>>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | ^item option |
Returns
Schema<^item option>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | DistinctList<^item> |
Returns
Schema<DistinctList<^item>>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | NonEmptyArray<^item> |
Returns
Schema<NonEmptyArray<^item>>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | NonEmptyList<^item> |
Returns
Schema<NonEmptyList<^item>>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | ^item list |
Returns
Schema<^item list>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | UnitInterval |
Returns
Schema<UnitInterval>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | FiniteFloat |
Returns
Schema<FiniteFloat>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | NonBlankString |
Returns
Schema<NonBlankString>
Parameters
| Name | Type | Description |
|---|---|---|
| _ | DateTimeOffset |
Returns
Schema<DateTimeOffset>