<PackageReference Include="NJsonSchema" Version="10.1.1" />

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.