UNPKG

alterschema

Version:

Convert between schema specifications

29 lines (28 loc) 630 B
{ "$id": "https://github.com/sourcemeta/alterschema/raw/master/schemas/rule-test.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "array", "minItems": 1, "items": { "type": "object", "required": [ "name", "schema", "expected" ], "additionalProperties": false, "properties": { "name": { "type": "string" }, "schema": { "oneOf": [ { "type": "object" }, { "type": "boolean" } ] }, "expected": { "oneOf": [ { "type": "object" }, { "type": "boolean" } ] } } } }