{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Chunk comment",
    "type": "object",
    "properties": {
        "id": {
            "type": "number"
        },
        "commentator": {
            "title": "Comment author",
            "type": "object",
            "properties": {
                "id": {
                    "type": "number"
                },
                "nickname": {
                    "type": "string"
                },
                "avatar": {
                    "type": ["string","null"]
                },
                "created_at": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                }
            },
            "required": [
                "id",
                "nickname",
                "created_at",
                "updated_at"
            ]
        },
        "body": {
            "type": "string"
        },
        "created_at": {
            "type": "string"
        },
        "updated_at": {
            "type": "string"
        }
    },
    "required": [
        "id",
        "commentator",
        "body",
        "created_at",
        "updated_at"
    ]
}
