{
    "$schema": "http://json-schema.org/draft-07/schema",
    "title": "MUN CS Society Blog Posts",
    "description": "Represents a collection of blog posts",
    "type": "object",
    "properties": {
        "months": {
            "type": "array",
            "description": "Contains a collection of months that blog posts were posted in",
            "items": {
                "type": "object",
                "description": "A month containing blog posts",
                "properties": {
                    "month": {
                        "type": "string",
                        "description": "The string representation of this month"
                    },
                    "posts": {
                        "type": "array",
                        "description": "A collection of the posts written in this month",
                        "items": {
                            "type": "object",
                            "description": "An individual blog post",
                            "properties": {
                                "title": {
                                    "type": "string",
                                    "description": "The title of this blog post"
                                },
                                "author": {
                                    "type": "string",
                                    "description": "The author of this blog post"
                                },
                                "folder": {
                                    "type": "string",
                                    "description": "The name of the folder under the blog folder that contains this post"
                                }
                            },
                            "required": [
                                "title",
                                "author",
                                "folder"
                            ]
                        }
                    }
                },
                "required": [
                    "month",
                    "posts"
                ]
            }
        }
    },
    "required": [
        "months"
    ]
}