Home JsonNodeBaseDocument Class
JsonNodeBaseDocument Class
Cancel

JsonNodeBaseDocument Class

Namespace: Json.Schema

Inheritance: JsonNodeBaseDocument 🡒 object

Implemented interfaces:

  • IBaseDocument

Provides a general Json.Schema.IBaseDocument implementation for a System.Text.Json.Nodes.JsonNode.

Properties

NameTypeSummary
BaseUriUriGets the base URI that applies to this schema. This may be defined by a parent schema.

Constructors

JsonNodeBaseDocument(JsonNode node, Uri baseUri)

Creates a new Json.Schema.JsonNodeBaseDocument.

Declaration

1
public JsonNodeBaseDocument(JsonNode node, Uri baseUri)
ParameterTypeDescription
nodeJsonNodeThe JsonNode.
baseUriUriThe identifying base URI.

Methods

FindSubschema(JsonPointer pointer, EvaluationOptions options)

Finds a schema within the document.

Declaration

1
public JsonSchema FindSubschema(JsonPointer pointer, EvaluationOptions options)
ParameterTypeDescription
pointerJsonPointerA JSON Pointer to the location of the schema within the document.
optionsEvaluationOptionsEvaluation options. This is needed for internal processing.

Returns

A JSON Schema, if found.

Contents