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

JsonSchemaValidator

Class to validate a JSON schema against a given JToken.

public ICollection<ValidationError> Validate(string jsonData, JsonSchema4 schema)

Validates the given JSON token.

protected virtual ICollection<ValidationError> Validate(JToken token, JsonSchema4 schema, string propertyName, string propertyPath)

Validates the given JSON token.