code: def json_data(self):
          
          return {
              "type": self.type,
              "max_size": self.max_size,
              "full": self.full,
              "role": self.role,
          }
docs: Return json description of a participant.