{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "CreateRepoRequest",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "bumper": {
            "type": "string",
            "description": "The bumper to be used when creating a repo."
        },
        "scmUrl": {
            "type": "string",
            "description": "The URL to get the repo, if provided can help when trying to clone a repo."
        },
        "description": {
            "type": "string",
            "description": "Description of the repo."
        },
        "history": {
            "type": "array",
            "items": {
                "$ref": "#/definitions/CreateHistory"
            },
            "description": "Seed the repo with history."
        }
    },
    "definitions": {
        "CreateHistory": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "version": {
                    "type": "string",
                    "description": "Version of the new history."
                },
                "commitId": {
                    "type": "string",
                    "description": "Commit for the element in history."
                },
                "createdAt": {
                    "type": "string",
                    "format": "date-time",
                    "description": "An optional time for when the commit was created."
                }
            }
        }
    },
    "javaName": "CreateRepoRequest"
}