{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "#CodeRepo",
    "description": "A source code repository. A CodeRepo is also a DataRepository therefore should carry all the required properties of DataRepository.",
    "type": "object",
    "allOf": [
        {
            "$ref": "#Entity"
        },
        {
            "properties": {
                "application": {
                    "description": "The application that this repo is part of.",
                    "type": "string"
                },
                "project": {
                    "description": "The project that this repo belongs to.",
                    "type": "string"
                },
                "public": {
                    "description": "Indicates if this is a public repo.",
                    "type": "boolean"
                }
            },
            "required": []
        }
    ]
}
