Namespace: Json.Schema
Inheritance: UnknownFormat
🡒 Format
🡒 object
Represents an unknown format.
Properties
Name | Type | Summary |
---|---|---|
Key | string | The format key. |
Constructors
UnknownFormat(string key)
Creates a new Json.Schema.UnknownFormat instance.
Declaration
1
public UnknownFormat(string key)
Parameter | Type | Description |
---|---|---|
key | string | The key. |
Methods
Validate(JsonNode node, out string errorMessage)
Validates an instance against a format and provides an error message.
Declaration
1
public override bool Validate(JsonNode node, out string errorMessage)
Parameter | Type | Description |
---|---|---|
node | JsonNode | The node to validate. |
errorMessage | out string | An error message. |
Returns
true
. Override to return another value.