{ "$id": "https://houtai.baidu.com/v2/schemas/image.json#", "$schema": "http://json-schema.org/draft-07/schema#", "allOf": [ { "$ref": "https://houtai.baidu.com/v2/schemas/image.json#/definitions/common" }, { "additionalProperties": false, "dependencies": {}, "patternProperties": { "^(\\$ref|className|title|description|defaultImage|src|label|name|popOver|quickEdit|sortable|searchable|toggled|fixed)$": {} }, "properties": { "$schema": { "format": "uri", "type": "string", "description": "绑定 JSON 格式说明,可忽略!" }, "type": { "const": "image", "description": "指定为图片展示类型", "type": "string" } }, "required": ["type"], "type": "object" } ], "definitions": { "common": { "description": "amis image 渲染器格式说明。", "properties": { "$ref": { "$ref": "https://houtai.baidu.com/v2/schemas/page.json#/definitions/$ref", "description": "引用页面中的定义" }, "className": { "$ref": "https://houtai.baidu.com/v2/schemas/page.json#/definitions/className", "description": "配置容器 className" }, "defaultImage": { "description": "默认图片地址", "type": "string" }, "description": { "description": "图片标题", "type": "string" }, "src": { "description": "固定图片地址", "type": "string" }, "title": { "description": "图片标题", "type": "string" } } }, "test": { "properties": { "type": { "const": "image" } } } }, "description": "amis image 渲染器格式说明。", "type": "object" }