@ownership.setter<EOL><INDENT>def ownership(self, ownership):<DEDENT>
error_msg = '<STR_LIT>'<EOL>if ownership:<EOL><INDENT>if not isinstance(ownership, list):<EOL><INDENT>raise TypeError(error_msg)<EOL><DEDENT>if not all([isinstance(item, dict) for item in ownership]):<EOL><INDENT>raise TypeError(error_msg)<EOL><DEDENT>if not all([item.get('<STR_LIT>') for item in ownership]):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if not all([item.get('<STR_LIT>') for item in ownership]):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>if sum([item.get('<STR_LIT>') for item in ownership]) != Decimal('<STR_LIT:1>'):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT><DEDENT>self._ownership = ownership<EOL>
A list of dictionaries in format {'party_id': 'XYZ', 'split': Decimal('0.5')}
:param ownership:
:return: