{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "title": "ensure_image_exists_command",
    "description": "Ensure image exists command schema.",
    "additionalProperties": false,
    "required": [
        "image_location",
        "image_type"
    ],
    "properties": {
        "image_location": {
            "type": "string",
            "minLength": 1,
            "pattern": "^$|.*\\S.*",
            "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
        },
        "image_type": {
            "type": "string",
            "minLength": 1,
            "pattern": "^$|.*\\S.*",
            "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
        },
        "tags": {
            "type": "array",
            "description": "An array of tags for an image.",
            "uniqueItems": true,
            "additionalItems": false,
            "items": {
                "type": "string",
                "minLength": 1,
                "pattern": "^$|.*\\S.*",
                "description": "The string has a minimum length of one character and it cannot consist of only whitespace characters."
            }
        }
    }
}
