{
    "description": "A dependency points to a Package via a package name and a version constraint (such as \">= 3.4\"). The version is the effective version that has been picked and resolved.",
    "properties": {
        "name": {
            "description": "Name of the package for this dependency.",
            "title": "name",
            "type": "string"
        },
        "version": {
            "oneOf": [
                {
                    "description": "Version of this dependent package: The effective or concrete resolved and used version.",
                    "title": "version",
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ]
        },
        "version_constraint": {
            "oneOf": [
                {
                    "description": "The version constraints (aka. possible versions) for this dependent package: The meaning of this constraings is package type-specific. ",
                    "title": "version",
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ]
        }
    },
    "required": [
        "name"
    ],
    "title": "dependency",
    "type": "object"
}