node-blaze
Version:
Bindings to blaze, high-performance C++ JSON Schema validator
31 lines (30 loc) • 597 B
JSON
{
"$schema": "../test-suite.schema.json",
"description": "The core vocabulary",
"suite": [
{
"description": "`$ref` and `$defs`",
"compatibility": "2019",
"schema": {
"$ref": "#/$defs/foo",
"$defs": {
"foo": { "title": "Foo" }
}
},
"tests": [
{
"instance": "foo",
"assertions": [
{
"location": "",
"keyword": "title",
"expected": {
"#/$defs/foo": "Foo"
}
}
]
}
]
}
]
}