{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "chapters": {
      "additionalProperties": false,
      "properties": {
        "assignments": {
          "additionalProperties": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "default": {},
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        },
        "records": {
          "additionalProperties": {
            "additionalProperties": false,
            "properties": {
              "color": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "id": {
                "minLength": 1,
                "type": "string"
              },
              "label": {
                "minLength": 1,
                "type": "string"
              },
              "sortKey": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "label"
            ],
            "type": "object"
          },
          "default": {},
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "recordMetadata": {
      "additionalProperties": {
        "additionalProperties": {
          "additionalProperties": false,
          "properties": {
            "color": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "sortKey": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ]
            },
            "tags": {
              "default": [],
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "propertyNames": {
          "type": "string"
        },
        "type": "object"
      },
      "propertyNames": {
        "type": "string"
      },
      "type": "object"
    },
    "tags": {
      "additionalProperties": false,
      "properties": {
        "records": {
          "additionalProperties": {
            "additionalProperties": false,
            "properties": {
              "color": {
                "minLength": 1,
                "type": "string"
              },
              "name": {
                "minLength": 1,
                "type": "string"
              },
              "sortKey": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "name",
              "color"
            ],
            "type": "object"
          },
          "default": {},
          "propertyNames": {
            "type": "string"
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "chapters",
    "tags",
    "recordMetadata"
  ],
  "type": "object"
}
