12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- {
- "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
- }
|