{
    "title": "Docker Encapsulated Environment",
    "required": [
        "environment_type",
        "image"
    ],
    "properties": {
        "envscript": {
            "default": "",
            "type": "string",
            "title": "Env Script"
        },
        "par_mounts": {
            "default": [],
            "items": {
                "type": "object",
                "properties": {
                    "mountpath": {
                        "type": "string"
                    },
                    "jqscript": {
                        "type": "string"
                    }
                }
            },
            "type": "array",
            "title": "Parameter Mounts"
        },
        "image": {
            "type": "string",
            "title": "Image"
        },
        "imagetag": {
            "default": "latest",
            "type": "string",
            "title": "Tag"
        },
        "environment_type": {
            "default": "docker-encapsulated",
            "enum": [
                "docker-encapsulated"
            ],
            "type": "string"
        },
        "env": {
            "default": {},
            "type": "object",
            "properties": {},
            "title": "Env Vars"
        },
        "resources": {
            "default": [],
            "type": "array",
            "title": "Resources"
        }
    },
    "additionalProperties": false,
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "id": "docker_enc_environment"
}