github.com/kaptinlin/jsonschema@v0.4.6/testdata/JSON-Schema-Test-Suite/tests/draft7/definitions.json (about)

     1  [
     2      {
     3          "description": "validate definition against metaschema",
     4          "schema": {"$ref": "http://json-schema.org/draft-07/schema#"},
     5          "tests": [
     6              {
     7                  "description": "valid definition schema",
     8                  "data": {
     9                      "definitions": {
    10                          "foo": {"type": "integer"}
    11                      }
    12                  },
    13                  "valid": true
    14              },
    15              {
    16                  "description": "invalid definition schema",
    17                  "data": {
    18                      "definitions": {
    19                          "foo": {"type": 1}
    20                      }
    21                  },
    22                  "valid": false
    23              }
    24          ]
    25      }
    26  ]