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.
64
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
62
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
61
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
59
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
57
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
57
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
56
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
55
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.
53
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.
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 12 11/13/2026
9.6.0 12 10/31/2026
9.5.0 12 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 31 06/14/2026
9.2.1 34 05/18/2026
9.2.0 51 04/15/2026
9.1.5 52 04/15/2026
9.1.4 46 04/04/2026
9.1.3 54 03/15/2026
9.1.2 48 03/12/2026
9.1.1 52 02/24/2026
9.1.0 51 02/12/2026
9.1.0-beta 55 02/12/2026
9.0.0 49 02/01/2026
8.0.5 55 12/29/2025
8.0.4 55 12/18/2025
8.0.3 50 12/14/2025
8.0.2 47 12/12/2025
8.0.1 7 10/01/2026
8.0.0 8 09/28/2026
7.4.0 6 10/05/2026
7.3.4 41 01/02/2026
7.3.3 49 12/12/2025
7.3.2 42 12/13/2025
7.3.1 43 12/14/2025
7.3.0 48 12/13/2025
7.2.3 36 12/13/2025
7.2.2 38 12/11/2025
7.2.1 41 12/13/2025
7.2.0 36 12/13/2025
7.1.2 32 12/14/2025
7.1.1 46 12/13/2025
7.1.0 7 09/28/2026
7.0.4 10 10/06/2026
7.0.3 49 12/15/2025
7.0.2 30 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 32 12/11/2025
6.1.1 43 12/19/2025
6.1.0.1 47 12/11/2025
6.1.0 43 12/13/2025
6.0.7 40 01/02/2026
6.0.6 7 10/02/2026
6.0.5 28 12/15/2025
6.0.4 10 10/06/2026
6.0.3 41 12/29/2025
6.0.2 43 12/15/2025
6.0.1 5 10/13/2026
6.0.0 38 12/27/2025
5.5.1 42 12/14/2025
5.5.0 6 10/06/2026
5.4.3 6 10/11/2026
5.4.2 5 10/14/2026
5.4.1 41 01/01/2026
5.4.0 38 01/01/2026
5.3.1 40 12/13/2025
5.3.0 40 12/19/2025
5.2.7 42 12/11/2025
5.2.6 45 12/13/2025
5.2.5 41 01/01/2026
5.2.4 42 12/13/2025
5.2.3 42 12/13/2025
5.2.2 35 12/14/2025
5.2.1 39 12/14/2025
5.2.0 45 12/13/2025
5.1.3 41 12/13/2025
5.1.0 4 10/13/2026
5.0.0 39 12/28/2025
4.1.8 41 12/13/2025
4.1.7 36 12/14/2025
4.1.6 40 12/13/2025
4.1.5 43 12/13/2025
4.1.4 42 12/12/2025
4.1.3 50 12/13/2025
4.1.2 46 12/12/2025
4.1.1 47 12/19/2025
4.1.0 5 10/06/2026
4.0.7 44 12/14/2025
4.0.6 43 12/13/2025
4.0.5 43 12/13/2025
4.0.4 5 10/08/2026
4.0.3 38 12/15/2025
4.0.2 42 12/12/2025
4.0.1 28 12/13/2025
4.0.0 47 12/15/2025
4.0.0-beta3 6 09/29/2026
4.0.0-beta2 36 12/13/2025
4.0.0-beta1a 40 12/12/2025
3.3.2 43 12/13/2025
3.3.1 36 12/14/2025
3.3.0 40 12/13/2025
3.2.1 40 12/13/2025
3.2.0 31 12/13/2025
3.1.5 40 12/14/2025
3.1.4 29 12/14/2025
3.1.3 41 12/14/2025
3.1.2 42 12/11/2025
3.1.1 41 12/13/2025
3.1.0 40 12/15/2025
3.0.0 42 12/11/2025
2.4.0 42 12/25/2025
2.3.0 36 12/14/2025
2.2.1 5 10/09/2026
2.2.0 29 01/01/2026
2.1.2 40 12/16/2025
2.1.1 41 12/11/2025
2.1.0 37 01/01/2026
2.0.3 30 12/12/2025
2.0.2 40 01/01/2026
2.0.1 37 01/01/2026
2.0.0 33 01/02/2026
1.13.0 47 12/14/2025
1.12.0 39 12/11/2025
1.11.6 7 10/02/2026
1.11.5 49 12/21/2025
1.11.4 35 12/14/2025
1.11.3 46 12/13/2025
1.11.2 44 12/14/2025
1.11.1 44 12/13/2025
1.11.0 38 01/01/2026
1.10.8 45 12/13/2025
1.10.7 42 12/28/2025
1.10.6 42 12/15/2025
1.10.5 37 12/13/2025
1.10.4 44 12/13/2025
1.10.3 42 12/14/2025
1.10.2 40 01/01/2026
1.10.1 39 12/13/2025
1.10.0 48 12/13/2025
1.9.4 42 01/01/2026
1.9.3 44 01/02/2026
1.9.2 37 01/01/2026
1.9.1 38 12/14/2025
1.9.0 45 12/13/2025
1.8.0 40 12/14/2025
1.7.1 41 12/13/2025
1.7.0 40 12/13/2025
1.6.1 39 12/13/2025
1.6.0 45 12/12/2025
1.5.4 42 12/14/2025
1.5.3 41 12/13/2025
1.5.2 47 01/01/2026
1.5.1 34 01/01/2026
1.5.0 43 12/14/2025
1.4.0 38 12/13/2025
1.3.1 39 12/22/2025
1.3.0 43 12/13/2025
1.2.0 37 12/14/2025
1.1.0 41 12/13/2025
1.0.3 40 12/17/2025
1.0.2 44 12/12/2025
1.0.1 44 12/13/2025
1.0.0 39 12/25/2025
1.0.0-rc2 40 01/02/2026
1.0.0-rc1 30 12/13/2025