{
    "additionalProperties": false,
    "definitions": {
        "cliInfo": {
            "required": [
                "url",
                "kind",
                "contentHash"
            ],
            "properties": {
                "url": {
                    "type": "string"
                },
                "contentHash": {
                    "items": {
                        "$ref": "#/definitions/hash"
                    },
                    "minItems": 1,
                    "type": "array"
                },
                "kind": {
                    "enum": [
                        "executable",
                        "zip"
                    ],
                    "type": "string"
                }
            },
            "additionalProperties": false,
            "type": "object"
        },
        "hash": {
            "required": [
                "algo",
                "value"
            ],
            "properties": {
                "algo": {
                    "enum": [
                        "sha256"
                    ],
                    "type": "string"
                },
                "value": {
                    "type": "string"
                }
            },
            "additionalProperties": false,
            "type": "object"
        }
    },
    "properties": {
        "assets": {
            "properties": {
                "uris": {
                    "additionalProperties": {
                        "type": "string"
                    },
                    "type": "object"
                },
                "container": {
                    "properties": {
                        "docker": {
                            "additionalProperties": {
                                "type": "string"
                            },
                            "type": "object"
                        }
                    },
                    "additionalProperties": false,
                    "type": "object"
                }
            },
            "additionalProperties": false,
            "type": "object"
        },
        "images": {
            "properties": {
                "icon-small": {
                    "description": "PNG icon URL, preferably 48 by 48 pixels.",
                    "type": "string"
                },
                "icon-large": {
                    "description": "PNG icon URL, preferably 256 by 256 pixels.",
                    "type": "string"
                },
                "screenshots": {
                    "items": {
                        "description": "PNG screen URL, preferably 1024 by 1024 pixels.",
                        "type": "string"
                    },
                    "type": "array"
                },
                "icon-medium": {
                    "description": "PNG icon URL, preferably 128 by 128 pixels.",
                    "type": "string"
                }
            },
            "additionalProperties": false,
            "type": "object"
        },
        "cli": {
            "required": [
                "binaries"
            ],
            "properties": {
                "binaries": {
                    "minProperties": 1,
                    "properties": {
                        "linux": {
                            "required": [
                                "x86-64"
                            ],
                            "properties": {
                                "x86-64": {
                                    "$ref": "#/definitions/cliInfo"
                                }
                            },
                            "additionalProperties": false,
                            "type": "object"
                        },
                        "windows": {
                            "required": [
                                "x86-64"
                            ],
                            "properties": {
                                "x86-64": {
                                    "$ref": "#/definitions/cliInfo"
                                }
                            },
                            "additionalProperties": false,
                            "type": "object"
                        },
                        "darwin": {
                            "required": [
                                "x86-64"
                            ],
                            "properties": {
                                "x86-64": {
                                    "$ref": "#/definitions/cliInfo"
                                }
                            },
                            "additionalProperties": false,
                            "type": "object"
                        }
                    },
                    "additionalProperties": false,
                    "type": "object"
                }
            },
            "additionalProperties": false,
            "type": "object"
        }
    },
    "$schema": "http://json-schema.org/draft-04/schema#"
}