Class PropertiesKeyword
Defines the properties
JSON Schema keyword.
Inheritance
System.Object
System.Collections.Generic.Dictionary<
System.String,
JsonSchema>
PropertiesKeyword
Implements
System.Collections.Generic.IDictionary<
System.String,
JsonSchema>
System.Collections.Generic.ICollection<
System.Collections.Generic.KeyValuePair<
System.String,
JsonSchema>>
System.Collections.Generic.IReadOnlyDictionary<
System.String,
JsonSchema>
System.Collections.Generic.IReadOnlyCollection<
System.Collections.Generic.KeyValuePair<
System.String,
JsonSchema>>
System.Collections.Generic.IEnumerable<
System.Collections.Generic.KeyValuePair<
System.String,
JsonSchema>>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
Inherited Members
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.get_Item(System.Object)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.set_Item(System.Object, System.Object)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Add(System.String, Manatee.Json.Schema.JsonSchema)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Clear()
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.ContainsKey(System.String)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.ContainsValue(Manatee.Json.Schema.JsonSchema)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.OnDeserialization(System.Object)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Remove(System.String)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>>.Add(System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>>.Contains(System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>>.CopyTo(System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>[], System.Int32)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>>.Remove(System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>>.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.Add(System.Object, System.Object)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.Contains(System.Object)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.Remove(System.Object)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IEnumerable.GetEnumerator()
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.TryGetValue(System.String, Manatee.Json.Schema.JsonSchema)
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Comparer
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Count
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Item[System.String]
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Keys
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String, Manatee.Json.Schema.JsonSchema>>.IsReadOnly
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.IDictionary<System.String, Manatee.Json.Schema.JsonSchema>.Keys
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.IDictionary<System.String, Manatee.Json.Schema.JsonSchema>.Values
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.IReadOnlyDictionary<System.String, Manatee.Json.Schema.JsonSchema>.Keys
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.Generic.IReadOnlyDictionary<System.String, Manatee.Json.Schema.JsonSchema>.Values
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.ICollection.IsSynchronized
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.ICollection.SyncRoot
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.IsFixedSize
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.IsReadOnly
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.Item[System.Object]
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.Keys
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.System.Collections.IDictionary.Values
System.Collections.Generic.Dictionary<System.String, Manatee.Json.Schema.JsonSchema>.Values
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()
Assembly: Manatee.Json.dll
Syntax
public class PropertiesKeyword : Dictionary<string, JsonSchema>, IDictionary<string, JsonSchema>, ICollection<KeyValuePair<string, JsonSchema>>, IReadOnlyDictionary<string, JsonSchema>, IReadOnlyCollection<KeyValuePair<string, JsonSchema>>, IEnumerable<KeyValuePair<string, JsonSchema>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, IJsonSchemaKeyword, IJsonSerializable, IEquatable<IJsonSchemaKeyword>, IEquatable<PropertiesKeyword>
Properties
|
Improve this Doc
View Source
ErrorTemplate
Gets or sets the error message template.
Declaration
public static string ErrorTemplate { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Name
Gets the name of the keyword.
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SupportedVersions
Gets the versions (drafts) of JSON Schema which support this keyword.
Declaration
public JsonSchemaVersion SupportedVersions { get; }
Property Value
|
Improve this Doc
View Source
ValidationSequence
Gets the a value indicating the sequence in which this keyword will be evaluated.
Declaration
public int ValidationSequence { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Vocabulary
Gets the vocabulary that defines this keyword.
Declaration
public SchemaVocabulary Vocabulary { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(Nullable<IJsonSchemaKeyword>)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(IJsonSchemaKeyword? other)
Parameters
Type |
Name |
Description |
System.Nullable<IJsonSchemaKeyword> |
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<PropertiesKeyword>)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(PropertiesKeyword? other)
Parameters
Type |
Name |
Description |
System.Nullable<PropertiesKeyword> |
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.
|
|
Improve this Doc
View Source
FromJson(JsonValue, JsonSerializer)
Declaration
public void FromJson(JsonValue json, JsonSerializer serializer)
Parameters
|
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
System.Object.GetHashCode()
|
Improve this Doc
View Source
RegisterSubschemas(SchemaValidationContext)
Used register any subschemas during validation. Enables look-forward compatibility with $ref
keywords.
Declaration
public void RegisterSubschemas(SchemaValidationContext context)
Parameters
|
Improve this Doc
View Source
ResolveSubschema(JsonPointer, Uri, JsonSchemaVersion)
Resolves any subschemas during resolution of a $ref
during validation.
Declaration
public JsonSchema? ResolveSubschema(JsonPointer pointer, Uri baseUri, JsonSchemaVersion supportedVersions)
Parameters
Type |
Name |
Description |
JsonPointer |
pointer |
A JsonPointer to the target schema.
|
System.Uri |
baseUri |
The current base URI.
|
JsonSchemaVersion |
supportedVersions |
Indicates the root schema's supported versions.
|
Returns
Type |
Description |
System.Nullable<JsonSchema> |
The referenced schema, if it exists; otherwise null.
|
|
Improve this Doc
View Source
ToJson(JsonSerializer)
Declaration
public JsonValue ToJson(JsonSerializer serializer)
Parameters
Returns
|
Improve this Doc
View Source
Validate(SchemaValidationContext)
Provides the validation logic for this keyword.
Declaration
public SchemaValidationResults Validate(SchemaValidationContext context)
Parameters
Returns
Type |
Description |
SchemaValidationResults |
Results object containing a final result and any errors that may have been found.
|
Implements
System.Collections.Generic.IDictionary<TKey, TValue>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IReadOnlyDictionary<TKey, TValue>
System.Collections.Generic.IReadOnlyCollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IDictionary
System.Collections.ICollection
System.Collections.IEnumerable
System.Runtime.Serialization.IDeserializationCallback
System.Runtime.Serialization.ISerializable
System.IEquatable<T>
System.IEquatable<T>
Extension Methods