{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "GetAllVersionsResponse",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "commits": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/CommitModel"
            },
            "description": "All of the commits for a repository"
        },
        "latest": {
            "$ref": "#/definitions/CommitModel"
        }
    },
    "definitions": {
        "CommitModel": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "commitId": {
                    "type": "string"
                },
                "version": {
                    "type": "string"
                },
                "createdAt": {
                    "type": "string",
                    "format": "date-time"
                }
            }
        }
    },
    "javaName": "GetAllVersionsResponse"
}