{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "title": "Server RootDiscussionForm",
  "description": "Server RootDiscussionForm from Tiamat",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "forumBoard",
    "forumBoardGroup"
  ],
  "properties": {
    "forumBoardGroup": {
      "type": "object",
      "enum": [
        {
          "$data": "1/forumBoard/groups"
        }
      ]
    },
    "forumBoard": {
      "type": "object",
      "required": [
        "_id"
      ],
      "properties": {
        "_id": {
          "type": "string",
          "pattern": "^[0-9a-fA-F]{24}$"
        },
        "groups": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}
