Click or drag to resize
Json.NET Schema

JSchemaResolverGetSubschema Method

 
Finds a subschema using the given schema reference.

Namespace:  Newtonsoft.Json.Schema
Assembly:  Newtonsoft.Json.Schema (in Newtonsoft.Json.Schema.dll) Version: 3.0.6
Syntax
C#
public virtual JSchema GetSubschema(
	SchemaReference reference,
	JSchema rootSchema
)

Parameters

reference
Type: Newtonsoft.Json.SchemaSchemaReference
The schema reference used to get the subschema.
rootSchema
Type: Newtonsoft.Json.SchemaJSchema
The root schema to resolve the subschema from.

Return Value

Type: JSchema
The matching subschema.
See Also