NJsonSchema icon indicating copy to clipboard operation
NJsonSchema copied to clipboard

JSON Schema reader, generator and validator for .NET

Results 235 NJsonSchema issues
Sort by recently updated
recently updated
newest added

Similar to an issue that was opened before here- https://github.com/RicoSuter/NJsonSchema/issues/1025 I get the same exception but I don’t use a T4 template. I can’t seem to find a proper solution....

Similar to an issue that was opened before here- https://github.com/RicoSuter/NJsonSchema/issues/1025 I get the same exception but I don’t use a T4 template. I can’t seem to find a proper solution....

I'm working with an OpenAPI spec that is encountering errors where NJsonSchema determines if duplicate keys are present. In the spec, located here: [https://developer.apiture.com/docs/apis/accounts/v0.67.0/openapi.json](https://developer.apiture.com/docs/apis/accounts/v0.67.0/openapi.json), there are two issues NJsonSchema encounters....

It is recommended to throw a more detailed error message here I debug the source code , here the clue is broken. https://github.com/RicoSuter/NJsonSchema/blob/80c5d0014b2d5a3f5314af14742cb18ef94a5e53/src/NJsonSchema/JsonPathUtilities.cs#L71 How do I output the error information...

Could you take the content of the $comment field and translate it into a C# doc comment?

With object ``` public class MyType { [NotNull] [JsonSchema(JsonObjectType.Array, Format = "table")] public List List { get; set; } } public class MyNestedType { } ``` JsonSchema.FromType().ToJson() generates bad schema...

type: bug

Firstly, fantastic library, extremely useful. I have read your documentation, and samples. I have found examples of Json Data to Json Schema but not the other way around. Is this...

Would you consider adding support for the full set of annotation attributes [supported by JSON.Net Schema](http://www.newtonsoft.com/jsonschema/help/html/GeneratingSchemas.htm)? From the page: - [x] RequiredAttribute | Property will be required. - [x] MinLengthAttribute...

type: enhancement
help wanted

https://github.com/RicoSuter/NJsonSchema/blob/424e9ad6b747f7761b09873454289b536c0080e7/src/NJsonSchema/Generation/SampleJsonSchemaGenerator.cs#L49 hi, guys, It looks like there is a little bug which causes cyclical dependency in the final scheme produced by **SampleJsonSchemaGenerator.Generate()**. We used following JSON for testing it: ```...

help wanted

JsonSchemaValidator was not properly converting JTokens of type Uri to strings. Calling token.Value() would throw exception because Uri does not implement IConvertible. Instead Uri's ToString() should be used to convert...

state: await-response