"""Subaccount schema.""" from marshmallow import Schema from marshmallow import fields class CreateSubaccountSchema(Schema): """Create Subaccount schema. Properties: -vendor_id (str): the id of Vendor for this subaccount -subaccount_name (str): full name of the Subaccount -description (str): optional description. """ vendor_id = fields.Integer(required=True) subaccount_name = fields.String( required=True, data_key='rep_owner_name') description = fields.String( required=False, data_key='rep_owner_key')