Version: dev

schema_error (error)

Stable error · Validation

Tier: stable · Kind: error · Topic: Validation

JuliaTypeScriptPythonRustGo
not exportednot exportednot exportedSchemaErrorSchemaError

Julia

Julia does not export this error.

TypeScript

TypeScript does not export this error.

Python

Python does not export this error.

Rust

pub struct SchemaError {
    pub path: String,
    pub message: String,
    pub keyword: String,
}

A schema validation error

Source · Rust docs

Go

type SchemaError struct {
	Path    string `json:"path"`    // RFC 6901 JSON Pointer to the offending location (as reported by the schema validator)
	Message string `json:"message"` // Human-readable description
	Keyword string `json:"keyword"` // JSON Schema keyword that failed
}

SchemaError represents a JSON Schema violation

Source · Go docs