{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": true,
    "id": "http://sport-archive.com/input-schema/output/base#",
    "properties": {
        "output_bucket": {
            "description": "S3 bucket and path where the output file will be uploaded",
            "maxLength": 63,
            "minLength": 3,
            "pattern": "^[0-9a-zA-Z\\.\\-_]+$",
            "type": "string"
        },
        "output_file": {
            "description": "Filename where to upload the resulting file",
            "maxLength": 1024,
            "minLength": 1,
            "pattern": "^[\\w /-]+\\.[0-9a-zA-Z]+$",
            "type": "string"
        },
        "output_type": {
            "description": "Type of the file to output VIDEO, THUMB, AUDIO, DOC, IMG",
            "enum": [
                "VIDEO",
                "THUMB",
                "AUDIO",
                "IMG",
                "DOC"
            ],
            "type": "string"
        },
        "s3_encrypt": {
            "description": "Activate backend storage encryption",
            "type": "boolean"
        },
        "s3_rrs": {
            "description": "Activate reduced redundancy or not in S3 storage",
            "type": "boolean"
        }
    },
    "required": [
        "output_type",
        "output_bucket",
        "output_file"
    ],
    "title": "CT transcode output specification",
    "type": "object"
}