Home SchemaGenerationContextBase Class
SchemaGenerationContextBase Class
Cancel

SchemaGenerationContextBase Class

Namespace: Json.Schema.Generation

Inheritance: SchemaGenerationContextBase 🡒 object

Provides base functionality and data for generation contexts.

Fields

NameTypeSummary
FalseSchemaGenerationContextBaseRepresents a false schema.
TrueSchemaGenerationContextBaseRepresents a true schema.

Properties

NameTypeSummary
HashintA calculated hash value that represents and identifies this context.
IntentsList<ISchemaKeywordIntent>The keyword intents required for this type.
ReferenceCountintThe number of times this context has been referenced.
TypeTypeThe type.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

1
public JsonSchema Apply(JsonSchemaBuilder builder)
ParameterTypeDescription
builderJsonSchemaBuilderThe schema builder.

Returns

The schema builder (for fluent syntax support).

Contents