Namespace: Json.Schema.Generation.Intents
Inheritance: ElseIntent
🡒 object
Implemented interfaces:
- ISchemaKeywordIntent
Provides intent to create an else
keyword.
Properties
Name | Type | Summary |
---|---|---|
Subschema | IEnumerable<ISchemaKeywordIntent> | A set of intents used to define the subschema. |
Constructors
ElseIntent(IEnumerable<ISchemaKeywordIntent> subschema)
Creates a new Json.Schema.Generation.Intents.ElseIntent instance.
Declaration
1
public ElseIntent(IEnumerable<ISchemaKeywordIntent> subschema)
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. |