"""Content Review Escalation Completed schema.""" from marshmallow import Schema, fields class ContentReviewEscalationCompleted(Schema): """Schema for Content Review Escalation Completed. Properties: - identity_id (str): Identity Id of the user to notify. - upc (str): UPC of product. - resolution (str): Resolution of product (approve/ reject). - notes (str): Optional decision notes from the final decision maker. - escalation_type (str): Optional escalation type from the original escalation. - escalation_note (str): Optional note from the original escalation. """ identity_id = fields.String(required=True) upc = fields.String(required=True) resolution = fields.String(required=True) notes = fields.String(load_default=None, allow_none=True) escalation_type = fields.String(load_default=None, allow_none=True) escalation_note = fields.String(load_default=None, allow_none=True)