{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "id": "http://sport-archive.com/input-schema/output/watermark#",
    "properties": {
        "input_bucket": {
            "description": "Bucket name and path where the watermark is located",
            "maxLength": 63,
            "minLength": 3,
            "pattern": "^[0-9a-zA-Z\\.\\-_]+$",
            "type": "string"
        },
        "input_file": {
            "description": "Filename of the file containing the watermark",
            "maxLength": 1024,
            "minLength": 1,
            "pattern": "^[\\w /-]+\\.[0-9a-zA-Z]+$",
            "type": "string"
        },
        "opacity": {
            "description": "Change the default watermark opacity",
            "type": "number"
        },
        "size": {
            "description": "Size of the watermark in the video result ([width]x[height])",
            "pattern": "^[0-9]+x[0-9]+$",
            "type": "string"
        },
        "x": {
            "description": "Change the watermark position. In pixels",
            "type": "number"
        },
        "y": {
            "description": "Change the watermark position. In pixels",
            "type": "number"
        }
    },
    "required": [
        "input_bucket",
        "input_file"
    ],
    "title": "CT transcode specification for watermark",
    "type": "object"
}