type
ValidationIssue
One invalid input path.
Properties
| Property | Type | Description |
|---|---|---|
Code | string | The Code value. |
Path | string | The Path value. |
Message | string | The Message value. |
Target | string | Target is an opaque schema/stable-occurrence correlation token for structured field issues. |
FieldID | schema.StableID | The FieldID value. |
CollectionID | schema.StableID | The CollectionID value. |
GlobalID | schema.StableID | The GlobalID value. |
Locale | schema.LocaleCode | The Locale value. |
Full signature
type ValidationIssue struct {
Code string `json:"code"`
Path string `json:"path"`
Message string `json:"message"`
// Target is an opaque schema/stable-occurrence correlation token for structured field issues.
Target string `json:"target,omitempty"`
FieldID schema.StableID `json:"fieldId,omitempty"`
CollectionID schema.StableID `json:"collectionId,omitempty"`
GlobalID schema.StableID `json:"globalId,omitempty"`
Locale schema.LocaleCode `json:"locale,omitempty"`
}