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
31
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
28
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
27
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
26
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
26
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
25
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
25
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
24
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
24
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
23
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
23
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality.
22
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality
21
JsonSchema.Net.Generation
Extends JsonSchema.Net to provide schema generation functionality. Read the full documentation at https://docs.json-everything.net/schema/schema-generation/.
21

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

Any 0.0

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