Merge · Schema

ValidationError

Single field-level validation error. `loc` is the JSON path to the offending field, `msg` is a human-readable explanation, and `type` is a stable machine-readable error code.

IntegrationsPlatformUnified APIAgent HandlerLLM Gateway

Properties

Name Type Description
loc array
msg string
type string
input object Any type
ctx object
View JSON Schema on GitHub

JSON Schema

merge-validationerror-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ValidationError",
  "title": "ValidationError",
  "type": "object",
  "properties": {
    "loc": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ValidationErrorLocItems"
      }
    },
    "msg": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "input": {
      "description": "Any type"
    },
    "ctx": {
      "$ref": "#/components/schemas/ValidationErrorCtx"
    }
  },
  "required": [
    "loc",
    "msg",
    "type"
  ],
  "description": "Single field-level validation error. `loc` is the JSON path to the offending field, `msg` is a human-readable explanation, and `type` is a stable machine-readable error code."
}