Namespace: Json.Schema.Generation.Intents
Inheritance: RequiredIntent
🡒 object
Implemented interfaces:
- ISchemaKeywordIntent
Provides intent to create a required
keyword.
Properties
Name | Type | Summary |
---|---|---|
RequiredProperties | List<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)
Parameter | Type | Description |
---|---|---|
requiredProperties | List<string> | The required property names. |
Methods
Apply(JsonSchemaBuilder builder)
Applies the keyword to the Json.Schema.JsonSchemaBuilder.
Declaration
1
public void Apply(JsonSchemaBuilder builder)
Parameter | Type | Description |
---|---|---|
builder | JsonSchemaBuilder | The builder. |