Home PropertiesIntent Class
PropertiesIntent Class
Cancel

PropertiesIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: PropertiesIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create an additionalProperties keyword.

Properties

NameTypeSummary
PropertiesDictionary<string, SchemaGenerationContextBase>The contexts that represent the properties.

Constructors

PropertiesIntent(Dictionary<string, SchemaGenerationContextBase> properties)

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

Declaration

1
public PropertiesIntent(Dictionary<string, SchemaGenerationContextBase> properties)
ParameterTypeDescription
propertiesDictionary<string, SchemaGenerationContextBase>The contexts.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

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