Home RequiredIntent Class
RequiredIntent Class
Cancel

RequiredIntent Class

Namespace: Json.Schema.Generation.Intents

Inheritance: RequiredIntent 🡒 object

Implemented interfaces:

  • ISchemaKeywordIntent

Provides intent to create a required keyword.

Properties

NameTypeSummary
RequiredPropertiesList<string>The required property names.

Constructors

RequiredIntent(List<string> requiredProperties)

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

Declaration

1
public RequiredIntent(List<string> requiredProperties)
ParameterTypeDescription
requiredPropertiesList<string>The required property names.

Methods

Apply(JsonSchemaBuilder builder)

Applies the keyword to the Json.Schema.JsonSchemaBuilder.

Declaration

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