{ "type": "object", "definitions": { "Attribute": { "anyOf": [ { "type": "object", "properties": { "tag": { "type": "string", "minLength": 1 }, "attribute": { "type": "string", "minLength": 1 }, "type": { "enum": ["src", "srcset"] }, "filter": { "instanceof": "Function" } }, "required": ["attribute", "type"], "additionalProperties": false }, { "enum": ["..."] } ] }, "AttributeList": { "type": "array", "items": { "$ref": "#/definitions/Attribute" }, "minItems": 1, "uniqueItems": true } }, "properties": { "preprocessor": { "instanceof": "Function" }, "attributes": { "anyOf": [ { "type": "boolean" }, { "type": "object", "properties": { "list": { "$ref": "#/definitions/AttributeList" }, "urlFilter": { "instanceof": "Function" }, "root": { "type": "string" } }, "additionalProperties": false } ] }, "minimize": { "anyOf": [{ "type": "boolean" }, { "type": "object" }] }, "esModule": { "type": "boolean" } }, "additionalProperties": false }