58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "/comment/disqusjs.json",
|
|
"description": "DisqusJS comment plugin configurations",
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"const": "disqusjs"
|
|
},
|
|
"shortname": {
|
|
"type": "string",
|
|
"description": "Disqus shortname"
|
|
},
|
|
"api_key": {
|
|
"description": "Disqus application API key",
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"type": "array",
|
|
"items": [
|
|
{
|
|
"type": "string"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"api": {
|
|
"type": "string",
|
|
"description": "Disqus API endpoint"
|
|
},
|
|
"admin": {
|
|
"type": "string",
|
|
"description": "Disqus moderator username",
|
|
"nullable": true
|
|
},
|
|
"admin_label": {
|
|
"type": "string",
|
|
"description": "Disqus moderator badge text",
|
|
"default": false,
|
|
"nullable": true
|
|
},
|
|
"nesting": {
|
|
"type": "integer",
|
|
"description": "Maximum number of comment nesting level",
|
|
"default": 4,
|
|
"nullable": true
|
|
}
|
|
},
|
|
"required": [
|
|
"type",
|
|
"shortname",
|
|
"api_key"
|
|
]
|
|
} |