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.
63
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
61
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
60
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
58
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
58
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
55
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
54
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
54
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
53
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
53
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
52
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
52
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
51
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
51

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

Any 0.0

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