Table of Contents

Class JsonSchemaCompatibilityChecker

Namespace
AnyProtocol
Assembly
AnyProtocol.dll

Applies conservative object-property compatibility rules to JSON Schema documents.

public sealed class JsonSchemaCompatibilityChecker : IMessageSchemaCompatibilityChecker
Inheritance
JsonSchemaCompatibilityChecker
Implements
Inherited Members

Constructors

JsonSchemaCompatibilityChecker()

public JsonSchemaCompatibilityChecker()

Properties

Format

Gets the case-insensitive format name handled by this checker.

public string Format { get; }

Property Value

string

Methods

Check(string, string, SchemaCompatibilityMode)

Checks a candidate definition against the current schema.

public SchemaCompatibilityResult Check(string currentDefinition, string candidateDefinition, SchemaCompatibilityMode mode)

Parameters

currentDefinition string
candidateDefinition string
mode SchemaCompatibilityMode

Returns

SchemaCompatibilityResult