Namespace: Json.Schema.Generation
Inheritance: MinItemsAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object
Implemented interfaces:
- INestableAttribute
- IAttributeHandler
Applies a minItems keyword.
Properties
| Name | Type | Summary |
|---|---|---|
| ConditionGroup | object | Identifies the condition group under which this attribute applies. |
| GenericParameter | int | The index of the parameter to which the attribute should apply. Default is -1 to indicate the root. |
| TypeId | object | Â |
| Value | uint | The minimum number of items. |
Constructors
MinItemsAttribute(uint value)
Creates a new Json.Schema.Generation.MinItemsAttribute instance.
Declaration
1
public MinItemsAttribute(uint value)
| Parameter | Type | Description |
|---|---|---|
| value | uint | The value. |