<PackageReference Include="NJsonSchema.Annotations" Version="11.6.1" />

NJsonSchema.Annotations.JsonSchemaPatternPropertiesAttribute

Annotation to specify the JSON Schema pattern properties.
public string RegularExpression { get; }

Gets the pattern properties regular expression.

public Type Type { get; }

Gets the pattern properties type.

public JsonSchemaPatternPropertiesAttribute(string regularExpression)

Initializes a new instance of the JsonSchemaAttribute class.

public JsonSchemaPatternPropertiesAttribute(string regularExpression, Type type)

Initializes a new instance of the JsonSchemaAttribute class.