Project

EarthSciAST

The EarthSciML Abstract Syntax Tree format: schema, operators, coupling, and five language bindings.

Contents

This is the documentation for the development version. For the latest release, see v0.17.0.

validation_warning

Stable type · Other

Tier: stable · Kind: type · Topic: Other

JuliaTypeScriptPythonRustGo
ValidationWarningValidationWarningValidationWarningValidationWarningValidationWarning

Julia

struct ValidationWarning
ValidationWarning(code::String, path::String, message::String)
ValidationWarning(code, path, message)
ValidationWarning

An advisory validation finding that is not about units: a stable diagnostic code, the JSON path it concerns and a message. It never changes is_valid.

Source

TypeScript

interface ValidationWarning {
    code: string;
    path: string;
    message: string;
}

An advisory validation finding that is not about units. It never changes is_valid.

Properties

  • code — Stable diagnostic code.
  • path — JSON pointer to the finding.

Source

Python

class ValidationWarning
ValidationWarning(code: str, path: str, message: str)

An advisory validation finding that is not about units: a stable diagnostic code, the JSON path it concerns and a message. It never changes is_valid.

Source

Rust

pub struct ValidationWarning {
    pub code: String,
    pub path: String,
    pub message: String,
}

An advisory validation finding.

Source · Rust docs

Go

type ValidationWarning struct {
	Code    string `json:"code"`    // Stable diagnostic code
	Path    string `json:"path"`    // RFC 6901 JSON Pointer to the finding
	Message string `json:"message"` // Human-readable description
}

ValidationWarning is an advisory validation finding that is not about units. It never changes IsValid.

Source · Go docs