"""Schema for job message SQS payload.""" transcoding_job_schema = { '$schema': 'http://json-schema.org/draft-04/schema#', 'title': 'Transcoding job Schema', 'type': 'object', 'properties': { 'transcoding_job_id': { 'type': 'integer' }, 'input_bucket': { 'type': 'string' }, 'input_key': { 'type': 'string' }, 'output_bucket': { 'type': 'string' }, 'output_key': { 'type': 'string' }, 'container': { 'type': 'string' }, 'channels': { 'type': 'integer' }, 'codec': { 'type': 'string' }, 'sample_rate': { 'type': 'integer' }, 'bit_rate': { 'type': 'integer' }, 'bit_depth': { 'type': 'integer' } }, 'required': ['transcoding_job_id', 'input_bucket', 'input_key', 'output_bucket', 'output_key', 'container', 'channels', 'codec', 'sample_rate', 'bit_rate', 'bit_depth'], 'additionalProperties': False} passthrough_transcoding_job_schema = { '$schema': 'http://json-schema.org/draft-04/schema#', 'title': 'Passthrough Transcoding job Schema', 'type': 'object', 'properties': { 'transcoding_job_id': { 'type': 'integer' }, 'input_bucket': { 'type': 'string' }, 'input_key': { 'type': 'string' }, 'output_bucket': { 'type': 'string' }, 'output_key': { 'type': 'string' }, 'pass_thru': { 'type': 'boolean' } }, 'required': ['transcoding_job_id', 'input_bucket', 'input_key', 'output_bucket', 'output_key', 'pass_thru'], 'additionalProperties': False}