Home AdditionalPropertiesIntent Class
AdditionalPropertiesIntent Class
Cancel

AdditionalPropertiesIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: AdditionalPropertiesIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create an additionalProperties keyword.

Properties

NameTypeSummary
ContextSchemaGenerationContextBaseThe context that represents the inner requirements.

Constructors

AdditionalPropertiesIntent(SchemaGenerationContextBase context)

Creates a new Json.Schema.Generation.Intents.AdditionalPropertiesIntent instance.

Declaration

1
public AdditionalPropertiesIntent(SchemaGenerationContextBase context)
ParameterTypeDescription
contextSchemaGenerationContextBaseThe context.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

1
public void Apply(JsonSchemaBuilder builder)
ParameterTypeDescription
builderJsonSchemaBuilderThe builder.
Contents