SchemaPathType
PackageReified.Schema
Functions for building and formatting schema error paths.
Specification
Kind
Type
Members
6
Examples
0
rootSignature
SchemaPath.root
keySignature
SchemaPath.key value
indexSignature
SchemaPath.index value
appendSignature
SchemaPath.append parent child
formatSignature
SchemaPath.format path
Summary
| Name | Signature | Synopsis |
|---|---|---|
| Operations | ||
| root | SchemaPath.root | The root of a schema value. |
| key | SchemaPath.key value | A string field or map-key location. |
| index | SchemaPath.index value | A zero-based collection-item location. |
| append | SchemaPath.append parent child | Appends a relative path to a parent path. |
| format | SchemaPath.format path | Formats a path with dot-separated keys and bracketed indexes. |
| fold | SchemaPath.fold keyFolder indexFolder state path | Folds over string keys and integer indexes without exposing a path-segment type. |