Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

JsonSchemaFinding

OfficeIMO.Json

Namespace
OfficeIMO.Json
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

One reason a value does not match a schema, with where it is in the document and in the schema.

Inheritance

  • object
  • JsonSchemaFinding

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public override string ToString() #

Formats the finding as line:column path: message.

Returns

string

Properties

public string InstancePath { get; } #

Gets the JSON Pointer (RFC 6901) of the value in the document, such as /spec/replicas; the root is the empty string.

public string SchemaPath { get; } #

Gets the JSON Pointer of the failing keyword along the evaluation path, through any $ref followed, such as /properties/spec/$ref/required.

public string Keyword { get; } #

Gets the failing keyword, such as type or required.

public string Message { get; } #

Gets a sentence describing the problem.

public int Line { get; } #

Gets the one-based line of the value in the source, or 0 when the value has no position.

public int Column { get; } #

Gets the one-based column of the value in the source, or 0 when the value has no position.

public object? Source { get; } #

Gets the source node of the value, such as a YamlNode or TomlNode, or null.