# JsonSchemaFinding

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

Class 

`OfficeIMO.Json`

**Namespace**

`OfficeIMO.Json`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[JsonSchemaOptions.cs:125](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L125)

**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

- Property [JsonSchemaValidationResult.Findings](/api/core/officeimo-json-jsonschemavalidationresult/#property-findings)

Filter members 

Show inherited

## Methods

`public override string ToString()` [#](#method-tostring)

[JsonSchemaOptions.cs:125](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L125)

Formats the finding as line:column path: message.

Returns

`string`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

## Properties

`public string InstancePath { get; }` [#](#property-instancepath)

[JsonSchemaOptions.cs:103](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L103)

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; }` [#](#property-schemapath)

[JsonSchemaOptions.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L106)

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; }` [#](#property-keyword)

[JsonSchemaOptions.cs:109](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L109)

Gets the failing keyword, such as type or required.

`public string Message { get; }` [#](#property-message)

[JsonSchemaOptions.cs:112](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L112)

Gets a sentence describing the problem.

`public int Line { get; }` [#](#property-line)

[JsonSchemaOptions.cs:115](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L115)

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

`public int Column { get; }` [#](#property-column)

[JsonSchemaOptions.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L118)

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

`public object? Source { get; }` [#](#property-source)

[JsonSchemaOptions.cs:121](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Json/JsonSchemaOptions.cs#L121)

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

<!-- PowerForge markdown artifact sha256:74A1607B024E2A8246085E172818328D45037CEC69A69C8F3AA5F03C4A234167 -->
