Home UniqueItemsAttribute Class
UniqueItemsAttribute Class
Cancel

UniqueItemsAttribute Class

Namespace: Json.Schema.Generation

Inheritance: UniqueItemsAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • IAttributeHandler

Applies a uniqueItems keyword.

Properties

NameTypeSummary
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
TypeIdobject 
ValueboolWhether the items should be unique.

Constructors

UniqueItemsAttribute(bool value)

Creates a new Json.Schema.Generation.UniqueItemsAttribute instance.

Declaration

1
public UniqueItemsAttribute(bool value)
ParameterTypeDescription
valueboolThe value.
Contents