rsonschema 0.1.16

A fast, simple, user-friendly JSON Schema validator for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "$schema": "http://json-schema.org/draft-07/schema#",

  "type": "object",
  "properties": {
    "instance": {
      "markdownDescription": "The JSON instance to be annotated."
    },
    "assertions": {
      "markdownDescription": "A collection of assertions that must be true for the test to pass.",
      "type": "array",
      "items": { "$ref": "./assertion.schema.json" }
    }
  },
  "required": ["instance", "assertions"]
}