JsonSchema.Net 7.0.0.3

Summary

JsonSchema.Net fully implements the JSON Schema specifications, a declarative syntax for validation and annotating JSON data.

Supported specifications:

  • Draft 6 - http://json-schema.org/draft-06/schema#
  • Draft 7 - http://json-schema.org/draft-07/schema#
  • Draft 2019-09 - https://json-schema.org/draft/2019-09/schema
  • Draft 2020-12 - https://json-schema.org/draft/2020-12/schema

This project also operates as a test bed for features proposed for the next version ("draft/next").

Usage

Parse a schema:

var schema = JsonSchema.FromText(content);

Load one from a file:

var schema = JsonSchema.FromFile(filename);

Directly deserialize it:

var schema = JsonSerializer.Deserialize<JsonSchema>(content);

Or build it explicitly in code:

var schema = new JsonSchemaBuilder()
    .Comment("a comment")
    .Title("A title for my schema")
    .Type(SchemaValueType.Object)
    .Properties(
        ("foo", new JsonSchemaBuilder()
            .Type(SchemaValueType.String)
        ),
        ("bar", new JsonSchemaBuilder()
            .Type(SchemaValueType.Number)
        )
    )
    .Build();

Use the schema to evaluate and annotate data:

var instance = JsonNode.Parse("{\"foo\":\"a value\",\"bar\":42}");
var results = schema.Evaluate(instance);

Showing the top 20 packages that depend on JsonSchema.Net.

Packages Downloads
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
43
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
40
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
39
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
39
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
38
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
36
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
35
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
34
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
34
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
33
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
33
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
33
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
32
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
31
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
31
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
31

Release notes can be found at https://json-everything.net/json-schema

Any 0.0

Version Downloads Last updated
9.3.0 0 07/19/2026
9.2.2 8 06/14/2026
9.2.1 13 05/18/2026
9.2.0 30 04/15/2026
9.1.5 29 04/15/2026
9.1.4 27 04/04/2026
9.1.3 35 03/15/2026
9.1.2 31 03/12/2026
9.1.1 37 02/24/2026
9.1.0 35 02/12/2026
9.1.0-beta 36 02/12/2026
9.0.0 36 02/01/2026
8.0.5 40 12/29/2025
8.0.4 42 12/18/2025
8.0.3 36 12/14/2025
8.0.2 35 12/12/2025
8.0.1 42 12/10/2025
8.0.0 39 12/10/2025
7.4.0 42 12/10/2025
7.3.4 28 01/02/2026
7.3.3 35 12/12/2025
7.3.2 31 12/13/2025
7.3.1 28 12/14/2025
7.3.0 32 12/13/2025
7.2.3 27 12/13/2025
7.2.2 26 12/11/2025
7.2.1 29 12/13/2025
7.2.0 28 12/13/2025
7.1.2 19 12/14/2025
7.1.1 32 12/13/2025
7.1.0 25 12/10/2025
7.0.4 35 12/10/2025
7.0.3 35 12/15/2025
7.0.2 20 12/13/2025
7.0.1 29 12/13/2025
7.0.0.3 30 12/09/2025
7.0.0 30 12/17/2025
6.1.2 22 12/11/2025
6.1.1 30 12/19/2025
6.1.0.1 32 12/11/2025
6.1.0 30 12/13/2025
6.0.7 27 01/02/2026
6.0.6 30 12/10/2025
6.0.5 22 12/15/2025
6.0.4 34 12/09/2025
6.0.3 28 12/29/2025
6.0.2 32 12/15/2025
6.0.1 28 12/10/2025
6.0.0 25 12/27/2025
5.5.1 31 12/14/2025
5.5.0 29 12/10/2025
5.4.3 35 12/10/2025
5.4.2 26 12/10/2025
5.4.1 28 01/01/2026
5.4.0 27 01/01/2026
5.3.1 26 12/13/2025
5.3.0 24 12/19/2025
5.2.7 30 12/11/2025
5.2.6 31 12/13/2025
5.2.5 29 01/01/2026
5.2.4 30 12/13/2025
5.2.3 31 12/13/2025
5.2.2 24 12/14/2025
5.2.1 27 12/14/2025
5.2.0 32 12/13/2025
5.1.3 29 12/13/2025
5.1.0 26 12/10/2025
5.0.0 26 12/28/2025
4.1.8 27 12/13/2025
4.1.7 27 12/14/2025
4.1.6 25 12/13/2025
4.1.5 31 12/13/2025
4.1.4 27 12/12/2025
4.1.3 37 12/13/2025
4.1.2 35 12/12/2025
4.1.1 31 12/19/2025
4.1.0 33 12/10/2025
4.0.7 28 12/14/2025
4.0.6 32 12/13/2025
4.0.5 31 12/13/2025
4.0.4 35 12/09/2025
4.0.3 25 12/15/2025
4.0.2 29 12/12/2025
4.0.1 19 12/13/2025
4.0.0 35 12/15/2025
4.0.0-beta3 29 12/10/2025
4.0.0-beta2 24 12/13/2025
4.0.0-beta1a 24 12/12/2025
3.3.2 29 12/13/2025
3.3.1 25 12/14/2025
3.3.0 25 12/13/2025
3.2.1 27 12/13/2025
3.2.0 24 12/13/2025
3.1.5 27 12/14/2025
3.1.4 18 12/14/2025
3.1.3 28 12/14/2025
3.1.2 31 12/11/2025
3.1.1 29 12/13/2025
3.1.0 28 12/15/2025
3.0.0 31 12/11/2025
2.4.0 26 12/25/2025
2.3.0 20 12/14/2025
2.2.1 23 12/10/2025
2.2.0 18 01/01/2026
2.1.2 25 12/16/2025
2.1.1 25 12/11/2025
2.1.0 22 01/01/2026
2.0.3 22 12/12/2025
2.0.2 25 01/01/2026
2.0.1 24 01/01/2026
2.0.0 24 01/02/2026
1.13.0 31 12/14/2025
1.12.0 24 12/11/2025
1.11.6 23 12/10/2025
1.11.5 31 12/21/2025
1.11.4 20 12/14/2025
1.11.3 32 12/13/2025
1.11.2 27 12/14/2025
1.11.1 29 12/13/2025
1.11.0 25 01/01/2026
1.10.8 32 12/13/2025
1.10.7 28 12/28/2025
1.10.6 28 12/15/2025
1.10.5 24 12/13/2025
1.10.4 31 12/13/2025
1.10.3 27 12/14/2025
1.10.2 28 01/01/2026
1.10.1 26 12/13/2025
1.10.0 29 12/13/2025
1.9.4 27 01/01/2026
1.9.3 31 01/02/2026
1.9.2 26 01/01/2026
1.9.1 25 12/14/2025
1.9.0 29 12/13/2025
1.8.0 27 12/14/2025
1.7.1 28 12/13/2025
1.7.0 27 12/13/2025
1.6.1 25 12/13/2025
1.6.0 31 12/12/2025
1.5.4 28 12/14/2025
1.5.3 26 12/13/2025
1.5.2 35 01/01/2026
1.5.1 22 01/01/2026
1.5.0 31 12/14/2025
1.4.0 27 12/13/2025
1.3.1 27 12/22/2025
1.3.0 27 12/13/2025
1.2.0 23 12/14/2025
1.1.0 26 12/13/2025
1.0.3 28 12/17/2025
1.0.2 26 12/12/2025
1.0.1 29 12/13/2025
1.0.0 25 12/25/2025
1.0.0-rc2 27 01/02/2026
1.0.0-rc1 21 12/13/2025