"""Report participant data schema.""" from marshmallow import Schema, fields from notifications.validation.schemas.data_report import DataReport class ParticipantDataReport(DataReport): """Participant data report schema. Properties: - artist_name (str): name of artist related to sound recording - participant (Participant): participant related to data issue """ class Participant(Schema): """Participant related to data issue. Properties: - id (str): identifier for the participant - name (str): name of the participant """ id = fields.UUID(required=True) name = fields.String(required=True) chartmetric_id = fields.String(required=True) participant = fields.Nested(Participant, required=True)