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