SchemaDescriptionRecord
PackageReified.Schema
Helpers for walking inspectable schema descriptions.
Fields
| Name | Type | Description |
|---|---|---|
| Shape | Shape | The structural shape of the value. |
| Format | Format | The declared boundary format, when one was attached with Schema.withFormat. |
| Constraints | Constraints | The constraint descriptions attached to this value schema layer, in declaration order. |
| Supply | Supply | The boundary supply declaration attached to this layer, when one was made. |
| Description | Description | The description metadata, when one was attached with Schema.describe. |
| Default | Default | The default-value metadata, when one was attached with Schema.withDefault. |
Specification
Kind
Record
Members
1
Examples
0
unwrapOptionalSignature
SchemaDescription.unwrapOptional description
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| unwrapOptional | SchemaDescription.unwrapOptional description | Returns the payload description when the supplied description is an optional value. |