{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "/comment/valine.json", "description": "Valine comment plugin configurations", "type": "object", "properties": { "type": { "type": "string", "const": "valine" }, "app_id": { "type": "string", "description": "Application from Leancloud" }, "app_key": { "type": "string", "description": "Application from Leancloud" }, "placeholder": { "type": "string", "description": "Comment box placeholders" }, "notify": { "type": "boolean", "description": "Enable email notification when someone comments", "default": false }, "verify": { "type": "boolean", "description": "Enable verification code service", "default": false }, "avatar": { "type": "string", "description": "Gravatar type", "enum": [ "", "mp", "identicon", "monsterid", "wavatar", "robohash", "retro", "hide", "mm" ], "default": "mm" }, "avatar_force": { "type": "boolean", "description": "Pull the latest avatar upon page visit", "default": false }, "meta": { "type": "array", "description": "Reviewer attributes", "items": { "type": "string" }, "default": [ "nick", "mail", "link" ] }, "page_size": { "type": "integer", "description": "Number of comments per page", "default": 10 }, "visitor": { "type": "boolean", "description": "Show visitor count", "default": false }, "highlight": { "type": "boolean", "description": "Enable code highlighting", "default": true }, "record_ip": { "type": "boolean", "description": "Record reviewer IP address", "default": false } }, "required": [ "type", "app_id", "app_key" ] }