{
    "description": "A generic related package.",
    "properties": {
        "name": {
            "description": "Name of the package.",
            "title": "name",
            "type": "string"
        },
        "payload_type": {
            "oneOf": [
                {
                    "description": "The type of payload for this package. One of: source, binary, doc",
                    "enum": [
                        "source",
                        "binary",
                        "doc"
                    ],
                    "title": "Payload type",
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ]
        },
        "type": {
            "description": "Descriptive name of the type of package: RubyGem, Python Wheel, Java Jar, Debian package, etc.",
            "title": "type",
            "type": "string"
        },
        "version": {
            "oneOf": [
                {
                    "description": "Version of the package",
                    "title": "version",
                    "type": "string"
                },
                {
                    "type": "null"
                }
            ]
        }
    },
    "required": [
        "type",
        "name"
    ],
    "title": "related package",
    "type": "object"
}