Show / Hide Table of Contents

Interface IFormatValidator

Defines properties and methods for format keyword validation.

Namespace: Manatee.Json.Schema
Assembly: Manatee.Json.dll
Syntax
public interface IFormatValidator

Properties

| Improve this Doc View Source

Format

Gets the format this validator handles.

Declaration
string Format { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SupportedBy

Gets the JSON Schema draft versions supported by this format.

Declaration
JsonSchemaVersion SupportedBy { get; }
Property Value
Type Description
JsonSchemaVersion

Methods

| Improve this Doc View Source

Validate(JsonValue)

Validates a value.

Declaration
bool Validate(JsonValue value)
Parameters
Type Name Description
JsonValue value

The value to validate.

Returns
Type Description
System.Boolean

True if value matches the format; otherwise false.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX