{ "$id": "bar-declaration.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "title": "bar-declaration", "type": "object", "required": [ "type", "attributes" ], "properties": { "type": { "type": "string", "description": "Resource type name.", "enum": [ "bar" ] }, "config": { "type": "string", "description": "Config name" }, "onerror": { "type": "string", "description": "error handling strategy", "enum": [ "stop", "fail", "skip" ] }, "attributes": { "oneOf": [ { "$ref": "bar.schema.json" } ] } } }