Show / Hide Table of Contents

Class IdKeywordDraft04

Defines the id JSON Schema keyword for draft-04.

Inheritance
System.Object
IdKeyword
IdKeywordDraft04
Implements
IJsonSchemaKeyword
IJsonSerializable
System.IEquatable<IJsonSchemaKeyword>
System.IEquatable<IdKeyword>
System.IEquatable<IdKeywordDraft04>
Inherited Members
IdKeyword.ValidationSequence
IdKeyword.Value
IdKeyword.Validate(SchemaValidationContext)
IdKeyword.RegisterSubschemas(SchemaValidationContext)
IdKeyword.ResolveSubschema(JsonPointer, Uri, JsonSchemaVersion)
IdKeyword.FromJson(JsonValue, JsonSerializer)
IdKeyword.ToJson(JsonSerializer)
IdKeyword.Equals(Nullable<IdKeyword>)
IdKeyword.Equals(Nullable<IJsonSchemaKeyword>)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Manatee.Json.Schema
Assembly: Manatee.Json.dll
Syntax
public class IdKeywordDraft04 : IdKeyword, IJsonSchemaKeyword, IJsonSerializable, IEquatable<IJsonSchemaKeyword>, IEquatable<IdKeyword>, IEquatable<IdKeywordDraft04>

Constructors

| Improve this Doc View Source

IdKeywordDraft04()

Used for deserialization.

Declaration
public IdKeywordDraft04()
| Improve this Doc View Source

IdKeywordDraft04(String)

Creates an instance of the IdKeywordDraft04.

Declaration
public IdKeywordDraft04(string value)
Parameters
Type Name Description
System.String value

Properties

| Improve this Doc View Source

Name

Gets the name of the keyword.

Declaration
public override string Name { get; }
Property Value
Type Description
System.String
Overrides
IdKeyword.Name
| Improve this Doc View Source

SupportedVersions

Gets the versions (drafts) of JSON Schema which support this keyword.

Declaration
public override JsonSchemaVersion SupportedVersions { get; }
Property Value
Type Description
JsonSchemaVersion
Overrides
IdKeyword.SupportedVersions
| Improve this Doc View Source

Vocabulary

Gets the vocabulary that defines this keyword.

Declaration
public override SchemaVocabulary Vocabulary { get; }
Property Value
Type Description
SchemaVocabulary
Overrides
IdKeyword.Vocabulary

Methods

| Improve this Doc View Source

Equals(Nullable<IdKeywordDraft04>)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(IdKeywordDraft04? other)
Parameters
Type Name Description
System.Nullable<IdKeywordDraft04> other

An object to compare with this object.

Returns
Type Description
System.Boolean

true if the current object is equal to the other parameter; otherwise, false.

| Improve this Doc View Source

Equals(Nullable<Object>)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj

The object to compare with the current object.

Returns
Type Description
System.Boolean

true if the specified object is equal to the current object; otherwise, false.

Overrides
IdKeyword.Equals(Nullable<Object>)
| Improve this Doc View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for the current object.

Overrides
IdKeyword.GetHashCode()

Implements

IJsonSchemaKeyword
IJsonSerializable
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX