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 SourceFormat
Gets the format this validator handles.
Declaration
string Format { get; }
Property Value
Type | Description |
---|---|
System.String |
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 SourceValidate(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 |