{
    "additionalProperties": false,
    "properties": {
        "args": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "backoffFactor": {
            "minimum": 1.0,
            "type": "number"
        },
        "backoffSeconds": {
            "minimum": 0,
            "type": "integer"
        },
        "cmd": {
            "type": "string"
        },
        "constraints": {},
        "container": {
            "additionalProperties": false,
            "properties": {
                "docker": {
                    "additionalProperties": false,
                    "properties": {
                        "image": {
                            "type": "string"
                        },
                        "network": {
                            "type": "string"
                        },
                        "portMappings": {
                            "items": {
                                "additionalProperties": false,
                                "properties": {
                                    "containerPort": {
                                        "maximum": 65535,
                                        "minimum": 0,
                                        "type": "integer"
                                    },
                                    "hostPort": {
                                        "maximum": 65535,
                                        "minimum": 0,
                                        "type": "integer"
                                    },
                                    "protocol": {
                                        "type": "string"
                                    },
                                    "servicePort": {
                                        "maximum": 65535,
                                        "minimum": 0,
                                        "type": "integer"
                                    }
                                },
                                "type": "object"
                            },
                            "type": "array"
                        }
                    },
                    "required": [
                        "image"
                    ],
                    "type": "object"
                },
                "type": {
                    "type": "string"
                },
                "volumes": {
                    "items": {
                        "additionalProperties": false,
                        "properties": {
                            "containerPath": {
                                "type": "string"
                            },
                            "hostPath": {
                                "type": "string"
                            },
                            "mode": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    },
                    "type": "array"
                }
            },
            "type": "object"
        },
        "cpus": {
            "minimum": 0,
            "type": "number"
        },
        "dependencies": {
            "items": {
                "pattern": "^/?(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$",
                "type": "string"
            },
            "type": "array"
        },
        "disk": {
            "minimum": 0,
            "type": "number"
        },
        "env": {
            "patternProperties": {
                ".*": {
                    "type": "string"
                }
            },
            "type": "object"
        },
        "executor": {
            "type": "string"
        },
        "healthChecks": {
            "items": {
                "additionalProperties": false,
                "properties": {
                    "command": {
                        "type": "string"
                    },
                    "gracePeriodSeconds": {
                        "minimum": 0,
                        "type": "integer"
                    },
                    "intervalSeconds": {
                        "minimum": 0,
                        "type": "integer"
                    },
                    "maxConsecutiveFailures": {
                        "minimum": 0,
                        "type": "integer"
                    },
                    "path": {
                        "type": "string"
                    },
                    "portIndex": {
                        "minimum": 0,
                        "type": "integer"
                    },
                    "protocol": {
                        "type": "string"
                    },
                    "timeoutSeconds": {
                        "minimum": 0,
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "type": "array"
        },
        "id": {
            "pattern": "^/?(([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]*[a-z0-9])$",
            "type": "string"
        },
        "instances": {
            "minimum": 0,
            "type": "integer"
        },
        "labels": {
            "additionalProperties": {
                "type": "string"
            },
            "type": "object"
        },
        "mem": {
            "minimum": 0,
            "type": "number"
        },
        "ports": {
            "items": {
                "maximum": 65535,
                "minimum": 0,
                "type": "integer"
            },
            "type": "array"
        },
        "requirePorts": {
            "type": "boolean"
        },
        "storeUrls": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "upgradeStrategy": {
            "additionalProperties": false,
            "properties": {
                "minimumHealthCapacity": {
                    "maximum": 1.0,
                    "minimum": 0.0,
                    "type": "number"
                }
            },
            "type": "object"
        },
        "uris": {
            "items": {
                "type": "string"
            },
            "type": "array"
        },
        "user": {
            "type": "string"
        }
    },
    "required": [
        "id"
    ],
    "type": "object"
}