55 lines
1.4 KiB
JSON
55 lines
1.4 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"
|
||
|
},
|
||
|
"apiKey": {
|
||
|
"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"
|
||
|
},
|
||
|
"adminLabel": {
|
||
|
"type": "string",
|
||
|
"description": "Disqus moderator badge text",
|
||
|
"default": false
|
||
|
},
|
||
|
"nesting": {
|
||
|
"type": "integer",
|
||
|
"description": "Maximum number of comment nesting level",
|
||
|
"default": 4
|
||
|
}
|
||
|
},
|
||
|
"required": [
|
||
|
"type",
|
||
|
"shortname",
|
||
|
"apiKey"
|
||
|
]
|
||
|
}
|