Home AdditionalPropertiesAttribute Class
AdditionalPropertiesAttribute Class
Cancel

AdditionalPropertiesAttribute Class

Namespace: Json.Schema.Generation

Inheritance: AdditionalPropertiesAttribute 🡒 ConditionalAttribute 🡒 Attribute 🡒 object

Implemented interfaces:

  • IAttributeHandler

Applies an additionalProperties keyword.

Properties

NameTypeSummary
BoolValuebool?If the attribute value represents a boolean schema, gets the boolean value.
ConditionGroupobjectIdentifies the condition group under which this attribute applies.
TypeIdobject 
TypeValueTypeIf the attribute value represents a type schema, gets the type.

Constructors

AdditionalPropertiesAttribute(bool boolSchema)

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

Declaration

1
public AdditionalPropertiesAttribute(bool boolSchema)
ParameterTypeDescription
boolSchemaboolA boolean schema.

AdditionalPropertiesAttribute(Type typeSchema)

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

Declaration

1
public AdditionalPropertiesAttribute(Type typeSchema)
ParameterTypeDescription
typeSchemaTypeA type to generate the a schema for the keyword.
Contents