""" Schema for JSON =============== Schema for payload of ownership change request, received from SQS. """ schema = { 'type': 'object', 'properties': { 'content_owner_id': { 'type': 'string', 'required': True }, 'isrc': { 'type': 'string', 'required': True }, 'territories': { 'type': 'array', 'items': { 'type': 'string' }, 'required': True, 'uniqueItems': True } }, 'additionalProperties': False }