{
  "$id": "https://r3ply.com/schemas/v0.0.1/config/site.v0.0.1.json",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "r3ply site config",
  "description": "Used to configure the r3ply commenting system.",
  "$comment": "See https://r3ply.com/docs for more info.",
  "type": "object",
  "required": [],
  "unevaluatedProperties": false,
  "properties": {
    "version": {
      "title": "r3ply version",
      "description": "Declares what version of r3ply this config conforms to.",
      "type": "string",
      "enum": [
        "0.0.1"
      ],
      "default": "0.0.1"
    },
    "enabled": {
      "title": "Enable r3ply",
      "description": "False completely turns off r3ply, including any downstream processes.",
      "type": "boolean",
      "default": true
    },
    "site": {
      "title": "New site configuration",
      "description": "Declares a new site this config applies to, consisting of domain x r3ply service, and signet. See docs for more info.",
      "type": "array",
      "items": {
        "$ref": "https://r3ply.com/schemas/v0.0.1/config/signet.v0.0.1.json"
      },
      "default": []
    },
    "comments": {
      "$ref": "https://r3ply.com/schemas/v0.0.1/config/comments.v0.0.1.json"
    },
    "moderation": {
      "$ref": "https://r3ply.com/schemas/v0.0.1/config/moderation.v0.0.1.json"
    },
    "extra": {
      "$ref": "https://r3ply.com/schemas/v0.0.1/config/extra.v0.0.1.json"
    }
  }
}